/* ============================================================
   OLYMPUS GAMES — styles.css
   Mobile-first, progressive enhancement, no framework
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --clr-blue:       #2563eb;
  --clr-blue-dark:  #1d4ed8;
  --clr-cyan:       #06b6d4;
  --clr-purple:     #8b5cf6;
  --clr-green:      #10b981;
  --clr-orange:     #f59e0b;

  --clr-bg:         #ffffff;
  --clr-bg-alt:     #f8fafc;
  --clr-bg-blue:    #eff6ff;
  --clr-bg-purple:  #f5f3ff;

  --clr-text:       #111827;
  --clr-text-muted: #6b7280;
  --clr-text-light: #9ca3af;
  --clr-border:     #e5e7eb;

  --gradient-primary:   linear-gradient(135deg, var(--clr-blue), var(--clr-cyan));
  --gradient-hero:      linear-gradient(135deg, #eff6ff 0%, #ecfeff 50%, #f5f3ff 100%);
  --gradient-cta:       linear-gradient(135deg, var(--clr-blue), var(--clr-cyan));

  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);

  --header-h:   72px;
  --max-w:      1200px;
  --px:         1.25rem;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text);
  color: #1d3362;
  background: var(--clr-bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
/* ── Form Controls ──────────────────────────────────────────── */
input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  font: inherit;
  font-size: 0.875rem;
  width: 100%;
  height: 2.375rem;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  padding: 0 0.75rem;
  background: var(--clr-bg-alt);
  color: var(--clr-text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):hover,
textarea:hover,
select:hover {
  border-color: #d1d5db;
}
input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
  border-color: var(--clr-blue);
  background: var(--clr-bg);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
input::placeholder,
textarea::placeholder { color: var(--clr-text-light); font-size: 0.875rem; }
input:disabled, textarea:disabled, select:disabled {
  opacity: 0.5; cursor: not-allowed;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
textarea {
  height: auto;
  min-height: 7.5rem;
  padding: 0.5625rem 0.75rem;
  resize: vertical;
  line-height: 1.6;
}
select {
  padding-right: 2.5rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  background-size: 14px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
select:hover {
  background-color: #fafafa;
  border-color: #9ca3af;
}
select:focus {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08), 0 1px 2px rgba(0,0,0,.05);
}

/* ── Custom Select Component ────────────────────────────────── */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.custom-select-label span[aria-label="required"] {
  color: #ef4444;
  margin-left: 0.125rem;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 36px;
  padding: 0 0.75rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  color: var(--clr-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.custom-select-trigger:hover {
  border-color: #d1d5db;
  background: #fafafa;
}

.custom-select-trigger:focus {
  border-color: var(--clr-blue);
  background: var(--clr-bg);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12), 0 1px 2px rgba(0,0,0,.05);
}

.custom-select-trigger[aria-expanded="true"] {
  border-color: var(--clr-blue);
  background: var(--clr-bg);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12), 0 1px 2px rgba(0,0,0,.05);
}

.custom-select-trigger[aria-expanded="true"] .custom-select-icon {
  transform: rotate(180deg);
}

.custom-select-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-value.placeholder {
  color: var(--clr-text-light);
  font-weight: 400;
}

.custom-select-icon {
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: var(--clr-text-muted);
  transition: transform 0.2s ease;
}

.custom-select-trigger:hover .custom-select-icon,
.custom-select-trigger:focus .custom-select-icon,
.custom-select-trigger[aria-expanded="true"] .custom-select-icon {
  color: var(--clr-text);
}

.custom-select-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  margin-top: 4px;
  padding: 0.25rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  max-height: 300px;
  overflow-y: auto;
}

/* Smooth scroll for keyboard navigation */
.custom-select-content {
  scroll-behavior: smooth;
}

.custom-select-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--clr-text);
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  transition: background 0.1s ease;
  user-select: none;
}

.custom-select-option:hover,
.custom-select-option.highlighted {
  background: var(--clr-bg-alt);
}

.custom-select-option:active {
  background: #e5e7eb;
}

.custom-select-option.selected {
  background: var(--clr-bg-blue);
  color: var(--clr-blue);
  font-weight: 600;
}

.custom-select-option.selected:hover,
.custom-select-option.selected.highlighted {
  background: #dbeafe;
}

/* Focus visible for keyboard navigation */
.custom-select-option:focus-visible {
  background: var(--clr-bg-alt);
  box-shadow: 0 0 0 2px var(--clr-blue) inset;
}

/* Disabled state */
.custom-select-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.custom-select-trigger:disabled:hover {
  border-color: var(--clr-border);
  background: var(--clr-bg-alt);
}

/* ── Skip Link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px; left: 50%;
  transform: translateX(-50%);
  background: var(--clr-blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── Screen reader only ──────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { max-width: 70ch; }
.text-gradient { background: linear-gradient(to right, #2563eb, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent; }

/* ── Layout Helpers ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
@media (min-width: 640px)  { :root { --px: 2rem; } }
@media (min-width: 1024px) { :root { --px: 3rem; } }

.section { padding-block: 5rem; }
.section--sm { padding-block: 3rem; }
.section--lg { padding-block: 7rem; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ── Flex / Grid helpers ─────────────────────────────────────── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ── Gradients ───────────────────────────────────────────────── */
.bg-gradient-hero    { background: var(--gradient-hero); }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-white            { background: var(--clr-bg); }
.bg-alt              { background: linear-gradient(359deg, #e7f3ff, #ffffff); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--clr-blue);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,.4);
}
.btn-outline {
  background: var(--clr-bg);
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-white {
  background: #fff;
  color: var(--clr-blue);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-purple { background: #ede9fe; color: #5b21b6; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-cyan   { background: #cffafe; color: #164e63; }
.badge-live   { background: #dfffe9; color: #61c76f; }
.badge-dev    { background: #8b5cf6; color: #fff; }

/* dot before live badge */
.badge-live::before,
.badge-dev::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
/* Disable hover effect on contact form card */
#contact-form .card:hover,
.card:has(#contact-form):hover {
  transform: none;
  box-shadow: var(--shadow-md);
}
.card-border {
  border: 2px solid var(--clr-border);
  box-shadow: none;
}
.card-border:hover { border-color: var(--clr-blue); }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .82);
    /* background: linear-gradient(180deg, rgb(0 27 68 / 93%) 70%, rgb(2 38 92 / 80%)); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* border-bottom: 1px solid rgba(229, 231, 235, .6); */
    display: flex;
    align-items: center;
    width: 95%;
    max-width: 1120px;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 28px 50px 0px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  flex-shrink: 0;
}
.logo svg { width: 36px; height: 36px; }
.logo span { display: none; }
@media (min-width: 468px) { .logo span { display: inline; } }
.logo .logo-sub {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.logo-wrap { display: flex; flex-direction: column; /*color: #fff;*/ }

/* Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1100px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  /*color: #8eabe7;*/
  color: #637aa9;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--clr-text);
  background: var(--clr-bg-alt);
  /*color: #1648b5;*/
  /*background: #b0d8ff;*/
  color: var(--clr-blue);
  background: #007fff1c;
}
.site-nav a.active { color: var(--clr-blue); /*color: #1648b5;*/ font-weight: 600; }

/* Header right group (CTA + hamburger) */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--clr-bg-alt); }
.hamburger:focus-visible { outline: 3px solid var(--clr-blue); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1100px) { .hamburger { display: none; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 100vw);
  height: 100%;
  background: var(--clr-bg);
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:not(.btn):hover,
.mobile-menu a:not(.btn).active {
  background: var(--clr-bg-blue);
  color: var(--clr-blue);
}
.mobile-menu .mobile-menu__cta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu .btn { justify-content: center; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #032354;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}
.site-footer a { color: #94a3b8; transition: color var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 26ch;
  color: #94a3b8;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.25rem; }

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.9375rem; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: #204f9d;
  transition: background var(--transition), color var(--transition);
  color: #cae0ff;
}
.footer-social a:hover { background: var(--clr-blue); color: #fff; }

.footer-bottom {
  border-top: 1px solid #2e3c54;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748b;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.08), transparent);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-blue);
  margin-bottom: 1.5rem;
}
.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 18ch;
  margin-inline: auto;
}
.hero p.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
  max-width: 52ch;
  margin-inline: auto;
}
.hero-waves {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  pointer-events: none;
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
  background: var(--clr-bg);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
}
.stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 0.875rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon--blue   { background: #dbeafe; color: var(--clr-blue); }
.stat-icon--cyan   { background: #cffafe; color: #0891b2; }
.stat-icon--purple { background: #ede9fe; color: var(--clr-purple); }
.stat-icon--green  { background: #d1fae5; color: #059669; }
.stat-number {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { position: relative; padding: 0; }
.timeline-line {
  display: none;
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-blue), var(--clr-cyan));
  transform: translateX(-50%);
}
@media (min-width: 768px) { .timeline-line { display: block; } }

.timeline-items { display: flex; flex-direction: column; gap: 4rem; }

.timeline-item {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .timeline-item { grid-template-columns: 1fr 1fr; align-items: center; }
  .timeline-item:nth-child(even) .timeline-content { order: 2; }
  .timeline-item:nth-child(even) .timeline-visual  { order: 1; }
}
.timeline-content { max-width: 100%; }
.timeline-period {
  display: inline-flex;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.timeline-content h3 { margin-bottom: 0.75rem; }
.timeline-content p { color: var(--clr-text-muted); line-height: 1.75; }

.timeline-dot {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--clr-bg);
}
@media (min-width: 768px) { .timeline-dot { display: block; } }

.timeline-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-visual-box {
  /*background: var(--clr-bg);
  border-radius: var(--radius-lg);*/
  padding: 2rem;
  /*box-shadow: var(--shadow-md);*/
  text-align: center;
  width: 100%;
  max-width: 320px;
}
.timeline-visual-box svg {
  margin: 0 auto;
  width: 120px;
  height: 120px;
}

/* ── Game Cards ──────────────────────────────────────────────── */
.games-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

.game-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid var(--clr-border);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.game-card--tropy {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}
.game-card--tropy::before { background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(6,182,212,.04)); }
.game-card--tropy:hover::before { opacity: 1; }
.game-card--tropy:hover { border-color: #93c5fd; }

.game-card--cubtopia {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}
.game-card--cubtopia::before { background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(6,182,212,.04)); }
.game-card--cubtopia:hover::before { opacity: 1; }
.game-card--cubtopia:hover { border-color: #6ee7b7; }

.game-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1020px) { 
	.game-card__header { flex-direction: column; }
}

.game-card__icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.game-card h3 { margin-bottom: 0.625rem; }
.game-card p  { color: var(--clr-text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

.game-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--transition);
}
.game-card--tropy .game-card__link  { color: var(--clr-blue); }
.game-card--cubtopia .game-card__link { color: #059669; }
.game-card__link:hover { gap: 0.625rem; }
.game-card__link svg { width: 16px; height: 16px; }

/* ── Why We Exist ────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.pillar-card h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
.pillar-card p  { color: var(--clr-text-muted); font-size: 0.9375rem; max-width: none; }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--gradient-cta);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
  background-image: url(/assets/img/pages/home/kids_in_pile_of_coins.png), var(--gradient-cta);
  background-repeat: no-repeat, no-repeat;
  background-position: bottom;
  background-size: contain;
  padding-bottom: 299px;
}
@media (max-width: 780px) { 
	.cta-banner { background-size: 220vw, contain; }
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.85); max-width: 50ch; margin: 0 auto 2rem; font-size: 1.125rem; }

/* ── Section Headers ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-blue);
  color: #5b6374;
  margin-bottom: 0.875rem;
}
.section-header h2 { 
    margin-bottom: 1rem;
    background: linear-gradient(to right, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header p  { color: var(--clr-text-muted); font-size: 1.125rem; max-width: 55ch; margin-inline: auto; }

/* ── Feature Grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}
.feature-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.feature-item p  { color: var(--clr-text-muted); font-size: 0.9375rem; max-width: none; }

/* ── Team ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.team-card h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.team-card .role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-blue);
  margin-bottom: 0.875rem;
}
.team-card p {
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  max-width: none;
  line-height: 1.6;
}
.team-card .linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0096e5;
  align-self: center;
}
.team-card .linkedin:hover { text-decoration: underline; }

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition), background var(--transition);
}
.faq-question:hover { color: var(--clr-blue); }
.faq-question[aria-expanded="true"] { color: var(--clr-blue); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--clr-text-muted);
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--clr-text-muted); margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--clr-bg-blue);
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.125rem; }
.contact-item p  { font-size: 0.9375rem; color: var(--clr-text-muted); max-width: none; margin: 0; }

.form-row {
  display: grid;
  gap: 1.125rem;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.3125rem; }
.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: 0.01em;
}
.form-group .optional {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--clr-text-light);
}
.form-hint {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 0.25rem;
  line-height: 1.5;
}
.form-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

.form-submit { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #065f46;
  background: #d1fae5;
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* ── Games Page Detail ───────────────────────────────────────── */
.game-detail {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .game-detail { grid-template-columns: 1fr 1fr; align-items: center; }
}
.game-detail-visual {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}
.game-detail-visual--cubtopia {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
}
.feature-list li::before {
  content: '✓';
  color: var(--clr-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ── Press / Blog ────────────────────────────────────────────── */
.posts-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.post-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.post-body { padding: 1.5rem; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.625rem;
}
.post-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; line-height: 1.35; }
.post-card p  { font-size: 0.9375rem; color: var(--clr-text-muted); margin-bottom: 1rem; max-width: none; }
.post-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.post-read-more:hover { gap: 0.625rem; }

/* ── About / Story ───────────────────────────────────────────── */
.story-section {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1085px) {
  .story-section { grid-template-columns: 1fr 1fr; }
  .story-section--reverse .story-visual { order: -1; }
}
.story-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}
.story-visual--blue   { background: linear-gradient(135deg, #eff6ff, #ecfeff); }
.story-visual--purple { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.story-visual--green  { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.story-visual--yellow { background: linear-gradient(135deg, #fffbeb, #fef3c7); }

/* Values grid */
.values-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--clr-border);
  text-align: center;
}
.value-card .icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; padding-left: 0px; }
.value-card h4 { margin-bottom: 0.375rem; font-size: 1rem; }
.value-card p  { font-size: 0.875rem; color: var(--clr-text-muted); max-width: none; }

/* ── Safety Section ──────────────────────────────────────────── */
.safety-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .safety-grid { grid-template-columns: repeat(4, 1fr); } }

.safety-card {
    background: #fff;
    background: linear-gradient(179deg, #ffffff, #f1f6ff);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(37, 99, 235, .08), 0 1px 3px rgba(0, 0, 0, .05);
    border: 1px solid rgba(37, 99, 235, .1);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37,99,235,.13), 0 4px 8px rgba(0,0,0,.06);
}
.safety-card .icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border: 1px solid rgba(37,99,235,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.safety-card .icon { font-size: 1.75rem; display: block; }
.safety-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; background: linear-gradient(to right, #005dff, #0087ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.safety-card p  { font-size: 0.875rem; color: var(--clr-text-muted); max-width: none; line-height: 1.6; }

/* ── 404 ─────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem var(--px);
  background: var(--gradient-hero);
}
.error-page .code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 { margin-bottom: 0.75rem; font-size: 2rem; }
.error-page p  { color: var(--clr-text-muted); margin-bottom: 2rem; max-width: 40ch; margin-inline: auto; }

/* ── Cookie Banner ───────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
#cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}
#cookie-banner p {
  font-size: 0.9375rem;
  max-width: 60ch;
  color: #94a3b8;
  margin: 0;
}
#cookie-banner p a { color: #93c5fd; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Page Transition ─────────────────────────────────────────── */
#app {
  outline: none;
}
#app.pjax-out {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
#app.pjax-in {
  opacity: 0;
  transform: translateY(6px);
}
#app.pjax-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Utilities ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0;
}
.highlight { color: var(--clr-blue); }
.highlight-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* Page-intro breadcrumb area */
.page-intro {
  background: var(--gradient-hero);
  padding: 8rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}
.page-intro h1 { margin-bottom: 0.75rem; }
.page-intro p.lead {
  color: var(--clr-text-muted);
  font-size: 1.125rem;
  max-width: 55ch;
  margin-inline: auto;
}

/* ── RESPONSIVE TWEAKS ───────────────────────────────────────── */
@media (max-width: 767px) {
  .section { padding-block: 3.5rem; }
  .hero     { padding: 7rem 0 3.5rem; }
  .cta-banner { padding: 3.5rem 0 10.5rem 0; }
}

/* Print */
@media print {
  .site-header, .site-footer, #cookie-banner, .mobile-menu { display: none; }
  .hero { padding: 2rem 0; }
}

/* ── Screenshot Slider ───────────────────────────────────────── */
.screenshot-slider-wrap { position: relative; padding: 0 1.75rem; }
.screenshot-slider {
  display: flex; gap: 1rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  padding: 0.5rem 0.25rem 0.75rem; cursor: grab;
}
.screenshot-slide {
  flex: 0 0 172px; scroll-snap-align: start;
  border-radius: 1.25rem; overflow: hidden; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .5rem; font-size: 2.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12); transition: transform .2s;
}
.screenshot-slide:hover { transform: scale(1.02); }
@media (min-width: 640px) {
  .screenshot-slide {
    flex: 0 0 296px;
    aspect-ratio: 526/296;
  }
}
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #374151; z-index: 2; transition: all .2s;
}
.slider-nav:hover { background: var(--clr-blue); color: #fff; }
.slider-nav:focus-visible { outline: 3px solid var(--clr-blue); }
.slider-nav--prev { left: -0.25rem; }
.slider-nav--next { right: -0.25rem; }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #d1d5db;
  border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s;
}
.slider-dot.active { background: var(--clr-blue); transform: scale(1.35); }

/* ── Dark section ────────────────────────────────────────────── */
.section-dark { background: #0f172a; color: #fff; padding: 6rem 0; text-align: center; }
.section-dark h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.eyebrow-pill {
  display: inline-block; padding: .375rem 1.125rem;
  background: rgba(255,255,255,.1); border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.8); margin-bottom: 1.5rem;
}
.text-cyan { color: #22d3ee; }

/* ── Cubtopia 3-characters ───────────────────────────────────── */
.cubtopia-chars { display: grid; grid-template-columns: repeat(3,1fr); align-items: flex-end; }
.cubtopia-char {
  border-radius: 1rem; overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.cubtopia-char:nth-child(2) { margin-left: -12px; z-index: 1; }
.cubtopia-char:nth-child(3) { margin-left: -24px; }

/* ── Games page layout ───────────────────────────────────────── */
.game-hero-grid { display: grid; gap: 3rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 1024px) { .game-hero-grid { grid-template-columns: 1fr 1fr; } }
.game-screenshot {
  border-radius: 1.25rem; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.15);
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
.game-feature-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .game-feature-grid { grid-template-columns: repeat(2,1fr); } }
.game-feature-box { border-radius: 1.5rem; padding: 2rem; }
.game-feature-box h3 { margin-bottom: 1.5rem; }
.game-feature-list { display: flex; flex-direction: column; gap: 1rem; list-style: none; }
.game-feature-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; color: #374151; }
.game-feature-list li svg { flex-shrink: 0; margin-top: .1em; }
.evo-text { display: flex; flex-direction: column; gap: .125rem; }
.evo-text strong { color: var(--clr-text); }
.evo-text span   { color: var(--clr-text-muted); font-size: .875rem; }
.designed-for-box { border-radius: 1.5rem; padding: 2rem 2.5rem; }
.designed-for-box__header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.designed-for-box h3 { font-size: 1.5rem; margin-bottom: 0; }
.designed-for-box p  { font-size: 1.0625rem; line-height: 1.75; max-width: none; margin: 0; }
.cubtopia-logo-container { display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem; }
@media (max-width: 1020px) {
	.cubtopia-logo-container { justify-content: center; }
}

/* ── Invest/Partner side-by-side ─────────────────────────────── */
.invest-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .invest-grid { grid-template-columns: repeat(2,1fr); } }

/* ── Store buttons ───────────────────────────────────────────── */
.store-btn {
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .625rem 1.25rem; border-radius: .75rem;
  background: #0f172a; color: #fff; font-size: .875rem; font-weight: 500;
  transition: background .2s, transform .2s; border: 1.5px solid rgba(255,255,255,.1);
}
.store-btn:hover { background: #1e293b; transform: translateY(-2px); }
.store-btn .sb-sub   { display: block; font-size: .7rem; color: #94a3b8; line-height: 1; }
.store-btn .sb-label { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.2; margin-top: .125rem; }

/* ── Footer bottom links ─────────────────────────────────────── */
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: #64748b; }
.footer-bottom-links a:hover { color: #94a3b8; }
