/* =========================================
           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;
      }

      .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;
      }

      /* =========================================
           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;
      }

      /* SVGs */
      .icon-gold {
        fill: none;
        stroke: var(--primary);
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .icon-gray {
        fill: none;
        stroke: var(--text-secondary);
        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
           ========================================= */
      .hero {
        position: relative;
        padding: 80px 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: var(--bg);
        overflow: hidden;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3vw));
      }

      .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          135deg,
          rgba(212, 43, 43, 0.4) 0%,
          rgba(240, 180, 41, 0.1) 50%,
          transparent 100%
        );
        z-index: 1;
        pointer-events: none;
      }

      .hero-container {
        display: flex;
        align-items: center;
        z-index: 2;
        width: 100%;
      }

      .hero-content {
        width: 45%;
        padding-right: 40px;
      }

      .hero-title {
        font-size: 64px;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 24px;
      }

      .hero-desc {
        font-size: 18px;
        color: var(--text-secondary);
        margin-bottom: 40px;
      }

      .hero-actions {
        display: flex;
        gap: 16px;
      }

      .hero-image-wrap {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
        height: 110%;
        z-index: 0;
      }

      .hero-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        mask-image: linear-gradient(to right, transparent 0%, black 20%);
        -webkit-mask-image: linear-gradient(
          to right,
          transparent 0%,
          black 20%
        );
      }

      /* =========================================
           SECTION 2: GAME CATEGORIES
           ========================================= */
      #categories {
        margin-top: -80px;
      }

      .category-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 48px;
      }

      .category-card {
        background: var(--surface-raised);
        border-radius: 4px;
        padding: 24px;
        border-left: 3px solid var(--primary);
        transition: all 0.3s ease;
      }

      .category-card:hover {
        transform: translateY(-3px);
        border-left-width: 100%;
        box-shadow: inset 200px 0 0 0 rgba(240, 180, 41, 0.05);
      }

      .category-icon {
        margin-bottom: 16px;
        width: 32px;
        height: 32px;
      }

      .category-title {
        font-size: 20px;
        margin-bottom: 8px;
      }

      .category-desc {
        font-size: 14px;
        color: var(--text-secondary);
      }

      .center-btn-wrap {
        text-align: center;
      }

      /* =========================================
           SECTION 3: WHY CHOOSE 711BET
           ========================================= */
      .trust-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
      }

      .trust-card {
        background: var(--surface-raised);
        border-radius: 4px;
        padding: 32px 24px;
        text-align: center;
        border: 1px solid transparent;
        transition: all 0.3s ease;
      }

      .trust-card:hover {
        border-color: rgba(240, 180, 41, 0.6);
      }

      .trust-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 16px;
        transition: stroke 0.3s;
      }

      .trust-card:hover .icon-gold {
        stroke: #ffc947;
      }

      .trust-title {
        font-size: 18px;
        margin-bottom: 8px;
        color: var(--text-primary);
      }

      .trust-desc {
        font-size: 14px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 4: FEATURED GAMES
           ========================================= */
      .featured-banner {
        width: 100%;
        position: relative;
        margin-bottom: 40px;
        aspect-ratio: 16/5;
        overflow: hidden;
        border-radius: 4px;
      }

      .featured-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .featured-banner::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, var(--bg), transparent);
      }

      .games-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-bottom: 48px;
      }

      .game-card {
        background: var(--surface-raised);
        border-radius: 4px;
        overflow: hidden;
        border: 1px solid transparent;
        transition:
          transform 0.3s ease,
          border-color 0.3s ease;
      }

      .game-card:hover {
        transform: scale(1.03);
        border-color: var(--primary);
      }

      .game-img-wrap {
        aspect-ratio: 1/1;
        overflow: hidden;
      }

      .game-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .game-info {
        padding: 16px;
      }

      .game-title {
        font-size: 18px;
        margin-bottom: 4px;
      }

      .game-stats {
        font-family: var(--font-ui);
        font-size: 13px;
        color: var(--text-secondary);
        margin-bottom: 4px;
      }

      .game-tag {
        font-size: 13px;
        color: var(--primary);
      }

      /* =========================================
           SECTION 5: BONUSES
           ========================================= */
      .bonus-layout {
        display: flex;
        align-items: flex-start;
        gap: 5%;
      }

      .bonus-content {
        width: 55%;
      }

      .bonus-img-wrap {
        width: 40%;
      }

      .bonus-img-wrap img {
        width: 100%;
        border-radius: 4px;
      }

      .bonus-intro {
        font-size: 16px;
        color: var(--text-secondary);
        margin-bottom: 32px;
      }

      .bonus-list {
        display: flex;
        flex-direction: column;
      }

      .bonus-item {
        display: flex;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
      }

      .bonus-item-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        margin-right: 16px;
      }

      .bonus-item-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .bonus-item-label {
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 16px;
        color: var(--text-primary);
      }

      .bonus-item-desc {
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--text-secondary);
      }

      .jackpot-tickets {
        display: flex;
        gap: 16px;
        margin: 32px 0;
      }

      .ticket-pill {
        background: var(--surface-raised);
        padding: 12px 16px;
        border-radius: 50px;
        font-size: 13px;
        font-family: var(--font-ui);
        border-left: 4px solid var(--border);
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .ticket-silver {
        border-left-color: #a0a0a0;
      }
      .ticket-gold {
        border-left-color: var(--primary);
      }
      .ticket-platinum {
        border-left-color: var(--accent);
      }

      /* =========================================
           SECTION 6: PAYMENTS
           ========================================= */
      .payment-row {
        display: flex;
        justify-content: center;
        gap: 32px;
        margin-bottom: 24px;
      }

      .payment-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .payment-icon {
        width: 28px;
        height: 28px;
      }

      .payment-name {
        font-family: var(--font-ui);
        font-size: 12px;
        color: var(--text-secondary);
      }

      .payment-support-text {
        text-align: center;
        font-size: 14px;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
      }

      /* =========================================
           SECTION 7: REVIEWS
           ========================================= */
      .reviews-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
      }

      .testimonial-card {
        background: var(--surface-raised);
        border-radius: 4px;
        padding: 24px;
        border-left: 3px solid var(--primary);
        display: flex;
        flex-direction: column;
        transition:
          transform 0.3s ease,
          border-color 0.3s;
      }

      .testimonial-card:hover {
        transform: translateY(-2px);
        border-left-color: #ffc947;
      }

      .stars {
        display: flex;
        gap: 4px;
        margin-bottom: 16px;
      }

      .star-icon {
        width: 16px;
        height: 16px;
        fill: var(--primary);
      }

      .quote {
        font-family: var(--font-body);
        font-style: italic;
        font-size: 15px;
        color: var(--text-primary);
        flex-grow: 1;
        margin-bottom: 24px;
      }

      .author-box {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--gradient-wash);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 16px;
        color: #111;
      }

      .author-info {
        display: flex;
        flex-direction: column;
      }

      .author-name {
        font-weight: 500;
        font-size: 14px;
      }

      .author-region {
        font-size: 13px;
        color: var(--text-secondary);
      }

      /* =========================================
           SECTION 8: STEPS
           ========================================= */
      .steps-container {
        position: relative;
      }

      .steps-line {
        position: absolute;
        top: 24px;
        left: 0;
        width: 100%;
        height: 2px;
        background-image: linear-gradient(
          to right,
          var(--primary) 50%,
          transparent 50%
        );
        background-size: 12px 2px;
        background-repeat: repeat-x;
        z-index: 0;
        opacity: 0.3;
      }

      .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        position: relative;
        z-index: 1;
        margin-bottom: 48px;
      }

      .step-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .step-num {
        font-family: var(--font-ui);
        font-weight: 800;
        font-size: 48px;
        color: var(--primary);
        background: var(--bg);
        padding: 0 16px;
        margin-bottom: 16px;
        line-height: 1;
      }

      .step-title {
        font-size: 22px;
        margin-bottom: 8px;
      }

      .step-desc {
        font-size: 15px;
        color: var(--text-secondary);
      }

      /* =========================================
           FAQ
           ========================================= */
      .faq-list {
        max-width: 800px;
        margin: 0 auto; /* CENTER FAQ LIST */
      }

      .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 */

        .hero {
          min-height: auto;
        }
        .hero-title {
          font-size: 48px;
        }
        #categories {
          margin-top: 0px;
        }
        .category-grid,
        .games-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .trust-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .bonus-layout {
          flex-direction: column-reverse;
          gap: 40px;
        }
        .bonus-content,
        .bonus-img-wrap {
          width: 100%;
        }
        .reviews-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .steps-line {
          width: 2px;
          height: 100%;
          top: 0;
          left: 50%;
          transform: translateX(-50%);
          background-image: linear-gradient(
            to bottom,
            var(--primary) 50%,
            transparent 50%
          );
          background-size: 2px 12px;
        }
        .steps-grid {
          grid-template-columns: 1fr;
          gap: 48px;
        }
        .step-item {
          flex-direction: row;
          text-align: left;
          align-items: flex-start;
          gap: 24px;
          background: var(--bg);
          padding: 16px;
          position: relative;
          z-index: 2;
          margin-left: 20%;
          margin-right: 20%;
        }
        .step-num {
          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;
        }

        .hero {
          clip-path: none;
          padding-top: 80px;
          align-items: flex-start;
        }
        .hero-container {
          padding-top: 40px;
        }
        .hero-content {
          width: 100%;
          padding-right: 0;
          text-align: center;
        }
        .hero-image-wrap {
          display: none;
        }
        .hero-title {
          font-size: 40px;
        }
        .hero-actions {
          flex-direction: column;
          width: 100%;
        }
        .hero-actions .btn {
          width: 100%;
        }

        .trust-grid {
          grid-template-columns: 1fr;
        }
        .payment-row {
          justify-content: flex-start;
          overflow-x: auto;
          padding-bottom: 16px;
          -ms-overflow-style: none;
          scrollbar-width: none;
        }
        .payment-row::-webkit-scrollbar {
          display: none;
        }

        .reviews-grid {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          gap: 16px;
          padding-bottom: 24px;
        }
        .testimonial-card {
          flex: 0 0 85vw;
          scroll-snap-align: center;
        }

        .step-item {
          margin-left: 0;
          margin-right: 0;
          flex-direction: column;
          text-align: center;
          align-items: center;
        }
        .steps-line {
          display: none;
        }
        .steps-grid {
          gap: 32px;
        }

        .footer-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .footer-bottom {
          flex-direction: column;
          gap: 16px;
          text-align: center;
        }

        .jackpot-tickets {
          flex-direction: column;
        }
      }
