/* === BASE STYLES === */:root {
      --primary: #FF006E;
      --secondary: #FB5607;
      --accent: #FFBE0B;
      --dark: #3A0CA3;
      --light: #F8F9FA;
      --gradient-primary: linear-gradient(135deg, #FF006E 0%, #FB5607 100%);
      --gradient-accent: linear-gradient(135deg, #FFBE0B 0%, #FB5607 100%);
      --gradient-dark: linear-gradient(135deg, #3A0CA3 0%, #7209B7 100%);
      --shadow-sm: 0 2px 10px rgba(58, 12, 163, 0.1);
      --shadow-md: 0 5px 25px rgba(58, 12, 163, 0.15);
      --shadow-lg: 0 15px 50px rgba(58, 12, 163, 0.2);
      --shadow-xl: 0 25px 75px rgba(58, 12, 163, 0.25);
    }

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

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

    body {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
      color: #212529;
      line-height: 1.6;
    }

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

    .btn-primary {
      background: var(--gradient-primary);
      color: white;
      padding: 14px 32px;
      border: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      display: inline-block;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: var(--shadow-md);
      position: relative;
      overflow: hidden;
    }

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

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-xl);
      color: white;
    }

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

    .btn-secondary {
      background: var(--gradient-accent);
      color: var(--dark);
      padding: 12px 28px;
      border: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.95rem;
      text-decoration: none;
      display: inline-block;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
      color: var(--dark);
    }

    .card {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: var(--shadow-md);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      overflow: hidden;
      position: relative;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
    }

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

    h1 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1.5rem;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      color: var(--dark);
      margin-bottom: 1.5rem;
      position: relative;
      display: inline-block;
    }

    h3 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      color: var(--primary);
    }

    p {
      margin-bottom: 1rem;
      color: #495057;
      font-size: 1.05rem;
    }

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

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

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

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

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

    .content-image.wide img {
      max-height: none;
      max-width: 100%;
      width: 100%;
      object-fit: cover;
    }
    
    .login-guide .content-image.wide {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
    
    .login-guide .content-image.wide img {
      width: 100%;
      max-height: none;
      height: auto;
      object-fit: cover;
      border-radius: 12px;
    }
    
    .mobile-experience .content-image.wide img {
      max-width: 600px;
      width: auto;
      max-height: 400px;
      object-fit: contain;
      border-radius: 12px;
    }

    @media (max-width: 767px) {
      .mobile-experience .content-image.wide {
        width: 100%;
        margin: 1rem 0;
      }

      .mobile-experience .content-image.wide img {
        max-width: 100%;
        width: 100%;
        max-height: 250px;
        height: auto;
        object-fit: contain;
      }
    }

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

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

    table {
      width: 100%;
      background: white;
    }

    table thead {
      background: var(--gradient-dark);
      color: white;
    }

    table th {
      padding: 1rem;
      text-align: left;
      font-weight: 600;
    }

    table td {
      padding: 1rem;
      border-bottom: 1px solid #E9ECEF;
      color: #495057;
    }

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

    table tbody tr:hover {
      background: #F8F9FA;
    }

    /* === LAYOUT STYLES === */
    header {
      background: white;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

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

    .logo {
      flex-shrink: 0;
      text-decoration: none;
      display: inline-block;
      transition: transform 0.3s ease;
    }

    .logo:hover {
      transform: scale(1.05);
    }

    .logo-text {
      font-size: 1.5rem;
      font-weight: 800;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.5px;
    }

    .main-nav {
      flex-grow: 1;
      display: flex;
      justify-content: center;
    }

    .hamburger-menu {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
      position: relative;
    }

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

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

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

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

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

    .nav-list a {
      color: var(--dark);
      font-weight: 600;
      transition: all 0.3s ease;
      position: relative;
    }

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

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

    footer {
      background: var(--gradient-dark);
      color: white;
      padding: 3rem 0 2rem;
      margin-top: 5rem;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--gradient-accent);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      list-style: none;
      gap: 2rem;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: white;
      opacity: 0.9;
      transition: opacity 0.3s ease;
      font-weight: 500;
    }

    .footer-links a:hover {
      opacity: 1;
      color: var(--accent);
    }

    @media (max-width: 767px) {
      .header-content {
        flex-wrap: wrap;
        gap: 1rem;
      }

      .logo {
        order: 1;
        flex: 1;
      }

      .hamburger-menu {
        display: flex !important;
        order: 2;
        position: relative;
        z-index: 1001;
      }

      .main-nav {
        order: 4;
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        background: white;
        transition: left 0.3s ease;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
      }

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

      .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
      }

      .nav-list a {
        font-size: 1.25rem;
      }

      .header-content .btn-primary {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        max-width: 100%;
      }

      .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      .nav-list {
        gap: 1rem;
      }

      .header-content .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
      }
    }

@media (max-width: 767px) {
      .header-content {
        flex-wrap: wrap;
        gap: 1rem;
      }

      .logo {
        order: 1;
        flex: 1;
      }

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

      .main-nav {
        order: 4;
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        background: white;
        transition: left 0.3s ease;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
      }

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

      .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
      }

      .nav-list a {
        font-size: 1.25rem;
      }

      .header-content .btn-primary {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        max-width: 100%;
      }

      .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
    }

@media (max-width: 767px) {
      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.75rem;
      }

      h3 {
        font-size: 1.25rem;
      }

      section {
        padding: 2rem 0;
      }

      .hero-section {
        padding: 2rem 0;
      }

      .hero-section::before,
      .hero-section::after {
        width: 200px;
        height: 200px;
      }

      .game-showcase {
        flex-direction: column;
        text-align: center;
      }

      .subsection,
      .feature-block,
      .highlight-box,
      .payment-info {
        padding: 1.5rem;
      }

      .steps-list {
        padding: 1.5rem;
      }

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

    .bg-dark,
    .card.bg-dark {
      color: #ffffff !important;
    }

    .bg-dark *,
    .card.bg-dark * {
      color: #ffffff !important;
    }