/* =========================================================
   Shortie Studio — Landing page styles
   Color palette: peach + cream + brown (cute cat theme)
   ========================================================= */

:root {
  --cream: #FFF4E6;
  --cream-soft: #FFEAD2;
  --peach: #FFB088;
  --peach-deep: #FF8866;
  --brown: #5D3A1F;
  --brown-soft: #A87B5B;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(93, 58, 31, 0.08);
  --shadow-md: 0 8px 24px rgba(93, 58, 31, 0.10);
  --shadow-lg: 0 16px 40px rgba(93, 58, 31, 0.12);

  --max-width: 1140px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-heading: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--peach-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--brown); }

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brown);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  position: sticky;
  top: 0;
  background: rgba(255, 244, 230, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand:hover { color: var(--brown); }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
}

.site-nav a {
  color: var(--brown);
  font-weight: 600;
  position: relative;
}
.site-nav a:hover { color: var(--peach-deep); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) var(--gutter);
}

.eyebrow {
  display: inline-block;
  background: var(--cream-soft);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 .accent { color: var(--peach-deep); }

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--brown-soft);
  max-width: 30em;
  margin-bottom: 28px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.badge:hover {
  background: var(--peach-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.badge small {
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.85;
}
.badge strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.hero-art img,
.hero-art-placeholder {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}

.hero-art-placeholder {
  font-size: 220px;
  text-align: center;
  line-height: 1;
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-art  { order: 1; }
  .lede { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .eyebrow { margin-bottom: 12px; }
}

/* =========================================================
   Games
   ========================================================= */

.games {
  background: var(--cream-soft);
  padding: clamp(60px, 9vw, 120px) var(--gutter);
}

.section-head {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p {
  color: var(--brown-soft);
  font-size: 1.1rem;
}

.games-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.game-card .game-icon {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  background: var(--cream-soft);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.game-card .game-icon-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  background: linear-gradient(135deg, var(--peach), var(--peach-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
}

.game-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.game-card .tagline {
  color: var(--brown-soft);
  margin: 0;
  font-size: 0.98rem;
  flex: 1;
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--peach);
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-stores a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brown);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.15s ease;
}
.card-stores a:hover { background: var(--peach-deep); color: var(--white); }
.card-stores a[aria-disabled="true"] {
  background: var(--cream-soft);
  color: var(--brown-soft);
  cursor: not-allowed;
}
.card-stores a[aria-disabled="true"]:hover { background: var(--cream-soft); color: var(--brown-soft); }

/* =========================================================
   About
   ========================================================= */

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--gutter);
}

.about-art img,
.about-art-placeholder {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.about-art-placeholder {
  font-size: 140px;
  text-align: center;
  line-height: 1;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--brown);
}

@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; text-align: center; }
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background: var(--cream-soft);
  padding: clamp(60px, 9vw, 100px) var(--gutter);
  text-align: center;
}

.contact h2 { margin-bottom: 12px; }
.contact p { color: var(--brown-soft); }

.contact-email {
  margin-top: 18px !important;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.contact-email a { color: var(--peach-deep); }
.contact-email a:hover { color: var(--brown); }

.socials {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--brown);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.socials a:hover {
  background: var(--peach-deep);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  text-align: center;
  padding: 32px var(--gutter);
  color: var(--brown-soft);
  font-size: 0.92rem;
}
.footer-cat {
  margin: 0 auto 8px;
  width: 48px;
  height: 48px;
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
