/* === BASE STYLES === */:root {
      --primary: #fbeb21;
      --primary-dark: #e6d41e;
      --secondary: #6366F1;
      --accent: #22D3EE;
      --dark: #050f27;
      --dark-lighter: #081b44;
      --text: #F1F5F9;
      --text-muted: #94A3B8;
      --success: #10B981;
      --warning: #F59E0B;
      --border: rgba(255, 255, 255, 0.1);
      --shadow: rgba(0, 0, 0, 0.5);
    }

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

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

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #050f27 0%, #081b44 50%, #050f27 100%);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
    }

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

    h1 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
    }

    h3 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
    }

    h4 {
      font-size: 1.25rem;
      font-weight: 600;
    }

    p {
      margin-bottom: 1rem;
      color: var(--text);
    }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: all 0.3s ease;
    }

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

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

    .btn {
      display: inline-block;
      padding: 16px 40px;
      font-weight: 700;
      font-size: 1.125rem;
      text-align: center;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
      z-index: -1;
    }

    .btn:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: #050f27;
      box-shadow: 0 10px 30px rgba(251, 235, 33, 0.4), 0 0 60px rgba(251, 235, 33, 0.2);
    }

    .btn-primary:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 40px rgba(251, 235, 33, 0.5), 0 0 80px rgba(251, 235, 33, 0.3);
      color: #050f27;
    }

    .btn-secondary {
      background: linear-gradient(135deg, var(--secondary) 0%, #4F46E5 100%);
      color: white;
      box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    }

    .btn-secondary:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
      color: white;
    }

    .card {
      background: rgba(8, 27, 68, 0.6);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2rem;
      backdrop-filter: blur(10px);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .card:hover {
      transform: translateY(-8px);
      border-color: var(--primary);
      box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3);
    }

    .card:hover::before {
      opacity: 1;
    }

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

    .content-image img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
    }

    .content-image.portrait img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .content-image.wide img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .content-image figcaption {
      margin-top: 0.5rem;
      font-size: 0.875rem;
      opacity: 0.8;
    }

    .table-responsive {
      overflow-x: auto;
      margin: 2rem 0;
      border-radius: 12px;
      background: rgba(8, 27, 68, 0.6);
      backdrop-filter: blur(10px);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 0;
    }

    table thead {
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    }

    table th {
      padding: 1rem;
      text-align: left;
      font-weight: 700;
      color: white;
      text-transform: uppercase;
      font-size: 0.875rem;
      letter-spacing: 0.5px;
    }

    table td {
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      color: var(--text);
    }

    table tbody tr {
      transition: all 0.3s ease;
    }

    table tbody tr:hover {
      background: rgba(255, 51, 102, 0.1);
    }

    .badge {
      display: inline-block;
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .badge-success {
      background: var(--success);
      color: white;
    }

    .badge-warning {
      background: var(--warning);
      color: white;
    }

    .badge-primary {
      background: var(--primary);
      color: white;
    }

    /* === LAYOUT STYLES === */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(5, 15, 39, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
      transition: all 0.3s ease;
    }

    header.scrolled {
      box-shadow: 0 10px 30px var(--shadow);
    }

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

    .logo {
      flex-shrink: 0;
    }

    .logo-text {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2rem;
      font-weight: 900;
      text-decoration: none;
      background: linear-gradient(135deg, #fbeb21 0%, #fff176 50%, #ffd700 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.02em;
      transition: all 0.3s ease;
      display: inline-block;
      line-height: 1;
    }

    .logo-text:hover {
      transform: scale(1.05);
      filter: brightness(1.2);
    }

    .logo-accent {
      font-weight: 700;
      opacity: 0.9;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 2rem;
      flex: 1;
    }

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

    .nav-menu li a {
      color: var(--text);
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      position: relative;
    }

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

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

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

    .hamburger {
      display: none;
      flex-direction: column;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
    }

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

    .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(8px, -8px);
    }

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

    footer {
      background: rgba(5, 15, 39, 0.95);
      border-top: 1px solid var(--border);
      padding: 4rem 0 2rem;
      margin-top: 6rem;
    }

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

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

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

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

    .footer-section ul li a {
      color: var(--text-muted);
      transition: all 0.3s ease;
    }

    .footer-section ul li a:hover {
      color: var(--primary);
      padding-left: 8px;
    }

    .footer-section p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    .responsible-gambling-logos {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .responsible-gambling-logos img {
      height: 40px;
      width: auto;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .responsible-gambling-logos img:hover {
      opacity: 1;
    }

    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid var(--border);
      text-align: center;
    }

    .footer-bottom p {
      color: var(--text-muted);
      margin: 0;
      font-size: 0.875rem;
    }

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

      .logo {
        order: 1;
      }

      .logo-text {
        font-size: 1.5rem;
      }

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

      nav {
        order: 3;
        width: 100%;
      }

      .nav-menu {
        position: fixed;
        top: 160px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(5, 15, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 30px var(--shadow);
      }

      .nav-menu.active {
        left: 0;
      }

      header .cta-button {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
      }
    }

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

      .logo {
        order: 1;
      }

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

      nav {
        order: 3;
        width: 100%;
      }

      .nav-menu {
        position: fixed;
        top: 160px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(5, 15, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 30px var(--shadow);
      }

      .nav-menu.active {
        left: 0;
      }

      header .cta-button {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
      }
    }

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

      .hero-section h1 {
        font-size: 2.5rem;
      }

      section {
        padding: 3rem 0;
      }

      .cards-grid-2,
      .cards-grid-3 {
        grid-template-columns: 1fr;
      }

      .table-of-contents {
        padding: 1.5rem;
      }

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

      .card {
        padding: 1.5rem;
      }

      .btn {
        padding: 14px 32px;
        font-size: 1rem;
      }

      .cta-section {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
      }

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