/*
Theme Name: Veslorn Chronicles
Theme URI: https://www.amazon.com/dp/A33POK20LE47LJ
Author: Morgan Winfield
Author URI: https://www.tiktok.com/@veslorn
Description: Official dark fantasy landing page theme for Veslorn Chronicles, Book I: The Death of Ember Garrow.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veslorn-chronicles
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-obsidian: #0f0f12;
  --bg-panel: #16161b;
  --ember-primary: #e65100;
  --ember-glow: #ff6d00;
  --gold-accent: #d4af37;
  --text-main: #e6e4e0;
  --text-muted: #9a968e;
  --border-subtle: rgba(212, 175, 55, 0.22);
}

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

html, body {
  min-height: 100%;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: 'Crimson Pro', Georgia, serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.vc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 5% 2rem;
  background:
    radial-gradient(circle at 30% 42%, rgba(230, 81, 0, 0.14), transparent 48%),
    radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.08), transparent 45%),
    linear-gradient(180deg, #0b0b0e 0%, #0f0f12 100%);
}

.vc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.vc-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ember-glow);
  margin-bottom: 0.45rem;
}

.vc-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4f1ea;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.vc-author {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.vc-card {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(230, 81, 0, 0.12);
}

.vc-cover-wrap {
  position: relative;
  max-width: 310px;
  margin: 0 auto;
  padding: 8px;
  background: #101014;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.vc-cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.vc-genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.vc-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  background: rgba(230, 81, 0, 0.12);
  border: 1px solid rgba(230, 81, 0, 0.38);
  color: #ff8a50;
  border-radius: 2px;
}

.vc-hook {
  font-size: 1.24rem;
  color: var(--text-main);
  margin-bottom: 1.65rem;
}

.vc-hook strong {
  color: #ffffff;
}

.vc-countdown {
  background: #101014;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--ember-primary);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.vc-cd-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.vc-cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  text-align: center;
}

.vc-cd-unit span {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1.1;
}

.vc-cd-unit small {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.vc-btn-preorder {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--ember-primary), #b83b00);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--ember-glow);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(230, 81, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-btn-preorder:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 109, 0, 0.65);
}

.vc-signup-bar {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.vc-signup-text {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.vc-signup-form {
  display: flex;
  gap: 0.65rem;
  flex: 1 1 340px;
  max-width: 480px;
}

.vc-signup-form input[type="email"] {
  flex: 1;
  padding: 0.72rem 1rem;
  background: #0f0f12;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 3px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.vc-signup-form button {
  padding: 0.72rem 1.35rem;
  background: transparent;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vc-signup-form button:hover {
  background: rgba(212, 175, 55, 0.14);
}

.vc-signup-msg {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: #ff8a50;
  margin-top: 0.35rem;
}

.vc-footer {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vc-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.65rem;
}

.vc-socials a {
  color: var(--gold-accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vc-socials a:hover {
  color: var(--ember-glow);
}

@media (max-width: 820px) {
  .vc-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 2rem;
  }

  .vc-cover-wrap {
    max-width: 260px;
  }
}
