* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url("images/parquet.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111;
    padding: 40px 10px;
}

.page {
    max-width: 900px;
    margin: 0 auto;
}

.page__header {
    text-align: center;
    margin-bottom: 2rem;
}

.page__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.page__subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.toy-card {
    width: 220px;
    border-radius: 18px;
    overflow: hidden; 
    background: #3a3412;
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.toy-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 24px rgba(0, 0, 0, 0.35);
}
.toy-card__image {
    height: 170px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.toy-card__name {
    background: #6fbf3a;         
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.6rem;
    text-transform: none;
}

.toy-card__description {
    background: #ffffff;
    color: #444;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0.55rem 0.7rem 0.6rem;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.toy-card__unit-stats {
    display: flex;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.one-third {
    flex: 1;
    padding: 0.45rem 0.2rem 0.5rem;
    text-align: center;
    border-right: 1px solid #e5e5e5;
}

.one-third:last-child {
    border-right: none;
}

.stat {
    font-size: 0.85rem;
    font-weight: 700;
    color: #222;
}

.stat-value {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
}
