/* ================================================
🔥 THE DEVIL’S DIALECT — CORE STYLESHEET
Version: v1.1 — “Medium Infernal”
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=IM+Fell+English:ital@0;1&display=swap');

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

/* 🌑 Global Layout */
body {
  background: #000;
  color: #d4c5a9;
  font-family: 'IM Fell English', serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.8;
  position: relative;
  scroll-behavior: smooth;
}

/* 🔥 Ambient Glow — Intensified */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(255, 30, 0, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 70%, rgba(139, 0, 0, 0.25) 0%, transparent 70%);
  animation: pulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: brightness(1.3);
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; filter: brightness(1.1); }
  50% { opacity: 0.7; filter: brightness(1.4); }
}

/* ✨ Floating Embers — Brighter, Warmer */
.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: rgba(255, 60, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 15px rgba(255, 50, 10, 0.9);
  animation: float 18s infinite ease-in-out;
  z-index: 1;
}

@keyframes float {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateY(40vh) translateX(20px); }
  90%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(80px); opacity: 0; }
}

/* 🔖 Section Containers */
section {
  position: relative;
  z-index: 2;
  padding: 90px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* 🜂 Headers — Stronger Glow + Flicker */
h1, h2, h3 {
  font-family: 'Cinzel', serif;
  color: #ff3333;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 15px crimson, 0 0 25px #700000, 0 0 40px #300000;
  margin-bottom: 25px;
}

h1 {
  font-size: 3.4em;
  animation: flicker 3s ease-in-out infinite alternate;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.3; }
}

.subtitle {
  font-style: italic;
  color: #b66;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* 💀 Buttons — Richer Flame Gradient */
button, .btn {
  background: linear-gradient(135deg, #300000 0%, #100000 100%);
  color: white;
  border: 2px solid #550000;
  padding: 15px 26px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(120, 0, 0, 0.5);
}

button:hover, .btn:hover {
  border-color: #ff3333;
  color: #ff4444;
  box-shadow: 0 0 25px rgba(255, 60, 0, 0.8);
}

button::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 50, 0, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: 0;
}

button:hover::before, .btn:hover::before {
  width: 420px;
  height: 420px;
}

button span, .btn span {
  position: relative;
  z-index: 1;
}

/* 🔁 Section Navigation */
.center-nav {
  text-align: center;
  margin-top: 60px;
}

.center-nav a {
  text-decoration: none;
}

/* 🕯️ Footer */
footer {
  margin-top: 100px;
  color: #777;
  font-size: 0.95em;
  text-align: center;
  z-index: 10;
  position: relative;
}

footer a {
  color: #ff3333;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  text-shadow: 0 0 15px #ff3333;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  h1 { font-size: 2.4em; letter-spacing: 3px; }
  section { padding: 60px 15px; }
  button, .btn { font-size: 13px; padding: 12px; }
}