@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --bg: #09080b;
  --bg-soft: #121016;
  --panel: rgba(20, 16, 24, 0.82);
  --panel-strong: rgba(28, 20, 32, 0.96);

  --wine: #6f1734;
  --wine-bright: #9c2450;
  --rose: #d06a8f;
  --rose-soft: #e8a7bd;

  --gold: #caa86a;
  --gold-light: #ead5a0;

  --text: #f5edf1;
  --text-soft: #cbbdc4;
  --text-muted: #8f8088;

  --border: rgba(202, 168, 106, 0.28);
  --glow: rgba(156, 36, 80, 0.35);
}


/* =========================================
   BASIC RESET
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: 'Playfair Display', serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at top left,
      rgba(111, 23, 52, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at top right,
      rgba(202, 168, 106, 0.08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #08070a 0%,
      #0d0a10 45%,
      #08070a 100%
    );

  overflow-x: hidden;
}


/* =========================================
   BACKGROUND GLOW / PARTICLES
========================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(202,168,106,.16) 1px, transparent 1px),
    radial-gradient(circle, rgba(208,106,143,.12) 1px, transparent 1px);

  background-size:
    90px 90px,
    140px 140px,
    180px 180px;

  background-position:
    0 0,
    35px 40px,
    70px 80px;

  opacity: 0.3;

  z-index: -2;
}

body::after {
  content: "";

  position: fixed;
  width: 420px;
  height: 420px;

  left: 50%;
  top: 18%;

  transform: translateX(-50%);

  background:
    radial-gradient(
      circle,
      rgba(111,23,52,.18),
      transparent 70%
    );

  filter: blur(40px);

  pointer-events: none;

  z-index: -1;
}


/* =========================================
   LINKS
========================================= */

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}


/* =========================================
   HERO
========================================= */

.hero {
  min-height: 92vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  position: relative;

  padding: 80px 20px;

  border-bottom: 1px solid var(--border);

  background:
    linear-gradient(
      180deg,
      rgba(8, 7, 10, 0.25),
      rgba(8, 7, 10, 0.92)
    );
}

.hero::before {
  content: "";

  position: absolute;

  width: 560px;
  height: 560px;

  border: 1px solid rgba(202, 168, 106, 0.12);
  border-radius: 50%;

  box-shadow:
    0 0 80px rgba(111, 23, 52, 0.18),
    inset 0 0 50px rgba(111, 23, 52, 0.08);

  animation: slowPulse 6s ease-in-out infinite;
}

.hero-overlay {
  width: min(900px, 100%);

  position: relative;

  z-index: 2;
}

.eyebrow {
  font-family: 'Cinzel', serif;

  font-size: 0.78rem;
  letter-spacing: 0.35em;

  color: var(--gold);

  margin-bottom: 18px;

  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Cinzel', serif;

  font-size: clamp(3rem, 9vw, 7rem);

  line-height: 0.95;

  letter-spacing: 0.04em;

  color: #fff7fb;

  text-shadow:
    0 0 16px rgba(208, 106, 143, 0.18),
    0 0 40px rgba(111, 23, 52, 0.28);

  margin-bottom: 24px;
}

.tagline {
  font-size: clamp(1rem, 2.3vw, 1.35rem);

  color: var(--text-soft);

  max-width: 680px;

  margin: 0 auto 18px;

  line-height: 1.7;
}

.creator {
  font-family: 'Great Vibes', cursive;

  font-size: clamp(2.6rem, 7vw, 4.6rem);

  color: var(--rose-soft);

  margin: 10px 0 34px;

  text-shadow:
    0 0 18px rgba(208, 106, 143, 0.22);
}


/* =========================================
   BUTTONS
========================================= */

.enter-button,
.story-button,
.social-buttons a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 13px 24px;

  border: 1px solid rgba(202, 168, 106, 0.42);

  background:
    linear-gradient(
      135deg,
      rgba(111,23,52,.8),
      rgba(58,15,34,.92)
    );

  color: #fff7fb;

  font-family: 'Cinzel', serif;

  font-size: 0.78rem;
  letter-spacing: 0.16em;

  text-transform: uppercase;

  border-radius: 999px;

  box-shadow:
    0 0 22px rgba(111,23,52,.25);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.enter-button:hover,
.story-button:hover,
.social-buttons a:hover {
  transform: translateY(-3px);

  border-color: var(--gold-light);

  box-shadow:
    0 0 18px rgba(208,106,143,.32),
    0 8px 28px rgba(0,0,0,.35);

  background:
    linear-gradient(
      135deg,
      rgba(156,36,80,.95),
      rgba(74,20,44,.95)
    );
}


/* =========================================
   MAIN SECTIONS
========================================= */

main {
  width: min(1200px, calc(100% - 32px));

  margin: 0 auto;
}

section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;

  margin-bottom: 42px;
}

.section-heading h2,
.welcome-section h2,
.about-section h2 {
  font-family: 'Cinzel', serif;

  font-size: clamp(2rem, 5vw, 3.4rem);

  color: #fff5f9;

  margin-bottom: 16px;
}


/* =========================================
   WELCOME
========================================= */

.welcome-section {
  max-width: 850px;

  margin: 0 auto;

  text-align: center;
}

.welcome-section p {
  color: var(--text-soft);

  font-size: 1.08rem;

  line-height: 1.9;

  margin: 0 auto 16px;
}


/* =========================================
   FEATURED STORY CARDS
========================================= */

.story-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 28px;
}

.story-card {
  position: relative;

  overflow: hidden;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(27,20,31,.96),
      rgba(14,11,17,.98)
    );

  border: 1px solid var(--border);

  box-shadow:
    0 20px 50px rgba(0,0,0,.28);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.story-card:hover {
  transform:
    translateY(-8px)
    scale(1.01);

  border-color:
    rgba(202,168,106,.55);

  box-shadow:
    0 24px 70px rgba(0,0,0,.4),
    0 0 35px var(--glow);
}

.story-image {
  height: 420px;

  background:
    linear-gradient(
      135deg,
      rgba(111,23,52,.75),
      rgba(21,14,25,.95)
    );

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  overflow: hidden;
}

.story-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(10,8,12,.95) 100%
    );
}

.placeholder span {
  position: relative;

  z-index: 2;

  font-family: 'Cinzel', serif;

  color: rgba(255,255,255,.55);

  letter-spacing: .18em;

  text-transform: uppercase;
}

.story-info {
  padding: 26px;
}

.story-category {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--rose-soft);

  font-family: 'Cinzel', serif;

  font-size: 0.7rem;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.story-info h3 {
  font-family: 'Cinzel', serif;

  font-size: 1.5rem;

  margin-bottom: 13px;

  color: #fff6f9;
}

.story-info p {
  color: var(--text-soft);

  line-height: 1.65;

  margin-bottom: 22px;
}

.story-button {
  min-height: 42px;

  padding: 10px 18px;

  font-size: .68rem;
}


/* =========================================
   CATEGORIES
========================================= */

.category-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.category-card {
  min-height: 170px;

  padding: 28px;

  border-radius: 20px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 10px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(24,18,29,.95),
      rgba(13,10,16,.98)
    );

  border: 1px solid var(--border);

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.category-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(202,168,106,.55);

  box-shadow:
    0 0 28px rgba(111,23,52,.23);
}

.category-card span {
  font-size: 2rem;

  color: var(--rose-soft);
}

.category-card h3 {
  font-family: 'Cinzel', serif;

  font-size: 1.08rem;

  color: #fff5f8;

  letter-spacing: .06em;
}


/* =========================================
   ABOUT
========================================= */

.about-section {
  padding-bottom: 110px;
}

.about-box {
  max-width: 850px;

  margin: 0 auto;

  text-align: center;

  padding: 60px 40px;

  background:
    linear-gradient(
      135deg,
      rgba(27,20,31,.92),
      rgba(15,11,18,.96)
    );

  border: 1px solid var(--border);

  border-radius: 28px;

  box-shadow:
    0 22px 60px rgba(0,0,0,.3);
}

.about-box p:not(.eyebrow) {
  color: var(--text-soft);

  line-height: 1.8;

  max-width: 680px;

  margin:
    0 auto 30px;
}

.social-buttons {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 12px;
}


/* =========================================
   FOOTER
========================================= */

footer {
  text-align: center;

  padding: 50px 20px;

  border-top:
    1px solid var(--border);

  background:
    rgba(7,6,9,.88);

  color: var(--text-muted);
}

footer p {
  margin-bottom: 8px;

  line-height: 1.7;
}

.copyright-note {
  max-width: 680px;

  margin-left: auto;
  margin-right: auto;

  font-size: .9rem;
}

.footer-title {
  margin-top: 22px;

  font-family: 'Cinzel', serif;

  color: var(--gold);

  letter-spacing: .18em;

  font-size: .76rem;

  text-transform: uppercase;
}


/* =========================================
   DECORATIVE DIVIDER
========================================= */

section::after {
  content: "✦  ꨄ  ✦";

  display: block;

  text-align: center;

  color: rgba(202,168,106,.45);

  letter-spacing: .6em;

  margin-top: 80px;

  font-size: .8rem;
}

.about-section::after {
  display: none;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes slowPulse {
  0%,
  100% {
    transform: scale(1);

    opacity: .7;
  }

  50% {
    transform: scale(1.05);

    opacity: 1;
  }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .story-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .story-image {
    height: 380px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 620px) {

  main {
    width:
      min(100% - 22px, 1200px);
  }

  section {
    padding: 65px 0;
  }

  .hero {
    min-height: 86vh;

    padding:
      70px 18px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
  }

  .hero h1 {
    font-size:
      clamp(2.5rem, 15vw, 4rem);
  }

  .tagline {
    font-size: .98rem;
  }

  .creator {
    font-size: 3rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 460px;
  }

  .category-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .category-card {
    min-height: 135px;

    padding: 20px 12px;
  }

  .category-card span {
    font-size: 1.6rem;
  }

  .category-card h3 {
    font-size: .88rem;
  }

  .about-box {
    padding:
      42px 20px;
  }

  .social-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  .social-buttons a {
    width: 100%;
  }

}


/* =========================================
   EXTRA SMALL PHONES
========================================= */

@media (max-width: 380px) {

  .category-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 410px;
  }

}