/* Flying Bird Games static site */

:root {
  --fb-ink: #18243a;
  --fb-muted: #667085;
  --fb-paper: #f9fbff;
  --fb-white: #ffffff;
  --fb-coral: #ff4f3d;
  --fb-coral-dark: #df3328;
  --fb-blue: #1d8cf8;
  --fb-blue-dark: #1165c1;
  --fb-green: #36b72c;
  --fb-yellow: #ffcd38;
  --fb-teal: #2abfaf;
  --fb-border: rgba(24, 36, 58, 0.1);
  --fb-shadow: 0 24px 70px rgba(45, 64, 96, 0.14);
  --fb-radius: 28px;
  --fb-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fb-paper);
  color: var(--fb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 10px;
  background: var(--fb-ink);
  color: var(--fb-white);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

.site-header__inner,
.section-inner {
  width: min(calc(100% - 40px), var(--fb-max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fb-ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 36, 58, 0.08);
  border-radius: 14px;
  background: var(--fb-white);
  box-shadow: 0 8px 24px rgba(24, 36, 58, 0.08);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #40506b;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--fb-white);
  color: var(--fb-ink);
  box-shadow: 0 8px 24px rgba(24, 36, 58, 0.08);
  outline: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  padding: 74px 0 108px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.72;
}

.hero::before {
  width: 440px;
  height: 440px;
  top: -180px;
  right: -130px;
  background: rgba(255, 205, 56, 0.46);
}

.hero::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -160px;
  background: rgba(29, 140, 248, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--fb-blue-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.game-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--fb-coral);
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: #53627a;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button--primary {
  background: var(--fb-ink);
  color: var(--fb-white);
  box-shadow: 0 14px 30px rgba(24, 36, 58, 0.2);
}

.button--secondary {
  border-color: rgba(24, 36, 58, 0.13);
  background: rgba(255, 255, 255, 0.72);
  color: var(--fb-ink);
}

.hero-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--fb-shadow);
  transform: rotate(2deg);
  backdrop-filter: blur(18px);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -28px;
  bottom: 58px;
  z-index: -1;
  border-radius: 26px;
  background: var(--fb-coral);
  transform: rotate(18deg);
}

.hero-card__image {
  overflow: hidden;
  border-radius: 26px;
  background: #dff7ff;
}

.hero-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px 4px;
}

.hero-card__meta strong {
  display: block;
  font-size: 17px;
}

.hero-card__meta span {
  color: var(--fb-muted);
  font-size: 13px;
}

.mini-dots {
  display: flex;
  gap: 7px;
}

.mini-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mini-dots i:nth-child(1) { background: var(--fb-coral); }
.mini-dots i:nth-child(2) { background: var(--fb-blue); }
.mini-dots i:nth-child(3) { background: var(--fb-green); }

.section {
  padding: 100px 0;
}

.section--white {
  background: var(--fb-white);
}

.section--ink {
  background: var(--fb-ink);
  color: var(--fb-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 700px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--fb-muted);
}

.game-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #eef8ff 0%, #fff8ee 100%);
  box-shadow: 0 20px 60px rgba(24, 36, 58, 0.08);
}

.game-card__visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 48px;
  background: linear-gradient(145deg, #c8efff, #e7fff2);
}

.game-card__visual img {
  width: min(100%, 300px);
  border-radius: 30%;
  box-shadow: 0 24px 55px rgba(37, 86, 126, 0.2);
}

.game-card__content {
  padding: clamp(44px, 7vw, 82px);
}

.game-card__content h3 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.game-card__content p {
  max-width: 600px;
  margin: 0;
  color: #596780;
}

.values-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card,
.feature-card {
  padding: 30px;
  border: 1px solid var(--fb-border);
  border-radius: 24px;
  background: var(--fb-white);
}

.value-card__number,
.feature-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 16px;
  font-weight: 900;
}

.value-card:nth-child(1) .value-card__number,
.feature-card:nth-child(1) .feature-card__icon { background: #ffe7e3; color: var(--fb-coral-dark); }
.value-card:nth-child(2) .value-card__number,
.feature-card:nth-child(2) .feature-card__icon { background: #e1f1ff; color: var(--fb-blue-dark); }
.value-card:nth-child(3) .value-card__number,
.feature-card:nth-child(3) .feature-card__icon { background: #e4f8df; color: #27861f; }

.value-card h3,
.feature-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.value-card p,
.feature-card p {
  margin: 0;
  color: var(--fb-muted);
  font-size: 15px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: start;
}

.contact-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-panel .eyebrow {
  color: #8cc8ff;
}

.contact-form {
  display: grid;
  gap: 22px;
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form__row {
  display: grid;
  gap: 9px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--fb-white);
  font: inherit;
  padding: 15px 17px;
}

.contact-form input {
  min-height: 58px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8cc8ff;
  outline: 3px solid rgba(140, 200, 255, 0.2);
}

.contact-form__captcha {
  min-height: 65px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.contact-form__status {
  min-height: 1.5em;
  margin: -10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-form__status--success {
  color: #9ae993;
}

.contact-form__status--error {
  color: #ffaaa1;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.button--contact {
  width: fit-content;
  border: 0;
  background: var(--fb-coral);
  color: var(--fb-white);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--fb-ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer address {
  font-style: normal;
  line-height: 1.45;
  text-align: right;
}

.entry-content {
  max-width: 780px;
  margin-top: 36px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-top: 2em;
  margin-bottom: 0.55em;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.entry-content a {
  color: var(--fb-blue-dark);
}

.page .section-heading > h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

/* Dot Push */
.dotpush-page {
  background: #f6faff;
}

.game-hero {
  position: relative;
  padding: 70px 0 110px;
}

.game-hero::before {
  content: "";
  position: absolute;
  inset: -90px 0 auto;
  height: 680px;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 30%, rgba(29, 140, 248, 0.19), transparent 31%),
    radial-gradient(circle at 86% 20%, rgba(255, 205, 56, 0.28), transparent 29%),
    radial-gradient(circle at 70% 78%, rgba(54, 183, 44, 0.14), transparent 28%);
}

.game-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.game-hero__icon {
  width: 108px;
  margin-bottom: 32px;
  border-radius: 29px;
  box-shadow: 0 18px 40px rgba(24, 36, 58, 0.16);
}

.game-hero h1 {
  font-size: clamp(4.2rem, 8vw, 7.4rem);
}

.game-hero h1 span {
  display: block;
  color: var(--fb-coral);
}

.game-hero__copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: #53627a;
  font-size: 1.15rem;
}

.puzzle-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.puzzle-board {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  border: 18px solid var(--fb-white);
  border-radius: 46px;
  background:
    linear-gradient(#dce5ea 0 0) 20% 19% / 61% 10px no-repeat,
    linear-gradient(#dce5ea 0 0) 20% 19% / 10px 62% no-repeat,
    linear-gradient(#dce5ea 0 0) 81% 19% / 10px 62% no-repeat,
    linear-gradient(#dce5ea 0 0) 20% 81% / 61% 10px no-repeat,
    linear-gradient(#dce5ea 0 0) 50% 19% / 10px 62% no-repeat,
    #f8fbfc;
  box-shadow: var(--fb-shadow);
  transform: rotate(3deg);
}

.puzzle-dot {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 -10px 20px rgba(24, 36, 58, 0.1), 0 14px 20px rgba(24, 36, 58, 0.1);
}

.puzzle-dot--one { top: 8%; left: 8%; background: var(--fb-coral); }
.puzzle-dot--two { top: 8%; right: 8%; background: #ff3c2f; }
.puzzle-dot--three { top: 39%; right: 8%; background: var(--fb-green); }
.puzzle-dot--four { bottom: 8%; left: 8%; background: var(--fb-blue); }
.puzzle-dot--five { bottom: 8%; left: 39%; background: #ff3c2f; }

.puzzle-arrow {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 37%;
  width: 7%;
  height: 31%;
  transform: translateX(-50%);
}

.puzzle-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -36%;
  width: 360%;
  height: 42%;
  border-radius: 7px 7px 3px 3px;
  background: #ff553d;
  clip-path: polygon(50% 0, 100% 78%, 100% 92%, 0 92%, 0 78%);
  transform: translateX(-50%);
}

.puzzle-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ff553d, #f51f1f);
  clip-path: polygon(0 0, 100% 0, 62% 82%, 54% 98%, 50% 100%, 46% 98%, 38% 82%);
}

.floating-chip {
  position: absolute;
  padding: 12px 17px;
  border: 1px solid rgba(24, 36, 58, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(24, 36, 58, 0.12);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.floating-chip--top { top: 4%; right: -2%; transform: rotate(-4deg); }
.floating-chip--bottom { bottom: 5%; left: -3%; transform: rotate(4deg); }

.how-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: clamp(42px, 7vw, 80px);
  border-radius: 36px;
  background: var(--fb-ink);
  color: var(--fb-white);
}

.how-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.how-panel__steps {
  display: grid;
  gap: 14px;
}

.how-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.how-step strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--fb-coral);
}

.how-step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.how-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.coming-soon-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(48px, 8vw, 88px);
  border: 1px solid var(--fb-border);
  border-radius: 36px;
  background: linear-gradient(135deg, #eef8ff, #fff8ee);
  text-align: center;
  box-shadow: 0 20px 60px rgba(24, 36, 58, 0.08);
}

.coming-soon-panel .eyebrow {
  justify-content: center;
}

.coming-soon-panel h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.coming-soon-panel > p:last-child {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--fb-muted);
  font-size: 1.1rem;
}

.privacy-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid var(--fb-border);
  border-radius: 28px;
  background: var(--fb-white);
}

.privacy-banner h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
}

.privacy-banner p {
  margin: 0;
  color: var(--fb-muted);
  font-size: 15px;
}

.privacy-page .site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.privacy-page main {
  flex: 1;
}

.privacy-directory {
  max-width: 900px;
}

.privacy-directory h1,
.not-found h1,
.dotpush-privacy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.privacy-directory > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--fb-muted);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.language-grid a {
  padding: 14px 18px;
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  background: var(--fb-paper);
  font-weight: 750;
  text-decoration: none;
}

.language-grid a:hover,
.language-grid a:focus-visible {
  border-color: var(--fb-blue);
  background: #eef7ff;
  outline: none;
}

.dotpush-privacy {
  max-width: 860px;
}

.dotpush-privacy h2,
.dotpush-privacy h3 {
  line-height: 1.25;
}

.dotpush-privacy h2 {
  margin-top: 1.8em;
  font-size: 1.75rem;
}

.dotpush-privacy h3 {
  margin-top: 1.5em;
}

.dotpush-privacy .updated {
  color: var(--fb-muted);
}

.dotpush-privacy hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--fb-border);
}

.dotpush-privacy a {
  color: var(--fb-blue-dark);
  overflow-wrap: anywhere;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.not-found > div {
  max-width: 720px;
}

.not-found .eyebrow {
  justify-content: center;
}

.not-found .button {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .hero-grid,
  .game-hero__grid,
  .game-card,
  .contact-panel,
  .how-panel {
    grid-template-columns: 1fr;
  }

  .hero,
  .game-hero {
    padding-top: 42px;
  }

  .hero-card {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .game-card__visual {
    min-height: 340px;
  }

  .values-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .section-inner {
    width: min(calc(100% - 28px), var(--fb-max));
  }

  .brand__name {
    max-width: 145px;
    line-height: 1.15;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 78px;
  }

  .hero h1,
  .game-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .hero-card,
  .puzzle-board {
    border-radius: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .game-card__content,
  .game-card__visual {
    padding: 34px 26px;
  }

  .puzzle-stage {
    min-height: 410px;
  }

  .floating-chip {
    display: none;
  }

  .how-panel,
  .privacy-banner {
    padding: 30px 24px;
  }

  .privacy-banner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer address {
    text-align: left;
  }

  .privacy-banner {
    display: flex;
  }

  .language-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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