/* CSS Variables */
:root {
    /* Colors */
    --gold-1: #E5B94B;
    --gold-2: #F3D06F;
    --gold-deep: #C9952A;
    --navy-1: #0E1A2A;
    --navy-2: #141E2F;
    --card-base: #1E2737;
    --card-alt: #222B3B;
    --text: #EDEFF5;
    --text-muted: #ffffff;
    --white: #FFFFFF;
    --danger: #E2392D;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-xxxl: 64px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Metallic Gold Headings (Fixed Alignment) ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  text-transform: none;
  background: linear-gradient(180deg, #F3D06F 0%, #E5B94B 45%, #C9952A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E5B94B;
  position: relative;
  text-align: center;
}

/* Subtle metallic underline (fixed for centering) */
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 6px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-1) 100%);
}

/* Alternative approach with flexbox for better centering */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-1) 100%);
}

/* For hero section specifically */
.hero-text h1, .hero-text h2 {
  text-align: center;
}

/* For feature titles */
.feature-title {
  text-align: center;
}

/* For step titles */
.step-title {
  text-align: center;
}

/* For ambassador names */
.ambassador-name {
  text-align: center;
}

/* Responsive adjustments for headings */
@media (max-width: 768px) {
  h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
    width: 80px;
    height: 2px;
  }
  
  .section-title::after {
    width: 80px;
    height: 2px;
  }
}

@media (max-width: 480px){
  .spin-wheel-container{ margin:0 auto; width: clamp(300px, 96vw, 500px); }
  .spin-wrap{ max-width: 500px; }

  h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
    width: 60px;
    height: 2px;
  }
  
  .section-title::after {
    width: 60px;
    height: 2px;
  }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--navy-1), var(--navy-2));
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 22px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: var(--navy-1);
    box-shadow: 0 4px 15px rgba(229, 185, 75, 0.3);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(229, 185, 75, 0.5);
}

.btn-outline {
    border: 1px solid var(--gold-1);
    color: var(--gold-1);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(229, 185, 75, 0.1);
    transform: scale(1.03);
}

/* Cards */
.card {
    background: var(--card-base);
    border: 1px solid rgba(243, 208, 111, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(243, 208, 111, 0.5);
}

/* Header */
header {
    background: rgba(14, 26, 42, 0.9);
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    padding: 120px 0 var(--spacing-xxxl);
    margin-top: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-video {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--gold-1);
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: var(--white);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-muted);
}

.hero-text .highlight {
    color: var(--gold-1);
    font-weight: 600;
}

/* Responsive adjustments for hero video */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
}

/* Section Styling */
.section {
    padding: var(--spacing-xxxl) 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxxl);
    color: var(--text-muted);
}

/* Partners Section - Simple 6 Card Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: var(--spacing-xl);
}

/* All Partner Cards - Same Style */
.partner-card {
    position: relative;
    overflow: hidden;
}

.partner-rank {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gold-1);
    color: var(--navy-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    z-index: 2;
}

.partner-logo {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.partner-logo img,
.partner-logo-img {
    max-width: 160px; /* Increased from 120px */
    max-height: 110px; /* Increased from 80px */
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-radius: var(--radius-md); /* Added rounded corners */
    background: rgba(255, 255, 255, 0.05); /* Subtle background for rounded corners */
    padding: var(--spacing-sm); /* Padding so image doesn't touch the border */
}

.partner-logo-img:hover {
    transform: scale(1.05);
}

.partner-flags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md); /* Increased gap from sm to md */
    margin-bottom: var(--spacing-lg);
}

.partner-flags img,
.partner-flag {
    width: 52px; /* Increased from 24px */
    height: 35px; /* Increased from 16px, maintaining aspect ratio */
    object-fit: cover;
    border-radius: 3px; /* Slightly increased border radius */
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.partner-metrics {
    margin-bottom: var(--spacing-lg);
}

.metric {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.metric i {
    color: var(--gold-1);
    margin-right: var(--spacing-sm);
}

.partner-ribbon {
    background: var(--danger);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.partner-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.partner-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Fallback styling for empty src */
.partner-logo-img[src=""],
.partner-logo-img:not([src]) {
    background: rgba(229, 185, 75, 0.1);
    border: 2px dashed var(--gold-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    width: 140px; /* Increased from 120px */
    height: 100px; /* Increased from 80px */
    margin: 0 auto;
    content: "LOGO";
    padding: var(--spacing-sm);
}


/* Responsive adjustments for 6 cards */
@media (max-width: 992px){
  .spin-wheel-container{ margin:0 auto; width: clamp(320px, 92vw, 500px); }
  .spin-wrap{ width: 100%; max-width: 500px; }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .partner-logo img,
    .partner-logo-img {
        max-width: 120px; /* Increased from 100px */
        max-height: 90px; /* Increased from 70px */
    }
    
    .partner-flags img,
    .partner-flag {
        width: 28px; /* Increased from 20px */
        height: 20px; /* Increased from 14px */
    }

    .partner-logo-img[src=""],
    .partner-logo-img:not([src]) {
        width: 120px; /* Increased from 100px */
        height: 90px; /* Increased from 70px */
    }
}

@media (max-width: 480px) {
    .partner-logo img,
    .partner-logo-img {
        max-width: 150px; /* Increased from 80px */
        max-height: 100px; /* Increased from 60px */
    }
    
    .partner-flags img,
    .partner-flag {
        width: 60px; /* Increased from 18px */
        height: 32px; /* Increased from 12px */
    }

    .partner-logo-img[src=""],
    .partner-logo-img:not([src]) {
        width: 100px; /* Increased from 80px */
        height: 80px; /* Increased from 60px */
        font-size: 10px;
    }
}


/* Spin & Win Section - with Fixed Background */
.spin-win-section { position: relative; overflow: hidden; min-height: auto; display: flex; align-items: flex-start; }

/* The Fixed Background Image */
.spin-win-background { position: absolute; inset: 0; width: 100%; height: 100%; background-image: url('assets/background 114.png'); background-size: cover; background-position: center right; background-repeat: no-repeat; z-index: 0; }

/* Optional: Add a dark overlay for better text readability */
.spin-win-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 26, 42, 0.7); /* Dark overlay with transparency */
    z-index: 1;
}

/* Ensure content is above the background overlay */
.spin-win-section .container {
    position: relative;
    z-index: 2;
}

/* --- Rest of your Spin & Win CSS remains the same --- */

.spin-win-horizontal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xxxl); align-items: start; }

/* Left Side: Text Content */
.spin-win-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spin-win-content .section-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: var(--spacing-lg);
    color: var(--white); /* Make text white for dark background */
}

.spin-win-content .section-subtitle {
    text-align: left;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-muted); /* Use muted text color */
}

/* Right Side: Spin Wheel */
.spin-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spin-wrap {
    position: relative;
    width: min(100%, 450px);
    aspect-ratio: 1/1;
    margin-bottom: var(--spacing-lg);
}

.spin-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

#wheel {
    position: absolute;
    inset: 9%;
    width: 82%;
    height: 82%;
    display: block;
    border-radius: 50%;
    background: transparent;
    z-index: 1;
}

.spin-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15%;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.cta {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* Win Overlay (remains the same) */
.win-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    z-index: 60;
    opacity: 0;
}

.win-overlay.show {
    display: flex;
    animation: overlayIn 0.25s ease-out forwards;
}

@keyframes overlayIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

.win-card {
    position: relative;
    width: min(92vw, 560px);
}

.panel {
    position: relative;
    background: #14151a;
    color: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 24px 20px 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transform: scale(0.86) translateY(12px);
    opacity: 0;
}

.win-overlay.show .panel {
    animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
}

@keyframes popIn {
    0% { transform: scale(0.86) translateY(12px); opacity: 0; }
    60% { transform: scale(1.03) translateY(0); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.win-sun {
    position: absolute;
    top: -8px;
    left: 50%;
    width: 120%;
    transform: translateX(-50%);
    opacity: 0.95;
    pointer-events: none;
}

.win-money {
    width: 150px;
    margin: 26px auto 8px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
    animation: moneyBob 2.6s ease-in-out 0.2s infinite;
}

@keyframes moneyBob {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-6px) }
}

.win-title {
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0 6px;
}

.win-amount {
    color: #2ecc71;
    font-size: 30px;
    margin: 2px 0 14px;
}

.win-btn {
    position: relative;
    appearance: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    margin-top: 8px;
    outline: none;
    background: radial-gradient(120% 180% at 50% 10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
                linear-gradient(180deg, #1fc18b 0%, #17a576 20%, #118a63 50%, #0f7b59 70%, #0b644a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.25),
                0 10px 0 #0d6a50, 0 14px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.win-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.win-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.25),
                0 12px 0 #0d6a50, 0 16px 26px rgba(0, 0, 0, 0.25);
}

.win-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.25),
                0 6px 0 #0d6a50, 0 10px 18px rgba(0, 0, 0, 0.25);
}

.win-btn:link, .win-btn:visited {
    color: #fff;
}

#confettiCanvas {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
}

/* Responsive adjustments for horizontal layout */
@media (max-width: 992px) {
    .spin-win-horizontal { display: grid; grid-template-columns: 1fr; gap: var(--spacing-xxxl); align-items: start; }
    
    .spin-win-content .section-title {
        text-align: center;
        font-size: 32px;
    }
    
    .spin-win-content .section-subtitle {
        text-align: center;
    }
    
    /* WHEEL SIZE FIX (bigger + spans both columns on mobile/tablet) */
    .spin-wheel-container { grid-column: 1 / -1; }
    .spin-wrap { width: min(92vw, 480px); }
    #wheel { inset: 8%; width: 84%; height: 84%; }
    .spin-hub { width: 18%; }
}

@media (max-width: 768px) {
    .spin-win-content .section-title {
        font-size: 28px;
    }
    
    .spin-win-content .section-subtitle {
        font-size: 16px;
    }
    
    /* keep wheel generous on small screens */
    .spin-wrap { width: min(94vw, 480px); }
}

@media (max-width: 480px) {
    .spin-win-horizontal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xxxl); align-items: start; }
    
    .spin-win-content .section-title {
        font-size: 24px;
    }
    
    /* WHEEL SIZE FIX for very small phones */
    .spin-wheel-container { grid-column: 1 / -1; }
    .spin-wrap { width: min(96vw, 500px); }
    
    #btnSpin {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .win-title {
        font-size: 20px;
    }
    
    .win-amount {
        font-size: 22px;
    }
    
    .win-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.4rem;
    }
}


/* Brand Sponsorship */
.sponsorship-container {
    position: relative;
    overflow: hidden;
}

/* Brand Sponsorship Carousel Styles */
.carousel {
    /* Theme - matching with site's gold theme */
    --accent: var(--gold-1);   /* Using site's gold color */
    --rail-bg: rgba(14, 26, 42, 0.8); /* Using site's navy color */
    --rail-border: rgba(255, 255, 255, 0.08);
    --dot: rgba(229, 185, 75, 0.45);  /* Using site's gold color */
    --arrow-bg: rgba(14, 26, 42, 0.85); /* Using site's navy color */
    --arrow-bd: rgba(255, 255, 255, 0.1);

    /* Card sizing */
    --card-w: clamp(200px, 21vw, 300px);
    --card-ratio: 1.42;
    --card-h: calc(var(--card-w) * var(--card-ratio));

    width: 100%;
    padding: 20px 20px 30px;
    overflow: visible;
}

.carousel-wrap {
    max-width: 1140px;
    margin: 0 auto;
    overflow: visible;
}

.carousel-stage {
    position: relative;
    width: 100%;
    height: calc(var(--card-h) + 90px);
    overflow: visible;
    perspective: 1400px;
}

/* Slides */
.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--card-w);
    height: var(--card-h);
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 1;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    will-change: transform, opacity;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    border-radius: 20px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

/* Slide label overlay */
.slide-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-sm);
    font-size: 14px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Controls */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.arrow {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid var(--arrow-bd);
    background: var(--arrow-bg);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.arrow:hover {
    background: rgba(14, 26, 42, 0.95);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.arrow:active {
    transform: translateY(0);
}

/* Dots rail */
.dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--rail-bg);
    border: 1px solid var(--rail-border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}

.dots .dot {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    line-height: 0;
    box-sizing: content-box;
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot);
    cursor: pointer;
    opacity: 0.95;
    transition: width 0.22s ease, background 0.18s ease, opacity 0.18s ease;
}

.dots .dot:hover {
    opacity: 1;
}

.dots .dot.active {
    width: 26px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

/* Carousel Responsive tuning */
@media (max-width: 1024px) {
    .carousel {
        --card-w: clamp(200px, 27vw, 290px);
    }
    .carousel-wrap {
        max-width: 980px;
    }
}

@media (max-width: 768px) {
    .carousel {
        --card-w: clamp(190px, 38vw, 270px);
    }
    .carousel-wrap {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .carousel {
        --card-w: min(78vw, 240px);
    }
    .carousel-stage {
        height: calc(var(--card-h) + 80px);
    }
    .dots {
        padding: 4px 10px;
        gap: 5px;
    }
    .dots .dot {
        width: 7px;
        height: 7px;
    }
    .dots .dot.active {
        width: 22px;
        height: 7px;
    }
    .arrow {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .carousel {
        --card-w: min(84vw, 226px);
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 0 20px rgba(229, 185, 75, 0.3);
}

.feature-icon i {
    font-size: 36px;
    color: var(--navy-1);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.feature-description {
    color: var(--text-muted);
    font-size: 15px;
}

/* Feature Icon Images */
.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-icon-img:hover {
    transform: scale(1.1);
}

/* Fallback for empty src */
.feature-icon-img[src=""],
.feature-icon-img:not([src]) {
    background: rgba(229, 185, 75, 0.1);
    border: 2px dashed var(--gold-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    width: 84px;
    height: 84px;
    content: "ICON";
}

/* Responsive Design for Features Grid */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 30px;
    }
    
    .feature-icon-img[src=""],
    .feature-icon-img:not([src]) {
        width: 70px;
        height: 70px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 26px;
    }
    
    .feature-icon-img[src=""],
    .feature-icon-img:not([src]) {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 14px;
    }
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Thumbnail Images */
.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail-img {
    transform: scale(1.05);
}

/* Fallback for empty src */
.video-thumbnail-img[src=""],
.video-thumbnail-img:not([src]) {
    background: rgba(229, 185, 75, 0.1);
    border: 2px dashed var(--gold-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    content: "VIDEO THUMBNAIL";
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulse 2s infinite;
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
}

.play-icon:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(226, 57, 45, 0.9);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(226, 57, 45, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(226, 57, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 57, 45, 0); }
}

.play-icon i {
    font-size: 24px;
    color: var(--white);
    margin-left: 3px;
}

.video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-sm);
    font-size: 14px;
    text-align: center;
    z-index: 1;
}

/* Responsive Design for Videos Grid */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
    }
    
    .play-icon i {
        font-size: 20px;
    }
    
    .video-label {
        font-size: 12px;
        padding: var(--spacing-xs);
    }
}

@media (max-width: 576px) {
    .videos-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
    
    .play-icon {
        width: 45px;
        height: 45px;
    }
    
    .play-icon i {
        font-size: 18px;
    }
      
    .video-thumbnail-img[src=""],
    .video-thumbnail-img:not([src]) {
        font-size: 12px;
    }
}

/* Certification Section */
.certification-container {
    background: var(--card-base);
    border: 1px solid rgba(243, 208, 111, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    overflow: hidden;
}

.certification-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cert-logo {
    flex: 1;
    max-width: 250px; /* Increased from 200px */
    height: 120px; /* Increased from 100px */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-100px);
    animation: scrollInFromLeft 0.8s ease forwards;
}

/* Staggered animation delays */
.cert-logo:nth-child(1) {
    animation-delay: 0.2s;
}

.cert-logo:nth-child(2) {
    animation-delay: 0.6s;
}

.cert-logo:nth-child(3) {
    animation-delay: 1.0s;
}

/* Scroll-in animation from left */
@keyframes scrollInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}

.cert-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Certification Logo Images */
.cert-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cert-logo-img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Fallback for empty src */
.cert-logo-img[src=""],
.cert-logo-img:not([src]) {
    background: rgba(229, 185, 75, 0.1);
    border: 2px dashed var(--gold-1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    width: 230px; /* Increased from 180px */
    height: 120px; /* Increased from 100px */
    content: "LOGO";
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certification-logos {
        gap: var(--spacing-lg);
    }
    
    .cert-logo {
        max-width: 180px; /* Increased from 150px */
        height: 100px; /* Increased from 80px */
    }
    
    .cert-logo-img[src=""],
    .cert-logo-img:not([src]) {
        width: 180px; /* Increased from 150px */
        height: 100px; /* Increased from 80px */
    }
    
    /* Faster animation on mobile */
    .cert-logo {
        animation-duration: 0.6s;
    }
    
    .cert-logo:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .cert-logo:nth-child(2) {
        animation-delay: 0.3s;
    }
    
    .cert-logo:nth-child(3) {
        animation-delay: 0.5s;
    }
}

@media (max-width: 480px) {
    .certification-logos {
        gap: var(--spacing-md);
    }
    
    .cert-logo {
        max-width: 150px; /* Increased from 120px */
        height: 90px; /* Increased from 70px */
    }
    
    .cert-logo-img[src=""],
    .cert-logo-img:not([src]) {
        width: 150px; /* Increased from 120px */
        height: 90px; /* Increased from 70px */
        font-size: 10px;
    }
}

/* Reset animation on scroll (for fade-in effect) */
.section.fade-in:not(.visible) .cert-logo {
    opacity: 0;
    transform: translateX(-100px);
    animation: none;
}

.section.fade-in.visible .cert-logo {
    animation: scrollInFromLeft 0.8s ease forwards;
}

.section.fade-in.visible .cert-logo:nth-child(1) {
    animation-delay: 0.2s;
}

.section.fade-in.visible .cert-logo:nth-child(2) {
    animation-delay: 0.6s;
}

.section.fade-in.visible .cert-logo:nth-child(3) {
    animation-delay: 1.0s;
}

/* Steps Section */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.step {
    flex: 1;
    text-align: center;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 0 20px rgba(229, 185, 75, 0.3);
}

.step-icon i {
    font-size: 30px;
    color: var(--navy-1);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.step-description {
    color: var(--text-muted);
    font-size: 15px;
}

.step-email {
    color: var(--gold-1);
    font-weight: 600;
}

/* Support Section */
.support-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.support-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.support-image img {
    width: 100%;
    height: auto;
    display: block;
}

.support-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.support-text p {
    font-size: 16px;
    margin-bottom: var(--spacing-xl);
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(229, 185, 75, 0.1);
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold-1);
    color: var(--navy-1);
    transform: scale(1.1);
}

/* Ambassadors Section */
.ambassadors-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
}

.ambassador-card {
    background: var(--card-base);
    border: 1px solid rgba(243, 208, 111, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
}

.ambassador-signature {
    margin-bottom: var(--spacing-lg);
}

.ambassador-signature img {
    max-width: 200px;
    height: auto;
}

.ambassador-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.ambassador-role {
    font-size: 16px;
    color: var(--gold-1);
    margin-bottom: var(--spacing-sm);
}

.ambassador-period {
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--navy-1);
    padding: var(--spacing-xxxl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(243, 208, 111, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

/* ===== Footer Carousel (JS-driven continuous ticker) ===== */
.footer-carousel-rail{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:12px 0;
  overflow:hidden;
  background:transparent;
  border:0;
  contain:layout paint;
}
.footer-carousel{
  display:flex;
  flex-wrap:nowrap;
  will-change:transform;
  transform:translateX(0); /* JS updates this every frame */
}
.footer-carousel>div{
  padding:0 15px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.footer-carousel img{
  display:block;
  height:38px;
  width:auto;
  object-fit:contain;
  user-select:none;
  pointer-events:auto;
  filter:none !important;
  opacity:1 !important;
  transform:none !important;
}
@media (max-width:480px){
  .footer-carousel>div{padding:0 10px}
  .footer-carousel img{height:50px}
}
@media (min-width:480px){ .footer-carousel img{height:42px} }
@media (min-width:768px){ .footer-carousel img{height:48px} }
@media (min-width:1024px){ .footer-carousel img{height:54px} }

.copyright {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-1);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Media Placeholders */
.media-placeholder {
    background: rgba(229, 185, 75, 0.1);
    border: 2px dashed var(--gold-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-weight: 600;
    padding: var(--spacing-lg);
    text-align: center;
    min-height: 200px;
}

.media-placeholder.small {
    min-height: 80px;
    padding: var(--spacing-md);
}

.media-placeholder.icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    min-height: auto;
}

/* Animation on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .support-container {
        grid-template-columns: 1fr;
    }
    
    .ambassadors-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text h2 {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
}

/* === Posters === */
.posters-grid{ display:grid; gap:24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.poster-card{ text-align:center; padding:18px; border-radius: var(--radius-lg); }
.poster{ height:160px; border-radius: 16px; display:grid; place-items:center; margin-bottom:12px;
  background: radial-gradient(80% 80% at 50% 50%, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden;
}
.poster i{ font-size: 46px; color: var(--gold-2); text-shadow: 0 0 10px rgba(243,208,111,.25); }
.poster--aviator{ background: radial-gradient(100% 100% at 0% 0%, rgba(226,57,45,.22), transparent), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.poster--mines{ background: radial-gradient(100% 100% at 0% 0%, rgba(0, 166, 255, .22), transparent), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.poster--plinko{ background: radial-gradient(100% 100% at 0% 0%, rgba(0,255,153,.22), transparent), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.play-now{ margin-top: 8px; }

/* === Modal Sheet === */
.game-modal{ position: fixed; inset:0; background: rgba(0,0,0,.6); display:none; place-items:center; z-index: 9999; }
.game-modal.show{ display:grid; }
.game-sheet{ width:min(980px, 98vw); background: var(--card-base); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow:hidden; display:flex; flex-direction:column; max-height: 92vh;
}
.gm-bar{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,.08); }
.gm-title{ margin:0; font-size: 1rem; }
.gm-actions{ display:flex; gap:8px; }
.gm-btn{ background:transparent; color: var(--text); border:1px solid rgba(255,255,255,.18); padding:6px 10px; border-radius: 10px; cursor:pointer; }
.gm-btn:hover{ background: rgba(255,255,255,.08); }
.gm-viewport{ padding: 12px; }
.embed-16x9{ position:relative; width:100%; padding-bottom:56.25%; height:0; overflow:hidden; border-radius: 14px; background:#0a0f18; border:1px solid rgba(255,255,255,.08); }
.embed-16x9 iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* === Body lock when modal open === */
.body-locked{ overflow:hidden; }

/* === Mobile tweaks === */
@media (max-width: 768px){
  .poster{ height:140px; }
  .game-sheet{ width:100vw; height:100vh; max-height:none; border-radius:0; }
  .gm-viewport{ padding: 10px; }
}


/* Poster image fit */
.poster-img{ width:100%; height:100%; object-fit:cover; border-radius: 16px; display:block; }

/* Modal viewport sizing fix */
.gm-viewport{ padding:12px; height: 68vh; }
@media (max-width: 768px){
  .gm-viewport{ padding:0; height: calc(100vh - 56px); }
  .embed-16x9{ height:100%; padding-bottom:0; }
  .embed-16x9 iframe{ height:100%; }
}


.spin-win-section .container{ position: relative; z-index: 1; }


/* === Spin & Win section background removed (site-wide bg used) === */
.spin-win-background { display: none !important; }
.spin-win-section { background: transparent !important; }


/* === Site-wide background (replaces section bg) === */
html, body { height: 100%; }
body::before{
  content:'';
  position: fixed;
  inset: 0;
  background-image: url('assets/background 114.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: -2;
}
/* Dark overlay for readability */
body::after{
  content:''; 
  position: fixed;
  inset: 0;
  background: rgba(14,26,42,.55);
  z-index: -1;
}



/* ================= Brand Comparison Section ================= */
.compare-section .section-title{
  margin-bottom: var(--spacing-md);
}
.compare-section .section-subtitle{
  max-width: 900px;
  opacity: .95;
}

/* Wrapper handles horizontal scroll on mobile */
.compare-table-wrapper{
  margin-top: var(--spacing-xl);
  background: linear-gradient(180deg, rgba(34,43,59,.75), rgba(30,39,55,.75));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table{
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text);
}

/* Header */
.compare-table thead th{
  font-weight: 600;
  text-align: center;
  padding: 22px 18px;
  background: rgba(20,30,47,.85);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.compare-table .feature-col{
  text-align: left;
  min-width: 180px;
  left: 0;
  position: sticky;
  z-index: 3;
  background: var(--navy-2); /* solid header background for feature column */
}

/* Logo pill */
.logo-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 54px;
  border-radius: 16px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(255,255,255,.12), rgba(0,0,0,.18));
  box-shadow: inset 1px 2px rgba(255,255,255,.12), inset 0 -2px 6px rgba(0,0,0,.25);
  margin: 0 auto 8px;
}
.logo-pill img{
  max-height: 34px;
  max-width: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6));
}

/* Cells */
.compare-table td,
.compare-table tbody th{
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(20,30,47,.55);
}

/* Zebra striping for non-feature columns */
.compare-table tbody tr:nth-child(odd) td{
  background: rgba(20,30,47,.35);
}

/* Solid feature column for better visibility */
.compare-table tbody th.feature-cell{
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--navy-2); /* no transparency */
}

/* Ensure feature column stays solid even on striped rows */
.compare-table tbody tr:nth-child(odd) th.feature-cell{
  background: var(--navy-2);
}

/* Chips & badges */
.chip{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.chip-gold{
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #222;
  border: none;
}
.badge{
  display: inline-block;
  font-size: 10px;
  background: rgba(255,255,255,.15);
  padding: 4px 8px;
  border-radius: 999px;
}

/* Yes / No icons (positive only) */
.yes{
  font-weight: 600;
}
.yes::before{
  content: '✓';
  margin-right: 6px;
  font-weight: 800;
  color: var(--gold-1);
}

/* Table note & footnote */
.table-note{
  font-size: 12px;
  opacity: .8;
}
.compare-footnote{
  margin-top: var(--spacing-md);
  opacity: .85;
  font-size: 14px;
}

/* === Mobile swipe hint highlight (ONLY mobile users see pill) === */
.mobile-swipe-hint{
  display: none;
}

@media (max-width: 768px){
  .mobile-swipe-hint{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-1);
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    margin: 0 auto 10px;
    text-align: center;
    animation: swipePulse 1.8s ease-in-out infinite;
  }
  .mobile-swipe-hint::before{
    content: "⇆";
    font-size: 16px;
  }
}

@keyframes swipePulse{
  0%,100%{ transform: translateY(0); opacity: 1; }
  50%{ transform: translateY(-2px); opacity: .9; }
}

/* Mobile spacing */
@media (max-width: 768px){
  .logo-pill{ width: 96px; height: 48px; }
  .compare-table{ min-width: 760px; }
  .compare-table thead th{ padding: 16px 12px; }
  .compare-table td, .compare-table tbody th{ padding: 14px; }
}

/* === Compact logos in comparison header (remove big pill borders) === */
.compare-table .logo-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 auto 6px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.compare-table .logo-pill img{
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: none !important;
}
/* reduce header padding slightly so logos look tighter */
.compare-table thead th{ padding-top: 16px; padding-bottom: 14px; }


/* ===== Mobile-friendly comparison layout (card view – CURRENTLY OFF) ===== */
.compare-cards{ display:none; }
.btn-ghost.small{
  display:inline-block; padding:8px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); font-size:12px; text-decoration:none; color: var(--text);
}
.btn-primary.block{
  display:block; text-align:center; margin-top:12px; padding:12px 16px; border-radius:999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color:#222; font-weight:600; text-decoration:none; border:none;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
@media (max-width: 768px){
  .compare-table-wrapper{ display:none; }
  .compare-cards{ display:grid; gap:16px; }
  .compare-card{ background: rgba(20,30,47,.75); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
  .compare-card .card-head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
  .compare-card .card-logo{ height:28px; object-fit:contain; }
  .compare-card .badge{ font-size:10px; background: rgba(255,255,255,.14); padding:4px 8px; border-radius:999px; }
  .compare-card .card-list{ list-style:none; padding:0; margin:0; }
  .compare-card .card-list li{ display:flex; justify-content:space-between; border-bottom:1px dashed rgba(255,255,255,.08); padding:10px 0; gap:8px; }
  .compare-card .card-list li strong{ opacity:.85; }
}


/* ===== Spin & Win — mobile layout fix ===== */
@media (max-width: 768px){
  .spin-win-horizontal{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .spin-win-content{ text-align: left; }
  .spin-wheel-container{ order: 2; margin: 8px auto 0; max-width: 320px; }
  .spin-wrap, .spin-wheel-container img{ max-width: 100%; height: auto; }
  .spin-win-section .btn{ margin-top: 8px; }
}



/* ===== Comparison table visibility & mobile polish ===== */
/* Always show table; allow swipe horizontally on small screens */
.compare-table-wrapper{
  margin-bottom: 16px; /* keeps footnote clear */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar on mobile while keeping swipe scroll */
@media (max-width: 768px){
  .compare-table-wrapper{
    display: block;
    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none;/* IE / Edge */
  }
  .compare-table-wrapper::-webkit-scrollbar{
    display: none;          /* Chrome / Safari */
  }

  .compare-cards{ display: none; } /* we prefer table + swipe */
  .compare-table thead th{ padding: 12px 10px; }
  .compare-table td, .compare-table tbody th{ padding: 12px 10px; font-size: 14px; }
  .chip{ font-size: 11px; padding: 6px 10px; }
  .feature-col{ min-width: 140px; }
}

/* Brand names above logos */
.compare-table .brand-name{
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: .95;
  margin-bottom: 6px;
}

/* Larger logos on desktop */
@media (min-width: 1024px){
  .compare-table .logo-pill img{ max-height: 48px; max-width: 140px; }
}

/* Details buttons in table */
.btn-ghost.small{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size:12px;
  text-decoration:none;
  color: var(--text);
  white-space: nowrap;
}


.btn-ghost.small{
  display:inline-block; padding:8px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  font-size:12px; text-decoration:none; color: var(--text); white-space:nowrap;
}

/* Compact logo heads in comparison */
.compare-table .logo-pill{ background: transparent !important; border:none !important; box-shadow:none !important; padding:0; margin:0 auto 6px; width:auto; height:auto; }
.compare-table .logo-pill img{ max-height:48px; max-width: 160px; object-fit: contain; }
@media (max-width:768px){
  .compare-table .logo-pill img{ max-height:36px; max-width:120px; }
}
.compare-table .brand-name{ display:block; text-align:center; font-weight:600; font-size:12px; margin-bottom:6px; }


/* ====== JP Live Sections (namespaced) ====== */
.jp-container{max-width:1200px;margin:0 auto;padding:0 16px;}
.jp-title{font:700 32px/1.1 var(--font-primary, system-ui);color:var(--text, #f8f8f8);text-align:center;margin:0 0 18px;}
.jp-title:after{content:"";display:block;width:96px;height:4px;border-radius:4px;background:linear-gradient(90deg,#F5D97B,#C69B2A);margin:10px auto 0;opacity:.9;}
.jp-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;padding:0;margin:10px auto 8px;max-width:1080px}
.jp-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);box-shadow:0 8px 24px rgba(0,0,0,.22);border-radius:16px;padding:16px 18px;}
.jp-name{display:block;font-weight:600;opacity:.9;margin-bottom:6px;color:var(--text,#eaeaea)}
.jp-amt{display:block;font-weight:800;font-size:20px;color:#f6d46b;text-shadow:0 1px 0 rgba(0,0,0,.4)}
.jp-winners .jp-marquee{position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.06);padding-top:10px}
.jp-track{display:flex;gap:12px;align-items:center;will-change:transform;animation:jp-slide 28s linear infinite}
.jp-chip{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:10px 14px;white-space:nowrap}
.jp-chip .a{width:26px;height:26px;border-radius:999px;background:#263143;color:#f6d46b;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.jp-chip .t{opacity:.95;color:var(--text,#fff);font-weight:600}
@keyframes jp-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:992px){.jp-cards{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){
  .jp-title{font-size:26px}
  .jp-cards{grid-template-columns:1fr 1fr;gap:12px}
  .jp-card{padding:12px}
  .jp-amt{font-size:18px}
}


/* === Fix: Center 'Feature' header cell in comparison table === */
.compare-table thead th.feature-col{
  text-align: center !important;
  vertical-align: middle;
}
@media (max-width: 768px){
  .compare-table thead th.feature-col{
    min-width: 140px;           /* keep sticky column compact on mobile */
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* ===== Header nav (Free games right side) ===== */
header .header-content{
  justify-content: space-between;   /* left logo + right nav */
  align-items: center;
}

.main-nav ul{
  display: flex;
  gap: 12px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px){
  .logo{ max-width: 150px; }
}

.main-nav a{
  display: inline-block;
  padding: 12px 18px;
  border-radius: var(--radius-full, 999px);
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--navy-1);
  box-shadow: 0 4px 15px rgba(229,185,75,.30);
  border: 1px solid rgba(243,208,111,.35);
  transition: var(--transition, all .3s ease);
}

.main-nav a:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229,185,75,.50);
}

@media (max-width: 768px){
  .main-nav a{ padding: 10px 14px; font-size: 14px; }
}
