:root {
    --cream: #fff8e8;
    --ink: #273043;
    --coral: #ff6f61;
    --sun: #ffd166;
    --mint: #7bdff2;
    --lavender: #cdb4db;
    --green: #95d5b2;
    --pink: #ffafcc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(39, 48, 67, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.45), transparent 30%),
        radial-gradient(circle at top right, rgba(123, 223, 242, 0.45), transparent 35%),
        linear-gradient(180deg, var(--cream), #fff);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 248, 232, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(39, 48, 67, 0.08);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a {
    opacity: 0.75;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--coral);
}

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 96px 24px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--coral);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

h3 {
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 620px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
    background: var(--sun);
}

.button.secondary {
    background: var(--white);
}

.hero-card {
    min-height: 380px;
    padding: 36px;
    border: 3px solid var(--ink);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255, 175, 204, 0.9), rgba(123, 223, 242, 0.9)),
        var(--mint);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: rotate(2deg);
}

.crane-icon {
    width: 120px;
    height: 120px;
    margin-bottom: auto;
    display: grid;
    place-items: center;
    font-size: 4.5rem;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 32px;
    box-shadow: 7px 7px 0 var(--ink);
}

.hero-card h2 {
    margin-bottom: 12px;
}

.hero-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 24px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.about-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card,
.team-card,
.games-panel,
.contact-card {
    border: 3px solid var(--ink);
    border-radius: 30px;
    box-shadow: 8px 8px 0 var(--ink);
}

.info-card {
    padding: 28px;
    min-height: 250px;
}

.info-card p,
.team-card p,
.games-panel p,
.contact-card p {
    line-height: 1.65;
}

.info-card.yellow {
    background: var(--sun);
}

.info-card.pink {
    background: var(--pink);
}

.info-card.blue {
    background: var(--mint);
}

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

.team-card {
    padding: 32px;
    background: var(--white);
}

.team-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--sun);
    font-weight: 900;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}

.avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    border: 3px solid var(--ink);
    border-radius: 24px;
    background: var(--lavender);
}

.role {
    margin-bottom: 14px;
    font-weight: 900;
    color: var(--coral);
}

.games-panel {
    padding: 36px;
    background: var(--green);
}

.games-panel p {
    max-width: 760px;
    font-size: 1.1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tags span {
    padding: 10px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    font-weight: 900;
}

.contact-section {
    padding-bottom: 96px;
}

.contact-card {
    padding: 48px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.9), transparent 32%),
        radial-gradient(circle at bottom right, rgba(205, 180, 219, 0.9), transparent 35%),
        var(--white);
}

.contact-card p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.contact-link {
    display: inline-block;
    margin-top: 18px;
    padding: 16px 22px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--ink);
}

.language-toggle {
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--lavender);
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.language-toggle:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--ink);
}

.footer {
    padding: 28px 24px;
    text-align: center;
    background: var(--ink);
    color: var(--cream);
}

.footer p {
    margin: 0;
}

.game-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
}

.game-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 3px solid var(--ink);
    background: var(--sun);
    color: var(--ink);
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-button:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--ink);
}
@media (max-width: 860px) {
    .nav {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
        white-space: nowrap;
    }

    .nav-links a,
    .language-toggle {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 64px;
    }

    .hero-card {
        transform: none;
    }

    .about-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

