/* game-styles.css - Căutătorii de Comori */
:root {
    --primary: #10b981;     /* Emerald-500 */
    --primary-light: #34d399;
    --primary-dark: #059669;
    --accent: #f59e0b;      /* Amber-500 */
    
    --bg-color: #064e3b;
    --bg-card: rgba(6, 78, 59, 0.7);
    --text-color: #f8fafc;
}

body.game-theme-cautatorii-de-comori {
    background: radial-gradient(circle at 50% 50%, #064e3b 0%, #022c22 100%);
}

.bg-effects .blob-1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    width: 600px; height: 600px;
    top: -100px; left: -100px;
}

.bg-effects .blob-2 {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    width: 500px; height: 500px;
    bottom: -100px; right: -100px;
}

.cautatorii-layout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    padding: 1.5rem 1rem 120px 1rem;
}

.question-container {
    width: 100%;
    max-width: 600px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.round-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.timer-wrapper {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.timer-circle {
    width: 70px;
    height: 70px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    background: rgba(0,0,0,0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.timer-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.timer-bar-fill {
    height: 100%;
    transition: width 1s linear, background 0.3s ease;
}

.question-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.question-text {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-color);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .action-buttons {
        flex-direction: row;
    }
}

.btn-never {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    padding: 1.5rem;
    border-radius: 15px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.btn-never:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-didit {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 1.5rem;
    border-radius: 15px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-didit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5);
}

/* Results */
.results-container {
    width: 100%;
    max-width: 800px;
    
    text-align: center;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.question-text-small {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.results-columns {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

@media (min-width: 768px) {
    .results-columns {
        flex-direction: row;
    }
}

.result-column {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.col-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-column.did-it .col-title {
    color: var(--primary-light);
}

.result-column.never .col-title {
    color: #94a3b8;
}

.player-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-pill {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.result-column.did-it .player-pill.first-finder {
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
    z-index: 5;
}

.first-finder i {
    color: var(--accent);
    margin-right: 5px;
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.result-column.did-it .player-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.empty-list {
    opacity: 0.5;
    font-style: italic;
    padding: 1rem;
}

.big-btn {
    width: 100%;
    max-width: 400px;
    padding: 1.2rem;
    font-size: 1.3rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
}

.player-score-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
}

.waiting-state {
    text-align: center;
    opacity: 0.8;
    margin-top: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.results-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0 0.5rem 0;
}

.results-footer.waiting-state {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

@media (max-width: 600px) {
    .cautatorii-layout-wrapper {
        padding: 0.5rem 0.25rem 80px 0.25rem;
    }
    .question-container {
        padding: 1rem 0.75rem;
        margin-bottom: 0.5rem;
    }
    .question-text {
        font-size: 1.4rem;
    }
    .results-container {
        
    }
    .results-title {
        font-size: 1.4rem;
        line-height: 1.1;
        margin-bottom: 0.25rem;
    }
    .question-text-small {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    .results-columns {
        gap: 0.5rem;
    }
    .result-column {
        padding: 0.75rem;
    }
    .col-title {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
        font-size: 1rem;
    }
    .player-pill {
        padding: 0.4rem 0.6rem;
        font-size: 0.95rem;
    }
    .results-footer {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    .big-btn {
        padding: 0.8rem;
        font-size: 1.05rem;
    }
}
