/* Retro Lucky — neon vintage visual system */

/* ── Neon glow utilities ── */
.neon-cyan {
    color: #00e5ff;
    text-shadow: 0 0 7px #00e5ff, 0 0 20px #00e5ff88, 0 0 40px #00e5ff44;
}
.neon-pink {
    color: #ff2d8a;
    text-shadow: 0 0 7px #ff2d8a, 0 0 20px #ff2d8a88, 0 0 40px #ff2d8a44;
}
.neon-orange {
    color: #ff8c42;
    text-shadow: 0 0 7px #ff8c42, 0 0 20px #ff8c4288;
}

.text-gradient-neon {
    background: linear-gradient(90deg, #00e5ff 0%, #ff2d8a 50%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Keyframes ── */
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.85; }
}

@keyframes bulb-chase {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float-retro {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255,45,138,0.2), inset 0 0 15px rgba(0,229,255,0.05); }
    50% { box-shadow: 0 0 30px rgba(255,45,138,0.4), inset 0 0 20px rgba(0,229,255,0.1); }
}

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

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* ── Backgrounds ── */
.retro-bg {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,45,138,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,229,255,0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0a0612 0%, #120818 50%, #0a0612 100%);
}

.hero-retro {
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255,45,138,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0,229,255,0.08) 0%, transparent 50%),
        #0a0612;
}

/* Subtle scanline overlay */
.scanlines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* ── Retro frame card ── */
.retro-card {
    background: rgba(18, 8, 24, 0.85);
    border: 2px solid rgba(255, 45, 138, 0.25);
    box-shadow: 0 0 20px rgba(255,45,138,0.08), inset 0 1px 0 rgba(0,229,255,0.08);
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.retro-card::before,
.retro-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: #00e5ff;
    border-style: solid;
    opacity: 0.5;
}

.retro-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.retro-card::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.retro-card:hover {
    border-color: rgba(255, 45, 138, 0.45);
    box-shadow: 0 0 30px rgba(255,45,138,0.15);
    transform: translateY(-3px);
}

.retro-card-glow {
    background: rgba(22, 10, 30, 0.9);
    border: 2px solid rgba(0, 229, 255, 0.3);
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ── Marquee bulbs border ── */
.marquee-border {
    position: relative;
    overflow: hidden;
}

.marquee-bulbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 6px 0;
}

.marquee-bulb {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffe566;
    box-shadow: 0 0 6px #ffe566, 0 0 12px #ff8c4288;
    animation: bulb-chase 1.5s ease-in-out infinite;
}

.marquee-bulb:nth-child(2) { animation-delay: 0.15s; }
.marquee-bulb:nth-child(3) { animation-delay: 0.3s; }
.marquee-bulb:nth-child(4) { animation-delay: 0.45s; }
.marquee-bulb:nth-child(5) { animation-delay: 0.6s; }
.marquee-bulb:nth-child(6) { animation-delay: 0.75s; }
.marquee-bulb:nth-child(7) { animation-delay: 0.9s; }
.marquee-bulb:nth-child(8) { animation-delay: 1.05s; }

/* ── Buttons ── */
.btn-neon {
    background: linear-gradient(135deg, #ff2d8a 0%, #c41d6b 100%);
    border: 1px solid rgba(255,45,138,0.5);
    box-shadow: 0 0 20px rgba(255,45,138,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn-neon:hover {
    box-shadow: 0 0 30px rgba(255,45,138,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-neon-outline {
    border: 1px solid rgba(0,229,255,0.4);
    background: rgba(0,229,255,0.06);
    box-shadow: 0 0 15px rgba(0,229,255,0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn-neon-outline:hover {
    background: rgba(0,229,255,0.12);
    box-shadow: 0 0 25px rgba(0,229,255,0.2);
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Ticker ── */
.ticker-track {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
    width: max-content;
}

/* ── Mockup ── */
.mockup-float { animation: float-retro 5s ease-in-out infinite; }

/* ── Neon flicker on logo area ── */
.neon-flicker { animation: neon-flicker 8s infinite; }

/* ── Art deco divider ── */
.deco-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ff2d8a44;
}
.deco-divider::before,
.deco-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff2d8a55, transparent);
}

/* ── Prose ── */
.prose-retro h3 {
    color: #00e5ff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.prose-retro p {
    color: #9ca3af;
    line-height: 1.75;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}
.prose-retro strong { color: #e5e7eb; }

/* ── Nav link neon underline ── */
.nav-neon {
    position: relative;
    transition: color 0.3s;
}
.nav-neon::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e5ff, #ff2d8a);
    box-shadow: 0 0 8px #ff2d8a;
    transition: width 0.3s ease;
}
.nav-neon:hover::after,
.nav-neon.active::after { width: 100%; }
.nav-neon.active { color: #00e5ff; }
