:root {
  --ink: #211d1f;
  --paper: #ffffff;
  --pink: #d214af;
  --cyan: #0abedc;
  --blue: #0078fa;
  --dark-blue: #003c96;
  --muted: #555a66;
  --line: rgba(0, 60, 150, .16);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(0, 60, 150, .16);
}

* { box-sizing: border-box; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 8%, rgba(210,20,175,.11), transparent 25rem),
    radial-gradient(circle at 90% 30%, rgba(10,190,220,.12), transparent 28rem);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(33,29,31,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 260px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: white; text-decoration: none; font-weight: 750; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cyan); }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; color: white; font: inherit; font-weight: 800; }

.hero { overflow: hidden; padding: 74px 0 62px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.hero-grid > *, .games-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 13ch; margin-bottom: 22px; font-size: clamp(3.35rem, 7.6vw, 7.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
h3 { font-size: 1.55rem; }
.hero-copy { max-width: 590px; margin: 0 0 30px; color: #343441; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.game-builder-action { margin: 28px 0 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 2px solid var(--dark-blue); border-radius: 999px; background: var(--dark-blue); color: white; font-weight: 850; text-decoration: none; box-shadow: 4px 4px 0 var(--cyan); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--pink); }
.button-secondary { background: transparent; color: var(--ink); box-shadow: none; }
.hero-art { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; top: 50%; left: 50%; width: 88%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--pink)); transform: translate(-50%, -50%) rotate(-7deg); }
.hero-art img { position: relative; z-index: 1; width: min(100%, 620px); max-width: 100%; height: auto; max-height: 600px; object-fit: contain; filter: drop-shadow(0 35px 28px rgba(38,22,7,.23)); transform: rotate(2deg); }
.event-card { position: absolute; z-index: 2; right: 0; bottom: 24px; width: min(270px, 55%); padding: 18px 20px; border: 2px solid var(--dark-blue); border-radius: 18px; background: white; box-shadow: 8px 8px 0 var(--pink); transform: rotate(-2deg); }
.event-card strong { display: block; font-size: 1.12rem; }

.section { padding: 92px 0; }
.section-dark { background: var(--dark-blue); color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 500px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #bdbdcc; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: white; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.game-card-image { height: clamp(250px, 30vw, 300px); min-width: 0; padding: clamp(18px, 2vw, 22px); overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, rgba(10,190,220,.10), rgba(0,120,250,.10)); }
.game-card:nth-child(2n) .game-card-image { background: linear-gradient(145deg, rgba(0,120,250,.10), rgba(210,20,175,.10)); }
.game-card img { --art-scale: 1; --art-hover-scale: 1.04; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(var(--art-scale)); transition: transform .25s ease; }
.game-card img.game-art-hard-to-get-pictures { --art-scale: .98; --art-hover-scale: 1.02; }
.game-card img.game-art-social-icebreaker { --art-scale: 1.14; --art-hover-scale: 1.18; }
.game-card img.game-art-product { --art-scale: 1.03; --art-hover-scale: 1.07; }
.game-card img.game-art-wide { --art-scale: 1.22; --art-hover-scale: 1.26; }
.game-card img.game-art-inset { max-width: 80%; max-height: calc(100% - 12px); align-self: center; justify-self: center; }
.game-card img.game-art-inset-soft { max-width: 92%; max-height: 92%; }
.game-card:hover img { transform: scale(var(--art-hover-scale)) rotate(-1deg); }
.game-card-copy { min-height: 92px; padding: 20px 24px 22px; display: flex; align-items: center; }
.game-card-copy h3 { margin: 0; text-transform: uppercase; }
.game-card-copy p { margin: 0; color: var(--muted); }
.game-card-featured { grid-column: span 2; }

.section-link, .news-card-link { color: var(--dark-blue); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news-preview { padding-top: 54px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-grid-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.news-card-media { height: 300px; padding: 24px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, rgba(10,190,220,.10), rgba(210,20,175,.10)); }
.news-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.news-card:hover .news-card-media img { transform: scale(1.035) rotate(-.5deg); }
.news-card-body { padding: 26px 28px 30px; }
.news-card time, .news-date { display: block; margin-bottom: 14px; color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { margin-bottom: 14px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.news-card h3 a { text-decoration: none; }
.news-card p { margin: 0 0 20px; color: var(--muted); }
.news-article { padding: 70px 0 96px; }
.news-article-header { max-width: 900px; margin-bottom: 42px; }
.news-article-header h1 { max-width: 12ch; font-size: clamp(3rem, 7vw, 6.5rem); }
.news-article-lead { max-width: 780px; margin: 0; color: #343441; font-size: clamp(1.2rem, 2.3vw, 1.55rem); font-weight: 650; }
.news-article-visual { margin: 0 0 46px; padding: 28px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, rgba(10,190,220,.12), rgba(210,20,175,.10)); }
.news-article-visual img { width: 100%; max-height: 760px; object-fit: contain; }
.news-article-visual figcaption { width: 100%; margin-top: 18px; color: var(--muted); font-size: .85rem; }
.news-article-body { max-width: 760px; }
.news-article-body p { margin: 0 0 24px; font-size: 1.16rem; }

.statement { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.statement p { margin-top: 0; font-size: clamp(1.35rem, 3vw, 2.3rem); font-weight: 720; line-height: 1.25; letter-spacing: -.025em; }

.page-hero { padding: 80px 0 52px; text-align: center; }
.page-hero h1 { max-width: none; }
.page-hero p { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: 1.2rem; }
.partners-section { padding: 0 0 92px; }
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partner-logo { min-height: 190px; padding: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: 0 14px 34px rgba(0,60,150,.08); }
.partner-logo img { width: 100%; height: 132px; object-fit: contain; }
.game-hero { padding: 60px 0 86px; overflow: hidden; }
.game-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.game-visual { min-height: 570px; display: grid; place-items: center; border-radius: 42px; background: linear-gradient(145deg, var(--cyan), var(--blue) 55%, var(--pink)); }
.game-visual img { width: 95%; max-height: 630px; object-fit: contain; filter: drop-shadow(0 34px 26px rgba(50,24,11,.26)); }
.game-editions { padding: 78px 0; background: var(--pale); }
.game-editions h2 { margin: 0 0 28px; }
.game-editions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.game-editions-grid article { margin: 0; padding: 28px; border-radius: 32px; background: white; text-align: center; }
.game-editions-grid img { display: block; width: min(100%, 310px); height: 380px; margin: 0 auto 20px; object-fit: contain; filter: drop-shadow(0 20px 17px rgba(50,24,11,.22)); }
.game-editions-grid h3 { margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.fact { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); font-weight: 850; }
.game-copy h1 { font-size: clamp(3.3rem, 7vw, 6.5rem); }
.game-copy .lead { font-size: 1.28rem; }
.feature-band { padding: 70px 0; background: var(--dark-blue); color: white; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border: 1px solid rgba(255,255,255,.25); border-radius: 24px; background: rgba(255,255,255,.08); }
.feature span { display: block; margin-bottom: 15px; color: var(--cyan); font-weight: 900; font-size: .8rem; letter-spacing: .14em; }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: #e2ebff; }

.box-back-lead { max-width: 25ch; font-size: clamp(1.45rem, 2.6vw, 2.15rem) !important; line-height: 1.2; font-weight: 650; }
.box-back-lead strong { color: var(--dark-blue); font-weight: 950; }
.game-steps { padding: 78px 0; background: var(--dark-blue); color: white; }
.game-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.game-steps-grid.cols-1 { grid-template-columns: 1fr; }
.game-steps-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.game-steps-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.game-step { min-height: 250px; padding: 30px 38px; display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,.28); }
.game-step:last-child { border-right: 1px solid rgba(255,255,255,.28); }
.game-step h2 { max-width: 10ch; margin: 0; font-size: clamp(2rem, 3.4vw, 3.65rem); }
.game-steps-grid.cols-4 .game-step h2 { font-size: clamp(1.55rem, 2.5vw, 2.8rem); }
.hero-contents { margin-top: 22px; }
.hero-contents span { display: block; margin-bottom: 4px; color: var(--blue); font-size: .75rem; font-weight: 950; letter-spacing: .15em; }
.hero-contents p { margin: 0; font-size: 1.08rem; font-weight: 750; }
.game-gallery { padding: 30px 0 92px; }
.game-gallery-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 20px; align-items: stretch; }
.game-gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: inset 0 0 0 1px var(--line); }
.game-gallery img { width: 100%; height: 100%; object-fit: cover; }
.game-gallery-wide, .game-gallery-tall { min-height: 470px; }
.game-gallery-tall img { object-fit: contain; }
.similo-editions { padding: 72px 0 92px; }
.similo-editions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.similo-editions figure { display: grid; place-items: center; min-height: 460px; margin: 0; overflow: hidden; border-radius: var(--radius); background: #eef8ff; box-shadow: inset 0 0 0 1px var(--line); }
.similo-editions img { display: block; width: min(100%, 480px); max-height: 430px; object-fit: contain; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-form-wrap { max-width: 760px; }
.contact-form { margin: 0 auto; }
.contact-card, .form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.contact-photo { width: 100%; height: 330px; margin-bottom: 26px; border-radius: 22px; background: white; object-fit: contain; }
.contact-list { list-style: none; padding: 0; margin: 25px 0 0; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1/-1; }
label { font-weight: 800; }
input, textarea { width: 100%; padding: 14px 15px; border: 1px solid #b7b7c0; border-radius: 12px; background: white; color: var(--ink); font: inherit; }
button:disabled { cursor: wait; opacity: .65; }
textarea { min-height: 160px; resize: vertical; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.small { color: var(--muted); font-size: .9rem; }

.site-footer { padding: 52px 0 28px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 235px; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #c6c6d1; text-decoration: none; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8f8f9b; font-size: .88rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 78px; padding: 22px; flex-direction: column; align-items: stretch; gap: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: #141420; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px; }
  .hero-grid, .game-hero-grid, .statement, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .hero-grid { gap: 34px; }
  .hero-grid > div:first-child { position: relative; z-index: 3; }
  .hero-art { width: min(100%, 500px); min-height: 0; aspect-ratio: 1; margin-inline: auto; }
  .hero-art::before { width: 86%; }
  .hero-art img { width: 70%; max-height: 70%; }
  .event-card { right: 1%; bottom: 9%; width: min(240px, 52%); }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-card-featured { grid-column: span 2; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .news-grid-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-steps-grid,
  .game-steps-grid.cols-1,
  .game-steps-grid.cols-2,
  .game-steps-grid.cols-4 { grid-template-columns: 1fr; }
  .game-editions-grid { grid-template-columns: 1fr; }
  .game-step { min-height: 0; padding: 30px 0 38px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .game-step:last-child { border-right: 0; }
  .game-gallery-grid { grid-template-columns: 1fr; }
  .game-gallery-wide, .game-gallery-tall { min-height: 360px; }
  .similo-editions-grid { grid-template-columns: 1fr; }
  .similo-editions figure { min-height: 360px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 74px; }
  .brand img { width: 205px; }
  .hero { padding: 38px 0 50px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-art { width: min(100%, 360px); min-height: 0; aspect-ratio: 1; }
  .hero-art::before { width: 86%; }
  .hero-art img { width: 69%; max-height: 69%; }
  .event-card { right: 0; bottom: 7%; width: min(205px, 59%); padding: 13px 15px; }
  .event-card strong { font-size: .95rem; }
  .section { padding: 68px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .games-grid { grid-template-columns: 1fr; }
  .partners-section { padding-bottom: 68px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner-logo { min-height: 150px; padding: 20px; border-radius: 22px; }
  .partner-logo img { height: 100px; }
  .news-grid, .news-grid-preview { grid-template-columns: 1fr; }
  .news-card-media { height: 230px; }
  .news-article { padding-top: 48px; }
  .news-article-visual { padding: 16px; }
  .game-card-featured { grid-column: auto; }
  .game-card-image { height: 230px; padding: 18px; }
  .game-card-copy { min-height: 82px; padding: 18px 20px 20px; }
  .game-card img.game-art-wide { --art-scale: 1.12; --art-hover-scale: 1.15; }
  .game-card img.game-art-social-icebreaker { --art-scale: 1.08; --art-hover-scale: 1.11; }
  .game-hero { padding-top: 34px; }
  .game-visual { min-height: 360px; order: -1; border-radius: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
