/*
Theme Name: Deck14 Studios
Theme URI: https://deck14studios.com
Author: Deck14 Studios
Description: Official theme for Deck14 Studios — clean, minimal game studio site.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: deck14
*/

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

:root {
  --navy: #0f2167;
  --navy-dark: #091544;
  --navy-light: #1a3299;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --text: #1a1a2e;
  --muted: #5a6a9a;
  --gold: #f5c842;
  --radius: 12px;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  position: relative;
}

.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#site-nav {
  margin-left: auto;
}

.site-logo img,
.site-logo a img,
.custom-logo-link img,
.custom-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 320px !important;
  display: block !important;
}

.site-logo-text {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

#site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#site-nav a:hover { color: var(--gold); text-decoration: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); text-decoration: none; }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  margin-left: 12px;
}

/* ── Featured Game ── */
.featured-game {
  padding: 80px 0;
  background: var(--off-white);
}

.featured-game .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.featured-game h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.featured-game p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

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

.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
}

.store-badge:hover { background: var(--navy-light); text-decoration: none; }
.store-badge .badge-icon { font-size: 1.3rem; }

.game-mockup {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 24px;
  aspect-ratio: 9/16;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,33,103,0.25);
}

.game-mockup img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

.game-mockup-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.game-mockup-placeholder .mockup-icon { font-size: 4rem; margin-bottom: 12px; }
.game-mockup-placeholder p { font-size: 0.9rem; }

/* ── More Games ── */
.more-games {
  padding: 80px 0;
  text-align: center;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.more-games h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.more-games > .container > p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 48px;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coming-soon-card {
  background: var(--off-white);
  border: 2px dashed #c8d0e8;
  border-radius: var(--radius);
  padding: 40px 24px;
  color: var(--muted);
}

.coming-soon-card .card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.coming-soon-card p { font-size: 0.9rem; font-weight: 500; }

/* ── About Strip ── */
.about-strip {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.about-strip h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.about-strip p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Footer ── */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 36px 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner a { color: rgba(255,255,255,0.6); }
.footer-inner a:hover { color: var(--gold); text-decoration: none; }

/* ── Generic page ── */
.page-content {
  max-width: 780px;
  margin: 64px auto;
  padding: 0 24px;
}

.page-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 28px;
}

.page-content h2 { font-size: 1.4rem; color: var(--navy); margin: 32px 0 12px; font-weight: 700; }
.page-content p { margin-bottom: 16px; color: var(--text); }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content li { margin-bottom: 6px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .featured-game .container { grid-template-columns: 1fr; }
  .game-mockup { max-height: 280px; aspect-ratio: 16/9; }
  .coming-soon-grid { grid-template-columns: 1fr; }
  #site-nav ul { gap: 18px; }
  .btn-outline { margin-left: 0; margin-top: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  #site-nav ul { display: none; }
}
.carousel {
    position: relative;
    width: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.carousel-slide.active {
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ffffff;
}