/* ========================================
   RESET & BASE STYLES
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #d4af37;
  --secondary-color: #8b7355;
  --dark-bg: #0a0a0a;
  --dark-bg-alt: #1a1a1a;
  --dark-bg-card: #0f0f0f;
  --text-primary: #e8e8e8;
  --text-secondary: #a8a8a8;
  --accent-red: #8b2e2e;

  /* Typography */
  --font-heading: "Cinzel", serif;
  --font-body: "Lato", sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   NAVIGATION
======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo,
.nav-logo-footer,
.nav-home-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.nav-logo .logo-img {
  height: 50px;
  width: auto;
}

.nav-logo-footer .logo-img {
  margin: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title,
.studio-brand-title,
.brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-color);
  line-height: 1;
  text-transform: uppercase;
}

.brand-text,
.brand-subtext {
  font-size: inherit;
  letter-spacing: 1px;
  display: inline-block;
}

.logo-subtitle,
.studio-brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  line-height: 1;
}

.studio-brand-subtitle {
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("assets/wp_convoy_promo.webp") center/cover no-repeat;
  animation: slowZoom 30s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6),
    rgba(10, 10, 10, 0.8)
  );
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 15px;
  margin-bottom: 0px;
  color: var(--primary-color);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-title-subline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 5rem);
  letter-spacing: 5px;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 5px;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-description {
  /* Brand mark for Slomotion Games */
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
  }
  .brand .brand-mark {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.25));
  }
  .brand .brand-word {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  .brand.mini .brand-word {
    opacity: 0.8;
    font-weight: 600;
  }
  .stop-primary {
    stop-color: var(--primary-color);
  }
  .stop-accent {
    stop-color: var(--secondary-color);
  }
  .stroke-secondary {
    stroke: var(--secondary-color);
  }

  /* Studio image grid used in devlog pages */
  .studio-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }
  .studio-image-grid .studio-brand {
    padding: 12px;
  }
  .studio-image-grid .studio-images {
    display: grid;
    gap: 12px;
  }
  .studio-image-grid img {
    border-radius: 4px;
  }

  @media (max-width: 800px) {
    .studio-image-grid {
      grid-template-columns: 1fr;
    }
    .studio-image-grid .studio-brand {
      order: -1;
    }
  }
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Non-interactive 'soon' links */
.soon-disabled {
  opacity: 0.65;
  pointer-events: none;
  cursor: default;
  color: var(--text-secondary);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  background: transparent;
  border-color: var(--text-primary);
  color: var(--text-primary);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--dark-bg);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 10;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-indicator p {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ========================================
   ANIMATIONS
======================================== */

.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
  animation: fadeIn 1s ease-out 0.9s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SECTION HEADERS
======================================== */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  display: block;
  color: var(--primary-color);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about {
  padding: var(--section-padding);
  background: var(--dark-bg-alt);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.about-text strong {
  color: var(--primary-color);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  text-align: center;
  padding: 20px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border: 3px solid var(--primary-color);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* ========================================
   GAMEPLAY SECTION
======================================== */

.gameplay {
  padding: var(--section-padding);
  background: var(--dark-bg);
  position: relative;
}

.gameplay-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("assets/wp_camp_promo.webp") center/cover no-repeat fixed;
  opacity: 0.05;
}

.gameplay-grid {
  display: grid;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.gameplay-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.gameplay-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

.gameplay-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.gameplay-card:nth-child(even) .card-image {
  order: 2;
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gameplay-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.card-number {
  display: block;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--dark-bg);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card-content {
  padding: 40px;
}

.card-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.card-content > p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.card-features {
  list-style: none;
  padding-left: 0;
}

.card-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ========================================
   FEATURES SECTION
======================================== */

.features {
  padding: var(--section-padding);
  background: var(--dark-bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  padding: 40px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
  text-align: center;
}

.feature-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.feature-item strong {
  color: var(--primary-color);
}

/* ========================================
   SYSTEMS SECTION
======================================== */

.systems {
  padding: var(--section-padding);
  background: var(--dark-bg);
}

.systems-container {
  display: grid;
  gap: 30px;
}

.system-item {
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-left: 4px solid var(--primary-color);
  padding: 40px;
  transition: var(--transition-smooth);
}

.system-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
  transform: translateX(10px);
}

.system-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.system-icon {
  font-size: 3rem;
}

.system-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
}

.system-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.system-content strong {
  color: var(--primary-color);
}

/* ========================================
   TECHNOLOGY SECTION
======================================== */

.technology {
  padding: var(--section-padding);
  background: var(--dark-bg-alt);
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tech-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tech-logo {
  width: 250px;
  height: auto;
  align-self: center;
  justify-self: end;
  margin-right: 40px;
}

/* ========================================
   LEGAL / IMPRINT / POLICY PAGE
======================================== */
.legal {
  padding: 80px 0; /* similar spacing to other sections */
  background: var(--dark-bg);
}
.legal h1 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.legal p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.legal h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 10px;
  text-transform: none; /* keep normal capitalization */
}
.legal a {
  color: var(--primary-color);
  text-decoration: underline;
}
.legal .container {
  max-width: 900px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Add small adjustment so content isn't hidden behind fixed navbar */
main.page-content {
  padding-top: 120px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.legal li {
  margin-bottom: 8px;
}

.tech-text strong {
  color: var(--primary-color);
}

.tech-features {
  display: grid;
  gap: 25px;
}

.tech-feature {
  padding: 30px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.tech-feature:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.tech-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.tech-feature p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   STUDIO SECTION
======================================== */

.studio {
  padding: var(--section-padding);
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.studio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(212, 175, 55, 0.03),
    transparent 50%
  );
  pointer-events: none;
}

.studio-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.studio-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.studio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.studio-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.studio-philosophy {
  margin-top: 40px;
  padding: 30px;
  background: var(--dark-bg-card);
  border-left: 4px solid var(--primary-color);
}

.studio-philosophy h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.studio-philosophy ul {
  list-style: none;
  padding: 0;
}

.studio-philosophy li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.studio-philosophy li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.studio-details {
  display: grid;
  gap: 20px;
}

.studio-card {
  padding: 25px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.studio-card:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.studio-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.studio-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.studio-tools {
  padding: 25px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.studio-tools h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-badges span {
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.tool-badges span:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--primary-color);
}

.studio-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
  background: var(--dark-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 1;
}

.studio-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.studio-cta .btn {
  margin-top: 10px;
}

/* ========================================
   CTA SECTION
======================================== */

.cta {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("assets/wp_office_promo.webp") center/cover no-repeat;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.9),
    rgba(139, 46, 46, 0.7)
  );
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: var(--dark-bg-card);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
  .about-content,
  .tech-content,
  .studio-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-logo {
    display: none;
  }

  .gameplay-card,
  .gameplay-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .gameplay-card:nth-child(even) .card-image {
    order: 1;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    padding: 40px;
    gap: 20px;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-title,
  .hero-title-subline {
    letter-spacing: 5px;
    line-height: 1.2;
    font-size: 2.5rem;
  }

  .hero-title-subline {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    grid-row: 1;
  }

  .cta {
    padding: 50px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    grid-row: 2;
    margin: auto;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px 30px;
    align-items: start;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* --- Fog unveil for the logo inside the devlog card --- */
/* the actual logo content */
.card-image .nav-logo {
  position: relative;
  z-index: 2;

  /* start hidden; unwrap animation when card is in-view */
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  filter: blur(10px);

  animation: none;
}

.card-image.animate-logo {
  min-height: 230px;
}

/* persistent subtle mist */
.card-image::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 3;
  pointer-events: none;

  background: radial-gradient(
      closest-side at 18% 35%,
      rgba(245, 232, 210, 0.33),
      rgba(245, 232, 210, 0) 70%
    ),
    radial-gradient(
      closest-side at 70% 28%,
      rgba(245, 232, 210, 0.22),
      rgba(245, 232, 210, 0) 66%
    ),
    radial-gradient(
      closest-side at 62% 82%,
      rgba(245, 232, 210, 0.18),
      rgba(245, 232, 210, 0) 68%
    ),
    radial-gradient(
      closest-side at 40% 65%,
      rgba(245, 232, 210, 0.1),
      rgba(245, 232, 210, 0) 70%
    );

  filter: blur(16px);
  opacity: 0.22;
  mix-blend-mode: screen;

  animation: fogDrift 10s linear infinite;
}

/* the “unveiling” fog layer (runs once) - only runs when .reveal-start is applied */
.card-image.animate-logo::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 4;
  pointer-events: none;

  background: radial-gradient(
      closest-side at 22% 45%,
      rgba(245, 232, 210, 0.85),
      rgba(245, 232, 210, 0) 70%
    ),
    radial-gradient(
      closest-side at 55% 30%,
      rgba(245, 232, 210, 0.65),
      rgba(245, 232, 210, 0) 62%
    ),
    radial-gradient(
      closest-side at 78% 70%,
      rgba(245, 232, 210, 0.55),
      rgba(245, 232, 210, 0) 68%
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0) 60%
    );

  filter: blur(20px);
  mix-blend-mode: screen;
  opacity: 0.95;

  /* don't run by default; trigger by adding .reveal-start to the .card-image element */
  animation: none;
}

@keyframes logoUnveil {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* trigger helpers */
.card-image.reveal-start .nav-logo {
  animation: logoUnveil 2.4s ease forwards 0.6s;
}

.card-image.reveal-start.animate-logo::after {
  animation: fogReveal 6.4s ease forwards;
}

@keyframes fogReveal {
  0% {
    transform: translateX(-18%) translateY(8%) scale(1.05);
    opacity: 0.98;
  }
  55% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(20%) translateY(-10%) scale(1.12);
    opacity: 0;
  }
}

@keyframes fogDrift {
  0% {
    transform: translateX(-6%) translateY(3%) scale(1.05);
  }
  50% {
    transform: translateX(6%) translateY(-3%) scale(1.08);
  }
  100% {
    transform: translateX(-6%) translateY(3%) scale(1.05);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card-image .nav-logo,
  .card-image::before,
  .card-image.animate-logo::after {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
