/* ========================================
   Casino Stream Platform - Landing Page
   Art Deco Luxury x Neon Casino Aesthetic
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --gold: #d4a017;
    --gold-light: #f5c542;
    --gold-glow: rgba(212, 160, 23, 0.3);
    --purple-deep: #2d1b69;
    --purple-mid: #7c3aed;
    --purple-light: #a855f7;
    --purple-glow: rgba(124, 58, 237, 0.4);
    --neon-red: #ff2d55;
    --neon-red-glow: rgba(255, 45, 85, 0.3);
    --casino-green: #00e676;
    --black-deep: #05050a;
    --black-card: #0d0d14;
    --black-surface: #12121c;
    --black-border: #1e1e2e;
    --white-off: #e8e6f0;
    --white-muted: #9896a6;
}

/* ========== Landing Page Reset ========== */

.landing-page {
    font-family: 'DM Sans', sans-serif;
    background: var(--black-deep);
    color: var(--white-off);
    overflow-x: hidden;
}

.landing-page .navbar {
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    height: 64px;
    padding: 0 40px;
}

.landing-page .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.landing-page .navbar-brand:hover {
    filter: brightness(1.2);
}

.landing-page .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0f;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.landing-page .btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), #ffe066);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.landing-page .btn-secondary {
    background: transparent;
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--gold-light);
}

.landing-page .btn-secondary:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: var(--gold);
}

/* ========== Hero Section ========== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.6) contrast(1.1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(5, 5, 10, 0.3) 0%,
            rgba(5, 5, 10, 0.1) 30%,
            rgba(5, 5, 10, 0.6) 70%,
            rgba(5, 5, 10, 1) 100%
        ),
        linear-gradient(90deg,
            rgba(45, 27, 105, 0.3) 0%,
            transparent 50%,
            rgba(212, 160, 23, 0.15) 100%
        );
}

/* Neon glow orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow--purple {
    width: 500px;
    height: 500px;
    background: var(--purple-glow);
    top: 10%;
    left: -10%;
    animation: float-slow 8s ease-in-out infinite;
}

.hero-glow--gold {
    width: 400px;
    height: 400px;
    background: var(--gold-glow);
    bottom: 10%;
    right: -5%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-glow--red {
    width: 300px;
    height: 300px;
    background: var(--neon-red-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 45, 85, 0.12);
    border: 1px solid rgba(255, 45, 85, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
    animation: fade-down 0.8s ease-out both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--neon-red);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fade-down 0.8s ease-out 0.15s both;
}

.hero h1 .text-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), #b8860b, var(--gold-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero h1 .text-purple {
    color: var(--purple-light);
    -webkit-text-fill-color: var(--purple-light);
    text-shadow: 0 0 40px var(--purple-glow);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--white-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fade-down 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-down 0.8s ease-out 0.45s both;
}

.hero-actions .btn {
    padding: 14px 36px;
    font-size: 0.9rem;
    border-radius: 10px;
}

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

/* Decorative line */
.hero-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    z-index: 2;
}

/* ========== Stats Bar ========== */

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 48px 24px;
    position: relative;
    background: var(--black-card);
    border-bottom: 1px solid var(--black-border);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

/* ========== Section Common ========== */

.section {
    padding: 100px 24px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--white-muted);
    line-height: 1.7;
}

/* ========== Live Streams Section ========== */

.streams-section {
    background: var(--black-deep);
}

.streams-section .stream-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.streams-section .card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.streams-section .card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
}

.streams-section .card-thumbnail {
    border-radius: 16px 16px 0 0;
}

.streams-section .live-badge {
    background: var(--neon-red) !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px var(--neon-red-glow);
}

.streams-section .card-avatar {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
}

.streams-section .empty-state {
    padding: 60px;
}

.streams-section .empty-state h2 {
    font-family: 'Playfair Display', serif;
    color: var(--white-off);
    font-size: 1.5rem;
}

/* ========== Features Section ========== */

.features-section {
    background: var(--black-card);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    background: var(--black-surface);
    border: 1px solid var(--black-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.feature-icon--purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.feature-icon--gold {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(245, 197, 66, 0.1));
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.feature-icon--red {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.2), rgba(255, 45, 85, 0.1));
    border: 1px solid rgba(255, 45, 85, 0.3);
}

.feature-icon--green {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 230, 118, 0.1));
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.6;
}

/* ========== Casino Gallery ========== */

.gallery-section {
    background: var(--black-deep);
    padding: 80px 24px;
    overflow: hidden;
}

.gallery-row {
    display: flex;
    gap: 20px;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.gallery-row:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 320px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 1px solid var(--black-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
    filter: saturate(0.8);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.2);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 10, 0.7) 100%);
    pointer-events: none;
}

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

/* ========== CTA Section ========== */

.cta-section {
    position: relative;
    padding: 120px 24px;
    text-align: center;
    overflow: hidden;
    background: var(--black-card);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--white-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-content .btn {
    padding: 16px 48px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ========== Footer ========== */

.landing-footer {
    background: var(--black-deep);
    border-top: 1px solid var(--black-border);
    padding: 48px 24px;
    text-align: center;
}

.landing-footer .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.landing-footer p {
    font-size: 0.8rem;
    color: var(--white-muted);
}

.landing-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.landing-footer .footer-links a {
    font-size: 0.85rem;
    color: var(--white-muted);
    transition: color 0.2s;
}

.landing-footer .footer-links a:hover {
    color: var(--gold-light);
}

/* ========== Art Deco Decorations ========== */

.deco-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    max-width: 200px;
    margin: 0 auto 32px;
}

.deco-diamond {
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 auto 24px;
}

/* ========== Scroll animations ========== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        width: 260px;
        height: 160px;
    }

    .landing-page .navbar {
        padding: 0 16px;
    }
}
