@font-face {
      font-family: 'Cinzel';
      font-style: normal;
      font-weight: 400 600;
      font-display: swap;
      src: url('/fonts/cinzel-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }
    @font-face {
      font-family: 'Cinzel';
      font-style: normal;
      font-weight: 400 600;
      font-display: swap;
      src: url('/fonts/cinzel-latin-ext.woff2') format('woff2');
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }
    @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 300 500;
      font-display: swap;
      src: url('/fonts/inter-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }
    @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 300 500;
      font-display: swap;
      src: url('/fonts/inter-latin-ext.woff2') format('woff2');
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }

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

    :root {
      --bg: #f4ece0;
      --bg-header: #ece1d0;
      --bg-footer: #e4d7c4;
      --ink: #3a322a;
      --gold: #a67c52;
      --gold-dark: #8a6440;
      --muted: #9a8870;

      --pink: #b04a78;
      --pink-soft: #faf0f4;
      --pink-border: #e8c0d4;

      --green: #3d8a55;
      --green-dark: #2d7a48;
      --green-soft: #f0f5ee;
      --green-border: #b8ddc0;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      -webkit-font-smoothing: antialiased;
    }

    .header {
      text-align: center;
      padding: 2.5rem 1rem 1.5rem;
      background: linear-gradient(180deg, var(--bg-header) 0%, transparent 100%);
    }
    .logo {
      /* A heading element now, so its own margins have to be cleared
         rather than inherited from the browser. */
      margin: 0 0 0.5rem;
      font-weight: 600;
      font-family: 'Cinzel', serif;
      font-size: 14px;
      letter-spacing: 0.35em;
      color: var(--gold);
      text-transform: uppercase;
    }
    .tagline { font-size: 12px; color: var(--muted); letter-spacing: 0.2em; }
    .divider-h { width: 60px; height: 1px; background: rgba(200,169,110,0.55); margin: 1rem auto 0; }

    .split { display: flex; flex: 1; min-height: 560px; }

    .panel {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 2.5rem 2rem;
      position: relative;
      overflow: hidden;
      transition: flex 0.4s ease;
    }
    .panel:hover { flex: 1.06; }
    .panel-left  { background: var(--pink-soft); border-right: 1px solid #e8d5dd; }
    .panel-right { background: var(--green-soft); }

    .panel-bg {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      filter: blur(26px) brightness(1.05) saturate(1.1) opacity(0.28);
      transform: scale(1.12);
      transition: filter 0.4s ease;
      z-index: 0;
    }
    .panel:hover .panel-bg { filter: blur(8px) brightness(1.05) saturate(1.3) opacity(0.5); }

    .panel-content {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center; width: 100%;
    }

    .studio-logo {
      width: 90px; height: 90px; border-radius: 50%;
      margin-bottom: 1.25rem; object-fit: cover;
      border: 3px solid #fff; box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    }

    .brand-name {
      font-family: 'Cinzel', serif;
      font-size: 16px; letter-spacing: 0.12em;
      margin-bottom: 0.5rem; text-align: center;
    }
    .panel-left  .brand-name { color: var(--pink); }
    .panel-right .brand-name { color: var(--green); }

    .panel-desc {
      font-size: 12.5px; color: #6a5e52;
      text-align: center; line-height: 1.7;
      max-width: 220px; margin-bottom: 1.5rem;
    }

    .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 1.75rem; }
    .tag {
      font-size: 10px; letter-spacing: 0.08em;
      padding: 3px 11px; border-radius: 20px; border: 1px solid;
    }
    .panel-left  .tag { border-color: #d89ab8; color: var(--pink);  background: #fff0f6; }
    .panel-right .tag { border-color: #9ccaa8; color: var(--green); background: #f0fbf2; }

    .links { display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 200px; }
    .link-btn {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 14px; border-radius: 8px; border: 1px solid;
      font-size: 12px; letter-spacing: 0.06em; text-decoration: none;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      background: rgba(255,255,255,0.8);
    }
    .panel-left  .link-btn { border-color: var(--pink-border); color: #a04068; }
    .panel-left  .link-btn:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
    .panel-right .link-btn { border-color: var(--green-border); color: var(--green-dark); }
    .panel-right .link-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

    .link-icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .link-icon svg { width: 16px; height: 16px; fill: currentColor; }

    .games { margin-top: 1.5rem; text-align: center; max-width: 300px; }
    .games-title { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #6a5e52; margin-bottom: 0.5rem; }
    .games ul { list-style: none; padding: 0; margin: 0 0 0.5rem; }
    .games li { font-size: 11px; line-height: 1.7; color: #6a5e52; white-space: nowrap; }
    .games-more { display: inline-block; font-size: 11px; letter-spacing: 0.04em; text-decoration: none; margin-top: 0.25rem; }
    .panel-left  .games-more { color: #b04a78; }
    .panel-right .games-more { color: #3d8a55; }
    .games-more:hover { text-decoration: underline; }

    .divider-v {
      width: 1px; flex-shrink: 0; align-self: stretch;
      background: linear-gradient(180deg, transparent, rgba(200,169,110,0.4) 30%, rgba(200,169,110,0.4) 70%, transparent);
    }

    .contact {
      text-align: center;
      padding: 2.5rem 1rem 2rem;
      background: var(--bg-header);
      border-top: 1px solid #e0d2c0;
    }
    .games li a {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s ease, color 0.2s ease;
    }
    .games li a:hover,
    .games li a:focus-visible {
      color: var(--gold);
      border-bottom-color: currentColor;
    }
    .contact-title {
      font-family: 'Cinzel', serif; font-size: 14px;
      letter-spacing: 0.2em; color: var(--gold);
      text-transform: uppercase; margin-bottom: 1rem;
    }
    .contact-btn {
      display: inline-flex; align-items: center; gap: 9px;
      padding: 11px 24px; border-radius: 30px;
      background: var(--gold); color: #fff; text-decoration: none;
      font-size: 13px; letter-spacing: 0.05em;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(166,124,82,0.2);
      word-break: break-all;
    }
    .contact-btn:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(166,124,82,0.27); }
    .contact-btn svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

    .footer {
      text-align: center;
      padding: 1.5rem 1rem;
      font-size: 11px; color: var(--muted);
      letter-spacing: 0.1em; line-height: 2;
      border-top: 1px solid #e0d2c0;
      background: var(--bg-footer);
    }
    .footer-marks { margin-bottom: 0.3rem; color: var(--gold); }
    .footer-desc { max-width: 640px; margin: 0 auto 1.25rem; font-size: 12px; line-height: 1.8; color: #9a8870; }
    @media (max-width: 760px) { .footer-desc { font-size: 11.5px; } }

    /* ---- Mobile ---- */
    @media (max-width: 760px) {
      .split { flex-direction: column; min-height: 0; }
      .panel { padding: 2.5rem 1.5rem; }
      .panel:hover { flex: 1; }
      .panel-left { border-right: none; border-bottom: 1px solid #e8d5dd; }
      .divider-v { display: none; }
      .links { max-width: 280px; }
      .contact-btn { font-size: 12px; padding: 11px 18px; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; }
      html { scroll-behavior: auto; }
    }
