/* ==========================================================================
   Marsodus - Core Styles
   ========================================================================== */

/* Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #0B0F19;
  --color-bg-light: #151A24;
  --color-mars-orange: #C1440E;
  --color-accent-blue: #4CC9F0;
  --color-text: #F5F5F5;
  --color-text-muted: #A0ABC0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-mars-orange), #ff6b35);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-blue), #00f5d4);
  --gradient-bg: linear-gradient(180deg, var(--color-bg) 0%, #05080c 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(21, 26, 36, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-main);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  background-image: var(--gradient-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-text);
  text-shadow: 0 0 10px var(--color-accent-blue);
}

/* Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Header & Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--glass-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-mars-orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(193, 68, 14, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 68, 14, 0.5);
  color: #fff;
  text-shadow: none;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

/* Glass Cards
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(76, 201, 240, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(76, 201, 240, 0.1);
}

/* Forms
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
}

/* Tool Grid (Scalable)
   ========================================================================== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.1);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tool-card p {
  flex-grow: 1;
}

.tool-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%; max-width: 600px;
}

.hero-subheadline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mars-container {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 100%; max-width: 800px;
  height: 800px;
  z-index: 1;
  pointer-events: none;
}

.mars-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8c42, var(--color-mars-orange) 60%, #521d04);
  box-shadow: inset -40px -40px 100px rgba(0, 0, 0, 0.9),
              0 0 100px rgba(193, 68, 14, 0.3);
  animation: rotateMars 60s linear infinite;
  position: relative;
  overflow: hidden;
}

.mars-texture {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.015" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.4" mix-blend-mode="multiply"/%3E%3C/svg%3E');
  border-radius: 50%;
  opacity: 0.6;
}

.mars-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: -20px -20px 60px rgba(76, 201, 240, 0.1) inset;
}

@keyframes rotateMars {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dashboard Widgets (Hero)
   ========================================================================== */
.dashboard-widgets {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.widget {
  background: rgba(21, 26, 36, 0.8);
  border: 1px solid rgba(76, 201, 240, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.widget-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-blue);
  margin-bottom: 0.25rem;
}

.widget-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* Particles
   ========================================================================== */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Tool Page Specifics
   ========================================================================== */
.tool-header {
  text-align: center;
  margin-bottom: 4rem;
}

.quick-answer-box {
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.1), rgba(21, 26, 36, 0.8));
  border-left: 4px solid var(--color-accent-blue);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 3rem;
}

.quick-answer-box h3 {
  color: var(--color-accent-blue);
  margin-bottom: 1rem;
}

.tool-interface {
  max-width: 100%; max-width: 800px;
  margin: 0 auto 5rem;
}

.result-box {
  display: none;
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(193, 68, 14, 0.1);
  border: 1px solid rgba(193, 68, 14, 0.3);
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.result-box.active {
  display: block;
}

.result-value {
  font-size: 3rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-mars-orange);
  margin: 1rem 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ID Card Styles - Passport Style */
.id-card-wrapper {
  perspective: 1000px;
  margin-top: 2rem;
  display: none;
}

.id-card-wrapper.active {
  display: block;
}

.id-card.passport-style {
  width: 100%;
  max-width: 100%; max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1A1F2B 0%, #0F131D 100%);
  border-radius: 12px;
  border: 1px solid rgba(76, 201, 240, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 4px rgba(255, 255, 255, 0.03);
  display: flex;
  overflow: hidden;
  position: relative;
  color: #fff;
  font-family: var(--font-main);
}

.id-card.passport-style::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z" fill="rgba(76,201,240,0.02)" fill-rule="evenodd"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 1;
}

.id-card.passport-style > * {
  position: relative;
  z-index: 2;
}

/* Left Sidebar */
.passport-left {
  background: rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 160px;
}

.id-photo-container {
  width: 100%;
}

.id-photo-area {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(76, 201, 240, 0.4);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.id-photo-area::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
  pointer-events: none;
}

.id-photo-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9) grayscale(0.2);
}

.id-qr-code {
  width: 80px;
  height: 80px;
  background: #fff;
  padding: 5px;
  border-radius: 4px;
  color: #000;
  margin-top: 1rem;
}

/* Right Main Area */
.passport-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2.5rem;
}

.passport-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.id-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.id-brand-logo span {
  color: var(--color-mars-orange);
}

.passport-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-blue);
  font-weight: 600;
}

.mars-flag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.id-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.id-field-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 0.2rem;
}

.id-field-value {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  color: #fff;
}

.passport-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signature-box {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 0.5rem;
  width: 200px;
}

.signature-line {
  font-family: 'Brush Script MT', 'Bradley Hand', cursive;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.8;
  height: 30px;
  line-height: 30px;
  margin-bottom: 0.25rem;
}

.mrz-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #aaa;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    word-break: break-all;
}

/* EXPLORE MARS QUIZ UI */
.quiz-option-btn {
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.quiz-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent-blue);
    transform: translateY(-2px);
}

.quiz-option-btn.correct {
    background: rgba(0, 204, 102, 0.2);
    border-color: #00cc66;
    color: #00cc66;
}

.quiz-option-btn.wrong {
    background: rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
    color: #cc0000;
}

/* MARS IDENTITY ROADMAP */
.roadmap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 3rem 0;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent-blue), var(--color-mars-orange));
    z-index: 0;
}

.roadmap-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.roadmap-step-content {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    width: calc(50% - 3rem);
}

.roadmap-step:nth-child(odd) .roadmap-step-content {
    margin-left: auto;
    text-align: left;
}

.roadmap-step:nth-child(even) .roadmap-step-content {
    margin-right: auto;
    text-align: right;
}

.roadmap-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    background: var(--color-dark-bg);
    border: 2px solid var(--color-mars-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(193, 68, 14, 0.4);
}

.roadmap-step.active .roadmap-icon {
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.4);
}

.roadmap-step.coming-soon .roadmap-icon {
    border-color: #666;
    box-shadow: none;
    color: #666;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 2rem;
    }
    
    .roadmap-icon {
        left: 2rem;
    }
    
    .roadmap-step-content {
        width: calc(100% - 5rem);
        margin-left: auto !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    /* Reduce excessive vertical spacing on mobile */
    .hero {
        padding: 4rem 1rem;
    }
    
    section {
        padding: 3rem 1rem !important;
        margin-top: 2rem !important;
    }
    
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    hr {
        margin: 2rem 0 !important;
    }
}


.id-generated-by {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 0.35rem;
  background: var(--color-mars-orange);
  color: #fff;
  font-weight: 700;
  z-index: 10;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: #05080c;
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.sources-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-size: 0.8rem;
}

/* Content Sections (SEO, FAQ) */
.content-section {
  max-width: 100%; max-width: 800px;
  margin: 0 auto 4rem;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: var(--color-text-muted);
  display: none;
  padding-top: 0.5rem;
}

/* Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .mars-container {
    width: 100%; max-width: 600px;
    height: 600px;
    right: -20%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    display: flex;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mars-container {
    opacity: 0.3;
    right: -50%;
    top: 40%;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .dashboard-widgets {
    justify-content: center;
  }

  .id-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Dashboard Grid for Progression Widgets */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

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

/* Accessibility: Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.quiz-option-btn:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Scroll Lock */
body.no-scroll {
    overflow: hidden;
}

/* Hamburger Animation */
.mobile-menu-btn {
    z-index: 1001;
    position: relative;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s ease-in-out;
}
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* FINAL RESPONSIVE FIXES */
@media (max-width: 768px) {
    .zodiac-result-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    .zodiac-traits-grid {
        flex-direction: column !important;
        width: 100% !important;
    }
    .zodiac-traits-grid > div {
        width: 100% !important;
    }
    .career-grid-mobile {
        grid-template-columns: 1fr !important;
    }
    .flex-wrap-mobile {
        flex-wrap: wrap !important;
    }
}
.id-card-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin: 0;
    max-width: 100vw;
}
.swipe-hint {
    display: none;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .swipe-hint {
        display: block;
    }
}

.card-scroll-wrapper {
    position: relative;
    max-width: 100vw;
    margin: 0 -1rem;
    padding: 0 1rem;
}
.card-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    padding-bottom: 1rem;
    width: 100%;
}
.card-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.card-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.card-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-mars-orange);
    border-radius: 4px;
}
.scroll-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 5;
    pointer-events: none;
    display: none;
}
.scroll-edge.fade-left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
}
.scroll-edge.fade-right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid var(--color-mars-orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    font-size: 1rem;
}
.scroll-btn.left { left: 10px; }
.scroll-btn.right { right: 10px; }
@media (max-width: 768px) {
    .scroll-btn { display: flex; }
    .scroll-edge { display: block; }
    .id-card.passport-style { min-width: 600px; }
}
