* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #f8fafc;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f172a;
}

.navigation {
    position: sticky;
    top: 16px;
    z-index: 10;
    width: min(560px, calc(100% - 24px));
    margin: 16px auto 0;
    padding: 7px;
    border-radius: 999px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.navigation a {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.navigation a:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

.page-shell {
    width: min(900px, calc(100% - 24px));
    margin: 0 auto;
    padding: 24px 0 34px;
}



.start-screen {
    display: grid;
    place-items: center;
    gap: 18px;
    padding: 10px 0 30px;
}

.start-image {
    width: min(520px, 92vw);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 20px 44px rgba(2, 6, 23, 0.45);
}

.play-button {
    border: none;
    font-size: 1rem;
    padding: 12px 28px;
    margin-bottom: 140px;
    cursor: pointer;
    border-radius: 999px;
    color: white;
    font-weight: 700;
    background: #0ea5e9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(14, 165, 233, 0.28);
}

.game-part {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-copy {
    text-align: center;
    margin-bottom: 22px;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: #38bdf8;
}

.title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.tagline {
    margin: 0 auto;
    max-width: 520px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.moves-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.move-icone {
    height: 56px;
    width: 56px;
    object-fit: contain;
}

.move-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 140px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 22px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.move-button:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 20px 40px rgba(8, 47, 73, 0.35);
}

.status-panel {
    padding: 18px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.result {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #f8fafc;
}

.move-history {
    min-height: 34px;
    margin: 0 0 18px;
    color: #cbd5e1;
    line-height: 1.5;
}

.score-board {
    margin: 0;
    font-size: 0.95rem;
    color: #7dd3fc;
    font-weight: 700;
}

.reset-button {
    border: none;
    font-size: 0.92rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    background: #ef4444;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(249, 115, 22, 0.28);
}

@media (max-width: 820px) {
    .moves-panel {
        grid-template-columns: 1fr;
    }

    .game-part {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

    .move-button {
        min-height: 120px;
    }

    .result-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

