/* WRVTHFUL - Custom Styles for Perfect Goth/Alt NSFW Discord Site
   Dark theme with blood-red accents, clean typography, strong accessibility
   Built on top of Tailwind CDN utilities
*/

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --accent-red: #c8102e;
  --accent-red-light: #ef4444;
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --border-color: #333333;
  --success: #22c55e;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Headings - Playfair for gothic feel */
h1, h2, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

/* Custom Goth Buttons */
.btn-goth {
  background-color: var(--accent-red);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  border: 2px solid var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-goth:hover {
  background-color: #9f0d24;
  border-color: #9f0d24;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
}

.btn-goth-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-red);
}

.btn-goth-outline:hover {
  background-color: var(--accent-red);
  color: white;
}

/* Cards & Sections */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Verification Checkmarks */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-item svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

/* Review Cards */
.review-card {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-red);
}

/* Comparison Table Styling */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.comparison-table th {
  background-color: var(--bg-secondary);
  font-weight: 600;
  color: var(--accent-red-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.comparison-table tr:hover {
  background-color: #161616;
}

/* Hero Section Enhancements */
.hero-bg {
  background-image: linear-gradient(rgba(10,10,10,0.65), rgba(10,10,10,0.75)), url('/imagine_images/wrvthful-hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-bg {
    background-image: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.8)), url('/imagine_images/wrvthful-hero-mobile.webp');
    background-attachment: scroll;
  }
}

/* Age Gate */
#age-gate {
  backdrop-filter: blur(12px);
}

/* Live Indicator */
.live-dot {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* FAQ Accordion */
details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary .chevron {
  transform: rotate(180deg);
}

/* Form Improvements */
input, textarea, select {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

/* Footer */
footer {
  background-color: #050505;
  border-top: 1px solid var(--border-color);
}

/* Accessibility - Strong Focus Styles */
:focus-visible {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
}

/* Mobile Optimizations */
@media (max-width: 640px) {
  .btn-goth {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
}


/* Ultra-small screen refinements (iPhone SE, Galaxy Fold, etc.) — makes it truly perfect on every mobile device */
@media (max-width: 480px) {
  .hero-bg { 
    padding-top: 5rem; 
    padding-bottom: 3rem; 
  }
  
  h1, .section-heading { 
    font-size: 2.25rem; 
    line-height: 1.1; 
  }
  
  .card, .review-card { 
    padding: 1rem; 
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 0.8rem;
  }
}

/* Print styles (rare for this site but good practice) */
@media print {
  .btn-goth, #age-gate, nav { display: none !important; }
}

/* ============================================
   10/10 PERFECTION ADDITIONS (v5.0)
   ============================================ */
.floating-glow {
  box-shadow: 0 0 30px -5px rgb(200 16 46 / 0.5), 0 0 60px -10px rgb(200 16 46 / 0.3);
  transition: box-shadow 0.2s ease;
}
.floating-glow:hover {
  box-shadow: 0 0 40px -5px rgb(200 16 46), 0 0 80px -10px rgb(200 16 46 / 0.4);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, #c8102e, #ef4444);
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* Optional perfect-hero class for future hero variations */
.perfect-hero {
  background-image: linear-gradient(rgba(10,10,10,0.72), rgba(10,10,10,0.88)), url('/imagine_images/wrvthful-hero-bg.webp');
}

/* ============================================
   HERO PERFECTION + SHINE CTA (v5.15)
   ============================================ */
.perfect-cta {
  position: relative;
  overflow: hidden;
}
.perfect-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 2s infinite;
}
@keyframes shine { 
  0% { transform: translateX(-150%); } 
  100% { transform: translateX(300%); } 
}

.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-top: 3px solid #c8102e;
  z-index: 9999;
  padding: 12px;
  display: none;
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
}
