/* OgleMe - Anonymous Video Chat */
:root {
  --primary: #1a1a2e;
  --primary-dark: #0f0f1a;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --skip: #ff6b6b;
  --skip-hover: #ff4757;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --chat-bg: #252540;
  --chat-stranger: #2d2d4a;
  --chat-you: #00d4ff;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary-dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px;
  filter: brightness(0) invert(1);
}

.nav-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #00b8e0;
}

.nav-close {
  display: none;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  margin-left: auto;
}

.nav-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.chat-page .nav-links {
  margin-left: auto;
}

.chat-page .nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
}

/* ==================== MARKETING PAGE ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 30px var(--accent-glow);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px var(--accent-glow);
}

.hero-warning {
  padding-top:20px;
  margin-top: 0px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Features Section */
.features {
  padding: 100px 40px;
  background: var(--primary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
  padding: 100px 40px;
  background: var(--primary-dark);
}

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

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px var(--accent-glow);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

/* CTA Section */
.cta-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

/* Footer */
.footer {
  background: var(--primary-dark);
  padding: 60px 40px 30px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 28px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ==================== SAFETY PAGE ==================== */
.safety-hero {
  padding: 160px 40px 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #16213e 100%);
  text-align: center;
}

.safety-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.safety-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.safety-hero h1 .highlight {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.safety-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Safety Tips Section */
.safety-tips {
  padding: 80px 40px;
  background: var(--primary);
}

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

.tip-card {
  background: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.tip-card:hover {
  border-color: var(--skip);
  transform: translateY(-3px);
}

.tip-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.tip-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--skip);
}

.tip-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Warning Banner */
.warning-banner {
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 71, 87, 0.1) 100%);
  border-top: 1px solid rgba(255, 107, 107, 0.3);
  border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.warning-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.warning-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.warning-text h3 {
  font-size: 1.4rem;
  color: var(--skip);
  margin-bottom: 12px;
}

.warning-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* FAQ Section */
.faq {
  padding: 80px 40px;
  background: var(--primary-dark);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .safety-hero {
    padding: 140px 20px 60px;
  }

  .safety-hero p {
    font-size: 1rem;
  }

  .safety-tips,
  .faq {
    padding: 60px 20px;
  }

  .warning-banner {
    padding: 40px 20px;
  }

  .warning-content {
    flex-direction: column;
    text-align: center;
  }

  .warning-icon {
    align-self: center;
  }
}

/* ==================== CHAT PAGE ==================== */
.chat-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.chat-container {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  padding: 0;
  min-height: 0;
  margin-top: 70px;
}

/* Video Section */
.video-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--primary);
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-right: 1px solid var(--border);
}

.video-container {
  flex: 1;
  position: relative;
  background: #000;
  min-height: 300px;
}

.video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-feed.hidden {
  display: none;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.loading-overlay.hidden {
  display: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.video-status {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--accent);
  z-index: 10;
}

.self-view {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 160px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: #000;
  z-index: 5;
}

.self-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.self-view-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.self-view-label.hidden {
  display: none;
}

/* Swap views when self is main */
.video-container.self-main .video-feed {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 160px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid var(--border);
  z-index: 6;
}

.video-container.self-main .self-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.video-container.self-main .self-view video {
  transform: scaleX(-1);
}

.video-container {
  cursor: pointer;
}

.skip-section {
  padding: 16px 20px;
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.skip-btn {
  flex: 1;
  padding: 14px 32px;
  background: var(--skip);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.report-btn {
  padding: 14px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.report-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.save-btn {
  padding: 14px 20px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.save-btn:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: scale(1.02);
}

.mute-btn {
  padding: 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mute-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.mute-btn svg.hidden,
.mobile-mute-btn svg.hidden {
  display: none;
}

.skip-btn:hover {
  background: var(--skip-hover);
  transform: scale(1.02);
}

.skip-btn:active {
  transform: scale(0.98);
}

/* Text Chat Section */
.text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--chat-bg);
  border-radius: 0;
  overflow: hidden;
  border: none;
}

.chat-header {
  padding: 16px 20px;
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
}

.chat-header .mobile-skip-btn,
.chat-header .mobile-mute-btn,
.chat-header .mobile-save-btn,
.chat-header .mobile-report-btn,
.chat-header .mobile-actions {
  display: none;
}

.chat-messages {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  min-height: 0;
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: var(--primary-dark);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.message {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 4px;
}

.message.system {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.message.system.warning {
  color: var(--skip);
  font-style: normal;
  background: rgba(255, 107, 107, 0.15);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--skip);
  margin: 8px 0;
}

.message.stranger .message-label {
  color: var(--skip);
  font-weight: 700;
}

.message.you .message-label {
  color: var(--accent);
  font-weight: 700;
}

.message-label {
  font-weight: 700;
}

.chat-input-section {
  padding: 16px 20px;
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--accent);
}

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

.send-btn {
  padding: 14px 24px;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.send-btn:hover {
  background: #00b8e0;
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .chat-page {
    padding-top: 90px;
  }

  .chat-container {
    flex-direction: column;
    padding: 10px;
  }

  .video-section {
    flex: 1;
    border-radius: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .text-section {
    flex: 1;
    border-radius: 0;
    border-left: none;
    border-top: none;
  }

  .video-container {
    min-height: 200px;
  }

  .self-view {
    width: 80px;
    height: 60px;
    bottom: 10px;
    right: 10px;
  }

  .self-view-label {
    font-size: 0.55rem;
    padding: 2px 5px;
    bottom: 4px;
    left: 4px;
  }

  .video-container.self-main .video-feed {
    width: 80px;
    height: 60px;
    bottom: 10px;
    right: 10px;
  }

  /* Combine skip button and chat header on mobile */
  .skip-section {
    display: none;
  }

  .chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
  }

  .chat-header #chatStatus {
    display: none;
  }

  .chat-header .mobile-actions {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }

  .chat-header .mobile-skip-btn {
    display: block;
    flex: 1;
    padding: 10px 16px;
    background: var(--skip);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .chat-header .mobile-skip-btn:active {
    background: var(--skip-hover);
  }

  .chat-header .mobile-save-btn {
    display: block;
    padding: 10px 12px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .chat-header .mobile-save-btn:active {
    background: rgba(0, 255, 136, 0.1);
  }

  .chat-header .mobile-mute-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
  }

  .chat-header .mobile-mute-btn:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .chat-header .mobile-report-btn {
    display: block;
    padding: 10px 12px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .chat-header .mobile-report-btn:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .chat-input-section {
    padding: 10px;
    gap: 8px;
  }

  .chat-input {
    padding: 12px 14px;
  }

  .send-btn {
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .features,
  .how-it-works,
  .cta-section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .steps {
    gap: 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

/* ==================== WARNING OVERLAYS ==================== */
.warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.warning-overlay.hidden {
  display: none;
}

.warning-modal {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid var(--skip);
  border-radius: 20px;
  padding: 40px;
  max-width: 550px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 107, 107, 0.3);
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.2);
  }
  50% {
    box-shadow: 0 0 80px rgba(255, 107, 107, 0.4);
  }
}

.warning-modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: iconBounce 1s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.warning-modal h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--skip);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.warning-modal p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.warning-modal .warning-highlight {
  color: var(--skip);
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(255, 107, 107, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--skip);
}

.warning-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.warning-btn-safe {
  display: block;
  padding: 16px 24px;
  background: #00ff88;
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
}

.warning-btn-safe:hover {
  background: #00cc6a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.warning-btn-danger {
  padding: 14px 24px;
  background: transparent;
  color: var(--skip);
  border: 1px solid var(--skip);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.7;
  text-decoration: none;
}

.warning-btn-danger:hover:not(:disabled) {
  background: rgba(255, 107, 107, 0.1);
  opacity: 1;
}

.warning-btn-danger:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.warning-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
  padding: 16px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.warning-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--skip);
  cursor: pointer;
}

.warning-checkbox label {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}

@media (max-width: 600px) {
  .warning-modal {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .warning-modal-icon {
    font-size: 3rem;
  }

  .warning-modal h2 {
    font-size: 1.4rem;
  }

  .warning-modal p {
    font-size: 0.9rem;
  }

  .warning-btn-safe {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .warning-btn-danger {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* ==================== INACTIVITY OVERLAY ==================== */
.inactivity-modal {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.3);
  animation: inactivityPulse 2s ease-in-out infinite;
}

@keyframes inactivityPulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 0 80px rgba(0, 255, 136, 0.4);
  }
}

.inactivity-modal h2 {
  color: var(--accent);
}

.inactivity-modal .warning-highlight {
  color: var(--accent);
  background: rgba(0, 255, 136, 0.1);
  border-left-color: var(--accent);
}
