/* Font-face avec font-display: swap pour éviter FOIT */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter');
}

:root {
    --neon-purple: #9d00ff;
    --neon-purple-dim: #5d0096;
    --electric-yellow: #fcee0a;
    --bg-dark: #0a0a0f;
    --bg-panel: #13131f;
    --text-white: #ffffff;
    --text-dim: #b8b8c8;
    --card-bg: #1a1a2e;

    --sidebar-width: 80px;
    --header-height-mobile: 60px;
}

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

/* Screen Reader Only (SEO Friendly) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--electric-yellow);
}

/* --- Cyberpunk Grid Overlay --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* --- Video Background & Overlays --- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.neon-writing-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 50%;
    height: auto;
    max-height: 50vh;
    transform: none;
    object-fit: contain;
    z-index: 2;
    /* Suppression du mix-blend-mode qui peut cacher l'ombre sur fond sombre */
    /* mix-blend-mode: screen; */
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #9d00ff) drop-shadow(0 0 20px #9d00ff) drop-shadow(0 0 40px #9d00ff) brightness(1.2) contrast(1.1);
    opacity: 1;
    pointer-events: none;
    animation: text-neon-pulse 3s infinite alternate;
}

@keyframes text-neon-pulse {
    0% {
        filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #9d00ff) drop-shadow(0 0 20px #9d00ff) drop-shadow(0 0 40px #9d00ff) brightness(1.2) contrast(1.1);
    }

    100% {
        filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #9d00ff) drop-shadow(0 0 15px #9d00ff) drop-shadow(0 0 30px #9d00ff) brightness(1.0) contrast(1.0);
    }
}

/* --- Custom Neon Background --- */
.custom-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: #000;
    /* Fallback */
}

.neon-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
    animation: neon-pulse 4s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    0% {
        filter: brightness(1.1) contrast(1.2) saturate(1.3);
    }

    100% {
        filter: brightness(1.3) contrast(1.3) saturate(1.5) drop-shadow(0 0 10px rgba(157, 0, 255, 0.3));
    }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Adjust opacity to ensure text readability over the busy background */
    pointer-events: none;
    z-index: -1;
}



.marquee-bar {
    background: linear-gradient(90deg, var(--neon-purple-dim), var(--bg-dark));
    color: #fff;
    padding: 8px 0;
    min-height: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    contain: layout;
    top: 0;
    z-index: 101;
    /* Above sidebar top if overlapping? No, sidebar is 100vh fix. Let's keep it relative or fixed top */
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* --- Layout Grid --- */
.app-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* --- Sidebars --- */
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    background: rgba(10, 10, 15, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-left {
    border-left: none;
    border-right: 1px solid rgba(157, 0, 255, 0.2);
    box-shadow: 2px 0 15px rgba(157, 0, 255, 0.05);
}

.sidebar-right {
    border-left: 1px solid rgba(157, 0, 255, 0.2);
    border-right: none;
    box-shadow: -2px 0 15px rgba(157, 0, 255, 0.05);
}

/* --- Live Indicator --- */
.live-indicator {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--electric-yellow);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--electric-yellow);
    margin-bottom: 2rem;
    animation: pulse-yellow 2s infinite;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--electric-yellow);
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 0 10px var(--electric-yellow);
}

/* --- Social Icons --- */
.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 20px var(--neon-purple);
    transform: translateY(-3px);
}

.social-link.dlive:hover {
    background: #ffd300;
    color: #000;
    box-shadow: 0 0 20px #ffd300;
}

.social-link.youtube:hover {
    background: #ff0000;
    box-shadow: 0 0 20px #ff0000;
}

.social-link.discord:hover {
    background: #5865F2;
    box-shadow: 0 0 20px #5865F2;
}

.mobile-only {
    display: none;
}

/* --- Main Content --- */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.avatar-container {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 5px;
    contain: layout;
    background: linear-gradient(45deg, var(--neon-purple), var(--electric-yellow));
    position: relative;
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.4);
    animation: avatar-glow 4s ease-in-out infinite;
}

@keyframes avatar-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(157, 0, 255, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 50px rgba(252, 238, 10, 0.3);
        transform: scale(1.02);
    }
}


.avatar-clipper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-dark);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* border: 4px solid var(--bg-dark); moved to clipper */
    filter: contrast(1.1);
    transform: scale(1.15);
    /* Zoom effect */
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, var(--neon-purple), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

/* --- Casino Grid replaced by Carousel --- */
.carousel-container {
    width: 100%;
    margin-bottom: 4rem;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    will-change: scroll-position;
    contain: layout style;
    transform: translateZ(0);
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding: 0 2rem;
    contain: layout;
    will-change: transform;
}

/* Pause on hover (Legacy, no longer needed but harmless) */
.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Moves half way (assuming 2 sets of items) */
    }
}

.carousel-item {
    min-width: 340px;
    max-width: 380px;
    flex-shrink: 0;
    position: relative;
    /* Context for absolute name if needed, or just flow */
}

/* --- Casino Name (Hover Reveal) --- */
.casino-name {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px #000, 0 0 15px var(--neon-purple);
    letter-spacing: 2px;
    z-index: 20;
    pointer-events: none;
}

.carousel-item:hover .casino-name {
    opacity: 1;
    transform: translateY(0);
}

/* --- Latest Partner Section --- */
.latest-partner-section {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    color: var(--electric-yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(252, 238, 10, 0.6), 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: 2px;
}

.latest-partner-card {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Special highlight style for the big partner card */
.partner-highlight {
    width: 100%;
    max-width: 450px;
    /* Bigger than standard cards */
    border: 3px solid var(--electric-yellow);
    box-shadow: 0 0 40px rgba(252, 238, 10, 0.2);
    transform: scale(1.02);
}

.partner-highlight:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 50px rgba(252, 238, 10, 0.5);
}

/* Adjust standard grid if still used elsewhere or remove old grid styles */
.showcase-grid {
    /* Kept for fallback or legacy */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    display: none;
    /* Hidden since we switched to carousel in HTML */
}

/* Custom background for Blu Vegas as requested */
.blu-vegas-custom {
    background-color: #003366 !important;
    /* Deep Blue */
    border: 1px solid #0055aa;
}

.promo-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Default shadow */
    animation: float 6s ease-in-out infinite;
    display: block;
    will-change: transform;
}

/* Uniform animations */
.promo-card {
    animation-delay: 0s;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.6), 0 0 10px var(--electric-yellow);
    border-color: var(--electric-yellow);
    z-index: 10;
}

.card-image-wrapper {
    width: 100%;
    height: 320px;
    aspect-ratio: 4 / 3;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
    contain: layout;
    /* Fallback */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s, transform 0.3s;
}

.promo-card:hover .card-image {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.promo-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-action {
    background: linear-gradient(135deg, var(--electric-yellow), #ffd700);
    color: #000;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(252, 238, 10, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}


.promo-card:hover .btn-action {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(252, 238, 10, 0.8);
    background: #fff;
    border-color: var(--electric-yellow);
}

/* --- New Neon Buttons (Outline Style) --- */
.btn-outline {
    background: transparent;
    border: 2px solid var(--btn-color);
    color: var(--btn-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--btn-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: #000 !important;
    /* Text becomes black on hover for contrast */
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--btn-color);
    /* Glow effect using the button's color */
}

/* Specific Colors */
.btn-yellow {
    --btn-color: var(--electric-yellow);
}

.btn-yellow:hover {
    color: #000;
}

.btn-purple {
    --btn-color: var(--neon-purple);
}

.btn-purple:hover {
    color: #fff !important;
    /* Keep white for purple background if preferred, or black */
}

.btn-white {
    --btn-color: #ffffff;
}

.btn-white:hover {
    color: #000;
}


/* --- Info Banner --- */
.info-banner {
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, rgba(157, 0, 255, 0.1), rgba(252, 238, 10, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
    0% {
        border-color: rgba(157, 0, 255, 0.3);
        box-shadow: 0 0 10px rgba(157, 0, 255, 0.1);
    }

    50% {
        border-color: rgba(252, 238, 10, 0.5);
        box-shadow: 0 0 20px rgba(252, 238, 10, 0.2);
    }

    100% {
        border-color: rgba(157, 0, 255, 0.3);
        box-shadow: 0 0 10px rgba(157, 0, 255, 0.1);
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(19, 19, 31, 0.95);
    border: 1px solid var(--neon-purple);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    /* hidden by default, shown via JS if not accepted */
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 90%;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.cookie-banner p {
    color: var(--text-white);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-banner button {
    background: var(--neon-purple);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background: var(--electric-yellow);
    color: black;
}

/* --- Promo Badge --- */
.promo-code {
    position: absolute;
    top: -40px;
    /* Hidden initially */
    background: rgba(0, 0, 0, 0.8);
    color: var(--electric-yellow);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--electric-yellow);
    opacity: 0;
    transition: all 0.3s ease;
}

.card-overlay {
    /* Existing styles need modification to accommodate positioning */
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.promo-card:hover .promo-code {
    top: -50px;
    /* Adjust as needed relative to btn-action or rework layout */
    opacity: 1;
    /* Since card-overlay is bottom-aligned, we can position code above button */
    position: relative;
    top: 0;
    margin-bottom: 10px;
}

/* --- Partner of the Month --- */
.partner-month {
    border: 2px solid #ffd700 !important;
    /* Gold border */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    grid-column: span 1;
    /* Default */
}

.partner-month::after {
    content: "🏆 PARTENAIRE DU MOIS";
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
    .partner-month {
        grid-column: span 2;
        /* Larger highlight on desktop */
    }

    .partner-month .card-image {
        /* enhance image fit if spanning */
        object-position: center;
    }
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.2);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--electric-yellow);
}

.modal-title {
    color: var(--electric-yellow);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.modal-body p {
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-dim);
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.app-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.dev-credit {
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.dev-credit a {
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.dev-credit:hover {
    opacity: 1;
}

.dev-credit a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

.warning-banner {
    color: #ff4444;
    font-weight: bold;
    margin-bottom: 1rem;
    border: 1px solid #ff4444;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links button,
/* Changed from 'a' to 'button' for modals where needed, or keep 'a' with JS */
.footer-links a {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
    font-family: inherit;
    font-size: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--electric-yellow);
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse-yellow {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px var(--electric-yellow);
    }

    50% {
        opacity: 0.5;
        text-shadow: none;
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}


/* =========================================
   LANDING PAGES SHARED STYLES
   ========================================= */

/* Use this class for the navigation bar on landing pages */
.landing-nav {
    padding: 20px;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-nav-logo {
    font-weight: 900;
    color: white;
    font-size: 1.5rem;
}

.landing-nav-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    font-weight: bold;
    transition: opacity 0.3s;
}

.landing-nav-link:hover {
    opacity: 1;
    color: var(--electric-yellow);
}

/* Hero Section */
.hero-landing {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Overlay handled in HTML via style or specific classes if needed, 
       but usually we want a dark overlay on top of valid bg */
}

/* Default dark overlay if not present in inline style */
.hero-landing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
    position: relative;
    /* Ensure it stays above overlay */
}

.hero-h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(189, 0, 255, 0.3);
    line-height: 1.2;
}

.hero-p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Btn CTA */
.btn-cta {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.4);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(189, 0, 255, 0.6);
}

/* Container */
.container {
    width: 100%;
    padding: 0 20px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 20px;
    background: #0a0a0f;
    /* Match bg-dark */
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-align: center;
    /* Generally centered on LP */
}

.feature-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.5;
}

/* Landing Page Footer - keep simple or reuse global footer */
.landing-footer {
    text-align: center;
    padding: 50px 20px;
    opacity: 0.6;
    font-size: 0.9rem;
    background: #000;
}

/* --- Responsive for Landing Pages --- */
@media (max-width: 768px) {
    .hero-h1 {
        font-size: 2rem;
        /* Smaller on mobile */
    }

    .hero-p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        /* Full width button on mobile */
        display: block;
        text-align: center;
    }

    .landing-nav {
        padding: 15px;
    }

    .landing-nav-logo {
        font-size: 1.2rem;
    }

    .landing-nav-link {
        font-size: 0.9rem;
    }

    .feature-grid {
        padding: 40px 20px;
        /* Less padding */
        grid-template-columns: 1fr;
        /* Stack */
    }

    .hero-landing {
        min-height: 60vh;
        /* Shorter hero on mobile */
    }
}

/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 768px) {

    /* --- Global Layout --- */
    .app-container {
        display: block;
        /* Stack everything */
        width: 100%;
        overflow-x: hidden;
    }

    .main-content {
        padding: 1rem;
        padding-top: 60px;
        /* Space for marquee */
        padding-bottom: 100px;
        /* Space for bottom nav */
        width: 100%;
        max-width: 100%;
    }

    /* --- Header & Marquee --- */
    .marquee-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 900;
        font-size: 0.75rem;
        padding: 8px 0;
    }

    header {
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 1.8rem;
        /* Smaller title */
        line-height: 1.2;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .avatar-container {
        width: 150px;
        height: 150px;
    }

    /* --- Navigation (Bottom Bar) --- */
    /* Transform Left Sidebar into Bottom Nav */
    .sidebar-left {
        position: fixed;
        height: 70px;
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        padding: 0;
        backdrop-filter: blur(15px);
        background: rgba(10, 10, 15, 0.95);
        border: none;
        border-top: 1px solid rgba(157, 0, 255, 0.5);
        bottom: 0;
        top: auto;
        left: 0;
        z-index: 1000;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
    }

    .sidebar-right {
        display: none;
        /* Hide right sidebar on mobile */
    }

    .live-indicator {
        display: none;
        /* Hide vertical live text */
    }

    .social-link {
        margin: 0;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: transparent;
        border: none;
    }

    .mobile-only {
        display: flex;
        /* Show on mobile */
    }

    /* --- Carousel Mobile --- */
    .carousel-container {
        margin-bottom: 2rem;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .carousel-track {
        gap: 15px;
        /* Smaller gap */
        padding: 0 15px;
    }

    .carousel-item {
        min-width: 300px;
        max-width: 90vw;
        width: 85vw;
    }

    .card-image-wrapper {
        height: 220px;
        aspect-ratio: 4 / 3;
    }

    .card-image {
        object-fit: contain;
        object-position: center center;
    }

    .card-overlay {
        padding: 10px;
    }

    .btn-action {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    /* --- Latest Partner Section --- */
    .partner-highlight {
        max-width: 100%;
        transform: none !important;
        /* Disable hover scale effect messing with layout */
    }

    .partner-highlight:hover {
        transform: none !important;
    }

    .latest-partner-section {
        padding: 0 10px;
    }

    /* --- Footer --- */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links button {
        margin: 0;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    /* --- Background Elements --- */
    .bg-dice-anim {
        width: 100px;
        height: 100px;
        top: 150px;
        left: -30px;
        opacity: 0.4;
    }
}

/* --- Content / Review Pages Styles --- */
.content-section {
    background: var(--bg-panel);
    border: 1px solid rgba(157, 0, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    color: var(--electric-yellow);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-section p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #e0e0e0;
}

.content-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros-box,
.cons-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
}

.pros-box {
    border-top: 3px solid #00ff00;
}

.cons-box {
    border-top: 3px solid #ff0000;
}

.pros-box h3,
.cons-box h3 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.pros-box h3 {
    color: #00ff00;
}

.cons-box h3 {
    color: #ff0000;
}

.pros-list li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.pros-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

.cons-list li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.cons-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
}

/* Review Ratings */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rating-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.rating-label {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Accordion Look */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    font-weight: bold;
    color: var(--electric-yellow);
    cursor: pointer;
    display: block;
}

.faq-answer {
    padding: 1.5rem;
    display: block;
    color: #e8e8e8;
}

/* Mobile Adjustments for Content */
@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 1.5rem;
    }
}

/* Guide Cards Enhancement for Video Background */
.guide-card {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.guide-card:hover {
    transform: translateY(-5px) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.guide-card h3 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.guide-card p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Info Banner Enhancement */
.info-banner {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.info-banner p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}