/* === BASE STYLES === */:root {
      --primary: #00D9FF;
      --secondary: #FF006B;
      --accent: #FFD700;
      --dark: #0A0E27;
      --dark-alt: #1A1F3A;
      --light: #F8F9FA;
      --text: #E8EAED;
      --text-muted: #A0A4B8;
      --gradient-1: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
      --gradient-2: linear-gradient(135deg, #FF006B 0%, #FF3399 100%);
      --gradient-3: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
      --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
      --shadow-md: 0 4px 16px rgba(0, 217, 255, 0.15);
      --shadow-lg: 0 8px 32px rgba(0, 217, 255, 0.2);
      --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.3);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      overflow-x: hidden;
      max-width: 100vw;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--dark);
      color: var(--text);
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    h1 { font-size: clamp(2rem, 5vw, 4rem); }
    h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
    h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
    h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      padding: 14px 32px;
      border-radius: 50px;
      text-decoration: none;
      display: inline-block;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.2);
      transition: left 0.4s ease;
      z-index: -1;
    }

    .btn:hover::before {
      left: 100%;
    }

    .btn-primary {
      background: var(--gradient-1);
      border: none;
      padding: 0.75rem 2rem;
      font-weight: 600;
      border-radius: 25px;
      transition: all 0.3s ease;
      color: #fff;
      box-shadow: var(--shadow-md);
    }

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

    .btn-secondary {
      background: var(--gradient-2);
      color: #fff;
      box-shadow: var(--shadow-md);
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 30px rgba(255, 0, 107, 0.4);
    }

    .card {
      background: var(--dark-alt);
      border: 1px solid rgba(0, 217, 255, 0.1);
      border-radius: 16px;
      padding: 2rem;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
      
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary);
    }

    .content-image {
      max-width: 100%;
      margin: 2rem auto;
      text-align: center;
    }

    .content-image img {
      max-width: 100%;
      height: auto;
      max-height: 400px;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: var(--shadow-md);
    }

    .content-image.portrait img {
      max-height: 350px;
      max-width: 300px;
    }

    .content-image.wide img {
      max-height: 300px;
      max-width: 100%;
    }

    .content-image figcaption {
      margin-top: 1rem;
      font-size: 0.875rem;
      color: var(--text-muted);
      font-style: italic;
    }

    .table-responsive {
      overflow-x: auto;
      margin: 2rem 0;
      border-radius: 12px;
      box-shadow: var(--shadow-md);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: var(--dark-alt);
    }

    table thead {
      background: var(--gradient-1);
    }

    table thead th {
      padding: 1rem;
      text-align: left;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
    }

    table tbody td {
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--text);
    }

    table tbody tr:hover {
      background: rgba(0, 217, 255, 0.05);
    }

    /* === LAYOUT STYLES === */
    header {
      position: sticky;
      top: 0;
      background: rgba(10, 14, 39, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(0, 217, 255, 0.1);
      padding: 1rem 0;
      z-index: 1000;
      box-shadow: var(--shadow-md);
    }

    header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.1rem;
    }

    .logo img {
      max-height: 50px;
      width: auto;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
    }

    .hamburger span {
      width: 28px;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

    nav {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-left: 0;
      margin-bottom: 0;
      flex: none;
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 2rem;
      margin: 0;
    }

    .nav-menu a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
      position: relative;
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .nav-menu a:hover {
      color: var(--primary);
    }

    .nav-menu a:hover::after {
      width: 100%;
    }

    header .cta-button {
      white-space: nowrap;
      max-width: 200px;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    footer {
      background: var(--dark-alt);
      border-top: 1px solid rgba(0, 217, 255, 0.1);
      padding: 4rem 0 2rem;
      margin-top: 6rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-section h4 {
      color: var(--primary);
      margin-bottom: 1rem;
      font-size: 1.25rem;
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
    }

    .footer-section ul li {
      margin-bottom: 0.5rem;
    }

    .footer-section a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-section a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      text-align: center;
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    @media (max-width: 767px) {
      header .container {
        flex-wrap: wrap;
      }

      .hamburger {
        display: flex;
        order: 2;
      }

      .logo {
        order: 1;
      }

      nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
      }

      .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--dark-alt);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
      }

      .nav-menu.active {
        display: flex;
      }

      .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .nav-menu li:last-child {
        border-bottom: none;
      }

      header .cta-button {
        order: 4;
        max-width: 100%;
        font-size: 0.875rem;
        padding: 10px 20px;
        text-align: center;
      }
    }

@media (max-width: 767px) {
      header .container {
        flex-wrap: wrap;
      }

      .hamburger {
        display: flex;
        order: 2;
      }

      .logo {
        order: 1;
      }

      nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
      }

      .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--dark-alt);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
      }

      .nav-menu.active {
        display: flex;
      }

      .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .nav-menu li:last-child {
        border-bottom: none;
      }

      header .cta-button {
        order: 4;
        width: 100%;
        font-size: 0.875rem;
        padding: 10px 20px;
      }
    }

@media (max-width: 767px) {
      .hero-section {
        padding: 4rem 0 3rem;
      }

      h1 { font-size: 2rem; }
      h2 { font-size: 1.75rem; }
      h3 { font-size: 1.5rem; }

      .registration,
      .mobile-experience,
      .game-selection,
      .strategies,
      .banking,
      .licensing,
      .faq {
        padding: 3rem 0;
      }

      .timeline-item,
      .feature-block,
      .highlight-item,
      .text-block,
      .licensing article {
        padding: 1.5rem;
      }

      .toc-list {
        grid-template-columns: 1fr;
      }

      .accordion-header {
        padding: 1rem 1.5rem;
      }

      .accordion-header h3 {
        font-size: 1.1rem;
      }

      .accordion-body.active {
        padding: 0 1.5rem 1rem;
      }

      .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      table {
        font-size: 0.875rem;
      }

      table thead th,
      table tbody td {
        padding: 0.75rem 0.5rem;
      }
    }

    @media screen and (max-width: 768px) {
      table {
        display: block !important;
        overflow: scroll !important;
      }
    }

    .accordion-body {
      padding: 0 1.5rem 0.5rem 1.5rem !important;
    }