/* FiestaVN landing page — dark theme, mobile-first, no JS */

:root {
  --bg: #121212;
  --surface: #1d1d1d;
  --border: #2c2c2c;
  --text: #e0e0e0;
  --text-muted: #8a8a8a;
  /* palette — mirrors the logo top to bottom: teal band, gold brim, strawberry */
  --accent:         #3ec0bc;  /* teal-green band — primary links and hero CTAs */
  --accent-hover:   #65ceca;
  --accent-ink:     #0d2221;  /* dark text on teal fills */
  --accent-2:       #f0c060;  /* straw-hat gold */
  --accent-2-hover: #f6d189;
  --accent-2-ink:   #221608;  /* dark text on gold fills */
  --accent-3:       #ff5a6e;  /* strawberry coral — app cards and tertiary CTAs */
  --accent-3-hover: #ff7585;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  display: block;
  width: 36px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

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

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

/* Hero */

.hero {
  text-align: center;
  padding: 4rem 1.25rem;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.subtitle {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* Twin CTAs — Play (renfly.org) and Edit (/edit/) */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.play-button,
.edit-button {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.play-button {
  color: var(--accent-ink);
  background: var(--accent);
}

.play-button:hover {
  color: var(--accent-ink);
  background: var(--accent-hover);
}

.edit-button {
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  padding: calc(1rem - 2px) calc(3rem - 2px);
}

.edit-button:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* App cards */

.apps {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
}

.apps h2,
.about h2 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.card {
  flex: 1 1 18rem;
  max-width: 26rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--text-muted);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.card-cta {
  font-weight: 600;
  font-size: 0.95rem;
}

/* App cards sit below the RenSpine section — coral for the bottom tier */
.apps .card-cta {
  color: var(--accent-3);
}

.apps .card-cta:hover {
  color: var(--accent-3-hover);
}

.card-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.card-soon h3,
.card-soon p {
  opacity: 0.7;
}

.card-cta-soon {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* About */

.about {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.about p {
  color: var(--text-muted);
  margin: 0;
}

/* RenSpine: a gold sub-hero so the second product reads as its own thing
   instead of repeating the coral RenFly CTAs. Gold comes from the straw hat
   in the Fiesta Berry mark. */

.renspine {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  text-align: center;
}

.renspine h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.renspine p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.renspine a {
  color: var(--accent-2);
}

.renspine a:hover {
  color: var(--accent-2-hover);
}

.renspine .play-button {
  color: var(--accent-2-ink);
  background: var(--accent-2);
}

.renspine .play-button:hover {
  color: var(--accent-2-ink);
  background: var(--accent-2-hover);
}

.renspine .edit-button {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.renspine .edit-button:hover {
  color: var(--accent-2-hover);
  border-color: var(--accent-2-hover);
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* Desktop */

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}
