/* ============================================
   MissPlay TCG — Main Stylesheet
   Dark Gaming Theme with Purple/Violet Accents
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Background Layers */
  --bg-deepest:    #06060b;
  --bg-deep:       #0a0a0f;
  --bg-base:       #111118;
  --bg-elevated:   #16161f;
  --bg-surface:    #1c1c27;
  --bg-muted:      #232330;

  /* Purple/Violet Accent Scale */
  --accent-50:     #f5f3ff;
  --accent-100:    #ede9fe;
  --accent-200:    #ddd6fe;
  --accent-300:    #c4b5fd;
  --accent-400:    #a78bfa;
  --accent-500:    #8b5cf6;
  --accent-600:    #7c3aed;
  --accent-700:    #6d28d9;
  --accent-800:    #5b21b6;
  --accent-900:    #4c1d95;

  /* Glow & Transparency */
  --glow-purple:      rgba(139, 92, 246, 0.15);
  --glow-purple-md:   rgba(139, 92, 246, 0.25);
  --glow-purple-lg:   rgba(139, 92, 246, 0.4);
  --glass-bg:         rgba(17, 17, 24, 0.7);
  --glass-border:     rgba(139, 92, 246, 0.12);
  --glass-border-hover: rgba(139, 92, 246, 0.3);

  /* Text Colors */
  --text-primary:   #f0eef6;
  --text-secondary: #a8a3b3;
  --text-muted:     #6b6580;
  --text-accent:    #a78bfa;
  --text-white:     #ffffff;

  /* Semantic Colors */
  --success:  #34d399;
  --warning:  #fbbf24;
  --error:    #f87171;
  --info:     #60a5fa;

  /* Gradients */
  --gradient-accent:   linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%);
  --gradient-hero:     linear-gradient(160deg, #0a0a0f 0%, #111118 40%, #1a0e2e 100%);
  --gradient-cta:      linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%);
  --gradient-card:     linear-gradient(180deg, rgba(139,92,246,0.08) 0%, transparent 100%);
  --gradient-text:     linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 50%, #a78bfa 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.25rem;

  /* Spacing */
  --space-section: 100px;

  /* Borders & Radii */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow:     0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.15);
  --shadow-glow-md: 0 0 30px rgba(139, 92, 246, 0.25);
  --shadow-glow-lg: 0 4px 40px rgba(139, 92, 246, 0.3);

  /* Transitions */
  --transition-fast:  0.15s ease;
  --transition:       0.25s ease;
  --transition-slow:  0.4s ease;
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-300);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: 1.5rem; }
h4 { font-size: var(--text-xl); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background-color: var(--bg-muted);
}

.section-dark {
  background-color: var(--bg-base);
}

.section-primary {
  background: var(--gradient-accent);
  color: var(--text-white);
}

.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary p {
  color: var(--text-white);
}

.section-primary p {
  opacity: 0.9;
}

.text-center { text-align: center; }

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 12px;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-white);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-md);
  color: var(--text-white);
  filter: brightness(1.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-400);
  border-color: var(--accent-500);
}

.btn-outline:hover {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--accent-300);
  border-color: var(--accent-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Button ripple effect */
.btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  animation: rippleExpand 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding: 10px 0;
}

.navbar.scrolled {
  background-color: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(139, 92, 246, 0.1);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
  padding: 6px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--accent-400);
  background-color: rgba(139, 92, 246, 0.08);
}

.nav-links a:not(.btn).active {
  color: var(--accent-300);
  font-weight: 600;
}

.nav-cta {
  margin-left: 12px;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-elevated);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 20px 20px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    overflow-y: auto;
    gap: 0;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a:not(.btn) {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(var(--parallax-y, 0));
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero h1 {
  font-size: var(--text-5xl);
  max-width: 720px;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero {
    padding: 128px 0 64px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* --- Cards --- */
.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.card:hover .card-icon {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.card-icon.alt {
  background: rgba(96, 165, 250, 0.12);
  color: var(--info);
}

.card h3 {
  margin-bottom: 12px;
  font-size: var(--text-xl);
  position: relative;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.95rem;
  position: relative;
}

/* Category Cards */
.category-card {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  display: block;
}

.category-card:hover {
  border-color: var(--accent-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, var(--bg-elevated) 100%);
}

.category-card i {
  font-size: 2.2rem;
  color: var(--accent-400);
  margin-bottom: 14px;
  display: block;
  transition: all var(--transition);
}

.category-card:hover i {
  color: var(--accent-300);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.category-card h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.category-card p {
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-bottom: 0;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 18px;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.25);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.2);
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar i {
  font-size: 1rem;
  color: var(--accent-400);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: var(--warning);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--gradient-cta);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: 12px;
  font-size: var(--text-3xl);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-deepest);
  color: var(--text-muted);
  padding: 64px 0 0;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer h4 {
  color: var(--text-primary);
  font-size: var(--text-sm);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-about img {
  height: 40px;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  padding: 5px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-400);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent-500);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--accent-400);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 0.85rem;
}

.footer-social a:hover {
  background-color: var(--accent-500);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background-color: var(--bg-elevated);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* --- Page Header --- */
.page-header {
  padding: 160px 0 64px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  font-size: var(--text-4xl);
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  position: relative;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-400);
}

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--accent-400);
  font-weight: 500;
}

/* --- Event Cards --- */
.event-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  display: flex;
}

.event-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.event-date {
  background: var(--gradient-accent);
  color: var(--text-white);
  padding: 20px;
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
}

.event-date .year {
  font-size: 0.8rem;
  opacity: 0.8;
}

.event-details {
  padding: 20px 24px;
  flex: 1;
}

.event-details h4 {
  margin-bottom: 8px;
}

.event-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-meta i {
  color: var(--accent-500);
  margin-right: 4px;
}

@media (max-width: 576px) {
  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    gap: 8px;
    min-width: auto;
    padding: 12px 20px;
  }

  .event-date .day {
    font-size: 1.5rem;
    margin: 0;
  }
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--text-accent);
}

.contact-info-card a:hover {
  color: var(--accent-300);
}

.map-placeholder {
  width: 100%;
  height: 280px;
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 20px;
}

/* --- About --- */
.about-flex {
  display: flex;
  gap: 56px;
  align-items: center;
}

.about-flex > * {
  flex: 1;
}

.about-img-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(109, 40, 217, 0.05) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-500);
  font-size: 3rem;
}

@media (max-width: 991px) {
  .about-flex {
    flex-direction: column;
    gap: 32px;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--text-accent);
}

/* --- Feature List --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li i {
  color: var(--accent-500);
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* --- Accordion --- */
.accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--bg-elevated);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition);
  font-size: 0.95rem;
}

.accordion-header:hover {
  background-color: var(--bg-surface);
}

.accordion-header i {
  transition: transform var(--transition);
  font-size: 0.75rem;
  color: var(--accent-500);
}

.accordion-item.active .accordion-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--glass-border);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--bg-elevated);
}

.accordion-item.active .accordion-body {
  padding: 0 20px 20px;
  max-height: 500px;
}

.accordion-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Utilities --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Gradient text utility */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow pulse utility */
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.3);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Scroll-reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.35s; }

/* --- Responsive --- */
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .page-header {
    padding: 128px 0 40px;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
