/* ==============================
   RESET & ROOT
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #121212;
  --panel: #1b1b1b;
  --panel-light: #222;
  --accent: #4c1dff;
  --accent-soft: rgba(76, 29, 255, 0.15);
  --text: #f0f0f0;
  --muted: #b0b0b0;
}

/* ==============================
   BASE
============================== */
body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
  color: var(--text);
  line-height: 1.7;
}

body.extra-dark {
  background: #000;
}

p {
  color: var(--muted);
  font-size: 15px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==============================
   HEADER & NAV
============================== */
header {
  background: linear-gradient(180deg, #1f1f1f, #141414);
  padding: 28px 20px;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

header h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

nav {
  margin-top: 12px;
}

nav a {
  margin: 0 14px;
  font-weight: bold;
  font-size: 14px;
}

/* ==============================
   LAYOUT
============================== */
.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.section {
  margin-bottom: 60px;
}

.section h2 {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 12px;
}

/* ==============================
   CARDS (COMICS / CHARACTERS)
============================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, var(--panel-light), var(--panel));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #2a2a2a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  color: var(--accent);
  margin-bottom: 6px;
}

/* ==============================
   LISTS (READING ORDER)
============================== */
ol, ul {
  margin-left: 20px;
  margin-top: 10px;
}

li {
  margin-bottom: 10px;
  color: var(--text);
}

ol li::marker {
  color: var(--accent);
  font-weight: bold;
}

/* ==============================
   FORMS (BONUS / NEWSLETTER)
============================== */
form {
  margin-top: 14px;
}

input[type="email"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #000;
  color: var(--text);
  margin-right: 6px;
  width: 220px;
}

button {
  background: linear-gradient(135deg, var(--accent), #6d4aff);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  opacity: 0.9;
}

/* ==============================
   HIGHLIGHT BOX
============================== */
.highlight-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 18px;
  border-radius: 8px;
  margin-top: 20px;
}

/* ==============================
   FOOTER
============================== */
footer {
  margin-top: 80px;
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid #2a2a2a;
}

footer a {
  margin: 0 6px;
}

/* ==============================
   MOBILE
============================== */
@media (max-width: 768px) {
  header h1 {
    font-size: 22px;
  }

  nav a {
    display: inline-block;
    margin: 6px;
  }
}

.timeline {
  position: relative;
  margin: 50px 0;
  padding-left: 30px;
  border-left: 3px solid rgba(124,77,255,0.4);
}

.timeline::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    #7c4dff,
    transparent
  );
  box-shadow: 0 0 20px #7c4dff;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 30px;
}

.timeline-item .dot {
  position: absolute;
  left: -42px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #7c4dff;
  border-radius: 50%;
  box-shadow: 0 0 15px #7c4dff;
}

.timeline-item .content {
  background: #000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(124,77,255,0.15);
}

.timeline-item h3 {
  margin: 0 0 8px;
  color: #7c4dff;
}

.bonus-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.bonus-form input {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: none;
}

.bonus-form button {
  background: #7c4dff;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.bonus-form button:hover {
  box-shadow: 0 0 15px #7c4dff;
}
