:root {
  /* DARK THEME COLOR SCHEME */
  --bg-primary: #0a0e27;
  --bg-secondary: #1a1d35;
  --bg-tertiary: #252943;
  
  --bg-base:      #111827;
  --bg-card:      #1a2236;
  --bg-card-alt:  #1f2a40;
  --bg-card-hover:#243048;

  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;

  --navbar: rgba(10, 14, 39, 0.95);

  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-yellow: #fbbf24;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-teal: #14b8a6;

  --border-color: rgba(255, 255, 255, 0.08);
  --hover-overlay: rgba(255, 255, 255, 0.05);

  
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(16,185,129,0.15);
  
  --bg-sidebar: rgba(10, 14, 39, 0.95);
  --competition-container: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  --hero : linear-gradient(160deg, #0f1530 0%, #0a0e27 60%, #0d1a2e 100%);
}

[data-theme="light"] {
  /* LIGHT THEME COLOR SCHEME */
  --bg-primary: #F7FAFA;;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EDF8F8;

  
  --bg-base:      #f6f6f7;
  --bg-card:      #1a223617;
  --bg-card-alt:  #1f2a40;
  --bg-card-hover:#243048;

  --text-primary: #0D8C8C;
  --text-secondary: #0A7878;
  --text-muted: #383839;

  --navbar: rgba(255,255,255,.92);

  --accent-green: #0D8C8C;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-yellow: #fbbf24;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-teal: #14b8a6;

  --border-color: #D8EEEE;
  --hover-overlay: rgba(13,140,140,.25);
  --bg-sidebar: white;

  
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(16,185,129,0.15);

  --competition-container: linear-gradient(135deg, #0D8C8C, #D8EEEE);
  --hero : linear-gradient(180deg, #edf8f8 0%, #f7fafa 100%);
}

/* .theme-switch{
  position:fixed;
  top:20px;
  right:20px;
}

.switch {
  width:60px;
  height:30px;
  background:var(--bg-tertiary);
  border-radius:30px;
  cursor:pointer;
  position:relative;
  display:flex;
  align-items:center;
  padding:4px;
  transition:.3s;
}

.switch-circle {
  width:22px;
  height:22px;
  background:var(--accent-blue);
  border-radius:50%;
  transition:.3s;
}

[data-theme="light"] .switch {
  background: #dadada;
}
[data-theme="light"] .switch-circle {
  transform:translateX(28px);
  background-color: #000;
} */


/* Hide checkbox */
#theme-toggle {
  display: none;
}

/* Toggle Button */
.toggle-btn {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 68px;
  height: 35px;
  background: var(--text-muted);
  color: white;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  justify-content: space-around;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.icon {
  font-size: 14px;
  z-index: 2;
}

/* Circle slider */
.toggle-btn::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--accent-green);
  border-radius: 50%;
  left: 6px;
  transition: 0.3s;
}

/* Move slider */
#theme-toggle:checked + .toggle-btn::before {
  transform: translateX(30px);
}

/* Button background change */
#theme-toggle:checked + .toggle-btn {
  background: #374151;
}



.back-domain-btn {
  cursor: pointer;
}


@media (max-width: 768px) {
  aside.toc {
    display: none;
  }
  .terms-layout, .policy-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-cta.login {
    display: none;
  }
  .menu-toggle {
    display: block;    
    position: absolute;
    top: 18px;
    right: 100px;
  }

  .nav-container {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;

    display: none;
  }

  .nav-links.active {
    display: flex;
    background-color: color-mix(in srgb, var(--navbar), black 80%) !important;
    gap: 5px;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 10px;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}