:root {
    --ink: #17212b;
    --muted: #667085;
    --paper: #fffaf3;
    --surface: #ffffff;
    --line: #eadfce;
    --coral: #f26f5b;
    --amber: #f7b955;
    --mint: #42c6a7;
    --blue: #4867d6;
    --shadow: 0 20px 55px rgba(23, 33, 43, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 250, 243, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgb(38, 115, 22);
    font-weight: 800;
}

.brand-logo {
    width: min(340px, 52vw);
    height: auto;
    max-height: 78px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-text {
    display: none;
    color: rgb(38, 115, 22);
    font-size: 28px;
    line-height: 1.05;
    white-space: nowrap;
}

.primary-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-nav a,
.language-switcher a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    color: #354253;
    font-weight: 700;
    font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.language-switcher a.is-active {
    background: #ffffff;
    color: var(--coral);
    box-shadow: 0 8px 18px rgba(23, 33, 43, 0.08);
}

.language-switcher {
    display: flex;
    gap: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    padding: 72px 0 44px;
    background:
        radial-gradient(circle at 78% 18%, rgba(66, 198, 167, 0.28), transparent 28%),
        linear-gradient(180deg, #fff6e8 0%, var(--paper) 100%);
}

.hero-grid,
.feature-grid,
.contact-grid,
.developer-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: 56px;
    line-height: 1.04;
}

h2 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
}

.lead {
    max-width: 680px;
    margin: 20px 0 0;
    color: #3d4856;
    font-size: 19px;
}

.slogan {
    margin: 14px 0 28px;
    color: var(--muted);
    font-weight: 700;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--ink);
}

.button.secondary {
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
}

.button.is-disabled {
    cursor: default;
    opacity: 0.62;
}

.full-button {
    width: 100%;
    margin-top: 18px;
}

.hero-showcase {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    justify-items: start;
    padding-left: 54px;
}

.presenter-frog {
    position: absolute;
    z-index: 0;
    left: 150px;
    bottom: 24px;
    width: 585px;
    height: 497px;
    object-fit: cover;
    filter: drop-shadow(0 22px 36px rgba(23, 33, 43, 0.12));
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: min(310px, 88vw);
    aspect-ratio: 9 / 16;
    padding: 24px;
    border-radius: 34px;
    background: #1b2633;
    box-shadow: var(--shadow);
}

.game-tiles {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: #fffaf3;
}

.game-tiles span {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--coral), var(--amber));
}

.game-tiles span:nth-child(2n) {
    background: linear-gradient(135deg, var(--mint), var(--blue));
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 46px;
    width: 230px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.floating-card img {
    display: block;
    width: 100%;
    height: auto;
}

.section,
.page-hero {
    padding: 64px 0;
}

.page-hero.compact {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.developer-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.developer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kurisoft-developer-banner.png") center bottom / cover no-repeat;
    opacity: 0.52;
}

.developer-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.26));
}

.developer-hero .container {
    position: relative;
    z-index: 2;
}

.games-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.games-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kurisoft-games-banner.png") center center / cover no-repeat;
    opacity: 0.46;
}

.games-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24));
}

.games-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kurisoft-about-banner.png") center 32% / cover no-repeat;
    opacity: 0.48;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.28));
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kurisoft-contact-banner.png") center 38% / cover no-repeat;
    opacity: 0.5;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.3));
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.privacy-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.privacy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kurisoft-privacy-banner.png") center center / cover no-repeat;
    opacity: 0.48;
}

.privacy-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.28));
}

.privacy-hero .container {
    position: relative;
    z-index: 2;
}

.section-heading {
    margin-bottom: 24px;
}

.visual-placeholder,
.featured-media,
.game-art {
    min-height: 300px;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), var(--mint));
    box-shadow: var(--shadow);
}

.featured-media {
    gap: 18px;
    color: var(--ink);
    background: #ffffff;
}

.featured-logo {
    width: min(360px, 86%);
    height: auto;
    align-self: end;
}

.screenshot-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.screenshot-strip img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.12);
}

.feature-copy {
    padding: 16px 0;
}

.pills,
.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-copy .pills {
    margin-bottom: 18px;
}

.pills span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--line);
    font-weight: 800;
    font-size: 14px;
}

.cards-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.game-card,
.info-block,
.profile-panel,
.contact-card,
.contact-form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.07);
}

.clickable-card {
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.clickable-card:hover,
.clickable-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(23, 33, 43, 0.12);
    outline: 0;
}

.game-art {
    min-height: 220px;
    margin-bottom: 18px;
}

.game-art img {
    width: min(330px, 88%);
    height: auto;
    display: block;
}

.game-art.mint {
    background: linear-gradient(135deg, #20a987, #4867d6);
}

.game-art.amber {
    background: linear-gradient(135deg, #f7b955, #f26f5b);
}

.game-art.violet {
    background: linear-gradient(135deg, #6d5dfc, #42c6a7);
}

.game-art.ruby {
    background: linear-gradient(135deg, #8f1d2c, #f7b955);
}

.game-body h2 a:hover {
    color: rgb(38, 115, 22);
}

.game-detail-hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 86% 18%, rgba(66, 198, 167, 0.2), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
    border-bottom: 1px solid var(--line);
}

.game-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 44px;
    align-items: center;
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: rgb(38, 115, 22);
    font-weight: 800;
}

.detail-meta {
    max-width: 560px;
}

.game-detail-cover {
    min-height: 390px;
    display: grid;
    place-items: center;
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.game-detail-cover.mint {
    background: linear-gradient(135deg, #20a987, #4867d6);
}

.game-detail-cover.amber {
    background: linear-gradient(135deg, #f7b955, #f26f5b);
}

.game-detail-cover.violet {
    background: linear-gradient(135deg, #6d5dfc, #42c6a7);
}

.game-detail-cover.ruby {
    background: linear-gradient(135deg, #8f1d2c, #f7b955);
}

.game-detail-cover img {
    width: min(420px, 90%);
    max-height: 430px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.game-detail-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.screenshots-section {
    padding-top: 24px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.screenshot-gallery img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fffdf9;
    box-shadow: 0 12px 28px rgba(23, 33, 43, 0.1);
}

.game-body p,
.info-block p,
.contact-card p {
    color: var(--muted);
}

.meta-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.meta-list div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
}

.meta-list dt {
    color: var(--muted);
    font-weight: 800;
}

.meta-list dd {
    margin: 0;
}

.developer-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
}

.profile-panel {
    position: sticky;
    top: 100px;
}

.profile-photo {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto 20px;
    object-fit: cover;
    object-position: center top;
    border: 6px solid #ffffff;
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(23, 33, 43, 0.18);
}

.cv-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cv-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff6e8;
    font-weight: 800;
}

.cv-list a:hover,
.cv-list a:focus {
    color: rgb(38, 115, 22);
    background: #ffffff;
    outline: 2px solid rgba(38, 115, 22, 0.22);
}

.highlight-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.highlight-list li {
    position: relative;
    padding-left: 22px;
    color: #3d4856;
}

.highlight-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
}

.cv-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cv-detail-grid section {
    scroll-margin-top: 120px;
    padding: 16px;
    border-radius: 12px;
    background: #fff6e8;
}

.cv-detail-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.cv-detail-grid p {
    margin: 0;
    color: var(--muted);
}

.content-stack {
    display: grid;
    gap: 18px;
}

.contact-grid {
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.privacy-layout {
    max-width: 920px;
}

.privacy-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.07);
}

.privacy-section {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.privacy-section:first-child {
    padding-top: 0;
}

.privacy-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.privacy-section h2 {
    color: rgb(38, 115, 22);
}

.privacy-section p,
.privacy-section li {
    color: var(--muted);
}

.privacy-section ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    margin: 14px 0 0;
}

.privacy-section a {
    color: var(--blue);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    color: var(--ink);
    background: #fffdf9;
}

.form-notice {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.form-notice.is-success {
    color: #0b684f;
    background: #ddf8ef;
}

.form-notice.is-error {
    color: #9b1c1c;
    background: #fee2e2;
}


.site-footer {
    padding: 36px 0 24px;
    color: #ffffff;
    background: #17212b;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer p,
.copyright {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-weight: 800;
}

.copyright {
    margin-top: 24px;
    font-size: 14px;
}

@media (max-width: 860px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-block;
    }

    .primary-nav {
        display: none;
        order: 4;
        width: 100%;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }

    .primary-nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .language-switcher {
        margin-left: 0;
    }

    .hero-grid,
    .feature-grid,
    .contact-grid,
    .developer-layout,
    .game-detail-hero-grid,
    .game-detail-layout,
    .cards-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 42px;
    }

    .hero-showcase {
        min-height: 380px;
        justify-items: center;
        padding-left: 0;
    }

    .presenter-frog {
        left: 50%;
        bottom: 12px;
        width: min(260px, 46vw);
        opacity: 0.42;
        transform: translateX(22%);
    }

    .floating-card {
        right: 18px;
    }

    .profile-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand-text {
        max-width: 170px;
        white-space: normal;
        line-height: 1.1;
        font-size: 22px;
    }

    .language-switcher {
        width: 100%;
        padding-left: 0;
        border-left: 0;
    }

    .language-switcher a {
        flex: 1;
        justify-content: center;
    }

    .hero,
    .section,
    .page-hero {
        padding: 44px 0;
    }

    h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 17px;
    }

    .meta-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .footer-grid {
        display: grid;
    }

    .screenshot-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .cv-detail-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .presenter-frog {
        display: none;
    }

    .feature-copy .pills {
        margin-bottom: 22px;
    }
}
