:root {
      --radius: 12px;
      --btn-font-size: 1rem;
    }

    [data-theme="light"] {
      --primary-bg: #F9F6FE;
      --secondary-card-bg: #EFE9F9;
      --card-bg: #FFFFFF;
      --text-color: #2E2B29;
      --text-muted: #736D68;
      --accent: #7C4DFF;
      --accent-light: #B084FF;
      --btn-bg: linear-gradient(45deg, #7C4DFF, #B084FF);
      --btn-hover: linear-gradient(45deg, #B084FF, #7C4DFF);
      --btn-text: #FFFFFF;
      --progress-bg: #E6D9F9;
      --progress-fill: #7C4DFF;
      --alert-green-bg: #E3F9E5;
      --alert-green-text: #207227;
      --alert-yellow-bg: #FFF8DB;
      --alert-yellow-text: #A26D00;
      --alert-orange-bg: #FFE9D6;
      --alert-orange-text: #C76B00;
      --alert-red-bg: #FBEAEA;
      --alert-red-text: #B00020;
      --alert-blue-bg: #E4F0FF;
      --alert-blue-text: #0B5394;
      --alert-gray-bg: #F0F0F0;
      --alert-gray-text: #444444;
    }

    [data-theme="dark"] {
      --primary-bg: #1C1825;
      --secondary-card-bg: #221B33;
      --card-bg: #2A1F45;
      --text-color: #F2EFEA;
      --text-muted: #A59D94;
      --accent: #B084FF;
      --accent-light: #D2B3FF;
      --btn-bg: linear-gradient(45deg, #8F4EFF, #A56DFF);
      --btn-hover: linear-gradient(45deg, #A56DFF, #8F4EFF);
      --btn-text: #F3E9FF;
      --progress-bg: #3B3051;
      --progress-fill: #B084FF;
      --alert-green-text: #A5F3D1;
      --alert-yellow-text: #FFEFAA;
      --alert-orange-text: #FFD1A6;
      --alert-red-text: #FFB3B3;
      --alert-blue-text: #B3D8FF;
      --alert-gray-text: #CCCCCC;
      --alert-green-bg:  #383d58;
      --alert-yellow-bg: #493e54;
      --alert-orange-bg: #493349;
      --alert-red-bg:    #493151;
      --alert-blue-bg:   #3d3a60;
      --alert-gray-bg:   #392f52;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Nunito', sans-serif;
    }

    body {
      background: var(--primary-bg);
      color: var(--text-color);
      line-height: 1.6;
      will-change: color, background;
      transition: background-color 0.4s ease, color 0.4s ease;
    }

    .container {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 1rem;
    }

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      padding: 1rem;
      background: var(--secondary-card-bg);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      position: relative;
    }

    .logo-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      position: relative;
    }

    .logo-text {
      padding-left: 1rem;
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
    }

    .theme-toggle {
      background: var(--btn-bg);
      color: var(--btn-text);
      border: none;
      padding: 0.6rem 1rem;
      border-radius: var(--radius);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 600;
      font-size: var(--btn-font-size);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }

    .theme-toggle:hover {
      background: var(--btn-hover);
      transform: scale(1.02);
    }

    .stats-grid {
      display: grid;
      gap: 1.5rem;
    }

    @media (max-width: 600px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (min-width: 601px) and (max-width: 1024px) {
      .stats-grid {
        grid-template-rows: repeat(2, 1fr);
      }

      .stat-traffic {
        grid-column: span 2;
      }
    }

    @media (min-width: 1025px) {
      .stats-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .stat-card {
      background: var(--card-bg);
      padding: 1.5rem;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      gap: 1rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }

    .stat-card:hover {
      transform: translateY(-5px);
    }

    .stat-icon {
      font-size: 1.8rem;
      color: var(--accent);
    }

    .stat-content {
      flex: 1;
    }

    .stat-label {
      font-size: 0.9rem;
      opacity: 0.8;
    }

    .stat-value {
      font-size: 1.4rem;
      font-weight: 600;
    }

    .guide-section {
      background: var(--card-bg);
      padding: 2rem;
      border-radius: var(--radius);
      margin-top: 2rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .guide-title {
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
      color: var(--accent);
    }

    .platform-tabs {
      margin-top: 1rem;
    }

    .tab-buttons {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 4px;
    }

    .tab-btn {
      background: none;
      border: none;
      color: var(--text-color);
      padding: 1rem;
      cursor: pointer;
      position: relative;
      white-space: nowrap;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .tab-btn:hover {
      color: var(--accent);
    }

    .tab-btn.active {
      color: var(--accent);
      font-weight: 600;
    }

    .tab-btn.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--accent);
      border-radius: 2px;
    }

    .tab-content {
      display: none;
      padding: 1.5rem 0;
    }

    .tab-content.active {
      display: block;
    }

    .steps-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .step-card {
      display: inline-flex;
      flex-direction: column;
      background: var(--secondary-card-bg);
      padding: 1.5rem;
      border-radius: var(--radius);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .step-number {
      width: 32px;
      height: 32px;
      background: var(--accent);
      color: var(--primary-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      font-weight: bold;
    }

    .step-title {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
      color: var(--accent);
    }

    .step-description {
      font-size: 0.95rem;
      opacity: 0.8;
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .download-btn,
    .import-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--btn-bg);
      color: var(--btn-text);
      text-decoration: none;
      padding: 0.8rem 1.2rem;
      border: none;
      border-radius: var(--radius);
      font-weight: 600;
      font-size: var(--btn-font-size);
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background 0.3s, transform 0.2s;
      text-align: center;
      line-height: 1.3;
      width: 100%;
      min-height: 52px;
      margin-top: auto;
    }

    .download-btn:hover,
    .import-btn:hover {
      background: var(--btn-hover);
      transform: scale(1.02);
    }

    .status {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 5px;
      font-weight: bold;
      font-size: 1.2rem;
      line-height: 1.2;
      max-width: min-content;
    }

    .status.active {
      background-color: var(--alert-green-bg);
      color: var(--alert-green-text);
    }

    .status.limited {
      background-color: var(--alert-red-bg);
      color: var(--alert-red-text);
    }

    .status.expired {
      background-color: var(--alert-orange-bg);
      color: var(--alert-orange-text);
    }

    .status.disabled {
      background-color: var(--alert-gray-bg);
      color: var(--alert-gray-text);
    }

    .status.on-hold {
      background-color: var(--alert-blue-bg);
      color: var(--alert-blue-text);
    }

    @media (max-width: 768px) {
      .header {
        padding: 0.8rem 1rem;
      }

      .theme-toggle {
        font-size: 14px;
        padding: 0.4rem 0.8rem;
      }

      .steps-grid {
        grid-template-columns: 1fr;
      }

      .tab-buttons {
        justify-content: space-around;
      }
    }

    .mobile-only {
      display: none;
    }

    @media (max-width: 768px) {
      .desktop-only {
        display: none;
      }

      .mobile-only {
        display: block;
        text-align: center;
      }
    }

    .accordion-btn {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      background: var(--secondary-card-bg);
      color: var(--text-color);
      border: none;
      cursor: pointer;
      text-align: left;
      border-radius: var(--radius);
    }

    .accordion-btn:hover {
      background: var(--accent);
      color: var(--btn-text);
    }

    .accordion-btn i {
      transition: transform 0.3s ease;
    }

    .accordion-btn.active i {
      transform: rotate(180deg);
    }

    .accordion-content {
      display: none;
      background: var(--secondary-card-bg);
      padding: 10px;
      border-radius: var(--radius);
      margin-top: 10px;
      transition: max-height 0.3s ease-out;
    }

    .accordion-item {
      width: 100%;
      background: none;
      border: none;
      color: var(--text-color);
      font-size: 16px;
      padding: 10px;
      text-align: left;
      cursor: pointer;
      display: block;
    }

    .accordion-item:hover {
      background: var(--accent);
      color: var(--btn-text);
      border-radius: var(--radius);
    }

    .footer-userid {
      display: flex;
      flex-direction: column;
      color: var(--text-color);
      opacity: 0.6;
      font-size: 14px;
      padding: 30px;
      align-items: center;
      justify-content: center;
      align-items: center
    }

    #toast {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--alert-blue-bg);
      color: var(--alert-blue-text);
      padding: 10px 20px;
      border-radius: var(--radius);
      backdrop-filter: blur(6px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
      z-index: 1000;
    }