@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lato:wght@400;700&display=swap");

:root {
      --color-primary: #1d4ed8;
      --color-accent: #84cc16;
      --color-white: #ffffff;
      --color-dark: #0f172a;
      --color-light: #f8fafc;
      --color-border: #e2e8f0;
      --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
      --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      font-family: 'Lato', sans-serif;
      color: var(--color-dark);
      background: var(--color-white);
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    h1 { font-size: 3.5rem; line-height: 1.1; }
    h2 { font-size: 2.5rem; line-height: 1.2; }
    h3 { font-size: 1.5rem; line-height: 1.3; }

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

    a {
      color: var(--color-primary);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--color-accent);
    }

    button {
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    /* Header & Navigation */
    header {
      background: var(--color-white);
      border-bottom: 1px solid var(--color-border);
      padding: 1.5rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand {
      font-family: 'Nunito', sans-serif;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--color-primary);
    }

    nav {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    nav a {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--color-dark);
      position: relative;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      transition: all 0.2s ease;
    }

    nav a:hover {
      background: var(--color-light);
      color: var(--color-primary);
    }

    nav a.active {
      background: var(--color-primary);
      color: var(--color-white);
    }

    /* Main Content */
    main {
      max-width: 1400px;
      margin: 0 auto;
    }

    section {
      padding: 4rem 2rem;
    }

    section.full-bleed {
      padding-left: 0;
      padding-right: 0;
    }

    .section-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-header h2 {
      color: var(--color-primary);
      margin-bottom: 0.5rem;
    }

    .section-header p {
      font-size: 1.1rem;
      color: #64748b;
    }

    /* Hero Section */
    #hero_editorial {
      background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
      padding: 4rem 2rem;
    }

    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-text h1 {
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    .hero-text p {
      font-size: 1.1rem;
      color: #475569;
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    .hero-cta {
      display: inline-block;
      background: var(--color-primary);
      color: var(--color-white);
      padding: 1rem 2rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1rem;
      box-shadow: var(--shadow-soft);
      transition: all 0.2s ease;
    }

    .hero-cta:hover {
      background: #1e40af;
      box-shadow: var(--shadow-medium);
    }

    .hero-image {
      height: 450px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-medium);
    }

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

    /* Concept Overview */
    #concept_overview {
      background: var(--color-white);
    }

    .concept-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .concept-text h2 {
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    .concept-text p {
      font-size: 1rem;
      color: #475569;
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    .concept-image {
      height: 380px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
    }

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

    /* Game Showcase */
    #game_showcase {
      background: var(--color-light);
    }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .game-card {
      background: var(--color-white);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      transition: all 0.3s ease;
    }

    .game-card:hover {
      box-shadow: var(--shadow-medium);
      transform: translateY(-4px);
    }

    .game-card-image {
      height: 200px;
      overflow: hidden;
    }

    .game-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .game-card-content {
      padding: 1.5rem;
    }

    .game-card h3 {
      color: var(--color-primary);
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
    }

    .game-card p {
      color: #64748b;
      font-size: 0.95rem;
    }

    /* Audience Relevance */
    #audience_relevance {
      background: var(--color-white);
    }

    .audience-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 2rem;
    }

    .audience-item {
      background: var(--color-light);
      padding: 2rem;
      border-radius: 12px;
      border-left: 4px solid var(--color-accent);
    }

    .audience-item h3 {
      color: var(--color-primary);
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .audience-item p {
      color: #475569;
      font-size: 0.95rem;
      line-height: 1.7;
    }

    /* CTA Section */
    #cta_section {
      background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
      color: var(--color-white);
      text-align: center;
    }

    #cta_section h2 {
      color: var(--color-white);
      margin-bottom: 1rem;
    }

    #cta_section p {
      font-size: 1.1rem;
      margin-bottom: 2rem;
      opacity: 0.95;
    }

    .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--color-accent);
      color: var(--color-dark);
      padding: 1rem 2rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.2s ease;
    }

    .btn-primary:hover {
      background: #a3e635;
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.2);
      color: var(--color-white);
      padding: 1rem 2rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1rem;
      border: 2px solid var(--color-white);
      transition: all 0.2s ease;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    /* Footer */
    footer {
      background: var(--color-dark);
      color: var(--color-white);
      padding: 3rem 2rem 1rem;
      margin-top: 4rem;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-column h4 {
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--color-accent);
    }

    .footer-column p {
      font-size: 0.9rem;
      line-height: 1.7;
      color: #cbd5e1;
      margin-bottom: 0.5rem;
    }

    .footer-column a {
      display: block;
      font-size: 0.9rem;
      color: #cbd5e1;
      margin-bottom: 0.5rem;
      transition: color 0.2s ease;
    }

    .footer-column a:hover {
      color: var(--color-accent);
    }

    .footer-bottom {
      border-top: 1px solid #334155;
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: #94a3b8;
    }

    /* Responsive */
    @media (max-width: 768px) {
      h1 { font-size: 2.5rem; }
      h2 { font-size: 1.8rem; }
      h3 { font-size: 1.2rem; }

      nav {
        gap: 1rem;
      }

      nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
      }

      .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .hero-image {
        height: 300px;
      }

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

      .concept-image {
        height: 280px;
      }

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

      .cta-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
      }

      section {
        padding: 2.5rem 1.5rem;
      }
    }

    @media (max-width: 480px) {
      h1 { font-size: 2rem; }
      h2 { font-size: 1.5rem; }

      .header-container {
        flex-direction: column;
        gap: 1rem;
      }

      nav {
        flex-wrap: wrap;
        justify-content: center;
      }

      .hero-text h1 {
        font-size: 2rem;
      }

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

      .footer-container {
        grid-template-columns: 1fr;
      }
    }
/* ── image safety ── */
img { max-width: 100%; height: auto; display: block; }
img[style*='width:'] { max-width: 100%; }
