:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #f18c21;
  --orange-hover: #ff9f3d;
  --gray-100: #f5f5f5;
  --gray-400: #888888;
  --gray-700: #333333;
  --gray-900: #111111;
  --max-width: 1100px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-700);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  line-height: 0;
}

.logo-link img {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  color: var(--gray-100);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-logo {
  max-width: 420px;
  margin: 0 auto 2rem;
}

.hero-motto {
  font-size: 1.5rem;
  color: var(--white);
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.75;
  text-align: justify;
}

.hero-tagline p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.hero-tagline p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--orange);
  color: var(--black);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 2px solid var(--orange);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--black);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-intro {
  color: var(--gray-400);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Games */
.games-section {
  background: var(--gray-900);
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}

.games-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.games-section .section-label,
.games-section .section-title,
.games-section .section-intro {
  text-align: center;
}

.games-section .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.game-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 380px;
  max-width: 380px;
  width: 100%;
  background: var(--black);
  border: 1px solid var(--gray-700);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  color: inherit;
}

.game-card-image {
  aspect-ratio: 460 / 215;
  width: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-900) 100%);
}

.game-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.game-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.game-card-body p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.game-status {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: rgba(241, 140, 33, 0.15);
  color: var(--orange);
}

/* Contact */
.contact-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-section .section-intro {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  line-height: 1.75;
  text-wrap: pretty;
}

.contact-section .btn {
  margin-top: 2rem;
}

/* Page content (About, Press Kit) */
.page-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--gray-700);
}

.page-header .section-title {
  margin-bottom: 0.5rem;
}

.page-content {
  padding: 3rem 0 5rem;
}

.page-content p {
  color: var(--gray-100);
  margin-bottom: 1.25rem;
  max-width: 680px;
  font-size: 1.05rem;
}

.page-content h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--orange);
}

.paw-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-left: 0.2em;
  vertical-align: -0.15em;
  fill: var(--white);
}

.team-member {
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.team-member:last-of-type {
  margin-bottom: 0;
}

.about-page .page-content p,
.about-page .team-member p {
  text-wrap: pretty;
}

.about-page .page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-page .page-content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.about-page .page-content p {
  text-align: justify;
}

.about-contact {
  width: 100%;
  max-width: 680px;
  margin: 2.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-700);
  text-align: left;
}

.about-page .about-contact p {
  text-align: left;
}

.about-page .page-content h2,
.about-page .page-content h3,
.about-page .team-member {
  text-align: left;
  width: 100%;
  max-width: 680px;
}

.about-page .page-content p,
.about-page .page-content h2 {
  margin-left: auto;
  margin-right: auto;
}

/* Press kit placeholder */
.presskit-placeholder {
  background: var(--gray-900);
  border: 1px dashed var(--gray-700);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 600px;
}

.presskit-placeholder p {
  color: var(--gray-400);
  margin: 0 auto;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--gray-700);
  padding: 2rem 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-social,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social a:hover,
.footer-links a:hover {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--gray-700);
    padding: 1rem 0;
  }

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

  .site-nav li a {
    display: block;
    padding: 0.75rem 1.5rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-logo {
    max-width: 280px;
  }

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