/* =========================================
           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;
      }

      /* Editorial generous padding for About Page */
      .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;
        color: var(--text-primary);
      }

      .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-text {
        font-size: 17px;
        color: var(--text-primary);
        margin-bottom: 24px;
        line-height: 1.8;
      }

      .body-text-dim {
        font-size: 17px;
        color: var(--text-secondary);
        margin-bottom: 24px;
        line-height: 1.8;
      }

      /* =========================================
           COMPONENTS
           ========================================= */
      .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;
        gap: 8px;
      }

      .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;
      }

      .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 (ABOUT PAGE)
           ========================================= */
      .about-hero {
        position: relative;
        padding-top: 140px;
        background-color: var(--bg);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .hero-watermark {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: var(--font-display);
        font-size: clamp(120px, 20vw, 240px);
        font-weight: 800;
        color: #ffffff;
        opacity: 0.05;
        z-index: 0;
        white-space: nowrap;
        pointer-events: none;
      }

      .about-hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 760px;
        padding: 0 24px;
        margin-bottom: 48px;
      }

      .about-hero-title {
        font-size: 56px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 24px;
      }

      .about-hero-stats {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        flex-wrap: wrap;
      }

      .about-stat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 40px;
        border-right: 1px solid var(--border);
      }

      .about-stat-card:last-child {
        border-right: none;
      }

      .about-stat-num {
        font-family: var(--font-ui);
        font-size: 32px;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
        margin-bottom: 8px;
      }

      .about-stat-label {
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--text-secondary);
      }

      .about-hero-banner {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
      }

      .about-hero-banner img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        mask-image: linear-gradient(to top, transparent 0%, black 20%);
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
      }

      /* =========================================
           SECTION 2: BRAND STORY
           ========================================= */
      .story-split {
        display: flex;
        align-items: center;
        gap: 5%;
      }

      .story-content {
        width: 55%;
      }

      .story-visual {
        width: 45%;
        position: relative;
      }

      .story-visual img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 4px;
      }

      .story-vignette {
        position: absolute;
        top: 0;
        left: 0;
        width: 20%;
        height: 100%;
        background: linear-gradient(
          to right,
          var(--surface) 0%,
          transparent 100%
        );
        pointer-events: none;
      }

      /* =========================================
           SECTION 3: MISSION AND VALUES
           ========================================= */
      .mission-statement {
        font-size: 18px;
        color: var(--text-primary);
        font-style: italic;
        text-align: center;
        max-width: 720px;
        margin: 0 auto 48px;
        line-height: 1.6;
      }

      .values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-items: stretch;
      }

      .value-card {
        background: #141414;
        border-left: 3px solid var(--primary);
        border-radius: 4px;
        padding: 32px;
        display: flex;
        flex-direction: column;
      }

      .value-title {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 12px;
        letter-spacing: 0.5px;
      }

      .value-desc {
        font-size: 15px;
        color: var(--text-secondary);
        line-height: 1.7;
      }

      /* =========================================
           SECTION 4: PAGCOR LICENSE
           ========================================= */
      .pagcor-split {
        display: flex;
        align-items: center;
        gap: 5%;
      }

      .pagcor-content {
        width: 55%;
      }

      .pagcor-visual {
        width: 40%;
      }

      .cert-frame {
        background: #1e1e1e;
        border: 1px solid rgba(240, 180, 41, 0.4);
        border-radius: 4px;
        padding: 16px;
      }

      .cert-frame img {
        width: 100%;
        height: auto;
        border-radius: 2px;
      }

      .guarantee-list {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .guarantee-item {
        display: flex;
        gap: 16px;
      }

      .guarantee-num {
        font-family: var(--font-ui);
        font-weight: 800;
        font-size: 18px;
        color: var(--primary);
        flex-shrink: 0;
        margin-top: 2px;
      }

      .guarantee-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .guarantee-title {
        font-family: var(--font-body);
        font-weight: 500;
        color: var(--text-primary);
      }

      .guarantee-desc {
        font-size: 15px;
        color: var(--text-secondary);
        line-height: 1.6;
      }

      .verification-note {
        margin-top: 32px;
        font-style: italic;
        font-size: 14px;
        color: var(--text-secondary);
      }

      .text-link-gold {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.2s;
        border-bottom: 1px solid var(--primary);
        padding-bottom: 1px;
      }

      .text-link-gold:hover {
        color: #fff;
        border-bottom-color: #fff;
      }

      /* =========================================
           SECTION 5: eCOGRA CERTIFICATION
           ========================================= */
      .ecogra-statement {
        border-top: 1px solid var(--border);
        margin-top: 40px;
        padding-top: 24px;
        padding-left: 16px;
        font-weight: 500;
        font-size: 16px;
        color: var(--text-primary);
        border-left: 2px solid transparent; /* Keeps alignment visually clean */
      }

      /* =========================================
           SECTION 6: SECURITY & RESPONSIBLE GAMING
           ========================================= */
      .sec-rg-split {
        display: flex;
        align-items: stretch;
        gap: 48px;
      }

      .sec-col {
        width: 50%;
      }

      .sec-col-left {
        border-right: 1px solid var(--border);
        padding-right: 48px;
      }

      .sec-h3 {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 24px;
      }

      .rg-tools-list {
        display: flex;
        flex-direction: column;
      }

      .rg-tool-row {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
      }

      .rg-tool-name {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 15px;
        color: var(--text-primary);
        margin-bottom: 4px;
        display: block;
      }

      .rg-tool-desc {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.5;
      }

      .rg-links {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .rg-links a {
        font-size: 14px;
        color: var(--text-secondary);
      }

      .rg-links a:hover {
        color: var(--primary);
      }

      /* =========================================
           SECTION 7: CUSTOMER SUPPORT
           ========================================= */
      .support-stat-callout {
        text-align: center;
        margin-bottom: 32px;
      }

      .support-stat-val {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 48px;
        color: var(--primary);
        line-height: 1;
        margin-bottom: 8px;
      }

      .support-stat-sub {
        font-size: 15px;
        color: var(--text-secondary);
      }

      .support-channels-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 48px;
      }

      .support-card {
        background: #141414;
        border-radius: 4px;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .sup-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 16px;
      }

      .sup-title {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 18px;
        color: var(--text-primary);
        margin-bottom: 8px;
      }

      .sup-desc {
        font-size: 14px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 8: LICENSE DISPLAY
           ========================================= */
      .cert-banner {
        width: 100%;
        aspect-ratio: 16/4;
        position: relative;
        margin-bottom: 40px;
      }

      .cert-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .cert-banner::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 10, 10, 0.6); /* Dark overlay */
      }

      .cert-badges-row {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 24px;
      }

      .cert-badge {
        background: var(--surface-raised);
        border: 1px solid var(--primary);
        border-radius: 50px;
        padding: 8px 16px;
        font-family: var(--font-ui);
        font-size: 12px;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      /* =========================================
           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;
        line-height: 1.6;
      }

      /* =========================================
           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.08em;
      }

      .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);
      }

      /* =========================================
           RESPONSIVE BREAKPOINTS
           ========================================= */
      @media (max-width: 1023px) {
        /* Tablet */
        .section-padding {
          padding: 64px 0;
        }
        .about-hero-title {
          font-size: 48px;
        }

        .story-split,
        .pagcor-split {
          flex-direction: column;
          gap: 40px;
        }
        .story-content,
        .story-visual,
        .pagcor-content,
        .pagcor-visual {
          width: 100%;
        }
        /* Story section: image stacks above text */
        .story-split {
          flex-direction: column-reverse;
        }
        .story-vignette {
          display: none;
        }

        .sec-rg-split {
          flex-direction: column;
          gap: 40px;
        }
        .sec-col {
          width: 100%;
        }
        .sec-col-left {
          border-right: none;
          padding-right: 0;
        }

        .support-channels-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 767px) {
        /* Mobile */
        .section-padding {
          padding: 48px 0;
        }
        .nav-links,
        .nav-actions {
          display: none;
        }
        .mobile-menu-btn {
          display: block;
        }

        .about-hero-title {
          font-size: 34px;
        }
        .hero-watermark {
          font-size: clamp(80px, 20vw, 120px);
          top: 35%;
        }

        .about-stat-card {
          padding: 0 16px;
          margin-bottom: 24px;
          border-right: none;
          width: 100%;
        }
        .about-stat-card:not(:last-child) {
          border-bottom: 1px solid var(--border);
          padding-bottom: 16px;
        }
        .about-hero-stats {
          flex-direction: column;
        }

        .values-grid {
          grid-template-columns: 1fr;
        }

        .support-channels-grid {
          grid-template-columns: 1fr;
        }

        .cert-banner {
          aspect-ratio: 16/9;
        }

        .footer-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .footer-bottom {
          flex-direction: column;
          gap: 16px;
          text-align: center;
        }
      }
