/* ============================================
   ADEL MONTANNA — Casino Partner Site
   Gold & Dark Premium Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Sunset Western palette */
    --gold: #E8943A;
    --gold-light: #F4B054;
    --gold-dark: #C47420;
    --gold-rgb: 232, 148, 58;
    --gradient-gold: linear-gradient(135deg, #C47420, #E8943A, #F4B054);
    --bg-body: #0D0906;
    --bg-dark: #150E09;
    --bg-darker: #1A120C;
    --bg-card: rgba(255, 200, 120, 0.03);
    --bg-card-hover: rgba(255, 200, 120, 0.06);
    --border-card: rgba(200, 140, 60, 0.1);
    --border-gold: rgba(232, 148, 58, 0.2);
    --text-primary: #F5EDE4;
    --text-secondary: #A08A74;
    --text-muted: #5E4A38;
    --red: #C43A2E;
    --green: #5EBB3B;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-gold: 0 0 30px rgba(232, 148, 58, 0.25);
    --glow-gold-strong: 0 0 60px rgba(232, 148, 58, 0.35);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Particles --- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 8, 12, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-card);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.navbar-brand i {
    font-size: 1.6rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar socials */
.navbar-socials {
    display: flex;
    align-items: center;
    gap: 2px;
    border-left: 1px solid var(--border-card);
    padding-left: 16px;
    margin-left: 4px;
}

.navbar-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
    animation: iconGlow 6s ease-in-out infinite;
    animation-delay: var(--shine-delay, 0s);
}

.navbar-socials a:nth-child(1) { --shine-delay: 0s; }
.navbar-socials a:nth-child(2) { --shine-delay: 0.5s; }
.navbar-socials a:nth-child(3) { --shine-delay: 1.0s; }
.navbar-socials a:nth-child(4) { --shine-delay: 1.5s; }
.navbar-socials a:nth-child(5) { --shine-delay: 2.0s; }
.navbar-socials a:nth-child(6) { --shine-delay: 2.5s; }

@keyframes iconGlow {
    0% { color: var(--text-muted); text-shadow: none; }
    6% { color: var(--gold); text-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6), 0 0 16px rgba(var(--gold-rgb), 0.3); }
    14% { color: var(--text-muted); text-shadow: none; }
    100% { color: var(--text-muted); text-shadow: none; }
}

.navbar-socials a:hover {
    background: rgba(var(--gold-rgb), 0.08);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Live badge navbar — offline (gris) */
.nav-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s;
    text-decoration: none;
}

.nav-live-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.4s;
}

/* Live badge — online (vert clignotant) */
.nav-live-badge.is-live {
    background: rgba(0, 230, 118, 0.06);
    border-color: rgba(0, 230, 118, 0.25);
    color: #00E676;
}

.nav-live-badge.is-live:hover {
    background: rgba(0, 230, 118, 0.12);
    border-color: rgba(0, 230, 118, 0.45);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.12);
}

.nav-live-badge.is-live .live-dot {
    background: #00E676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(0, 230, 118, 0.5); }
    50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 16px rgba(0, 230, 118, 0.7); }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: glowFloat 12s ease-in-out infinite alternate;
}

@keyframes glowFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

/* Split layout */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease-out both;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s 0.1s ease-out both;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.6s 0.2s ease-out both;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease-out both;
}

.hero-right {
    animation: fadeInRight 0.8s 0.3s ease-out both;
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   FEATURED PARTNER CARD (Split Right)
   ============================================ */
.fp-card {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark));
    background-size: 300% 300%;
    animation: fpBorderGlow 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
    cursor: pointer;
}

.fp-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(var(--gold-rgb), 0.2), 0 0 60px rgba(var(--gold-rgb), 0.08);
}

@keyframes fpBorderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.fp-card > *:not(.fp-card-glow):not(.fp-card-shine) {
    position: relative;
    z-index: 2;
}

.fp-card-inner {
    border-radius: 22px;
    background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

/* Auto-wrapping since no inner div — use the direct children */
.fp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
}

/* Inner background */
.fp-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    z-index: 0;
}

.fp-card > * { position: relative; z-index: 2; }

/* Card with background image */
.fp-card.has-bg::after {
    background: none;
}

.fp-card.has-bg::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    background-image: var(--fp-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.fp-card.has-bg .fp-card-info,
.fp-card.has-bg .fp-bonus,
.fp-card.has-bg .fp-card-cta,
.fp-card.has-bg .fp-badge,
.fp-card.has-bg .fp-logo-area {
    position: relative;
    z-index: 2;
}

.fp-card.has-bg .fp-card-info {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 10px 16px;
    border-radius: 12px;
}

.fp-card.has-bg .fp-bonus {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    border-color: rgba(var(--gold-rgb), 0.3);
}

.fp-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.fp-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
    z-index: 3;
    pointer-events: none;
    animation: fpShine 5s ease-in-out infinite;
}

@keyframes fpShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.fp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 0 0 14px 14px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #080A0F;
    box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.3);
    margin-bottom: 20px;
}

.fp-logo-area {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.1), rgba(var(--gold-rgb), 0.03));
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.fp-card:hover .fp-logo-area {
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.15);
}

.fp-logo-area img {
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
}

.fp-logo-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
}

.fp-card-info {
    margin-bottom: 12px;
}

.fp-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.fp-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

.fp-bonus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.fp-bonus strong {
    color: var(--gold-light);
    font-weight: 800;
}

.fp-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #080A0F;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(var(--gold-rgb), 0.25);
    margin-bottom: 24px;
}

.fp-card-cta:hover {
    box-shadow: 0 8px 32px rgba(var(--gold-rgb), 0.4);
    gap: 12px;
    transform: translateY(-2px);
}

/* Main CTA button (left side) */
.fp-main-cta {
    background: var(--gradient-gold);
    color: #080A0F;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-gold);
    color: #080A0F;
    border: none;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 24px rgba(var(--gold-rgb), 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-gold-strong);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--gold-rgb), 0.3);
    background: rgba(var(--gold-rgb), 0.06);
    color: var(--gold);
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.08);
}

/* ============================================
   POKER CARDS OVERLAY
   ============================================ */
.cards-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 6, 10, 0);
    backdrop-filter: blur(0px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.cards-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(12px);
}

.cards-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.cards-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.1);
}

/* Titre anime au-dessus des cartes */
.cards-title {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(60px);
    filter: blur(12px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.7s ease;
    z-index: 5;
    position: relative;
}

.cards-title.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.cards-title.hiding {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.cards-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* gradient-text is now global */

.cards-title p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 450px;
    margin: 0 auto;
}

.cards-container {
    display: flex;
    gap: 28px;
    perspective: 1200px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

/* --- Poker Card --- */
.poker-card {
    width: 220px;
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.poker-card.visible {
    opacity: 1;
    transform: scale(1);
}

.poker-card:hover .poker-card-inner {
    box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.2);
}

.poker-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    transform-style: preserve-3d;
    border-radius: 16px;
}

.poker-card.flipped .poker-card-inner {
    transform: rotateY(180deg);
}

/* Floating animation once flipped */
.poker-card.flipped.visible {
    animation: cardFloat 4s ease-in-out infinite;
}

.poker-card[data-index="0"].flipped.visible { animation-delay: 0s; }
.poker-card[data-index="1"].flipped.visible { animation-delay: 0.5s; }
.poker-card[data-index="2"].flipped.visible { animation-delay: 1s; }
.poker-card[data-index="3"].flipped.visible { animation-delay: 1.5s; }

@keyframes cardFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1) translateY(-8px); }
}

/* --- Card Back (poker pattern) --- */
.poker-card-back,
.poker-card-front {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.poker-card-back {
    background: linear-gradient(145deg, #1a0a0a, #2a1212, #1a0a0a);
    border: 2px solid rgba(var(--gold-rgb), 0.3);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.card-back-pattern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.card-back-border {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid rgba(var(--gold-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Diamond pattern */
.card-back-diamonds {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, rgba(var(--gold-rgb), 0.06) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(var(--gold-rgb), 0.06) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(var(--gold-rgb), 0.06) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(var(--gold-rgb), 0.06) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.card-back-diamonds::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08), transparent);
}

/* --- Card Front --- */
.poker-card-front {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, #0E131E 0%, #151C2C 50%, #0E131E 100%);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Card with background image */
.poker-card-front[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-front-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.card-front-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(var(--gold-rgb), 0.03), transparent 30%);
    animation: cardShine 6s linear infinite;
    pointer-events: none;
}

@keyframes cardShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-front-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-front-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    padding: 4px 14px;
    border-radius: 50px;
}

.card-front-name {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.card-front-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-front-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: #080A0F;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.2);
}

.card-front-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(var(--gold-rgb), 0.35);
    gap: 12px;
}

/* ============================================
   NOTIFICATION POPUPS (bottom-right)
   ============================================ */
.notif-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notif {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(10, 14, 22, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: all;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}

.notif.show {
    transform: translateX(0);
    opacity: 1;
}

.notif-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: var(--transition);
}

.notif-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.notif-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--gold-rgb), 0.06);
}

.live-notif-icon {
    background: rgba(239, 68, 68, 0.08);
}

.notif-body {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.notif-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notif-text a {
    color: var(--red);
    font-weight: 600;
}

.notif-text a:hover {
    text-decoration: underline;
}

.notif-text .gold {
    color: var(--gold);
}

/* Clickable notification */
.notif.notif-clickable:hover {
    border-color: rgba(var(--gold-rgb), 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(var(--gold-rgb), 0.06);
}

.notif-link-hint {
    font-size: 0.65rem;
    color: var(--gold);
    margin-top: 6px;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.notif:hover .notif-link-hint {
    opacity: 1;
}

/* Notification with image */
.notif.notif-has-image {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    min-width: 300px;
    max-width: 380px;
}

.notif.notif-has-image .notif-image {
    width: 100%;
    max-height: 160px;
    overflow: hidden;
}

.notif.notif-has-image .notif-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notif.notif-has-image .notif-body {
    padding: 12px 16px 14px;
}

.notif.notif-has-image .notif-close {
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    z-index: 2;
}

/* ============================================
   CENTER NOTIFICATION (MODAL)
   ============================================ */
.center-notif-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    opacity: 0;
    transition: background 0.6s ease, backdrop-filter 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
}

.center-notif-overlay.show {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(14px);
    opacity: 1;
    pointer-events: all;
}

.center-notif-card {
    position: relative;
    background: rgba(10, 14, 22, 0.95);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--gold-rgb), 0.08);
    transform: scale(0.6) translateY(60px);
    opacity: 0;
    filter: blur(8px);
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
                opacity 0.5s ease 0.1s,
                filter 0.5s ease 0.1s;
}

.center-notif-overlay.show .center-notif-card {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
}

.center-notif-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
    z-index: 2;
}

.center-notif-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.center-notif-img {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
}

.center-notif-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.center-notif-body {
    padding: 28px 32px 32px;
    text-align: center;
}

.center-notif-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.center-notif-card.has-image .center-notif-icon {
    display: none;
}

.center-notif-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.center-notif-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.center-notif-text .gold,
.center-notif-text strong {
    color: var(--gold);
}

.center-notif-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.center-notif-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-card);
    background: var(--bg-dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 4px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social-links a:hover {
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.responsible-gaming {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.responsible-gaming i {
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.responsible-gaming p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.responsible-gaming a {
    color: var(--red);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-card);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============================================
   NAV LINKS (pages)
   ============================================ */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
}

/* ============================================
   PAGE SECTIONS (medias, replays)
   ============================================ */
.page-section {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(var(--gold-rgb), 0.06);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.page-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 0;
    font-size: 0.9rem;
}

/* ============================================
   MEDIA SECTION
   ============================================ */
.media-section {
    position: relative;
    z-index: 1;
    padding: 80px 0 60px;
}

.media-header {
    text-align: center;
    margin-bottom: 40px;
}

.media-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(var(--gold-rgb), 0.06);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.media-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.media-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-dark);
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--gold-rgb), 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.media-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0a0a12;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.media-card:hover .media-thumb img {
    transform: scale(1.05);
}

.media-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.media-card:hover .media-play {
    opacity: 1;
}

.media-play i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.9);
    color: #080A0F;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(var(--gold-rgb), 0.3);
}

.media-info {
    padding: 16px;
}

.media-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.media-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Replay specific */
.replay-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.replay-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.replay-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    font-variant-numeric: tabular-nums;
}

.replay-meta {
    display: flex;
    gap: 14px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.replay-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.replay-meta i {
    font-size: 0.65rem;
}

.replay-loading {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.replay-loading i {
    margin-right: 8px;
    color: var(--gold);
}

/* Video modal */
.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.video-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.video-wrapper {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .navbar-right {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100vh;
        background: rgba(6, 8, 12, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        gap: 4px;
        z-index: 999;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-card);
    }

    .navbar-right.mobile-open {
        right: 0;
    }

    .navbar-right .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .navbar-socials {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: center;
        background: rgba(6, 8, 12, 0.97);
        backdrop-filter: blur(20px);
        padding: 12px;
        border-top: 1px solid var(--border-card);
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        z-index: 998;
        gap: 6px;
    }

    .navbar-right.mobile-open ~ .navbar-left .navbar-socials,
    .navbar-socials.mobile-open {
        display: flex;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    /* Mobile menu overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

    .cards-container {
        gap: 16px;
    }

    .poker-card {
        width: 160px;
        height: 240px;
    }

    .card-front-name {
        font-size: 1.3rem;
    }

    .card-front-cta {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-left { text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-right { order: -1; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary { width: 100%; justify-content: center; }

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

    .video-overlay { padding: 16px; }

    .cards-container {
        gap: 10px;
    }

    .poker-card {
        width: 140px;
        height: 210px;
    }

    .card-front-badge { display: none; }

    .card-front-name {
        font-size: 1.1rem;
    }

    .card-front-desc {
        font-size: 0.75rem;
    }

    .card-front-cta {
        padding: 6px 14px;
        font-size: 0.65rem;
    }

    .notif {
        min-width: unset;
        max-width: calc(100vw - 48px);
    }

    .notif-stack {
        right: 12px;
        bottom: 12px;
    }

    .footer-bottom {
        text-align: center;
    }
}
