/* Aeitus Website Styles */

:root {
  --bg: #0f1115;
  --panel: #151922;
  --panel-2: #1a2030;
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --accent: #33f1ff;
  --accent-2: #7ae0ff;
  --border: #27324a;
  --chip: #20283b;
  --chip-active: #2a3652;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(1200px 800px at 20% -10%, #172035 0%, var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Navigation */
.navbar {
  padding: 20px 40px;
  background: rgba(12, 16, 24, 0.8);
  border-bottom: 1px solid rgba(122, 224, 255, 0.12);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0%, rgba(51, 241, 255, 0.35), rgba(10, 14, 24, 0.9));
  box-shadow:
    0 0 0 1px rgba(122, 224, 255, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65));
}

.logo:hover {
  transform: translateY(-1px) scale(1.02);
  background: radial-gradient(circle at 20% 0%, rgba(51, 241, 255, 0.5), rgba(10, 14, 24, 0.95));
  box-shadow:
    0 0 0 1px rgba(122, 224, 255, 0.4),
    0 18px 40px rgba(0, 0, 0, 0.85);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent-2);
}

/* Symbol Data Banner */
.symbol-banner {
  padding: 20px 40px;
  background: rgba(12, 16, 24, 0.6);
  border-bottom: 1px solid rgba(122, 224, 255, 0.12);
  backdrop-filter: blur(12px);
}

.symbol-banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.symbol-banner-card {
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.9) 0%, rgba(16, 20, 32, 0.95) 100%);
  border: 1px solid rgba(122, 224, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.symbol-banner-card:hover {
  border-color: rgba(122, 224, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.symbol-banner-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.symbol-banner-price {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.symbol-banner-timestamp {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .symbol-banner-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .symbol-banner {
    padding: 15px 20px;
  }
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--panel-2);
  border: 1px solid rgba(122, 224, 255, 0.2);
  border-radius: 12px;
  min-width: 200px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(51, 241, 255, 0.1);
  color: var(--accent);
}

.trading-game-dropdown {
  background: rgba(255, 193, 7, 0.15) !important;
  color: #ffc107 !important;
  font-weight: 600;
  position: relative;
  animation: trading-game-dropdown-pulse 2s ease-in-out infinite;
}

.trading-game-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ffc107, #ff9800);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

.trading-game-dropdown:hover {
  background: rgba(255, 193, 7, 0.25) !important;
  color: #ffc107 !important;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
}

@keyframes trading-game-dropdown-pulse {
  0%, 100% {
    box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
  }
  50% {
    box-shadow: inset 0 0 15px rgba(255, 193, 7, 0.4);
  }
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-game {
  padding: 100px 20px 80px;
  position: relative;
}

.hero-game .hero-eyebrow {
  color: #ffc107;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.hero-game .hero-title {
  color: #ffc107;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 152, 0, 0.4);
  animation: trading-game-glow 3s ease-in-out infinite;
}

.hero-game .hero-subtitle {
  color: rgba(255, 193, 7, 0.9);
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.hero-game .hero-description {
  color: rgba(255, 193, 7, 0.8);
}

.hero-game .hero-button {
  background: linear-gradient(120deg, #ffc107, #ff9800);
  color: #0b0f18;
  box-shadow: 0 15px 40px rgba(255, 193, 7, 0.4), 0 0 20px rgba(255, 152, 0, 0.3);
  animation: trading-game-button-pulse 2s ease-in-out infinite;
}

.hero-game .hero-button:hover {
  box-shadow: 0 25px 60px rgba(255, 193, 7, 0.6), 0 0 30px rgba(255, 152, 0, 0.5);
  transform: translateY(-2px) scale(1.01);
}

@keyframes trading-game-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 152, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.8), 0 0 60px rgba(255, 152, 0, 0.6);
  }
}

@keyframes trading-game-button-pulse {
  0%, 100% {
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.4), 0 0 20px rgba(255, 152, 0, 0.3);
  }
  50% {
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.6), 0 0 30px rgba(255, 152, 0, 0.5);
  }
}

.hero-description {
  font-size: 20px;
  color: var(--muted);
  margin: 24px auto 40px;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 300;
}

/* Slideshow Navigation Dots */
.slideshow-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slideshow-dot:hover {
  background: rgba(122, 224, 255, 0.3);
  transform: scale(1.2);
}

.slideshow-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(51, 241, 255, 0.5);
}

@media (max-width: 768px) {
  .hero-game {
    padding: 80px 20px 60px;
  }
  
  .hero-description {
    font-size: 18px;
    padding: 0 20px;
  }
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-button {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  border: none;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 40px rgba(51, 241, 255, 0.25);
}

.hero-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 25px 60px rgba(51, 241, 255, 0.35);
}

/* Tools Section */
.tools-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tool-card {
  background: linear-gradient(180deg, rgba(26, 32, 48, 0.9) 0%, rgba(16, 20, 32, 0.95) 100%);
  border: 1px solid rgba(122, 224, 255, 0.15);
  border-radius: 20px;
  padding: 48px 40px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 224, 255, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

/* Locked Card Overlay */
.tool-card.locked-card {
  position: relative;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1px solid rgba(122, 224, 255, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lock-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.lock-text {
  color: var(--accent-2);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.card-description {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.card-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.card-button {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 35px rgba(51, 241, 255, 0.25);
}

.card-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 50px rgba(51, 241, 255, 0.35);
}

/* Trading Game Card - Special Highlight */
.trading-game-card {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.12) 100%);
  border: 2px solid rgba(255, 193, 7, 0.4);
  box-shadow: 
    0 20px 55px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 193, 7, 0.2);
  animation: trading-game-pulse 3s ease-in-out infinite;
}

.trading-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.7);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(255, 193, 7, 0.35);
}

.trading-game-card .card-title {
  color: #ffc107;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.trading-game-card .card-eyebrow {
  color: #ffc107;
}

.trading-game-card .card-button {
  background: linear-gradient(120deg, #ffc107, #ff9800);
  color: #0b0f18;
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.trading-game-card .card-button:hover {
  box-shadow: 0 20px 50px rgba(255, 193, 7, 0.5);
}

@keyframes trading-game-pulse {
  0%, 100% {
    box-shadow: 
      0 20px 55px rgba(0, 0, 0, 0.45),
      0 0 40px rgba(255, 193, 7, 0.2);
  }
  50% {
    box-shadow: 
      0 20px 55px rgba(0, 0, 0, 0.45),
      0 0 50px rgba(255, 193, 7, 0.3);
  }
}

/* Risk Meter Modal */
.risk-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: rgba(5, 6, 10, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.risk-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.risk-modal__overlay {
  position: absolute;
  inset: 0;
}

.risk-modal__dialog {
  position: relative;
  background: var(--panel-2);
  border: 1px solid rgba(122, 224, 255, 0.2);
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}


.risk-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(122, 224, 255, 0.15);
}

.risk-modal__header h3 {
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--accent);
}

.risk-modal__close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.risk-modal__close:hover {
  color: var(--accent);
}

.risk-modal__body {
  flex: 1;
  background: #080a0f;
}

.risk-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .risk-modal__dialog {
    height: 80vh;
  }
}

/* Navigation Auth */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin-btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(51, 241, 255, 0.25);
}

.nav-signin-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 35px rgba(51, 241, 255, 0.35);
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-size: 14px;
  color: var(--text);
}

.user-menu-trigger:hover {
  border-color: var(--accent);
  background: rgba(51, 241, 255, 0.05);
}

.user-email {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar {
  font-size: 18px;
}

.premium-badge {
  background: linear-gradient(120deg, #ffd700, #ffed4e);
  color: #0b0f18;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--panel-2);
  border: 1px solid rgba(122, 224, 255, 0.2);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-menu-dropdown.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.user-menu-header {
  padding: 16px;
  border-bottom: 1px solid rgba(122, 224, 255, 0.15);
}

.user-menu-email {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.user-menu-tier {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-menu-item {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.user-menu-item:hover {
  background: rgba(51, 241, 255, 0.1);
}

.user-menu-divider {
  height: 1px;
  background: rgba(122, 224, 255, 0.15);
  margin: 4px 0;
}

/* Authentication Modal */
.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
}

.auth-modal__dialog {
  position: relative;
  background: var(--panel-2);
  border: 1px solid rgba(122, 224, 255, 0.2);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.auth-modal__dialog--upgrade {
  max-width: 560px;
}

.auth-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(122, 224, 255, 0.15);
}

.auth-modal__tabs {
  display: flex;
  gap: 16px;
}

.auth-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-tab:hover {
  color: var(--text);
}

.auth-modal__close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.auth-modal__close:hover {
  color: var(--accent);
}

.auth-modal__body {
  padding: 32px 28px;
}

.auth-modal__body--upgrade {
  padding: 40px 32px;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form-group label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.auth-form-group input {
  background: linear-gradient(140deg, #040911, #0f1624);
  border: 1px solid rgba(122, 224, 255, 0.25);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51, 241, 255, 0.1);
}

.auth-form-help {
  font-size: 12px;
  color: var(--muted);
}

.auth-form-error {
  display: none;
  padding: 12px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 14px;
}

.auth-form-submit {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 35px rgba(51, 241, 255, 0.25);
  margin-top: 8px;
}

.auth-form-submit:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 50px rgba(51, 241, 255, 0.35);
}

.auth-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-loading {
  text-align: center;
  padding: 40px 20px;
}

.auth-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(122, 224, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-loading p {
  color: var(--muted);
  font-size: 14px;
}

/* Upgrade Modal Content */
.upgrade-content {
  text-align: center;
}

.upgrade-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.upgrade-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.upgrade-description {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.upgrade-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.upgrade-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.upgrade-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.upgrade-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.upgrade-price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.upgrade-price-period {
  font-size: 14px;
  color: var(--muted);
}

.upgrade-button {
  width: 100%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0f18;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 40px rgba(51, 241, 255, 0.25);
  margin-bottom: 16px;
}

.upgrade-button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 25px 60px rgba(51, 241, 255, 0.35);
}

.upgrade-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.upgrade-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* Tool Card Badges */
.tool-card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tool-card-badge--free {
  background: rgba(122, 224, 255, 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(122, 224, 255, 0.25);
}

.tool-card-badge--premium {
  background: linear-gradient(120deg, #ffd700, #ffed4e);
  color: #0b0f18;
}

.tool-card-usage {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(122, 224, 255, 0.12);
  margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .nav-menu {
    gap: 24px;
  }

  .nav-menu a {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 16px 20px;
  }

  .logo img {
    height: 45px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu a {
    font-size: 13px;
  }

  .hero {
    padding: 80px 20px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .tools-section {
    padding: 60px 20px;
  }

  .tool-card {
    padding: 32px 24px;
  }

  .card-title {
    font-size: 24px;
  }

  .user-email {
    display: none;
  }

  .auth-modal__dialog {
    max-width: 100%;
    margin: 20px;
  }

  .user-menu-dropdown {
    right: -10px;
  }
}
