/* =========================================
           CSS VARIABLES & RESET
           ========================================= */
      :root {
        --primary: #f0b429;
        --accent: #d42b2b;
        --bg: #0a0a0a;
        --surface: #141414;
        --surface-raised: #1e1e1e;
        --text-primary: #f5f5f5;
        --text-secondary: #9a9a9a;
        --success: #22c55e;
        --border: #2a2a2a;
        --gradient-wash: linear-gradient(135deg, #f0b429 0%, #d42b2b 100%);

        --font-display: "Barlow Condensed", sans-serif;
        --font-body: "DM Sans", sans-serif;
        --font-ui: "DM Mono", monospace;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        font-family: var(--font-body);
        background-color: var(--bg);
        color: var(--text-primary);
        line-height: 1.5;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
      }

      a {
        text-decoration: none;
        color: inherit;
      }

      ul {
        list-style: none;
      }

      img {
        max-width: 100%;
        height: auto;
        display: block;
      }

      /* =========================================
           TYPOGRAPHY & UTILITIES
           ========================================= */
      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: var(--font-display);
        text-transform: uppercase;
      }

      .text-gradient {
        background: var(--gradient-wash);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
      }

      .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
      }

      .container-narrow {
        max-width: 800px;
      }

      .section-padding {
        padding: 80px 0;
      }

      .bg-surface {
        background-color: var(--surface);
      }

      .section-header {
        margin-bottom: 48px;
      }

      .section-title {
        font-size: 40px;
        font-weight: 800;
        margin-bottom: 16px;
        position: relative;
      }

      .section-title.centered {
        text-align: center;
      }

      .section-title:not(.centered)::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background-color: var(--primary);
        margin-top: 12px;
      }

      .section-title.centered::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background-color: var(--primary);
        margin: 12px auto 0;
      }

      .body-intro {
        font-size: 17px;
        color: var(--text-primary);
        margin-bottom: 24px;
      }

      /* =========================================
           COMPONENTS
           ========================================= */
      /* Buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        padding: 14px 32px;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
        border: none;
      }

      .btn-type-a {
        background: var(--gradient-wash);
        color: #111;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(240, 180, 41, 0.2);
      }

      .btn-type-a:hover {
        box-shadow: 0 6px 20px rgba(240, 180, 41, 0.4);
        transform: translateY(-2px);
      }

      .btn-type-b {
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary);
        border-radius: 6px;
      }

      .btn-type-b:hover {
        background: rgba(240, 180, 41, 0.1);
      }

      .btn-type-b.capsule {
        border-radius: 50px;
      }

      .center-btn-wrap {
        text-align: center;
        margin-top: 32px;
      }

      /* SVGs */
      .icon-gold {
        fill: none;
        stroke: var(--primary);
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      /* =========================================
           NAVBAR
           ========================================= */
      .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: rgba(30, 30, 30, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 100;
        border-bottom: 1px solid var(--border);
      }

      .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
      }

      .logo {
        font-family: var(--font-display);
        font-size: 28px;
        font-weight: 800;
        color: var(--text-primary);
        letter-spacing: 1px;
      }

      .nav-links {
        display: flex;
        gap: 32px;
      }

      .nav-link {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 15px;
        color: var(--text-primary);
        transition: color 0.2s;
      }

      .nav-link:hover {
        color: var(--primary);
      }

      .nav-actions {
        display: flex;
        gap: 16px;
      }

      .nav-btn {
        padding: 8px 20px;
        font-size: 16px;
        border-radius: 50px;
      }

      .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
      }

      .hamburger-line {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-primary);
        margin: 5px 0;
        transition: 0.3s;
      }

      .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--surface-raised);
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        overflow-y: auto;
      }

      .mobile-menu.active {
        transform: translateX(0);
      }

      .mobile-menu .nav-links {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
      }

      .mobile-menu .nav-link {
        font-size: 18px;
        display: block;
      }

      .mobile-menu .nav-actions {
        flex-direction: column;
      }

      .mobile-menu .btn {
        width: 100%;
      }

      /* =========================================
           SECTION 1: HERO (GAMES PAGE)
           ========================================= */
      .games-hero {
        position: relative;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 80px; /* Navbar offset */
        background: var(--bg);
        text-align: center;
        overflow: hidden;
      }

      .games-hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
      }

      .games-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
      }

      /* Heavy dark overlay: bottom 60% fades to solid #0A0A0A */
      .games-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          to bottom,
          rgba(10, 10, 10, 0.4) 0%,
          rgba(10, 10, 10, 0.5) 40%,
          #0a0a0a 100%
        );
        z-index: 1;
      }

      .games-hero-content {
        position: relative;
        z-index: 2;
        max-width: 700px;
        padding: 0 24px;
      }

      .games-hero-title {
        font-size: 60px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 24px;
      }

      .games-hero-desc {
        font-size: 18px;
        color: var(--text-secondary);
        margin-bottom: 40px;
      }

      /* =========================================
           SPLIT LAYOUT BASE (Editorial Layout)
           ========================================= */
      .split-row {
        display: flex;
        align-items: center;
        gap: 5%;
      }

      .split-content {
        width: 55%;
      }

      .split-image-wrap {
        width: 40%;
        position: relative;
        display: flex;
      }

      .split-image-wrap img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }

      .split-content.half,
      .split-image-wrap.half {
        width: 50%;
      }

      /* =========================================
           SECTION 2: SLOTS
           ========================================= */
      /* Diagonal cut on image desktop only */
      .img-slanted {
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
        border-radius: 4px 0 0 4px;
      }

      .provider-row {
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
      }

      .provider-name {
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 4px;
        display: block;
      }

      .provider-desc {
        font-size: 15px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 3: LIVE CASINO
           ========================================= */
      /* Vignette overlay for left edge */
      .gold-vignette {
        position: absolute;
        top: 0;
        left: 0;
        width: 30%;
        height: 100%;
        background: linear-gradient(
          to right,
          #0a0a0a 0%,
          rgba(10, 10, 10, 0.4) 50%,
          transparent 100%
        );
        z-index: 1;
        pointer-events: none;
      }

      .live-casino-img {
        border-radius: 4px;
      }

      /* Hybrid Variant Rows (Stacked Desktop, Accordion Mobile) */
      .variant-item {
        border-bottom: 1px solid var(--border);
      }

      .variant-header {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .variant-title {
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 700;
        color: var(--text-primary);
      }

      .variant-icon {
        width: 20px;
        height: 20px;
        stroke: var(--primary);
        transition: transform 0.3s ease;
      }

      .variant-body {
        font-size: 15px;
        color: var(--text-secondary);
        padding-bottom: 20px;
        line-height: 1.6;
      }

      /* Desktop logic: force open, hide icon */
      @media (min-width: 768px) {
        .variant-body {
          display: block !important;
          max-height: none !important;
        }
        .variant-icon {
          display: none;
        }
        .variant-header {
          padding-bottom: 8px;
          cursor: default;
        }
      }

      /* Mobile logic (CSS base for JS toggle) */
      @media (max-width: 767px) {
        .variant-header {
          cursor: pointer;
        }
        .variant-body {
          max-height: 0;
          overflow: hidden;
          padding-bottom: 0;
          transition:
            max-height 0.3s ease,
            padding-bottom 0.3s ease;
        }
        .variant-item.active .variant-icon {
          transform: rotate(180deg);
        }
        .variant-item.active .variant-body {
          padding-bottom: 20px;
        }
      }

      /* =========================================
           SECTION 4: SPORTS BETTING
           ========================================= */
      .sports-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 32px;
      }

      .sport-card {
        background: var(--surface-raised);
        border-radius: 4px;
        padding: 24px;
        border-left: 3px solid var(--primary);
        display: flex;
        gap: 16px;
        align-items: flex-start;
      }

      .sport-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        margin-top: 2px;
      }

      .sport-title {
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 6px;
      }

      .sport-desc {
        font-size: 14px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 5: FISH SHOOTING
           ========================================= */
      .img-rounded-right {
        border-radius: 0 8px 8px 0;
      }

      .pills-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 24px 0 32px;
      }

      .pill-tag {
        background: var(--surface-raised);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 6px 14px;
        font-family: var(--font-ui);
        font-size: 13px;
        color: var(--text-secondary);
      }

      .fish-text-block {
        font-size: 17px;
        color: var(--text-secondary);
        margin-bottom: 16px;
      }

      /* =========================================
           SECTION 6: SABONG
           ========================================= */
      .sabong-text {
        font-size: 17px;
        margin-bottom: 24px;
        line-height: 1.6;
      }

      .sabong-text.highlight {
        color: var(--text-primary);
      }

      .sabong-text.dim {
        color: var(--text-secondary);
      }

      .steps-container-small {
        position: relative;
        margin: 48px 0;
      }

      .steps-line-small {
        position: absolute;
        top: 16px; /* Center of 32px number */
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        z-index: 0;
        opacity: 0.5;
      }

      .steps-grid-small {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        position: relative;
        z-index: 1;
      }

      .step-item-small {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .step-num-small {
        font-family: var(--font-ui);
        font-weight: 800;
        font-size: 32px;
        color: var(--primary);
        background: var(--surface); /* match section bg */
        padding: 0 16px;
        margin-bottom: 16px;
        line-height: 1;
      }

      .step-title-small {
        font-size: 20px;
        margin-bottom: 8px;
      }

      .step-desc-small {
        font-size: 14px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 7: GAME PROVIDERS MARQUEE
           ========================================= */
      .marquee-section {
        overflow: hidden;
        padding-bottom: 48px;
      }

      .marquee-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
        position: relative;
        mask-image: linear-gradient(
          to right,
          transparent,
          black 10%,
          black 90%,
          transparent
        );
        -webkit-mask-image: linear-gradient(
          to right,
          transparent,
          black 10%,
          black 90%,
          transparent
        );
      }

      .marquee-track {
        display: flex;
        gap: 32px;
        width: max-content;
        animation: scroll-left linear infinite;
      }

      .marquee-track:hover {
        animation-play-state: paused;
      }

      .marquee-track.fast {
        animation-duration: 25s;
      }

      .marquee-track.slow {
        animation-duration: 35s;
      }

      .marquee-item {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 15px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 32px;
      }

      .marquee-divider {
        width: 1px;
        height: 16px;
        background-color: var(--border);
      }

      @keyframes scroll-left {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        } /* Scrolls exactly half its width (which contains duplicated content) */
      }

      /* =========================================
           FAQ
           ========================================= */
      .faq-list {
        max-width: 800px;
        margin: 0 auto;
      }

      .faq-item {
        border-bottom: 1px solid var(--border);
      }

      .faq-question {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 24px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 16px;
        color: var(--text-primary);
        cursor: pointer;
      }

      .faq-icon {
        width: 20px;
        height: 20px;
        stroke: var(--primary);
        transition: transform 0.3s ease;
      }

      .faq-item.active .faq-icon {
        transform: rotate(180deg);
      }

      .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
      }

      .faq-answer-inner {
        padding-bottom: 24px;
        font-size: 16px;
        color: var(--text-secondary);
        padding-right: 40px;
      }

      /* =========================================
           FOOTER
           ========================================= */
      footer {
        background: #050505;
        padding: 64px 0 32px;
        border-top: 1px solid var(--border);
      }

      .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 48px;
        margin-bottom: 48px;
      }

      .footer-logo {
        font-family: var(--font-display);
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 16px;
      }

      .footer-desc {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 24px;
      }

      .footer-heading {
        font-family: var(--font-display);
        font-size: 18px;
        margin-bottom: 24px;
        color: var(--text-primary);
      }

      .footer-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .footer-link {
        font-size: 14px;
        color: var(--text-secondary);
        transition: color 0.2s;
      }

      .footer-link:hover {
        color: var(--primary);
      }

      .social-links {
        display: flex;
        gap: 16px;
      }

      .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--surface-raised);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }

      .social-link:hover {
        background: var(--primary);
      }

      .social-link svg {
        width: 20px;
        height: 20px;
        fill: var(--text-primary);
      }

      .badges-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
      }

      .license-badge {
        background: var(--surface-raised);
        border: 1px solid var(--border);
        border-radius: 50px;
        padding: 6px 12px;
        font-family: var(--font-ui);
        font-size: 12px;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .footer-bottom {
        border-top: 1px solid var(--border);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: var(--text-secondary);
      }

      /* =========================================
           FLOATING CTA
           ========================================= */
      .floating-cta {
        position: fixed;
        bottom: 24px;
        right: 24px;
        background: var(--gradient-wash);
        color: #111;
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 16px;
        text-transform: uppercase;
        padding: 16px 24px;
        border-radius: 50px;
        z-index: 90;
        box-shadow: 0 0 20px rgba(240, 180, 41, 0.4);
        animation: pulse-glow 2s infinite;
        transition:
          opacity 0.3s,
          visibility 0.3s;
      }

      .floating-cta.hidden {
        opacity: 0;
        visibility: hidden;
      }

      @keyframes pulse-glow {
        0% {
          box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.7);
        }
        70% {
          box-shadow: 0 0 0 15px rgba(240, 180, 41, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(240, 180, 41, 0);
        }
      }

      /* =========================================
           RESPONSIVE BREAKPOINTS
           ========================================= */
      @media (max-width: 1023px) {
        /* Tablet */
        .games-hero-title {
          font-size: 48px;
        }

        .split-row {
          flex-direction: column;
          gap: 40px;
        }
        .split-content,
        .split-image-wrap {
          width: 100% !important;
        }

        /* Order adjustments for tablet/mobile */
        .split-row.stack-mobile {
          flex-direction: column-reverse;
        }

        .img-slanted {
          clip-path: none;
          border-radius: 4px;
        }
        .img-rounded-right {
          border-radius: 4px;
        }
        .gold-vignette {
          display: none;
        } /* Remove vignette on stacked layouts */

        .sports-grid {
          grid-template-columns: 1fr;
        }

        .steps-line-small {
          width: 2px;
          height: 100%;
          top: 0;
          left: 50%;
          transform: translateX(-50%);
          background-color: transparent;
          background-image: linear-gradient(
            to bottom,
            var(--primary) 50%,
            transparent 50%
          );
          background-size: 2px 12px;
        }
        .steps-grid-small {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .step-item-small {
          flex-direction: row;
          text-align: left;
          align-items: flex-start;
          gap: 20px;
          background: var(--surface);
          padding: 16px;
          position: relative;
          z-index: 2;
          margin-left: 10%;
          margin-right: 10%;
        }
        .step-num-small {
          margin-bottom: 0;
        }

        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 767px) {
        /* Mobile */
        .nav-links,
        .nav-actions {
          display: none;
        }
        .mobile-menu-btn {
          display: block;
        }

        .games-hero-title {
          font-size: 36px;
        }

        .step-item-small {
          margin-left: 0;
          margin-right: 0;
          flex-direction: column;
          text-align: center;
          align-items: center;
        }
        .steps-line-small {
          display: none;
        }

        .footer-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .footer-bottom {
          flex-direction: column;
          gap: 16px;
          text-align: center;
        }
      }
