/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  /* Colors */
  --bg-primary: #06060f;
  --bg-secondary: #0c0c1d;
  --bg-card: rgba(15, 15, 35, 0.6);
  --bg-card-hover: rgba(25, 25, 55, 0.8);

  --neon-purple: #a855f7;
  --neon-blue: #3b82f6;
  --neon-orange: #f97316;
  --neon-pink: #ec4899;
  --neon-cyan: #06b6d4;

  --gradient-main: linear-gradient(135deg, #a855f7, #f97316, #3b82f6);
  --gradient-purple-blue: linear-gradient(135deg, #a855f7, #3b82f6);
  --gradient-purple-orange: linear-gradient(135deg, #a855f7, #f97316);
  --gradient-card: linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.05));

  --text-primary: #f0f0f8;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(6, 6, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand .brand-icon {
  font-size: 1.6rem;
}

.navbar-brand .brand-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-login {
  color: var(--neon-purple) !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-login::after {
  background: var(--neon-purple) !important;
}

/* Auth Profile Styles */
.nav-auth-container {
  position: relative;
  display: flex;
  align-items: center;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  transition: all 0.3s ease;
}

.user-profile:hover {
  background: rgba(168, 85, 247, 0.2);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.user-score {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-purple);
}

.profile-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  width: 180px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.user-profile:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.profile-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-dropdown a::after {
  display: none;
}

.text-danger {
  color: #ef4444 !important;
}

.text-danger:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

.navbar-cta {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--gradient-purple-blue);
  color: #fff !important;
  font-weight: 600 !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.navbar-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  background: var(--neon-purple);
  top: -200px;
  left: -100px;
}

.hero-glow-2 {
  background: var(--neon-orange);
  bottom: -200px;
  right: -100px;
}

.hero-glow-3 {
  background: var(--neon-blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--neon-purple);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-purple);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .brain-emoji {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-purple-blue);
  color: #fff;
  box-shadow: 0 4px 25px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ===== GAMES SECTION ===== */
.games-section {
  padding: var(--section-padding);
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--card-glow);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.game-card-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  background: var(--tag-bg);
  color: var(--tag-color);
}

.game-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.game-card .game-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.game-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.game-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-features li .feat-icon {
  font-size: 1rem;
}

.game-card .btn {
  width: 100%;
  justify-content: center;
}

/* Card variants */
.game-card--funcao {
  --card-accent: var(--gradient-purple-blue);
  --card-glow: rgba(168, 85, 247, 0.15);
  --tag-bg: rgba(168, 85, 247, 0.15);
  --tag-color: var(--neon-purple);
}

.game-card--formula {
  --card-accent: var(--gradient-purple-orange);
  --card-glow: rgba(249, 115, 22, 0.15);
  --tag-bg: rgba(249, 115, 22, 0.15);
  --tag-color: var(--neon-orange);
}

/* ===== COMING SOON ===== */
.coming-soon {
  padding: 60px 0 100px;
  position: relative;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.locked-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.locked-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 15, 0.5);
  border-radius: 16px;
  pointer-events: none;
}

.locked-card:hover {
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateY(-4px);
}

.locked-card .lock-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.2rem;
  z-index: 2;
  opacity: 0.6;
}

.locked-card-content {
  position: relative;
  z-index: 1;
  opacity: 0.4;
}

.locked-card-content .card-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.locked-card-content h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.locked-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== RANKING ===== */
.ranking-section {
  padding: var(--section-padding);
  position: relative;
}

.ranking-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.ranking-highlight {
  text-align: center;
  padding: 20px;
  margin-bottom: 32px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.ranking-highlight p {
  color: var(--neon-purple);
  font-weight: 600;
  font-size: 1.1rem;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table thead th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.ranking-table tbody tr {
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ranking-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.05);
}

.ranking-table td {
  padding: 14px 16px;
  font-size: 0.95rem;
}

.rank-position {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.rank-gold {
  color: #fbbf24;
}

.rank-silver {
  color: #94a3b8;
}

.rank-bronze {
  color: #d97706;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.player-name {
  font-weight: 600;
}

.player-score {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--neon-purple);
}

.ranking-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.ranking-tab {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ranking-tab.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--neon-purple);
}

.ranking-tab:hover {
  border-color: rgba(168, 85, 247, 0.2);
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: var(--section-padding);
  position: relative;
}

.steps-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.step-item {
  flex: 1;
  min-width: 180px;
  max-width: 200px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.step-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-connector {
  display: none;
}

/* ===== SHARE ===== */
.share-section {
  padding: var(--section-padding);
  position: relative;
}

.share-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  border-radius: 24px;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.share-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 24px;
  background: var(--gradient-main);
  opacity: 0.1;
  z-index: -1;
}

.share-emoji {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.share-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.share-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.share-preview {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.share-block {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.share-block:hover {
  transform: scale(1.2);
}

.share-block.red {
  background: #ef4444;
}

.share-block.orange {
  background: #f97316;
}

.share-block.yellow {
  background: #eab308;
}

.share-block.green {
  background: #22c55e;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.8rem !important;
  color: var(--text-muted);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@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 pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }

  .navbar-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

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

  .coming-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    max-width: 280px;
  }

  .share-card {
    padding: 40px 24px;
  }

  .ranking-table td,
  .ranking-table th {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .share-block {
    width: 24px;
    height: 24px;
  }
}

/* ===== AUTH MODAL ===== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: rgba(12, 12, 30, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px;
  backdrop-filter: blur(20px);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(168, 85, 247, 0.08);
}

.auth-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
}

.modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 4px;
}

.modal-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-tab.active {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
}

.modal-tab:hover:not(.active) {
  color: var(--text-secondary);
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ef4444;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.input-group input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.input-group input:focus {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.05);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.auth-divider span {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .modal-content {
    padding: 32px 20px;
    border-radius: 20px;
  }
}