/* ============================================
   VORTEX ORIGINAL SHOP - REVOLUTIONARY DESIGN
   Golden Ember Theme - 180° Color Transformation
   ============================================ */

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

:root {
  /* Revolutionary Golden-Orange Palette (180° Shift) */
  --primary-gold: #f2d26d;
  --primary-coral: #ff3300;
  --accent-orange: #ff2b00;
  --accent-turquoise: #00ff7f;
  --accent-amber: #ffaa00;
  --accent-bronze: #cd7f32;

  /* Dark Warm Backgrounds */
  --bg-dark: #0f0a0a;
  --bg-darker: #080505;
  --bg-black: #000000;
  --bg-warm: #1a0f0f;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #d1c5b8;
  --text-muted: #a08892;
  --text-gold: #f2d26d;

  /* Glass Effects */
  --glass-bg: rgba(242, 210, 109, 0.05);
  --glass-border: rgba(255, 51, 0, 0.2);
  --overlay-warm: rgba(255, 51, 0, 0.03);

  /* Shadows & Glows */
  --shadow-gold: rgba(242, 210, 109, 0.4);
  --shadow-coral: rgba(255, 51, 0, 0.4);
  --shadow-orange: rgba(255, 43, 0, 0.3);
  --glow-gold: 0 0 30px rgba(242, 210, 109, 0.6);
  --glow-coral: 0 0 30px rgba(255, 51, 0, 0.6);
  --glow-orange: 0 0 25px rgba(255, 43, 0, 0.5);

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --font-display: 'Orbitron', sans-serif;

  /* Layout */
  --container-max: 1400px;
  --section-padding: 8rem 0;
  --border-radius: 16px;
  --border-radius-lg: 24px;
}

/* ============================================
   BASE STYLES
   ============================================ */

body {
  font-family: var(--font-primary);
  background: radial-gradient(ellipse at top, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-black) 100%);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Canvas Background */
#pulseCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: var(--glow-gold);
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--primary-gold);
  text-shadow: var(--glow-gold);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-coral), var(--accent-orange), var(--primary-gold));
  border-radius: 2px;
  box-shadow: var(--glow-coral);
}

.section-description {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 20% 80%, rgba(242, 210, 109, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 51, 0, 0.15) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 10, 10, 0.9), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

.logo {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin-bottom: 3rem;
  filter: drop-shadow(var(--glow-gold)) drop-shadow(0 0 25px rgba(255, 51, 0, 0.4));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 4rem;
  line-height: 1.9;
  font-weight: 300;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.stat {
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.08), rgba(255, 51, 0, 0.05));
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(242, 210, 109, 0.15), transparent);
  transition: left 0.7s;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px var(--shadow-gold);
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.12), rgba(255, 51, 0, 0.08));
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--primary-coral), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: var(--glow-coral);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ============================================
   MIRRORS SECTION
   ============================================ */

.mirrors-section {
  padding: var(--section-padding);
  background:
    linear-gradient(135deg, rgba(242, 210, 109, 0.03) 0%, transparent 50%),
    var(--overlay-warm);
  border-top: 1px solid rgba(255, 51, 0, 0.15);
  border-bottom: 1px solid rgba(255, 51, 0, 0.15);
}

.mirrors-frame {
  border: 3px solid var(--primary-coral);
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, rgba(255, 51, 0, 0.08), rgba(242, 210, 109, 0.05));
  backdrop-filter: blur(25px);
  padding: 3rem 2.5rem;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow:
    0 0 40px rgba(255, 51, 0, 0.3),
    inset 0 1px 0 rgba(242, 210, 109, 0.15);
  position: relative;
  overflow: hidden;
}

.mirrors-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-coral), var(--primary-gold), transparent);
}

.mirrors-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mirror-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 2.2rem;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(255, 51, 0, 0.12), rgba(242, 210, 109, 0.08));
  color: var(--text-primary);
  font-size: 1.15rem;
  text-decoration: none;
  border-left: 5px solid var(--primary-coral);
  box-shadow: 0 5px 25px rgba(255, 51, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mirror-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(242, 210, 109, 0.15), transparent);
  transition: left 0.7s;
}

.mirror-link:hover::before {
  left: 100%;
}

.mirror-link:hover {
  background: linear-gradient(135deg, rgba(255, 51, 0, 0.2), rgba(242, 210, 109, 0.15));
  color: var(--primary-gold);
  box-shadow: 0 10px 40px rgba(255, 51, 0, 0.4);
  transform: translateX(10px) scale(1.02);
  border-left-color: var(--primary-gold);
}

.mirror-icon {
  font-size: 1.5rem;
  color: var(--primary-coral);
  filter: drop-shadow(var(--glow-coral));
}

.mirror-url {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  word-break: break-all;
  font-weight: 500;
  flex: 1;
}

.mirror-status {
  margin-left: auto;
  color: var(--primary-coral);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: var(--glow-coral);
  padding: 0.4rem 1rem;
  background: rgba(255, 51, 0, 0.15);
  border-radius: 25px;
  border: 2px solid var(--primary-coral);
}

.mirrors-warning {
  margin-top: 2.5rem;
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 43, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 43, 0, 0.15), rgba(242, 210, 109, 0.08));
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--accent-orange);
  line-height: 1.8;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.about-section,
.registration-section,
.faq-section {
  padding: var(--section-padding);
}

.content-block {
  margin-bottom: 4rem;
}

.content-block h3 {
  margin-bottom: 1.5rem;
}

.content-block p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.content-block strong {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.08), rgba(255, 51, 0, 0.05));
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  opacity: 0;
  transition: opacity 0.5s;
}

.feature:hover::before {
  opacity: 0.08;
}

.feature:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 60px var(--shadow-gold);
  border-color: var(--primary-gold);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  filter: drop-shadow(var(--glow-gold));
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-gold);
}

.feature p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   REGISTRATION STEPS
   ============================================ */

.registration-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(255, 51, 0, 0.08), rgba(242, 210, 109, 0.05));
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(242, 210, 109, 0.1), transparent);
  transition: left 0.8s;
}

.step:hover::before {
  left: 100%;
}

.step:hover {
  transform: translateX(18px) scale(1.02);
  box-shadow: 0 25px 60px var(--shadow-coral);
  border-color: var(--primary-coral);
}

.step-number {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-orange), var(--primary-coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: white;
  box-shadow:
    0 15px 40px rgba(255, 51, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.step-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-orange);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.1rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.06), rgba(255, 51, 0, 0.04));
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}

.faq-item:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 12px 35px var(--shadow-gold);
}

.faq-question {
  padding: 2rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.05), transparent);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
  color: var(--primary-gold);
  background: linear-gradient(135deg, rgba(242, 210, 109, 0.12), rgba(255, 51, 0, 0.05));
}

.faq-answer {
  padding: 0 2.5rem 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 5rem 0 2.5rem;
  background:
    linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-black) 100%);
  border-top: 2px solid rgba(255, 51, 0, 0.2);
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  text-shadow: var(--glow-gold);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.footer-section li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 51, 0, 0.15);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--primary-gold);
  }
  50% {
    box-shadow: 0 0 50px var(--primary-gold), 0 0 70px var(--primary-coral);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mirrors-frame {
    padding: 2rem 1.5rem;
  }

  .mirror-link {
    padding: 1.5rem 1.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .stat {
    padding: 2rem 1.2rem;
  }

  .step {
    padding: 2rem 1.5rem;
  }

  .feature {
    padding: 2.5rem 1.5rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gradient {
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
}

.glow-effect {
  box-shadow: 0 0 40px var(--primary-gold);
}

/* Focus States */
*:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 3px;
}

/* Selection */
::selection {
  background: var(--primary-gold);
  color: var(--bg-black);
}

::-moz-selection {
  background: var(--primary-gold);
  color: var(--bg-black);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-coral), var(--accent-orange));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--accent-orange), var(--primary-gold));
}
