:root {
  --site-bg: #030b12;
  --site-primary: #00f5d4;
  --site-secondary: #7c3aed;
  --site-accent: #f0f000;
  --site-text: #ddfcf5;
  /* Layered surfaces (use these for depth — NEVER stack text directly on --site-bg) */
  --surface-1: #10171e;   /* alternating section band */
  --surface-2: #1c232a;   /* cards & panels */
  --surface-3: #2b3238;   /* raised / hover elements */
  --border-soft: #3a4146; /* 1px hairline borders & dividers */
  --hero-glow: #027469;   /* hero gradient companion to --site-primary */
  --accent-soft: #2e340f; /* faint accent wash for tinted blocks */
  --text-muted: #aeb7ca; /* secondary / supporting text */
}

/* ===== CONTRAST SAFETY NET (MANDATORY — copy verbatim, never remove) ===== */
/* Guarantees readable text on every surface. Computed from theme luminance. */
/* Each rule uses !important so it survives inline styles and model overrides. */
/* Body background is FORCED here so EVERY page (incl. legal/cookie pages) gets the dark
   base — the model sometimes forgets to set it on inner pages, leaving white/transparent
   pages with washed-out text. This guarantees the page background is always correct. */
html { background: #030b12 !important; }
body { color: #eef2f8 !important; background: #030b12 !important; }
/* Global minimum font size — nothing on the site may render below 14px */
small, .small, figcaption, sub, sup, .legal, .disclaimer-text, .co1fku-disclosure-bar, .co1fku-footer small { font-size: max(14px, 0.85rem) !important; }
/* Body copy floor — long-form paragraphs, lists & content text never wash out */
main p, main li, main td, .co1fku-content-section, .co1fku-content-section p, .co1fku-content-section li, .co1fku-content-section span, .co1fku-content-section div:not([class]) { color: #eef2f8 !important; }
/* Header / navigation — text must contrast the header (primary) background */
.co1fku-header .co1fku-logo span, .co1fku-header nav a, .co1fku-header nav a:link, .co1fku-header nav a:visited, .co1fku-desktop-nav a, .co1fku-header .co1fku-hamburger { color: #16181f !important; opacity: 1 !important; }
.co1fku-header nav a:hover, .co1fku-desktop-nav a:hover { color: #f0f000 !important; }
/* Hero — readable over images, gradients or solid colour */
.co1fku-hero h1, .co1fku-hero h2, .co1fku-hero-text h1, .co1fku-hero-text h2 { color: #939395 !important; text-shadow: 0 1px 2px rgba(255,255,255,0.6); }
.co1fku-hero p, .co1fku-hero-text p, .co1fku-hero li, .co1fku-hero-subtitle { color: #7f8397 !important; text-shadow: 0 1px 2px rgba(255,255,255,0.6); }
.co1fku-game-card { background: #1c232a !important; }
.co1fku-game-card h1, .co1fku-game-card h2, .co1fku-game-card h3, .co1fku-game-card h4, .co1fku-game-card p, .co1fku-game-card span:not([class]) { color: #f2f5fb !important; }
.co1fku-game-card small, .co1fku-game-card .muted { color: #aeb7ca !important; }
/* Footer — force a dark surface (inline bg would otherwise win) so light text reads */
.co1fku-footer { background: #02080e !important; }
.co1fku-footer, .co1fku-footer p, .co1fku-footer li, .co1fku-footer span, .co1fku-footer div, .co1fku-footer h1, .co1fku-footer h2, .co1fku-footer h3 { color: #e7ecf5 !important; text-shadow: none !important; }
.co1fku-footer a { color: #f0f000 !important; opacity: 1 !important; }
/* Accessibility: honour reduced-motion preference (WCAG 2.3.3) — disables the decorative animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
/* Overflow guard (deterministic) — prevents the "second scrollbar" / horizontal spill no
   matter what the model styles. Any element wider than the viewport is clamped. */
html, body { max-width: 100% !important; overflow-x: hidden !important; }
body { position: relative; }
img, canvas, iframe, video, svg, table, pre { max-width: 100% !important; }
.co1fku-hero, .co1fku-game-grid, .co1fku-content-section, main, header, footer, section { max-width: 100vw !important; box-sizing: border-box !important; }

/* ===== CSS RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  background-color: var(--site-bg);
  color: var(--site-text);
}

main {
  flex: 1;
  width: 100%;
  animation: fadeInUp 0.65s ease-out both;
}

/* ===== TYPOGRAPHIC SCALE & MAGAZINE EDITORIAL STYLE ===== */
h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--site-text);
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1.5rem;
}

/* Magazine Editorial Elements */
.co1fku-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--site-primary);
  margin-bottom: 0.75rem;
}

.co1fku-pullquote {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--site-primary);
  border-left: 4px solid var(--site-secondary);
  padding-left: 24px;
  margin: 40px 0;
}

/* ===== CONTAINER ===== */
.co1fku-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER & NAVIGATION STYLING ===== */
.co1fku-header {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.co1fku-desktop-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.co1fku-desktop-nav a {
  position: relative;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.co1fku-desktop-nav a::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--site-secondary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.co1fku-desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile Overlay Menu */
.co1fku-mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.2s;
}

.co1fku-mobile-menu ul li a:hover {
  color: var(--site-primary);
}

/* ===== HERO LAYOUT ARCHITECTURE (ASYMMETRIC-SPLIT) ===== */
.co1fku-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  padding: 120px 0;
  gap: 60px;
  position: relative;
  background: linear-gradient(135deg, var(--site-bg), var(--hero-glow));
  border-bottom: 1px solid var(--border-soft);
}

.co1fku-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.co1fku-hero-text {
  padding-right: 40px;
  z-index: 2;
}

.co1fku-hero-text h1 {
  animation: slideInHero 0.7s 0.1s ease-out both;
}

.co1fku-hero-text p {
  animation: slideInHero 0.7s 0.25s ease-out both;
  font-size: 1.2rem;
  line-height: 1.6;
}

.co1fku-hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.co1fku-hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 40px 0 40px 0;
  box-shadow: 20px 20px 0px var(--site-secondary);
  border: 4px solid var(--site-primary);
}

/* ===== GAMES GRID ARCHITECTURE (NEO-BRUTALIST) ===== */
.co1fku-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin: 60px auto;
}

.co1fku-game-card {
  border: 6px solid #000 !important;
  box-shadow: 12px 12px 0px #000;
  border-radius: 0px !important; /* Brutalist sharp corners */
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.co1fku-game-card:hover {
  transform: translate(4px, 4px);
  box-shadow: 6px 6px 0px #000;
}

.co1fku-game-card-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 6px solid #000;
  position: relative;
}

.co1fku-game-card img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.co1fku-game-card:hover img {
  transform: scale(1.05);
}

.co1fku-game-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.co1fku-game-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.co1fku-game-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Staggered entry for game cards */
.co1fku-game-card:nth-child(1) { animation: cardEnter 0.5s 0.05s ease-out both; }
.co1fku-game-card:nth-child(2) { animation: cardEnter 0.5s 0.15s ease-out both; }
.co1fku-game-card:nth-child(3) { animation: cardEnter 0.5s 0.25s ease-out both; }
.co1fku-game-card:nth-child(4) { animation: cardEnter 0.5s 0.35s ease-out both; }
.co1fku-game-card:nth-child(5) { animation: cardEnter 0.5s 0.45s ease-out both; }
.co1fku-game-card:nth-child(6) { animation: cardEnter 0.5s 0.55s ease-out both; }

/* ===== BUTTONS & INTERACTIVE ELEMENTS ===== */
.co1fku-btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 0px; /* Brutalist style */
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 4px solid #000;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 6px 6px 0px #000;
}

.co1fku-btn-primary {
  background: var(--site-accent);
  color: #000 !important;
  animation: btnGlow 2.5s ease-in-out infinite;
}

.co1fku-btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px #000;
  background: var(--site-primary);
}

.co1fku-btn-secondary {
  background: var(--surface-3);
  color: #fff !important;
}

.co1fku-btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px #000;
  background: var(--site-secondary);
}

/* ===== LAYERED BANDS & SECTION BACKGROUNDS ===== */
.co1fku-section-even {
  background-color: var(--surface-1);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.co1fku-section-odd {
  background-color: var(--site-bg);
}

.co1fku-section-tinted {
  background: linear-gradient(180deg, var(--surface-1), var(--accent-soft));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.co1fku-content-section {
  padding: 100px 0;
}

/* Asymmetric Editorial Layout (2/3 + 1/3) */
.co1fku-editorial-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.co1fku-editorial-sidebar {
  border-left: 1px solid var(--border-soft);
  padding-left: 40px;
}

/* ===== PILL BADGES & CHIPS ===== */
.co1fku-badge-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.co1fku-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: var(--site-primary);
}

.co1fku-badge-accent {
  background: rgba(240, 240, 0, 0.1);
  border: 1px solid rgba(240, 240, 0, 0.3);
  color: var(--site-accent);
}

/* ===== PROFESSIONAL UI ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInHero {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes btnGlow {
  0%, 100% {
    box-shadow: 6px 6px 0px #000, 0 0 8px rgba(240, 240, 0, 0.2);
  }
  50% {
    box-shadow: 6px 6px 0px #000, 0 0 22px rgba(240, 240, 0, 0.6);
  }
}

/* ===== CONTACT CARD & FORM ===== */
.co1fku-contact-card {
  background: var(--surface-2);
  border: 4px solid var(--border-soft);
  padding: 40px;
  border-radius: 0px;
  margin-top: 40px;
}

.co1fku-form-group {
  margin-bottom: 24px;
}

.co1fku-form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.co1fku-form-input {
  width: 100%;
  padding: 14px;
  background: var(--surface-1);
  border: 2px solid var(--border-soft);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.co1fku-form-input:focus {
  outline: none;
  border-color: var(--site-primary);
}

/* ===== GAME IFRAME CONTAINER ===== */
.co1fku-game-frame-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border: 6px solid #000;
  box-shadow: 12px 12px 0px #000;
  margin-bottom: 40px;
}

.co1fku-game-frame-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== TABLE OF CONTENTS / QUICK LINKS ===== */
.co1fku-toc {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 30px;
  margin-bottom: 40px;
}

.co1fku-toc h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--site-secondary);
  padding-bottom: 10px;
}

.co1fku-toc ul {
  list-style: none;
}

.co1fku-toc li {
  margin-bottom: 12px;
}

.co1fku-toc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.co1fku-toc a:hover {
  color: var(--site-primary);
}

/* ===== MANDATORY MOBILE BREAKPOINTS (FAIR USE COPY VERBATIM) ===== */
/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  .co1fku-hero { grid-template-columns: 1fr !important; flex-direction: column !important; padding: 80px 5% 60px !important; gap: 40px !important; }
  .co1fku-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem) !important; }
  .co1fku-hero-image { display: none !important; }
  .co1fku-game-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
}
/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
  html, body { font-size: 17px; overflow-x: hidden; }
  small, .small, figcaption, sub, sup, .legal, .disclaimer-text { font-size: max(14px, 0.85rem) !important; }
  .co1fku-header { padding: 12px 16px !important; position: sticky; top: 0; z-index: 100; }
  .co1fku-desktop-nav { display: none !important; }
  .co1fku-hamburger { display: flex !important; align-items: center; justify-content: center; background: transparent; border: 2px solid currentColor; border-radius: 8px; padding: 6px 10px; font-size: 1.4rem; cursor: pointer; }
  .co1fku-hero { grid-template-columns: 1fr !important; flex-direction: column !important; padding: 60px 16px 40px !important; text-align: center !important; gap: 24px !important; min-height: unset !important; background-attachment: scroll !important; }
  .co1fku-hero h1, .co1fku-hero-text h1 { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.2 !important; margin-bottom: 16px !important; }
  .co1fku-hero p, .co1fku-hero-text p { font-size: max(15px, 1rem) !important; }
  .co1fku-hero-image { display: none !important; }
  .co1fku-hero img { display: none !important; }
  .co1fku-game-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; padding: 0 12px !important; }
  .co1fku-game-card { border-radius: 12px !important; }
  .co1fku-game-card img { height: 140px !important; }
  .co1fku-btn { padding: 12px 24px !important; font-size: max(14px, 0.875rem) !important; }
  .co1fku-content-section { padding: 40px 16px !important; font-size: max(15px, 1rem) !important; }
  .co1fku-footer { padding: 30px 16px !important; font-size: max(14px, 0.875rem) !important; }
  .co1fku-footer ul { flex-direction: column !important; gap: 10px !important; }
  canvas { max-width: 100% !important; height: auto !important; }
  img, video, iframe { max-width: 100% !important; }
}
/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  .co1fku-hero h1, .co1fku-hero-text h1 { font-size: clamp(1.4rem, 8vw, 2rem) !important; }
  .co1fku-game-grid { grid-template-columns: 1fr !important; }
  .co1fku-game-card img { height: 180px !important; }
}
/* === DESKTOP ONLY: Hide hamburger === */
@media (min-width: 769px) {
  .co1fku-hamburger { display: none !important; }
  .co1fku-desktop-nav { display: flex !important; }
}