:root {
  --bg: #000000;
  --bg-card: #0d0d0d;
  --bg-elevated: #141414;
  --bg-hover: #1a1a1a;
  --accent: #e50914;
  --accent-light: #ff3b3b;
  --accent-glow: rgba(229, 9, 20, 0.45);
  --gradient: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
  --text: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(229, 9, 20, 0.4);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(229, 9, 20, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(229, 9, 20, 0.06), transparent);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hidden {
  display: none !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.logo-white {
  color: var(--text);
}

.logo-red {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.auth-buttons,
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-greeting {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.user-greeting strong {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-red);
}

.btn-outline:hover {
  background: rgba(229, 9, 20, 0.08);
  border-color: var(--accent);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  font-size: 1rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  font-size: inherit;
}

.link-btn:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 0.65rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1rem;
}

/* Emblem */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.emblem {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(229, 9, 20, 0.15), transparent 60%);
}

.emblem-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              var(--gradient) border-box;
  box-shadow: 0 0 60px var(--accent-glow), inset 0 0 30px rgba(229, 9, 20, 0.1);
}

.emblem-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.3), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.emblem-text {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Stats */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-num.stat-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Movies */
.movies-section {
  padding: 100px 0;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  gap: 16px;
  padding: 16px;
}

.movie-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.movie-poster {
  width: 80px;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.movie-card:hover .movie-overlay {
  opacity: 1;
}

.play-icon {
  color: #fff;
  font-size: 1.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.movie-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.movie-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.movie-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.movie-live {
  display: inline-block;
  background: rgba(229, 9, 20, 0.15);
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  width: fit-content;
}

/* How it works */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-bottom: 20px;
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(229,9,20,0.1) 0%, rgba(229,9,20,0.05) 100%);
}

.cta-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.5;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cta-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.cta-icon {
  font-size: 1.8rem;
}

.cta-feature strong {
  font-size: 0.9rem;
  color: var(--text);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  gap: 12px;
}

.cta-specs {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.cta-specs p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .cta-content {
    padding: 40px 28px;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons a {
    width: 100%;
  }
}

/* Player */
.player-section {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.back-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 28px;
  padding: 8px 0;
  transition: color 0.2s;
}

.back-btn:hover {
  color: var(--text);
}

.player-room {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.player-wrapper {
  background: #000;
}

#videoPlayer {
  width: 100%;
  display: block;
  max-height: 65vh;
}

.timer-bar {
  height: 3px;
  background: var(--bg-elevated);
}

.timer-fill {
  height: 100%;
  background: var(--gradient);
  width: 100%;
  transition: width 1s linear;
}

.timer-text {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.timer-text span {
  color: var(--accent-light);
  font-weight: 700;
}

.player-info {
  padding: 28px 32px;
}

.player-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.player-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 0 80px var(--accent-glow);
}

.overlay-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.overlay-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.overlay-card p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Download page */
.download-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.download-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.download-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 48px;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 80px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.download-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.download-card .platform-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.download-features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* Discord Auth */
.btn-discord {
  background: #5865F2;
  color: #fff;
  border: 1px solid #5865F2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-discord:hover {
  background: #4752C4;
  border-color: #4752C4;
}

.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-separator span {
  padding: 0 10px;
}



/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(229,9,20,0.05) 0%, rgba(0,0,0,0) 100%), var(--bg-card);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
}

.price .currency {
  font-size: 1.5rem;
  margin-right: 4px;
}

.price .amount {
  letter-spacing: -1px;
}

.price .period {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 4px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}

.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-dim);
}

.features .check {
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .emblem {
    width: 240px;
    height: 240px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .auth-buttons .btn-outline {
    display: none;
  }

  .user-greeting {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .modal-card {
    padding: 32px 24px;
  }

  .overlay-card {
    padding: 32px 24px;
  }

  .cta-inner {
    padding: 36px 24px;
  }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .emblem {
    width: 240px;
    height: 240px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .auth-buttons .btn-outline {
    display: none;
  }

  .user-greeting {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .modal-card {
    padding: 32px 24px;
  }

  .overlay-card {
    padding: 32px 24px;
  }

  .cta-inner {
    padding: 36px 24px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ─── Language Selector ─────────────────────────────── */
.lang-select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.lang-select:focus { border-color: var(--primary); }
.lang-select option { background: #1a1a1a; }

/* ─── User Avatar ───────────────────────────────────── */
.user-menu { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

/* ─── Settings Modal Tabs ───────────────────────────── */
.settings-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.tab-btn { font-size: 0.85rem; }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.settings-form { display: flex; flex-direction: column; gap: 14px; }
.form-success { color: #2ecc71; font-size: 0.85rem; margin-top: 8px; }

/* ─── Settings info row ─────────────────────────────── */
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .info-label { color: var(--text-dim); }
.info-row .info-value { font-weight: 600; }

/* ─── Live Section ──────────────────────────────────── */
.live-section { padding: 60px 0; background: var(--bg); }
.live-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.live-header h2 { font-size: 2rem; margin: 0; }
.live-header p { color: var(--text-dim); margin: 6px 0 0; }
.live-rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.live-room-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.live-room-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.live-room-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.live-room-thumb img { width: 100%; height: 100%; object-fit: cover; }

.live-badge-pill {
  position: absolute; top: 10px; left: 10px;
  background: #e50914; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 8px; border-radius: 20px;
  animation: pulse 2s infinite;
}
.live-viewer-pill {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 0.8rem; padding: 4px 8px; border-radius: 20px;
  backdrop-filter: blur(8px);
}

.live-room-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.live-room-info h3 { font-size: 1rem; margin: 0; }
.live-host { color: var(--text-dim); font-size: 0.85rem; margin: 0; }

/* ─── Room Modal ────────────────────────────────────── */
.room-modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 90vw; max-width: 1100px;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.room-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 10;
  background: rgba(0,0,0,0.6); border: none; color: #fff;
  font-size: 1.4rem; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.room-layout { display: grid; grid-template-columns: 1fr 320px; height: 600px; }

.room-video-side { display: flex; flex-direction: column; background: #000; }
.room-video-wrapper { flex: 1; position: relative; overflow: hidden; }
.room-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.room-video-overlay {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px;
}
.room-live-badge {
  background: #e50914; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  animation: pulse 2s infinite;
}
.room-viewer-count {
  background: rgba(0,0,0,0.65); color: #fff;
  font-size: 0.85rem; padding: 4px 10px; border-radius: 20px;
  backdrop-filter: blur(8px);
}
.room-title-bar { padding: 14px 16px; border-top: 1px solid var(--border); }
.room-title-bar h3 { margin: 0 0 4px; font-size: 1.1rem; }
.room-title-bar p { margin: 0; color: var(--text-dim); font-size: 0.85rem; }

/* ─── Chat ──────────────────────────────────────────── */
.room-chat-side { display: flex; flex-direction: column; border-left: 1px solid var(--border); background: var(--bg); }
.room-chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 0.9rem;
}
.chat-online { color: #2ecc71; font-size: 0.78rem; font-weight: 400; }
.room-chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.room-chat-messages::-webkit-scrollbar { width: 4px; }
.room-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-message { display: flex; align-items: flex-start; gap: 8px; animation: fadeIn 0.3s ease; }
.chat-message.chat-own { opacity: 1; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

.chat-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.chat-content { display: flex; flex-direction: column; gap: 2px; }
.chat-name { font-size: 0.75rem; font-weight: 700; }
.chat-text { font-size: 0.85rem; color: var(--text-dim); line-height: 1.4; word-break: break-word; }

.room-chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); }
.room-chat-input input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); padding: 8px 12px; font-size: 0.85rem; outline: none; font-family: inherit;
}
.room-chat-input input:focus { border-color: var(--primary); }

@media (max-width: 768px) {
  .live-rooms-grid { grid-template-columns: 1fr; }
  .room-layout { grid-template-columns: 1fr; height: auto; }
  .room-chat-side { height: 300px; border-left: none; border-top: 1px solid var(--border); }
}

