/* ============================================================
   THE GAME — global.css
   Replaces the-game-uk.webflow.41e6e29a9.css
   Colours:  cream #fbf5ed | dark #292c31 | primary #084059
             accent #ffaf13 | footer #2a2d30
   Fonts:    ABC Ginto Nord Variable (all text)
   ============================================================ */

/* --- Font -------------------------------------------------- */
@font-face {
  font-family: 'Abcgintonordvariable';
  src: url('/fonts/ABCGintoNordVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-Variable.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-Italic-Variable.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  color: #333;
  font-family: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  font-size: 15px;
  line-height: 23px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Abcgintonordvariable, sans-serif;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.2;
}

h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 24px; line-height: 30px; }

p { margin-top: 0; margin-bottom: 15px; }

a { color: #084059; text-decoration: none; }
a:hover { color: #ffaf13; }

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

/* --- Shared container ------------------------------------- */
.container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- Navbar ----------------------------------------------- */
.navbar {
  background-color: #fbf5ed;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
}

.navbar-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo { display: flex; align-items: center; }
.navbar-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  color: #084059;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 12px;
  transition: color 0.2s;
}

.nav-link:hover { color: #ffaf13; }

.nav-toggle {
  display: none;
  background: rgba(8, 64, 89, 0.1);
  border: none;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle:hover { background: rgba(8, 64, 89, 0.2); }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #084059;
  position: relative;
  transition: all 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

/* --- Hero ------------------------------------------------- */
.hero {
  background-color: #fbf5ed;
  padding: 80px 20px 60px;
}

.hero-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 35px;
  color: #333;
}

.hero-text p {
  margin: 0;
}

.hero-text .highlight { color: #b87300; }

.hero-cta {
  display: block;
  margin-top: 20px;
  width: fit-content;
}

.hero-image {
  flex: 0 0 372px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-divider {
  display: block;
  width: 100%;
  height: 10vw;
  position: relative;
  bottom: -1px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  background-color: #084059;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 20px;
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover { background-color: #ffaf13; color: #fff; }

/* --- Section spacing -------------------------------------- */
.section-pad    { padding: 45px 0; }
.section-pad-sm { padding: 5% 0; }

/* --- Video ------------------------------------------------ */
.video-section { padding: 0 20px; }

.video-wrapper {
  position: relative;
  padding-top: 56.27%;
  max-width: 940px;
  margin: 0 auto;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* --- Features --------------------------------------------- */
.features-section { padding: 0 20px; }

.section-header {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
}

/* --- Brand name span ------------------------------------- */
.brand {
  font-style: italic;
  white-space: nowrap;
}

.section-description {
  margin-top: 20px;
  font-size: 21px;
  font-weight: 300;
  line-height: 27px;
}

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

.feature-card { text-align: center; }

.feature-card .card-body {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.feature-card h3 {
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: #333;
  margin-top: 1rem;
}

.feature-card p { font-family: Abcgintonordvariable, sans-serif; font-size: 15px; font-weight: 300; }

/* --- Games section heading -------------------------------- */
.games-heading {
  padding: 45px 20px 0;
  max-width: 940px;
  margin: 0 auto;
}

/* --- Game rows -------------------------------------------- */
.game-section { padding: 0 20px; }

.game-row {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.game-row.reverse { flex-direction: row-reverse; }

.game-animation { flex: 0 0 auto; }

.game-text { flex: 1; }

.game-text h3 {
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: #333;
}

.game-text p { font-family: Abcgintonordvariable, sans-serif; font-size: 15px; font-weight: 300; }

.game-section + .game-section { margin-top: 60px; }

/* --- Contact form ----------------------------------------- */
.contact-section {
  background-color: #fff;
  padding: 60px 20px;
}

.contact-form-wrap {
  width: 550px;
  max-width: 100%;
  margin: 0 auto;
}

.contact-form-wrap h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.field-label {
  display: block;
  color: #595959;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 4px;
  margin-top: 1rem;
}

.form-field {
  display: block;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  height: 50px;
  padding: 0 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-field:hover,
.form-field:focus {
  border-color: #084059;
  outline: none;
}

textarea.form-field {
  height: 120px;
  padding: 12px;
  resize: vertical;
}

.form-actions { text-align: center; margin-top: 1.5rem; }

.form-success {
  color: #fff;
  background-color: #5ec045;
  border-radius: 5px;
  padding: 30px;
  text-align: center;
}

.form-error {
  color: #e42121;
  text-align: center;
  border-radius: 3px;
  padding: 12px;
  font-size: 13px;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background-color: #2a2d30;
  padding: 45px 20px 2rem;
}

.footer-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand .footer-name {
  color: #fff;
  text-transform: uppercase;
  font-family: Abcgintonordvariable, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.footer-brand .footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 6px;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-credits-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credits-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-credits-divider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-social a { display: flex; }
.footer-social img { height: 20px; width: auto; }

@media (max-width: 479px) {
  h2 { font-size: 24px; line-height: 29px; }
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 991px) {
  .hero { padding: 60px 20px; }
  .hero-text { font-size: 20px; line-height: 30px; }
  .game-row,
  .game-row.reverse { flex-direction: column; text-align: center; }
  .game-text h3 { text-align: center; }
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #292c31;
    padding: 1rem 20px;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }

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

  .nav-link {
    color: #fff;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover { color: #ffaf13; }

  .hero { padding: 40px 20px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text { max-width: 100%; font-size: 17px; line-height: 25px; }
  .hero-cta { margin-top: 12px; }
  .hero-image { justify-content: center; }

  .section-header { width: 100%; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }

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

  .footer-social { justify-content: center; }
}
