/* ============================================
   METIN2 HINT HUNTER - MINIMALIST DESIGN
   ============================================ */

:root {
    --hunter-bg: #0f172a;
    --hunter-card: #1e293b;
    --hunter-text: #f8fafc;
    --hunter-accent: #38bdf8;
    /* Sky Blue */
    --hunter-success: #22c55e;
    --hunter-fail: #ef4444;
    --hunter-gold: #eab308;
}

/* Game Container */
.hunter-game {
    min-height: calc(100vh - 200px);
    background: var(--hunter-bg);
    padding: 30px;
    margin: 0;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--hunter-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    color: #94a3b8;
    font-size: 18px;
}

/* Main Game Box */
.game-container {
    width: 100%;
    max-width: 700px;
    background: var(--hunter-card);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.stat-value.lives {
    letter-spacing: 5px;
}

/* Clue Area */
.clue-area {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.clue-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    border-left: 4px solid var(--hunter-accent);
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(-20px);
    animation-fill-mode: forwards;
}

.clue-placeholder {
    text-align: center;
    color: #64748b;
    font-style: italic;
    margin-top: 80px;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Input Area */
.input-area {
    position: relative;
}

.game-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    font-size: 24px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.game-input:focus {
    border-color: var(--hunter-accent);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.input-hint {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 10px;
}

/* Feedback Overlay */
.feedback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.feedback-overlay.success {
    background: rgba(34, 197, 94, 0.2);
    opacity: 1;
}

.feedback-overlay.fail {
    background: rgba(239, 68, 68, 0.2);
    opacity: 1;
}

.feedback-text {
    font-size: 48px;
    font-weight: 900;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success .feedback-text {
    color: var(--hunter-success);
    transform: scale(1);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.fail .feedback-text {
    color: var(--hunter-fail);
    transform: scale(1);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--hunter-card);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--hunter-fail);
}

.final-score {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.high-score-text {
    color: #94a3b8;
    margin-bottom: 30px;
}

.restart-btn {
    background: var(--hunter-text);
    color: var(--hunter-bg);
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hunter-game {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .game-title {
        font-size: 32px;
    }

    .game-container {
        padding: 20px;
    }

    .stat-value {
        font-size: 18px;
    }

    .clue-card {
        font-size: 16px;
    }
}