:root {
    --primary-color: #ff0077; 
    --secondary-color: #00f2ff;
    --bg-dark: #0a0a0c;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    perspective: 1000px; 
}


.animated-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-dark), #1a0a2e, var(--bg-dark));
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.background-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; 
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}


header {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.uma-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--secondary-color);
    animation: initialGlitch 1s ease-out forwards;
}


.video-container, .character-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    max-width: 1300px;
    margin: 0 auto;
}


.media-card {
    position: relative;
    width: 315px; 
    height: 560px; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    background-color: rgba(0,0,0,0.2);
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.media-card:hover {
    transform: scale(1.05) translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 0 35px var(--secondary-color);
}

.media-card iframe, .media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}


.neon-border {
    position: absolute;
    inset: -5px; 
    border-radius: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    animation: neonPulse 3s ease infinite;
    filter: blur(8px); 
    z-index: 0;
    opacity: 0.7;
}

@keyframes neonPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.reveal-item {
    opacity: 0;
    transform: scale(0.5) translateY(50px) rotateX(30deg);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1.0); 
    filter: blur(5px);
}

.reveal-item.active {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0);
    filter: blur(0);
}


.click-sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--secondary-color), 0 0 20px var(--primary-color);
    transform-origin: center center;
}