:root {
    --gold: #d4a853;
    --gold-light: #f0d890;
    --gold-dark: #a07d3a;
    --blue: #1e3a5f;
    --blue-deep: #0a1628;
    --blue-light: #4a7fb5;
    --bg: #060d18;
    --text: #e8e4dc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.background {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1f35 50%, #060d18 100%);
}

.stars {
    position: absolute;
    inset: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    animation: twinkle var(--d) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.orbs {
    position: absolute;
    inset: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orb-float 25s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-30px, 40px); }
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(6, 13, 24, 0.75) 100%);
}

.main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 20px;
    gap: 40px;
}

.logo-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    position: relative;
}

.logo {
    width: 840px;
    max-width: 85vw;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}





.sparkle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: var(--color);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 
        0 0 6px var(--color),
        0 0 12px var(--color);
    animation: sparkle-life var(--duration) ease-out forwards;
}

@keyframes sparkle-life {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-20px);
    }
}

.video-section {
    width: 100%;
    max-width: 820px;
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--blue-deep);
    box-shadow: 
        0 0 0 2px rgba(212, 168, 83, 0.25),
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(74, 127, 181, 0.1);
    transition: box-shadow 0.3s ease;
}

.video-frame:hover {
    box-shadow: 
        0 0 0 2px rgba(212, 168, 83, 0.5),
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(212, 168, 83, 0.1);
}

.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.year-section {
    text-align: center;
    position: relative;
}

.year-prefix {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--gold-light);
    margin-bottom: 18px;
    text-transform: uppercase;
    opacity: 0.85;
}

.year-wrapper {
    position: relative;
    display: inline-block;
}

.year {
    font-family: 'Cinzel', serif;
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 700;
    line-height: 1;
    position: relative;
    display: inline-block;
    background: linear-gradient(
        180deg, 
        #fff9e6 0%, 
        var(--gold-light) 20%, 
        var(--gold) 50%, 
        var(--gold-dark) 80%,
        #8b6914 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.year-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.year-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(212, 168, 83, 0.5);
    animation: particle-float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    80% {
        opacity: 0.8;
        transform: translateY(-40px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0);
    }
}

.year-line {
    width: 180px;
    height: 2px;
    margin: 25px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), var(--blue-light), var(--gold), transparent);
    position: relative;
    overflow: hidden;
}

.year-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: line-sweep 3s linear infinite;
}

@keyframes line-sweep {
    0% { left: -50%; }
    100% { left: 150%; }
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold-light);
    text-decoration: none;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7), rgba(10, 22, 40, 0.8));
    border: 2px solid rgba(212, 168, 83, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.15), transparent);
    transition: left 0.5s ease;
}

.discord-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.25), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn.holo-active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 220, 150, 0.3) 40%,
        rgba(255, 255, 220, 0.5) 50%,
        rgba(220, 240, 255, 0.3) 60%,
        transparent 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: discord-holo 0.8s ease-out forwards;
    border-radius: 50px;
    pointer-events: none;
}

@keyframes discord-holo {
    0% { background-position: 150% center; opacity: 0; }
    20% { opacity: 1; }
    100% { background-position: -50% center; opacity: 0; }
}

.discord-icon {
    width: 24px;
    height: 24px;
}

.footer {
    position: relative;
    z-index: 20;
    padding: 10px 20px;
    margin-top: 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(232, 228, 220, 0.4);
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

.logo-section {
    opacity: 0;
    animation: fade-in 1s ease forwards 0.2s;
}

.video-section {
    opacity: 0;
    animation: fade-up 1s ease forwards 0.4s;
}

.year-section {
    opacity: 0;
    animation: fade-up 1s ease forwards 0.6s;
}

.discord-btn {
    opacity: 0;
    animation: fade-up 1s ease forwards 0.8s;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .main {
        padding: 30px 15px;
        gap: 30px;
    }
    .logo { 
        width: 280px; 
    }
    .logo-aura { 
        width: 320px; 
        height: 320px; 
    }
    .year {
        font-size: clamp(3.5rem, 20vw, 6rem);
    }
    .year-prefix {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }
    .year-glow::before {
        width: 250px;
        height: 100px;
    }
    .year-glow::after {
        width: 180px;
        height: 70px;
    }
    .year-line { 
        width: 120px; 
        margin-top: 18px;
    }
    .discord-btn { 
        padding: 14px 28px; 
        font-size: 0.95rem; 
    }
    .footer {
        padding: 12px 15px;
        margin-top: 5px;
    }
    .footer-copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 20px 10px;
        gap: 25px;
    }
    .logo { 
        width: 220px; 
    }
    .logo-aura { 
        width: 260px; 
        height: 260px; 
    }
    .year {
        font-size: clamp(3rem, 22vw, 5rem);
    }
    .year-prefix {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        margin-bottom: 10px;
    }
    .discord-btn { 
        padding: 12px 22px; 
        font-size: 0.9rem;
        gap: 10px;
    }
    .discord-icon {
        width: 20px;
        height: 20px;
    }
}
