:root {
  --bg-dark: #070707;
  --text-primary: #ede9e1;
  --text-secondary: rgba(255,255,255,0.5);
  --accent: #b8001a;
  --accent-hover: #d4001f;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255,255,255,0.025) 0%, transparent 70%);
  animation: meshMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.06) rotate(2deg); }
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  opacity: 0;
  animation: particleFade var(--dur) var(--delay) ease-in-out infinite;
}

@keyframes particleFade {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: var(--op); }
  70%  { opacity: var(--op); }
  100% { opacity: 0; transform: translateY(-70px); }
}

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  z-index: 100;
}

.header-content {
  background: rgba(12,12,12,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-main {
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tld {
  color: #b8001a;
}

.header-btn {
  background: #b8001a;
  border: none;
  border-radius: 30px;
  padding: 10px 28px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.header-btn:hover {
  background: #d4001f;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(184,0,26,0.4);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,0,26,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.title-main {
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-tld {
  color: #b8001a;
  text-shadow: 0 0 30px rgba(184,0,26,0.5);
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  max-width: 600px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.hero-btn {
  background: #b8001a;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(184,0,26,0.3);
}

.hero-btn:hover {
  background: #d4001f;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(184,0,26,0.5);
}

@media (max-width: 768px) {
  .header {
    width: calc(100% - 40px);
    top: 16px;
  }
  
  .header-content {
    padding: 10px 20px;
  }
  
  .logo {
    font-size: 16px;
  }
  
  .header-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header {
    width: calc(100% - 24px);
    top: 12px;
  }
  
  .header-content {
    padding: 8px 16px;
  }
  
  .logo {
    font-size: 14px;
  }
  
  .header-btn {
    padding: 7px 16px;
    font-size: 11px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    max-width: 90%;
  }
  
  .hero-btn {
    padding: 12px 32px;
    font-size: 12px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-link:hover {
  color: #fff;
}

.header-divider {
  color: rgba(255,255,255,0.2);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  background: rgba(12,12,12,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 8px;
}

.hero-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}

.hero-btn.secondary {
  background: transparent;
  color: rgba(255,255,255,0.8);
  box-shadow: none;
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}
