/* 
  Brand: playdashlan
  Domain: playdashlan.guru
  Theme: Dragon Egg Slot (Mystical Vault)
*/

:root {
  /* Colors */
  --bg-black: #0b0b12;
  --bg-stone: #14141c;
  --egg-surface: rgba(255, 255, 255, 0.04);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  
  /* Egg Magic Accents */
  --egg-orange: #fb923c;
  --egg-red: #ef4444;
  --egg-purple: #a78bfa;
  --egg-blue: #60a5fa;
  --egg-green: #4ade80;
  --egg-gold: #facc15;

  /* Layout */
  --max-width: 1200px;
  --spacing-desktop: 90px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  
  /* UI Elements */
  --border-radius: 18px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cinzel', 'Playfair Display', serif;
}

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

body {
  background-color: var(--bg-black);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--spacing-desktop) 0;
}

.text-center {
  text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; color: var(--egg-gold); }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--egg-surface);
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--egg-orange);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--egg-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--egg-orange), var(--egg-red));
  color: #fff;
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(251, 146, 60, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--egg-surface);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--egg-purple);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(20,10,10,0.9)), url('images/mystical-dragon-egg-vault-bg.jpg') center/cover no-repeat;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero p.subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-disclaimer {
  background: var(--bg-stone);
  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid var(--egg-surface);
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features / Vault Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--bg-stone);
  border: 1px solid var(--egg-surface);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card.rarity:hover::before { background: var(--egg-blue); }
.feature-card.elemental:hover::before { background: var(--egg-red); }
.feature-card.rewards:hover::before { background: var(--egg-green); }
.feature-card.legendary:hover::before { background: var(--egg-gold); }

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--egg-surface);
}

/* Game Section */
.game-section {
  background: var(--bg-stone);
  border-top: 1px solid var(--egg-surface);
  border-bottom: 1px solid var(--egg-surface);
}

.game-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: var(--bg-black);
  border-radius: 22px;
  border: 1px solid rgba(251, 146, 60, 0.3);
  box-shadow: 0 0 50px rgba(251, 146, 60, 0.1), inset 0 0 20px rgba(0,0,0,0.8);
  overflow: hidden;
  position: relative;
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Vault Gallery */
.egg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.egg-item {
  background: linear-gradient(to bottom, var(--bg-stone), var(--bg-black));
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid var(--egg-surface);
  text-align: center;
}

.egg-item img {
  width: 180px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.egg-fire img { filter: drop-shadow(0 0 25px rgba(239, 68, 68, 0.4)); }
.egg-mystic img { filter: drop-shadow(0 0 25px rgba(167, 139, 250, 0.4)); }
.egg-nature img { filter: drop-shadow(0 0 25px rgba(74, 222, 128, 0.4)); }

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-stone);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--egg-surface);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--bg-black);
  border: 1px solid var(--egg-surface);
  border-radius: 12px;
  color: var(--text-light);
  font-family: var(--font-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--egg-gold);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.1);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-stone);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid var(--egg-surface);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  color: var(--egg-purple);
}

.legal-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-black);
  border-top: 1px solid var(--egg-surface);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--egg-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--egg-surface);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin-top: 15px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .section { padding: var(--spacing-tablet) 0; }
  h1 { font-size: 2.8rem; }
  .game-container { width: 95%; border-radius: 18px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-btns { flex-direction: column; }
  .hero { padding-top: 100px; }
  .section { padding: var(--spacing-mobile) 0; }
  h1 { font-size: 2.2rem; }
  .game-container { width: 100%; border-radius: 12px; }
  .legal-content { padding: 30px 20px; }
}