:root {
    --ny-gold: #FFD700;
    --ny-gold-shine: #FFF8DC;
    --ny-gold-dark: #B8860B;
    --ny-white: #FFFFFF;
    --ny-silver: #C0C0C0;
    --ny-navy: #020b1c;
    --ny-accent-glow: rgba(255, 215, 0, 0.4);
    --ny-glass-bg: rgba(20, 20, 25, 0.6);
    --ny-glass-border: rgba(255, 215, 0, 0.3);
    --ny-glass-blur: blur(12px);
}

/* === CHAMPAGNE BUBBLES === */
.champagne-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.c-bubble {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.4));
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
    animation: rise-bubble ease-in infinite;
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
}

@keyframes rise-bubble {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-120vh) translateX(var(--wobble));
        opacity: 0;
    }
}

.sparkles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    bottom: -5px;
    width: 4px;
    height: 4px;
    background: var(--ny-gold);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle-float ease-out infinite;
    box-shadow: 0 0 8px var(--ny-gold), 0 0 15px var(--ny-gold);
    will-change: transform, opacity;
}

.sparkle:nth-child(odd) {
    background: var(--ny-white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.6);
}

.sparkle:nth-child(1) {
    left: 8%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    left: 18%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.sparkle:nth-child(3) {
    left: 28%;
    animation-duration: 9s;
    animation-delay: 4s;
}

.sparkle:nth-child(4) {
    left: 38%;
    animation-duration: 11s;
    animation-delay: 1s;
}

.sparkle:nth-child(5) {
    left: 48%;
    animation-duration: 8.5s;
    animation-delay: 3s;
}

.sparkle:nth-child(6) {
    left: 58%;
    animation-duration: 10.5s;
    animation-delay: 5s;
}

.sparkle:nth-child(7) {
    left: 68%;
    animation-duration: 9.5s;
    animation-delay: 2.5s;
}

.sparkle:nth-child(8) {
    left: 78%;
    animation-duration: 11.5s;
    animation-delay: 0.5s;
}

.sparkle:nth-child(9) {
    left: 88%;
    animation-duration: 8.8s;
    animation-delay: 3.5s;
}

.sparkle:nth-child(10) {
    left: 95%;
    animation-duration: 10.2s;
    animation-delay: 1.5s;
}

.sparkle:nth-child(11) {
    left: 3%;
    animation-duration: 12s;
    animation-delay: 6s;
}

.sparkle:nth-child(12) {
    left: 50%;
    animation-duration: 9.2s;
    animation-delay: 4.5s;
}

@keyframes sparkle-float {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    15% {
        opacity: 0.5;
    }

    50% {
        transform: translateY(-50vh) scale(1);
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100vh) scale(0.3);
        opacity: 0;
    }
}

header h1 {
    background: linear-gradient(135deg,
            #bf953f,
            #fcf6ba,
            #b38728,
            #fbf5b7,
            #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    animation: shine-text 5s linear infinite;
    background-size: 200% auto;
}

@keyframes shine-text {
    to {
        background-position: 200% center;
    }
}

/* === CYBER-LUXURY GLITCH TEXT === */
.glitch-gold {
    position: relative;
    display: inline-block;
}

.glitch-gold::before,
.glitch-gold::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--ny-navy); Removed to let gradient show */
    overflow: hidden;
    opacity: 0.8;
}

.glitch-gold::before {
    left: 2px;
    text-shadow: -1px 0 #00ffff;
    clip-path: polygon(0 24px, 100% 24px, 100% 90px, 0 90px);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-gold::after {
    left: -2px;
    text-shadow: -1px 0 #ff00ff;
    clip-path: polygon(0 85px, 100% 85px, 100% 140px, 0 140px);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip-path: polygon(0 12px, 100% 12px, 100% 5px, 0 5px);
    }

    100% {
        clip-path: polygon(0 86px, 100% 86px, 100% 94px, 0 94px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 69px, 100% 69px, 100% 81px, 0 81px);
    }

    100% {
        clip-path: polygon(0 2px, 100% 2px, 100% 24px, 0 24px);
    }
}

.newyear-banner {
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
    border: 1px solid var(--ny-gold);
    color: var(--ny-gold);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15), inset 0 0 20px rgba(255, 215, 0, 0.05);
    position: relative;
    overflow: hidden;
    animation: pulse-gold 4s infinite ease-in-out;
    cursor: default;
    user-select: none;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(5px);
}

.newyear-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent,
            rgba(255, 215, 0, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: sheen 3s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    }
}

@keyframes sheen {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

.premium-plan {
    background: var(--ny-glass-bg);
    border: 1px solid var(--ny-glass-border);
    backdrop-filter: var(--ny-glass-blur);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    /* Fast transform for tilt */
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* Holographic Shine Effect */
.premium-plan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 215, 0, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 60%,
            rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    background-size: 200% 200%;
    background-position: var(--shine-x, 50%) var(--shine-y, 50%);
}

.premium-plan:hover::after {
    opacity: 1;
}

/* Magnetic Button Base */
#btnOpenMethodMenu {
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.premium-plan:hover {
    border-color: var(--ny-gold);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
    z-index: 2;
}

.premium-plan::before {
    display: none;
}

.plan-best,
.plan-badge {
    background: linear-gradient(135deg, var(--ny-gold-dark), var(--ny-gold)) !important;
    color: #000 !important;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.plan-price-value {
    color: var(--ny-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-weight: 700;
}

.plan-buy-btn {
    background: linear-gradient(180deg, #FFD700 0%, #B8860B 100%);
    color: #000;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.plan-buy-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.plan-buy-btn:active {
    transform: translateY(0);
}

.plan-lifetime {
    background: linear-gradient(145deg, #000000, #1a1a1a) !important;
    border: 1px solid var(--ny-gold) !important;
}

.plan-lifetime:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15) !important;
}

.plan-lifetime .plan-name {
    color: var(--ny-gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.status-indicator {
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.status-dot.online {
    background-color: #00ff00;
    box-shadow: 0 0 8px #00ff00, 0 0 15px #00ff00;
}

.site-footer {
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding-top: 2rem;
    position: relative;
}

.newyear-footer-msg {
    color: var(--ny-gold);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.2);
}

@media (max-width: 768px) {
    .sparkle {
        width: 2px;
        height: 2px;
    }

    .newyear-banner {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sparkle,
    header h1,
    .newyear-banner::after,
    .premium-plan:hover {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* Button Text Wrapper for Generate Button */
.button-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
    text-transform: none;
    letter-spacing: normal;
}