@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@600;700&family=Rubik:wght@400;600;700&display=swap');

:root{
  --bg: #fafafa;
  --bg2: #eeeeee;
  --surface: rgba(255,255,255,0.86);
  --surface2: rgba(255,255,255,0.72);
  --border: rgba(70,60,52,0.16);
  --text: #3f3a36;
  --muted: rgba(63,58,54,0.72);
  --muted2: rgba(63,58,54,0.55);
  --brand: #eeeeee;
  --brand2: #d6c4b3;
  --brand3: #a9a09a;
  --success: #4ec891;
  --danger: #ea6d6d;

  --shadow: 0 18px 35px rgba(83,68,56,0.18);
  --radius: 20px;

  --container: 1120px;
  --gutter: 20px;

  --font: "Rubik", "Trebuchet MS", sans-serif;
  --font-display: "Chakra Petch", "Trebuchet MS", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 720px at -10% -10%, rgba(236,214,188,0.65), transparent 60%),
    radial-gradient(900px 620px at 100% 0%, rgba(246,200,136,0.5), transparent 60%),
    radial-gradient(820px 620px at 65% 115%, rgba(200,190,180,0.5), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3{
  font-family: var(--font-display);
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #3f3a36;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

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

.section{
  padding: 64px 0;
}

.section.compact{
  padding: 40px 0;
}

.section-title{
  margin: 0 0 14px 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.2px;
  font-family: var(--font-display);
}

.section-subtitle{
  margin: 0 0 22px 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}
.pill{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  border: 1px solid rgba(112,102,95,0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card.pad{ padding: 22px; }

.grid{
  display: grid;
  gap: 18px;
}

.grid.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px){
  .grid.cols-2, .grid.cols-3{ grid-template-columns: 1fr; }
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(242,176,94,0.65);
  background: linear-gradient(180deg, rgba(255,214,153,0.95), rgba(242,176,94,0.95));
  color: #3b2f2f;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(203,144,70,0.26);
  transition: transform 140ms ease, background 140ms ease, border 140ms ease, box-shadow 140ms ease;
  font-family: var(--font-display);
}
.btn:hover{
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(242,176,94,0.85);
  box-shadow: 0 16px 26px rgba(203,144,70,0.32);
}
.btn.secondary{
  border-color: rgba(63,58,54,0.35);
  background: linear-gradient(180deg, rgba(86,78,71,0.92), rgba(63,58,54,0.92));
  color: #fdf6f0;
  box-shadow: 0 12px 20px rgba(63,58,54,0.24);
}
.btn.ghost{
  border-color: var(--border);
  background: rgba(255,255,255,0.7);
  color: var(--text);
  box-shadow: none;
}
.btn.small{ padding: 10px 12px; border-radius: 12px; font-size: 14px; }

.badge{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(252,246,238,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(112,102,95,0.16);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand img{
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand .brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .brand-name{
  font-weight: 800;
  letter-spacing: 0.3px;
  font-family: var(--font-display);
}
.brand .brand-tagline{
  color: var(--muted2);
  font-size: 12.5px;
  margin-top: 3px;
}

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

.nav-toggle{
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .bars{
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle .bars span{
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
}

.nav-menu{
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-menu a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.nav-menu a:hover{
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.75);
}
.nav-menu a.active{
  color: #3b2f2f;
  background: rgba(246,204,146,0.6);
  border: 1px solid rgba(242,176,94,0.45);
}

.header-cta{
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 820px){
  .brand{ min-width: 0; }
  .header-cta{ display: none; }

  .nav-toggle{ display: inline-flex; }
  .nav-menu{
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    background: rgba(252,246,238,0.98);
    border-bottom: 1px solid rgba(112,102,95,0.16);
    display: none;
    flex-direction: column;
    padding: 12px 14px;
  }
  .nav-menu.is-open{ display: flex; }
  .nav-menu a{
    width: 100%;
    padding: 12px 12px;
  }
}

.hero{
  position: relative;
  padding: 58px 0 22px 0;
  overflow: hidden;
}
.hero .hero-bg{
  position: absolute;
  inset: -2px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.hero .hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% 20%, rgba(236,214,188,0.7), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(246,204,146,0.6), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(245,235,225,0.92));
}
.hero .hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
  animation: float-in 700ms ease both;
}
.hero h1{
  margin: 0 0 12px 0;
  font-size: clamp(34px, 4.3vw, 54px);
  letter-spacing: 0.2px;
  font-family: var(--font-display);
}
.hero p{
  margin: 0 0 18px 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}
.hero .hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.hero .hero-side{
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .logo-stack{
  width: min(360px, 100%);
}
.hero .logo-stack img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px){
  .hero .hero-inner{ grid-template-columns: 1fr; }
  .hero .hero-side{ justify-content: flex-start; }
  .hero{ padding-top: 40px; }
}

.media-card{
  position: relative;
}
.media-card .media{
  aspect-ratio: 1.4;
  width: 100%;
  object-fit: contain;
}
.media-card .media-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0, 0.65);
}
.media-card .media-content{
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
}
.media-card h3{
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #fff7f0;
  font-family: var(--font-display);
}
.media-card p{
  margin: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.media-card .meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.media-card .badge{
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: #fffaf6;
}

.kpi{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(112,102,95,0.16);
  background: rgba(255,255,255,0.75);
}
.kpi .label{ color: var(--muted2); font-size: 13px; }
.kpi .value{ font-weight: 900; font-size: 20px; letter-spacing: 0.2px; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
}

.form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 8px;
}
label{
  font-weight: 650;
  color: var(--muted);
}
.input, .textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(112,102,95,0.2);
  background: rgba(255,255,255,0.95);
  color: var(--text);
  outline: none;
}
.textarea{ min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus{
  border-color: rgba(242,176,94,0.6);
  box-shadow: 0 0 0 4px rgba(242,176,94,0.18);
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px){
  .form-row{ grid-template-columns: 1fr; }
}

.form-message{
  display: none;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(112,102,95,0.16);
  background: rgba(255,255,255,0.7);
  color: var(--muted);
}
.form-message.success{
  display: block;
  border-color: rgba(94,226,160,0.35);
  background: rgba(94,226,160,0.12);
  color: rgba(63,58,54,0.9);
}
.form-message.error{
  display: block;
  border-color: rgba(255,107,107,0.38);
  background: rgba(255,107,107,0.12);
  color: rgba(63,58,54,0.9);
}

.social{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: var(--muted);
  font-weight: 650;
}
.social a:hover{
  text-decoration: none;
  color: var(--text);
  border-color: rgba(112,102,95,0.28);
  background: rgba(255,255,255,0.9);
}
.icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
}

.page-hero{
  position: relative;
  padding: 44px 0 10px 0;
  overflow: hidden;
}
.page-hero .page-hero-bg{
  position: absolute;
  inset: -2px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-hero .page-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(245,235,225,0.95));
}
.page-hero .page-hero-inner{
  position: relative;
  padding: 18px 0 24px 0;
}
.page-hero h1{
  margin: 0 0 8px 0;
  font-size: clamp(30px, 4vw, 44px);
  font-family: var(--font-display);
}
.breadcrumb{
  color: var(--muted2);
  font-size: 13px;
}
.breadcrumb a{ color: var(--muted); }
.breadcrumb a:hover{ color: var(--text); text-decoration: underline; }

.footer{
  border-top: 1px solid rgba(112,102,95,0.16);
  background: rgba(255,255,255,0.7);
  padding: 28px 0;
}
.footer .footer-grid{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.footer .fine{
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.5;
}
.footer .footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.footer .footer-links a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.footer .footer-links a:hover{
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.9);
}
.footer .footer-links .privacy-link{
  flex-basis: 100%;
  width: 100%;
  display: block;
  text-align: right;
  padding-top: 6px;
}
@media (max-width: 700px){
  .footer .footer-grid{ grid-template-columns: 1fr; }
  .footer .footer-links{ justify-content: flex-start; }
}

.list-clean{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.small-note{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
}


.spacer{ height: 12px; }
.spacer.s10{ height: 10px; }
.spacer.s14{ height: 14px; }
.spacer.s18{ height: 18px; }
.spacer.s22{ height: 22px; }

.grid.no-gap{ gap: 0; }

.panel{ padding: 22px; }
.panel-image{ width: 100%; height: 100%; object-fit: cover; }

.logo-wide{ max-width: 690px; width: 100%; height: auto; }

.media-fixed{ overflow: hidden; }

.game-card {
  background: #121212;
}
.games-page .panel .section-subtitle,
.games-page .panel .list-clean{
  color: rgba(248,243,237,0.78);
}
.games-page .panel .badge{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  color: #f9f4ee;
}
.games-page .panel .pill{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: rgba(248,243,237,0.82);
}

.no-m{ margin: 0; }
.mt0{ margin-top: 0; }
.mt12{ margin-top: 12px; }
.mb8{ margin-bottom: 8px; }
.mb10{ margin-bottom: 10px; }
.mb12{ margin-bottom: 12px; }

.max-80{ max-width: 80ch; }
.max-85{ max-width: 85ch; }
.max-70{ max-width: 70ch; }

.h22{ font-size: 22px; }
.h20{ font-size: 20px; }
.battle-title{ font-size: 26px; }

@keyframes float-in{
  0%{ opacity: 0; transform: translateY(14px) scale(0.98); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

.section .grid > *{
  animation: float-in 650ms ease both;
}
.section .grid > *:nth-child(2){ animation-delay: 90ms; }
.section .grid > *:nth-child(3){ animation-delay: 180ms; }
.section .grid > *:nth-child(4){ animation-delay: 270ms; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
