/*
Theme Name: Auto Battle Buddies
Theme URI: https://casualclam.com
Author: Casual Clam
Author URI: https://casualclam.com
Description: Official website theme for Auto Battle Buddies - a cozy puppet-show auto battler by Casual Clam. Features a colorful, cartoon fantasy aesthetic with character showcases, feature highlights, and Steam wishlist integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auto-battle-buddies
Tags: game, video-game, one-page, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Brand Colors */
  --color-navy: #1a2035;
  --color-navy-dark: #0f1520;
  --color-navy-mid: #232d45;
  --color-blue-accent: #2a5caa;
  --color-blue-bright: #4a90d9;
  --color-gold: #f5c842;
  --color-gold-dark: #d4a820;
  --color-green: #4caf6e;
  --color-green-dark: #2d7a4a;
  --color-purple: #7b52d4;
  --color-purple-light: #a07de8;
  --color-red: #e84545;
  --color-orange: #f08030;
  --color-teal: #2abfbf;
  --color-white: #ffffff;
  --color-off-white: #f8f6f0;
  --color-light-gray: #e8e4d8;
  --color-text-muted: #8a9bb5;

  /* Typography */
  --font-display: 'Fredoka One', 'Nunito', cursive;
  --font-body: 'Nunito', 'Poppins', sans-serif;
  --font-ui: 'Nunito', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 20px;

  /* Effects */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-button: 0 4px 16px rgba(0,0,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-navy);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-gold);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.section-title--white {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--border-radius-xl);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-button), 0 0 24px rgba(245, 200, 66, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-button), 0 0 40px rgba(245, 200, 66, 0.5);
  color: var(--color-navy-dark);
}

.btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn--steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: var(--color-white);
  border: 2px solid #66c0f4;
}

.btn--steam:hover {
  background: linear-gradient(135deg, #2a475e, #1b2838);
  box-shadow: 0 0 20px rgba(102, 192, 244, 0.4);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn--large {
  padding: 18px 48px;
  font-size: 1.3rem;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.stars-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 40% 50%, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 20% 90%, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px, 450px 450px;
  pointer-events: none;
}

.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
}

/* ============================================
   SITE HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 21, 32, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 160px;
}

/* ── Logo: fixed 44px tall, auto width, never overflow ── */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 110px;
  max-width: 320px;
  overflow: hidden;
  line-height: 0;
}

/* WordPress wraps custom logo in <a class="custom-logo-link"> */
.site-logo a,
a.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  height: 110px !important;
  max-width: 320px !important;
  width: auto !important;
  line-height: 0;
  flex-shrink: 0 !important;
  overflow: hidden;
}

.site-logo img,
.site-logo .custom-logo,
a.custom-logo-link img,
img.custom-logo {
  display: block !important;
  height: 110px !important;
  width: auto !important;
  max-width: 320px !important;
  max-height: 110px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 6px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-white);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-dark) !important;
  padding: 20px 64px !important;
  border-radius: 40px;
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 24px rgba(245,200,66,0.3);
  min-width: 200px;
  justify-content: center;
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  color: var(--color-navy-dark) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 36px rgba(245,200,66,0.45);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION — full-bleed banner, video left, text right
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 80px;
}

/* Full-bleed background banner image */
.hero-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* fallback gradient if no image set */
  background-color: var(--color-navy-dark);
}

/* Dark overlay so text stays readable over the banner */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 26, 0.88) 0%,
    rgba(10, 14, 26, 0.72) 50%,
    rgba(10, 14, 26, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 80px;
}

/* Two-column: video | text */
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Video embed (left column) ── */
.hero-video-wrap {
  width: 100%;
}

.hero-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  height: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(0,0,0,0.8), 0 0 0 3px rgba(245,200,66,0.35);
}

.hero-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Text (right column) ── */
.hero-text {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 200, 66, 0.15);
  border: 1px solid rgba(245, 200, 66, 0.4);
  color: var(--color-gold);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--color-gold);
  display: block;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-meta-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: var(--section-padding);
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.features-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 50%, rgba(123, 82, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(76, 175, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(35, 45, 69, 0.8), rgba(26, 32, 53, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.feature-card--gear::before { background: linear-gradient(90deg, var(--color-gold), var(--color-orange)); }
.feature-card--battle::before { background: linear-gradient(90deg, var(--color-red), var(--color-purple)); }
.feature-card--strategy::before { background: linear-gradient(90deg, var(--color-teal), var(--color-blue-bright)); }
.feature-card--classes::before { background: linear-gradient(90deg, var(--color-green), var(--color-teal)); }
.feature-card--pvp::before { background: linear-gradient(90deg, var(--color-purple), var(--color-blue-bright)); }
.feature-card--cozy::before { background: linear-gradient(90deg, var(--color-orange), var(--color-gold)); }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.feature-stat {
  display: inline-block;
  margin-top: 16px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.3);
  color: var(--color-gold);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============================================
   CHARACTERS SECTION
   ============================================ */
.characters-section {
  padding: 100px 0 120px;
  background: linear-gradient(to bottom, var(--color-navy), var(--color-navy-dark));
  position: relative;
  overflow: visible;
}

.characters-intro {
  text-align: center;
  margin-bottom: 72px;
}

.characters-section .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.characters-section .section-subtitle {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: end;
}

.character-card {
  background: linear-gradient(135deg, rgba(35, 45, 69, 0.9), rgba(26, 32, 53, 1));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-lg);
  padding: 36px 16px 28px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.character-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.character-card--knight::after { background: var(--color-purple); }
.character-card--archer::after { background: var(--color-green); }
.character-card--mage::after { background: var(--color-red); }
.character-card--cleric::after { background: var(--color-blue-bright); }
.character-card--squire::after { background: var(--color-orange); }

.character-card:hover {
  transform: translateY(-12px) scale(1.04);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 28px 64px rgba(0,0,0,0.6);
  z-index: 10;
}

.character-image {
  width: 100%;
  max-width: 100%;
  height: 320px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.7));
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.character-card:hover .character-image {
  transform: scale(1.18) translateY(-16px);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.8));
}

.character-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.character-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.character-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--basic { background: rgba(74, 175, 110, 0.2); color: var(--color-green); }
.badge--advanced { background: rgba(74, 144, 217, 0.2); color: var(--color-blue-bright); }
.badge--master { background: rgba(123, 82, 212, 0.2); color: var(--color-purple-light); }

/* ============================================
   GAMEPLAY SECTION
   ============================================ */
.gameplay-section {
  padding: var(--section-padding);
  background: var(--color-navy-mid);
  position: relative;
}

.gameplay-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
  font-weight: 700;
}

.gameplay-content {
  display: none;
}

.gameplay-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gameplay-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.gameplay-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 24px;
}

.gameplay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gameplay-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

.gameplay-list li::before {
  content: '⚔️';
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.gameplay-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.1);
}

.gameplay-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SCREENSHOTS / GALLERY
   ============================================ */
.gallery-section {
  padding: var(--section-padding);
  background: var(--color-navy-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item:first-child {
  grid-column: 1 / 3;
}

.gallery-item:first-child img {
  height: 280px;
}

/* ============================================
   WISHLIST / CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--color-navy-mid), var(--color-navy-dark));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-logo {
  width: 120px;
  margin: 0 auto 32px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-title span {
  color: var(--color-gold);
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.cta-release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: none;
}

/* ============================================
   ABOUT / TEAM SECTION
   ============================================ */
.about-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--color-navy-dark);
}

.about-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy-dark);
  opacity: 0.35;
}

.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,14,26,0.5) 0%,
    rgba(10,14,26,0.85) 40%,
    rgba(10,14,26,0.95) 100%
  );
}

.about-section .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Studio headline box - like megacrit */
.about-headline-wrap {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
  background: rgba(10,14,26,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: 40px 48px;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.about-subheadline {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

/* Team section */
.team-section {
  margin-bottom: 56px;
}

.team-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px 24px;
  justify-items: center;
}

.team-card {
  text-align: center;
  max-width: 180px;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid rgba(245,200,66,0.35);
  transition: var(--transition);
}

.team-avatar:hover {
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar--placeholder {
  background: var(--color-navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-gold);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.team-link {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.team-link:hover {
  color: var(--color-gold);
}

/* Social links row */
.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.about-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-padding);
  background: var(--color-navy-dark);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(245, 200, 66, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(35, 45, 69, 0.6);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(35, 45, 69, 0.9);
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-white);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: rgba(26, 32, 53, 0.8);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand .site-logo {
  height: 100px;
  max-width: 240px;
  margin-bottom: 20px;
  display: block;
}

.footer-brand .site-logo a,
.footer-brand a.custom-logo-link {
  height: 100px !important;
  max-width: 240px !important;
  width: auto !important;
  display: block !important;
}

.footer-brand .custom-logo-link img,
.footer-brand .site-logo img,
.footer-brand img.custom-logo {
  height: 100px !important;
  width: auto !important;
  max-width: 240px !important;
  max-height: 100px !important;
  object-fit: contain !important;
}

.footer-brand p {
  margin-top: 0;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 300px;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img,
.wp-block-cover img {
  max-width: 100%;
}

.alignleft { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.aligncenter { margin: 0 auto 1rem; text-align: center; }
.alignwide { width: 100%; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Character image placeholder when no image set */
.character-image-placeholder {
  width: 100%;
  max-width: 100%;
  height: 320px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--border-radius-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .characters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 21, 32, 0.98);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-video-wrap {
    order: -1;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

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

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-headline-wrap {
    padding: 28px 24px;
  }

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

  .gameplay-content.active {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:first-child {
    grid-column: 1 / 3;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-item:first-child {
    grid-column: 1;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation delays */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
