:root {
  --bg: #080a0f;
  --surface: #0e1117;
  --surface2: #151a24;
  --border: rgba(255,255,255,0.07);
  --accent: #4af0a4;
  --accent2: #3b82f6;
  --accent3: #f0884a;
  --text: #e8edf5;
  --muted: #6b7a94;
  --glow: rgba(74,240,164,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(8,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-auth {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-cta {
  background: var(--accent);
  color: #080a0f;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-secondary {
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.nav-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 7rem 3rem; }

.section-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,240,164,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  bottom: 50px; left: -50px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(74,240,164,0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 900px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

h1 .accent { color: var(--accent); }

.hero-sub {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  background: var(--accent);
  color: #080a0f;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,240,164,0.3);
}

.btn-secondary {
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-2px); }

.btn-full { width: 100%; }

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 5rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
}
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

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

/* Services */
.services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-inner { max-width: 1200px; margin: 0 auto; }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.services-header p {
  color: var(--muted);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.service-item:hover {
  border-color: rgba(74,240,164,0.3);
  transform: translateY(-3px);
}

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Products */
.products-inner { max-width: 1200px; margin: 0 auto; }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.products-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.product-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.product-card:hover { background: var(--surface2); }

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover::before { opacity: 1; }

.product-card.ai { --card-accent: #4af0a4; }
.product-card.clips { --card-accent: #f0884a; }
.product-card.admin { --card-accent: #a855f7; }
.product-card.android { --card-accent: #3b82f6; }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.ai .product-icon { background: rgba(74,240,164,0.1); }
.clips .product-icon { background: rgba(240,136,74,0.1); }
.admin .product-icon { background: rgba(168,85,247,0.1); }
.android .product-icon { background: rgba(59,130,246,0.1); }

.product-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: inline-block;
}
.ai .product-tag { background: rgba(74,240,164,0.1); color: var(--accent); }
.clips .product-tag { background: rgba(240,136,74,0.1); color: var(--accent3); }
.admin .product-tag { background: rgba(168,85,247,0.1); color: #a855f7; }
.android .product-tag { background: rgba(59,130,246,0.1); color: var(--accent2); }

.product-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s;
}
.ai .product-link { color: var(--accent); }
.clips .product-link { color: var(--accent3); }
.admin .product-link { color: #a855f7; }
.android .product-link { color: var(--accent2); }
.product-link:hover { gap: 0.7rem; }

/* Story / Timeline */
.story {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.story h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.story p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }

.tl-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.tl-dot.active { border-color: var(--accent); background: rgba(74,240,164,0.1); }

.tl-content h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.tl-content p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* CTA Section */
.cta-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 3rem;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Responsive */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .story-inner, .services-header { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 480px) {
  /* Nav */
  nav { padding: 0.9rem 1.2rem; }
  .logo { font-size: 1.1rem; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { padding: 6rem 1.2rem 3rem; min-height: auto; }
  h1 { font-size: clamp(2.4rem, 13vw, 3.5rem); letter-spacing: -0.03em; }
  .hero-tag { font-size: 0.65rem; margin-bottom: 1.8rem; }
  .hero-sub { font-size: 0.95rem; margin-top: 1.2rem; }
  .hero-actions { flex-direction: column; gap: 0.8rem; margin-top: 2rem; }
  .btn-primary, .btn-secondary { text-align: center; padding: 0.85rem 1.5rem; font-size: 0.88rem; }
  .hero-stats { gap: 1.5rem; margin-top: 3rem; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.62rem; }

  /* Sections */
  section { padding: 3.5rem 1.2rem; }
  .section-tag { font-size: 0.65rem; }

  /* Story */
  .story-inner { gap: 2rem; }
  .story h2 { font-size: 2rem; }
  .story p { font-size: 0.92rem; }
  .tl-dot { width: 30px; height: 30px; font-size: 0.7rem; }
  .tl-content h4 { font-size: 0.92rem; }
  .tl-content p { font-size: 0.82rem; }

  /* Products */
  .products-grid { gap: 1px; border-radius: 8px; }
  .product-card { padding: 1.8rem 1.4rem; }
  .product-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 1rem; }
  .product-card h3 { font-size: 1.2rem; }
  .product-card p { font-size: 0.85rem; }
  .products-header h2 { font-size: 1.8rem; }

  /* Services */
  .services-grid { gap: 1rem; }
  .service-item { padding: 1.5rem; }
  .service-item h3 { font-size: 1rem; }
  .service-item p { font-size: 0.85rem; }
  .services-header h2 { font-size: 1.8rem; }
  .services-header p { font-size: 0.92rem; }

  /* YouTube */
  .yt-card { padding: 2rem 1.4rem; }
  .yt-card h2 { font-size: 1.8rem; }
  .yt-card p { font-size: 0.92rem; }
  .yt-btn { font-size: 0.82rem; padding: 0.75rem 1.4rem; }

  /* Sister */
  .sister-inner { gap: 2rem; }
  .sister h2 { font-size: 1.8rem; }
  .sister p { font-size: 0.92rem; }
  .obsidian-badge { padding: 2rem 1.4rem; }
  .obsidian-logo { font-size: 1.5rem; }
  .gem-icon { font-size: 2rem; margin-bottom: 1rem; }

  /* Contact */
  .cta-section h2 { font-size: 2.2rem; }
  .cta-section p { font-size: 0.92rem; }
  .cta-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cta-contact { padding: 1.4rem; }
  .cta-contact h4 { font-size: 0.95rem; }
  .cta-contact p { font-size: 0.82rem; }

  /* Footer */
  footer { padding: 2rem 1.2rem; gap: 1.2rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .footer-copy { font-size: 0.65rem; }
}

/* Dashboard additions */

.dashboard-body h1 {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5rem;
}

.dashboard-body h2 {
  font-size: 1.5rem !important;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}

.profile-card:hover {
  border-color: rgba(74,240,164,0.2);
  transform: translateY(-1px);
}

.dashboard-section {
  margin-top: 2rem;
}

.submissions-list {
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

/* Fix giant global h1 bleed onto dashboard pages */
.dashboard-main-content h1 {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  max-width: 100%;
}

.badge {
  font-family: 'DM Mono', monospace;
}

.status {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.status-approved { background: rgba(74,240,164,0.1); color: var(--accent); }
.status-pending { background: rgba(240,136,74,0.1); color: var(--accent3); }
.status-rejected { background: rgba(255,104,104,0.1); color: #ff6868; }

.badge-live {
  background: rgba(74, 240, 164, 0.15) !important;
  color: var(--accent) !important;
  font-weight: 800;
  border: 1px solid var(--accent);
}

.alert-success {
  background: rgba(74,240,164,0.08);
  border: 1px solid rgba(74,240,164,0.3);
  color: var(--accent);
}

.platform-badge {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(74,240,164,0.1);
  color: var(--accent);
}

.link-cell {
  color: var(--accent);
  text-decoration: none;
}
.link-cell:hover { text-decoration: underline; }

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 700px;
}
.info-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.info-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.info-card p strong {
  color: var(--text);
}

/* Auth Page */
.auth-page body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.auth-left {
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface) 100%);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.auth-logo .logo { font-size: 2rem; margin-bottom: 1rem; display: block; text-align: center; }
.auth-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.auth-right {
  padding: 3rem;
}

.auth-form-wrapper h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.role-selector {
  margin: 1.5rem 0;
}

.role-selector label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.role-option {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.role-option:hover {
  border-color: var(--accent);
}

.role-option.active {
  border-color: var(--accent);
  background: rgba(74,240,164,0.05);
}

.role-option input {
  display: none;
}

.role-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.role-desc {
  font-size: 0.75rem;
  color: var(--muted);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff6868;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
}

.auth-demo {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.auth-demo strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.auth-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.auth-container.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
