/* eyes.css — стилі для eyes.html */

.eyes-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 20px 0 0 0;
}

.eyes-wrapper {
    max-width: 700px;
    width: 100%;
    background: var(--dark-surface);
    border-radius: 20px;
    border: 1px solid #bdbdbd;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 700px;
    justify-content: flex-start;
    overflow: hidden;
}

.hidden { display: none !important; }

/* ===== ЕКРАН ГРИ ===== */
#screen-game {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* ===== ПРОГРЕС ===== */
.eyes-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin-bottom: 25px;
    overflow: hidden;
    flex-shrink: 0;
}

.eyes-progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.5s ease;
}

.eyes-counter {
    font-size: 0.85rem;
    color: var(--dark-text-muted, #94a3b8);
    margin-bottom: 15px;
    flex-shrink: 0;
}

/* ===== ФОТО ===== */
.eye-photo-zone {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    height: 100px;
    margin-bottom: 20px;
}

.eye-crop-container {
    position: absolute;
    top: 132%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    z-index: 10;

    max-height: 260px;
}

.eye-crop-img {
    width: 100%;
    height: 378px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 13px;
}

/* ===== ВІДПОВІДІ ===== */
.eyes-answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.answer-btn {
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    color: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.answer-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    background: rgba(251,191,36,0.1);
}

.answer-btn.correct { background: #10b981 !important; color: white !important; border-color: #059669 !important; }
.answer-btn.wrong   { background: #ef4444 !important; color: white !important; border-color: #dc2626 !important; }
.answer-btn:disabled { cursor: default; }

/* ===== ФІДБЕК ===== */
.eyes-feedback {
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 28px;
    margin-top: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ===== РЕЗУЛЬТАТ ===== */
.eyes-result-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0 10px;
}

.eyes-result-msg {
    color: var(--dark-text-muted, #94a3b8);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-eyes {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 14px 36px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    margin: 6px;
    text-decoration: none;
}

.btn-eyes:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-eyes.secondary {
    background: rgba(255,255,255,0.08);
    color: inherit;
    border: 2px solid rgb(101 69 69 / 44%);
}

.btn-eyes.secondary:hover { border-color: var(--accent-color); background: rgba(251,191,36,0.08); }

@media (max-width: 600px) {
    .eyes-wrapper { padding: 25px 15px; height: 680px; }
    /*.eyes-answers-grid { grid-template-columns: 1fr; }*/
}

/* ===== ЕКРАН ВИБОРУ СТАТІ ===== */
#screen-gender {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.eyes-gender-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.eyes-gender-sub {
    color: var(--dark-text-muted, #94a3b8);
    margin-bottom: 30px;
    font-size: 1rem;
}

.eyes-gender-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.eyes-gender-btn {
    flex: 1;
    padding: 30px 20px;
    border-radius: 16px;
    border: 2px solid rgb(101 69 69 / 44%);
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    color: inherit;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    font-weight: bold;
}

.eyes-gender-btn:hover {
    border-color: var(--accent-color);
    background: rgba(251,191,36,0.08);
    transform: translateY(-5px);
}

@media (max-width: 600px) {
    .eyes-gender-grid { flex-direction: column; }
}
