/* ============================================
   SOULWYN - Landing Page Styles
   ============================================ */

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.12) 0%, var(--void) 70%);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(124,58,237,0.04) 59px, rgba(124,58,237,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(124,58,237,0.04) 59px, rgba(124,58,237,0.04) 60px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  font-family: 'Silkscreen', cursive;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ender-light);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  margin-bottom: 24px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--txt), var(--ender-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Silkscreen', cursive;
  font-size: 1rem;
  color: var(--blood-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--txt2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--obsidian);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 32px 0;
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -50%;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--ender-glow), transparent);
}

.stat-value {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ender-light);
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--obsidian);
  border: 1px solid var(--bdr);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ender);
  transition: background 0.3s;
}

.feature-card.red::before { background: var(--blood); }
.feature-card.gold::before { background: var(--gold); }
.feature-card.soul::before { background: var(--soul); }
.feature-card.blaze::before { background: var(--blaze); }
.feature-card.green::before { background: var(--green); }

.feature-card:hover {
  border-color: var(--ender);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(124,58,237,0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--txt);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Loot Cards --- */
.loot-card {
  background: var(--obsidian);
  border: 1px solid var(--bdr);
  padding: 28px;
  transition: all 0.3s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.loot-card.rarity-epic {
  border-color: rgba(124,58,237,0.3);
}

.loot-card.rarity-epic:hover {
  box-shadow: 0 0 40px rgba(124,58,237,0.2);
  border-color: var(--ender);
}

.loot-card.rarity-legendary {
  border-color: rgba(251,191,36,0.3);
}

.loot-card.rarity-legendary:hover {
  box-shadow: 0 0 40px rgba(251,191,36,0.2);
  border-color: var(--gold);
}

.loot-card.rarity-mythic {
  border-color: rgba(220,38,38,0.3);
}

.loot-card.rarity-mythic:hover {
  box-shadow: 0 0 40px rgba(220,38,38,0.2);
  border-color: var(--blood);
}

.loot-card:hover {
  transform: translateY(-4px);
}

.loot-rarity {
  font-family: 'Silkscreen', cursive;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* --- Event Cards --- */
.event-card {
  background: var(--obsidian);
  border: 1px solid var(--bdr);
  padding: 24px;
  transition: all 0.3s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.event-card:hover {
  border-color: var(--ender);
  transform: translateY(-2px);
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Silkscreen', cursive;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.event-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
}

.event-dot.live {
  background: var(--green);
  box-shadow: 0 0 10px rgba(34,197,94,0.6);
  animation: pulse-dot 2s infinite;
}

.event-dot.upcoming { background: var(--gold); }
.event-dot.ended { background: var(--txt3); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Dragon Section (Split Layout) --- */
.dragon-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dragon-text h2 {
  margin-bottom: 20px;
}

.dragon-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.dragon-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Reputation Tiers --- */
.rep-tiers {
  display: flex;
  gap: 4px;
  margin: 24px 0;
}

.rep-tier {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-family: 'Silkscreen', cursive;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.rep-tier.t1 { background: rgba(74,74,96,0.4); color: var(--txt3); }
.rep-tier.t2 { background: rgba(6,182,212,0.15); color: var(--soul-light); }
.rep-tier.t3 { background: rgba(34,197,94,0.15); color: var(--green); }
.rep-tier.t4 { background: rgba(251,191,36,0.15); color: var(--gold); }
.rep-tier.t5 { background: rgba(124,58,237,0.2); color: var(--ender-light); }

/* --- Tagline Section --- */
.tagline {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--txt);
}

.tagline .purple { color: var(--ender-light); }
.tagline .red { color: var(--blood-light); }
.tagline .gold { color: var(--gold); }
.tagline .soul { color: var(--soul-light); }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 120px 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 70%);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* --- Newsletter Form --- */
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form .input {
  flex: 1;
  clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}

.newsletter-form .btn {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  white-space: nowrap;
}

.newsletter-msg {
  margin-top: 12px;
  font-size: 0.9rem;
}

.newsletter-msg.success { color: var(--green); }
.newsletter-msg.error { color: var(--blood-light); }

/* --- IP Box --- */
.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--deep);
  border: 1px solid var(--bdr);
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.ip-box:hover {
  border-color: var(--ender);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}

.ip-copy {
  font-family: 'Silkscreen', cursive;
  font-size: 1rem;
  color: var(--ender-light);
  letter-spacing: 1px;
}

.ip-label {
  font-size: 0.8rem;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Steps --- */
.steps {
  display: flex;
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--ender), var(--blood), var(--gold));
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--deep);
  border: 2px solid var(--ender);
  font-family: 'Silkscreen', cursive;
  font-size: 1rem;
  color: var(--ender-light);
  margin-bottom: 16px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.step h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 0.8rem; letter-spacing: 2px; }

  .feature-grid { grid-template-columns: 1fr; }
  .dragon-section { grid-template-columns: 1fr; gap: 40px; }

  .stats-bar-inner { flex-wrap: wrap; gap: 24px; }
  .stat-item:not(:last-child)::after { display: none; }

  .steps { flex-direction: column; gap: 24px; }
  .steps::before { display: none; }

  .tagline { font-size: 1.6rem; }

  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-form .input,
  .newsletter-form .btn {
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .cta-section { padding: 80px 0; }
}
