* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #0f1117;
    color: #f1f1f1;
}

.game {
    max-width: 1300px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.category-section {
    margin-bottom: 60px;
    background: #1a1d26;
    padding: 25px;
    border-radius: 18px;
    box-shadow:
        0 0 20px rgba(0,0,0,0.5),
        0 0 1px rgba(255,255,255,0.1);
    border: 1px solid #2d3342;
}

.category-title {
    margin-bottom: 30px;
    font-size: 1.7rem;
    text-align: center;
    color: #8ab4ff;
}

.object-card {
    margin-bottom: 50px;
    border-top: 1px solid #2f3544;
    padding-top: 30px;
}

.object-image {
    display: block;
    width: 100%;
    max-width: 1200px;
    max-height: 800px;
    object-fit: contain;
    margin: 0 auto 25px auto;
    border: 3px solid #3b4255;
    border-radius: 14px;
    background: #11141b;
    box-shadow: 0 0 18px rgba(0,0,0,0.4);
}

.inputs {
    max-width: 700px;
    margin: 0 auto;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.input-row input {
    flex: 1;
    padding: 12px;
    border: 2px solid #3c4253;
    border-radius: 10px;
    font-size: 1rem;
    background: #10131a;
    color: white;
    transition: 0.2s;
}

.input-row input:focus {
    outline: none;
    border-color: #5b8cff;
    box-shadow: 0 0 10px rgba(91,140,255,0.4);
}

.input-row input::placeholder {
    color: #8b93a7;
}

.input-row button {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: #2d6cff;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    font-weight: bold;
}

.input-row button:hover {
    background: #4a84ff;
    transform: translateY(-1px);
}

.correct {
    background-color: #1d4f2b !important;
    border-color: #4dff88 !important;
    color: #d7ffe4;
}

.answer {
    display: block;
    margin: 20px auto 0 auto;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    background: #8b1e1e;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    font-weight: bold;
}

.answer:hover {
    background: #b92b2b;
    transform: translateY(-1px);
}

.answer-box {
    margin-top: 20px;
    background: #12151d;
    padding: 18px;
    border-radius: 12px;
    line-height: 1.7;
    border: 1px solid #343b4d;
    color: #e8e8e8;
}

.hidden {
    display: none;
}

#reset {
    display: block;
    margin: 0 auto;
    padding: 14px 28px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d6cff, #6a5cff);
    color: white;
    cursor: pointer;
    transition: 0.2s;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(70,100,255,0.3);
}

#reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(70,100,255,0.5);
}

#win {
    margin: 50px auto;
    text-align: center;
}

#cat-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    border: 3px solid #3b4255;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {

    body {
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .category-section {
        padding: 15px;
    }

    .input-row {
        flex-direction: row;
    }

    .input-row input {
        font-size: 0.95rem;
        padding: 10px;
    }

    .input-row button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .answer-btn,
    #reset {
        width: 100%;
    }
}