/* ==========================================================================
       [MODULE: CSS VARIABLES & THEME]
    ========================================================================== 
    */
:root {
  --primary: #54AEF7;
  --primary-light: #8ACAF9;
  --primary-dark: #1E75C4;
  --secondary: #FFC338;
  --secondary-dark: #D1970B;
  --accent: #FFC338;
  --success: #00E676;
  --danger: #FF4D6D;
  --warning: #FFC338;

  --bg-primary: #0A0A1A;
  --bg-secondary: #0F0F2A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(84, 174, 247, 0.4);
  --text-primary: #F0F4FF;
  --text-secondary: #A0A8C0;
  --text-muted: #606880;

  --gradient-hero: linear-gradient(135deg, #0A0A1A 0%, #1A0A3A 50%, #0A1A3A 100%);
  --gradient-primary: linear-gradient(135deg, #54AEF7, #FFC338);
  --gradient-accent: linear-gradient(135deg, #FFC338, #FF6B6B);
  --gradient-card: linear-gradient(135deg, rgba(84, 174, 247, .1), rgba(255, 195, 56, .05));

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .4);
  --shadow-glow: 0 0 30px rgba(84, 174, 247, .3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-fast: all .15s cubic-bezier(.4, 0, .2, 1);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 74px;
  --sidebar-width: 260px;
}

[data-theme=light] {
  --bg-primary: #F4F7FE;
  --bg-secondary: #E9EDF7;
  --bg-card: #ffffff;
  --bg-card-hover: #F8FAFC;
  --border: rgba(0, 0, 0, 0.15);
  --border-glow: rgba(84, 174, 247, 0.4);
  --text-primary: #1B254B;
  --text-secondary: #435072;
  --text-muted: #8F9BBA;
  --gradient-hero: linear-gradient(135deg, #E9EDF7, #D8CEFF 50%, #C8E8FF);
  --shadow-md: 0 8px 24px rgba(84, 174, 247, 0.15);
  --shadow-glow: 0 0 30px rgba(84, 174, 247, 0.25);
}

/* ==========================================================================
       [MODULE: BASE STYLES & RESETS]
    ========================================================================== 
    */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::selection {
  background: rgba(84, 174, 247, .3);
  color: var(--text-primary);
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-8 {
  gap: 32px;
}

.grid {
  display: grid;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.hidden {
  display: none !important;
}

.overflow-hidden {
  overflow: hidden;
}

.font-heading {
  font-family: var(--font-heading);
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.p-4 {
  padding: 16px;
}

.p-6 {
  padding: 24px;
}

/* Typography Utilities */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
}

.heading-lg {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.heading-md {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
}

.heading-sm {
  font-size: 1.1rem;
  font-weight: 600;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

/* ==========================================================================
       [MODULE: UI COMPONENTS]
    ========================================================================== 
    */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .1);
  transform: translateX(-100%);
  transition: transform .3s;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(84, 174, 247, .4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(84, 174, 247, .6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 195, 56, .3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 195, 56, .5);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(84, 174, 247, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-icon {
  padding: 10px;
  border-radius: var(--radius-md);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.card-body {
  padding: 24px;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.badge i {
  font-size: 1rem;
}

.badge-primary {
  background: rgba(84, 174, 247, .15);
  color: var(--primary-light);
  border: 1px solid rgba(84, 174, 247, .2);
}

.badge-secondary {
  background: rgba(255, 195, 56, .1);
  color: var(--secondary);
  border: 1px solid rgba(255, 195, 56, .2);
}

.badge-accent {
  background: rgba(255, 195, 56, .1);
  color: var(--accent);
  border: 1px solid rgba(255, 195, 56, .2);
}

.badge-success {
  background: rgba(0, 230, 118, .1);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, .2);
}

.badge-danger {
  background: rgba(255, 77, 109, .1);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 109, .2);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: .95rem;
  transition: var(--transition-fast);
  outline: none;
  backdrop-filter: blur(10px);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(84, 174, 247, .15);
  background: var(--bg-card-hover);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  -webkit-appearance: none;
  appearance: none;
}

/* ==========================================================================
       [MODULE: LAYOUT & NAVIGATION]
    ========================================================================== 
    */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 26, .75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme=light] #navbar {
  background: rgba(244, 247, 254, .85);
}

#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.nav-logo .logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link i {
  font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-link.active {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  width: var(--sidebar-width);
  min-height: calc(100vh - var(--nav-height));
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  transition: transform .3s;
  z-index: 100;
}

.sidebar-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 14px 4px;
  margin-top: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: rgba(84, 174, 247, .1);
  color: var(--primary-light);
  border: 1px solid rgba(84, 174, 247, .2);
  font-weight: 600;
}

.sidebar-icon {
  font-size: 1.3rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 32px 40px 48px;
  min-height: calc(100vh - var(--nav-height));
}

/* ==========================================================================
       [MODULE: FEATURE SPECIFIC STYLES]
    ========================================================================== 
    */
.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.stat-card-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.stat-card-label {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-top: 8px;
  font-weight: 500;
}

.stat-card-change {
  font-size: .85rem;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-card-change.positive {
  color: var(--success);
}

.stat-card-change.negative {
  color: var(--danger);
}

/* XP Bars */
.progress-bar {
  height: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width .8s cubic-bezier(.4, 0, .2, 1);
}

.xp-bar-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.xp-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.xp-level-badge {
  background: var(--gradient-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xp-progress-bar {
  height: 14px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.xp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.xp-labels {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-align: center;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Modals & Toasts */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95) translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.1);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

#toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  backdrop-filter: blur(24px);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(0, 230, 118, .15);
  color: var(--success);
}

.toast-error .toast-icon {
  background: rgba(255, 77, 109, .15);
  color: var(--danger);
}

.toast-info .toast-icon {
  background: rgba(255, 195, 56, .15);
  color: var(--secondary);
}

.toast-warning .toast-icon {
  background: rgba(255, 195, 56, .15);
  color: var(--warning);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.toast-message {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Landing Elements */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(84, 174, 247, .1);
  border: 1px solid rgba(84, 174, 247, .2);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-tag i {
  font-size: 1.1rem;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease-in-out;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  color: #fff;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

/* Tables & Leaderboards */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.1);
}

.leaderboard-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.leaderboard-table tr:hover td {
  background: var(--bg-card-hover);
}

.rank-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 215, 0, .4);
}

.rank-2 {
  background: linear-gradient(135deg, #E0E0E0, #9E9E9E);
  color: #000;
}

.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #A0522D);
  color: #fff;
}

.rank-other {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar i {
  font-size: 1.2rem;
}

/* Badges Grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.achievement-badge {
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achievement-badge.unlocked {
  border-color: rgba(255, 195, 56, .3);
  background: rgba(255, 195, 56, .03);
}

.achievement-badge.unlocked:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 195, 56, .15);
}

.achievement-badge.locked {
  opacity: .5;
  filter: grayscale(1);
  background: transparent;
}

.badge-icon-display {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--accent);
  filter: drop-shadow(0 4px 8px rgba(255, 195, 56, 0.3));
  line-height: 1;
}

.achievement-badge.locked .badge-icon-display {
  color: var(--text-muted);
  filter: none;
}

.badge-name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 6px;
}

.badge-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Quiz Options */
.quiz-option {
  padding: 18px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
}

.quiz-option:hover {
  border-color: var(--primary-light);
  background: rgba(84, 174, 247, .05);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(84, 174, 247, .1);
  box-shadow: 0 0 0 4px rgba(84, 174, 247, 0.1);
}

.quiz-option.correct {
  border-color: var(--success) !important;
  background: rgba(0, 230, 118, .08) !important;
}

.quiz-option.wrong {
  border-color: var(--danger) !important;
  background: rgba(255, 77, 109, .08) !important;
}

.option-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.quiz-option.selected .option-letter {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.quiz-option.correct .option-letter {
  background: var(--success);
  color: #000;
  border-color: var(--success);
}

.quiz-option.wrong .option-letter {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* Opinion Wall */
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.opinion-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.opinion-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.opinion-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.opinion-content {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.opinion-reactions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.reaction-btn i {
  font-size: 1.1rem;
}

.reaction-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(84, 174, 247, 0.05);
}

.reaction-btn.reacted {
  background: rgba(84, 174, 247, .1);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* Chat/Dialogue */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 280px);
  min-height: 500px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-bubble {
  max-width: 75%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-bubble.own {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-bubble.other {
  align-self: flex-start;
}

.chat-bubble-content {
  padding: 14px 20px;
  border-radius: 20px;
  font-size: .95rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-bubble.own .chat-bubble-content {
  background: var(--gradient-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.other .chat-bubble-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-bubble.system {
  align-self: center;
  max-width: 85%;
  margin: 10px 0;
}

.chat-bubble.system .chat-bubble-content {
  background: rgba(255, 195, 56, .08);
  border: 1px solid rgba(255, 195, 56, .2);
  color: var(--accent);
  font-style: italic;
  font-size: .9rem;
  text-align: center;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-meta {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-input-area {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-end;
  background: var(--bg-secondary);
}

.chat-input {
  flex: 1;
  resize: none;
  min-height: 52px;
  max-height: 120px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
}

/* News Generator */
.news-preview-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-header {
  padding: 32px;
  position: relative;
}

.news-card-body {
  padding: 28px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(16px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.news-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 14px;
}

.news-card-summary {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  line-height: 1.6;
}

.news-critical-tag {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(255, 195, 56, .15);
  border: 1px solid rgba(255, 195, 56, .3);
  border-radius: var(--radius-md);
  font-size: .85rem;
  color: #FFD54F;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.news-critical-tag i {
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Utility States */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
}

.empty-state-icon {
  font-size: 4.5rem;
  margin-bottom: 20px;
  color: var(--text-muted);
  opacity: 0.6;
}

.empty-state-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.empty-state-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Auth & Hero overrides */
#page-landing {
  min-height: 100vh;
  background: var(--gradient-hero);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .4;
}

.hero-blob-1 {
  width: 700px;
  height: 700px;
  background: var(--primary);
  top: -200px;
  right: -200px;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
}

.hero-blob-3 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 30%;
  left: 20%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: .9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

#page-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--gradient-hero);
  padding-top: calc(var(--nav-height) + 24px);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(30px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  padding: 40px 40px 24px;
  text-align: center;
}

.auth-logo {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.auth-body {
  padding: 0 40px 40px;
}

.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-secondary);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.auth-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.auth-role-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.role-option {
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-secondary);
}

.role-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.role-option.active {
  border-color: var(--primary);
  background: rgba(84, 174, 247, .1);
  box-shadow: 0 4px 12px rgba(84, 174, 247, 0.15);
}

.role-option-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.role-option.active .role-option-icon {
  color: var(--primary);
}

.role-option-label {
  font-weight: 700;
  font-size: .95rem;
}

/* ==========================================================================
       [MODULE: ANIMATIONS]
    ========================================================================== 
    */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCard1 {

  0%,
  100% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-16px) rotate(-2deg);
  }
}

@keyframes floatCard2 {

  0%,
  100% {
    transform: translateY(0px) rotate(1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes floatCard3 {

  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }

  50% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes bgMove {
  0% {
    transform: translateX(0) translateY(0);
  }

  33% {
    transform: translateX(40px) translateY(-40px);
  }

  66% {
    transform: translateX(-30px) translateY(30px);
  }

  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes xpPop {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-80px) scale(0.8);
    opacity: 0;
  }
}

@keyframes scoreReveal {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.15) rotate(10deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease both;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.animate-float {
  animation: floatCard1 4s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-blob {
  animation: bgMove 15s ease-in-out infinite;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 600;
}

.floating-card i {
  font-size: 1.4rem;
  color: var(--primary-light);
}

.floating-card-1 {
  top: 15%;
  right: 5%;
  animation: floatCard1 5s ease-in-out infinite;
}

.floating-card-2 {
  top: 45%;
  right: -2%;
  animation: floatCard2 4s ease-in-out infinite 1s;
}

.floating-card-3 {
  bottom: 25%;
  right: 10%;
  animation: floatCard3 6s ease-in-out infinite 2s;
}

.xp-pop {
  position: fixed;
  pointer-events: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--success);
  animation: xpPop 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  z-index: 9999;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-enter {
  animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(84, 174, 247, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(84, 174, 247, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ==========================================================================
       [MODULE: RESPONSIVE MEDIA QUERIES]
    ========================================================================== 
    */
@media (min-width: 1280px) {
  .hero-section>.container {
    grid-template-columns: 1fr 0.8fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1279px) and (min-width: 1025px) {
  :root {
    --sidebar-width: 240px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 280px;
  }

  .sidebar {
    transform: translateX(-100%);
    box-shadow: none;
    z-index: 500;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.5);
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 499;
  }

  .sidebar-backdrop.visible {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding: 28px 24px;
  }

  #sidebar-toggle {
    display: flex !important;
  }

  .nav-links {
    display: none;
  }

  .hero-section>.container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  #hero-visual {
    display: none !important;
  }

  .grid-1-mobile {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  #navbar .container {
    padding: 0 16px;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  .nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-sm {
    display: none;
  }

  .nav-actions .btn-primary.btn-sm {
    display: inline-flex;
    padding: 8px 16px;
    font-size: .85rem;
  }

  .main-content {
    padding: 20px 16px 32px;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card-value {
    font-size: 1.8rem;
  }

  .xp-bar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-section {
    padding: 40px 0;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-stats {
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #page-auth {
    padding: 16px;
    padding-top: calc(var(--nav-height) + 20px);
    align-items: flex-start;
  }

  .opinion-grid {
    grid-template-columns: 1fr;
  }

  .chat-container {
    height: calc(100vh - 200px);
  }

  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid-auto-mobile {
    grid-template-columns: 1fr !important;
  }

  .opinion-form-actions {
    flex-direction: column;
    align-items: stretch !important;
  }

  .opinion-form-actions>* {
    width: 100% !important;
    max-width: none !important;
  }

  #toast-container {
    bottom: 20px;
    right: 16px;
    left: 16px;
  }

  .toast {
    min-width: unset;
    width: 100%;
    max-width: none;
  }

  .leaderboard-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hover-glow>div:nth-child(2) {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .nav-logo .logo-text {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .auth-card {
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
  }

  .auth-header {
    padding: 20px 16px 16px;
  }

  .auth-body {
    padding: 0 16px 20px;
  }

  .auth-role-select {
    grid-template-columns: 1fr;
  }

  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .badge-icon-display {
    font-size: 2.2rem;
  }

  .achievement-badge {
    padding: 16px 12px;
  }

  .quiz-option {
    padding: 14px 16px;
    font-size: .9rem;
    gap: 12px;
  }

  .leaderboard-table th:nth-child(3),
  .leaderboard-table td:nth-child(3) {
    display: none;
  }

  .feature-card {
    padding: 24px 20px;
  }
}

/* Hide Google Translate Banner & Tooltips */
body {
  top: 0px !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

#goog-gt-tt {
  display: none !important;
}

.goog-tooltip {
  display: none !important;
}

.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}