/* EMOJİ MODU ÖZEL TASARIM VE ORTAK İSKELET */

:root {
    --c-yellow: #f1c40f;
    --c-green: #27ae60;
    --c-red: #ff4757;
    --font-main: 'Rajdhani', sans-serif;
}

html, body { 
    overflow-x: hidden !important; 
    overflow-y: auto !important; 
    height: auto !important;
    min-height: 100vh !important;
}

.main-container, .game-container { 
    padding-bottom: 50px !important; 
    height: auto !important;
}

.glass-panel { 
    height: auto !important; 
    min-height: fit-content !important;
    max-height: none !important;
    overflow: visible !important; 
    padding-bottom: 25px !important; 
}

.game-panel { 
    font-family: 'Rajdhani', sans-serif !important; 
    color: #ffffff !important; 
    display: flex !important;
    flex-direction: column !important;
}

/* EMOJİ KUTUSU */
.emoji-question-box {
    width: 100%; min-height: 140px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.15) 0%, rgba(0,0,0,0.6) 100%);
    border: 1px solid rgba(241, 196, 15, 0.3); border-radius: 16px;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 15px; padding: 20px; text-align: center;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.1); 
}

.emoji-text {
    display: flex; flex-direction: row; flex-wrap: nowrap !important; 
    justify-content: center; align-items: center; gap: 12px; 
    white-space: nowrap; width: 100%;
}

.emoji-item {
    font-size: 3rem; 
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.8));
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 1;
}

@media (max-width: 400px) {
    .emoji-item { font-size: 2.5rem; gap: 8px; }
}

/* =========================================
   YENİ: YAN YANA 3'LÜ İPUCU KUTUSU (TIKLANABİLİR)
   ========================================= */
.emoji-hints-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

.emoji-hint-box {
    flex: 1; /* Üçü de eşit genişlik alır */
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.emoji-hint-box.unlocked {
    border-color: #FF8C00;
    background: rgba(255, 140, 0, 0.08);
    cursor: pointer;
}

.emoji-hint-box.unlocked:hover {
    background: rgba(255, 140, 0, 0.15);
}

.emoji-hint-box .hint-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: #888;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.emoji-hint-box.unlocked .hint-title {
    color: #FF8C00;
}

.emoji-hint-box .hint-content {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #666;
    font-weight: 800;
    font-style: normal; /* İtalik silindi */
    transition: all 0.3s ease;
    line-height: 1.2;
}

.emoji-hint-box.unlocked .hint-content {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
    animation: popIn 0.3s ease forwards;
}

.emoji-hint-box.unlocked .hint-content span {
    color: #FF8C00;
    font-weight: 900;
}

/* KUTU GİZLEME (COLLAPSE) EFEKTLERİ */
.emoji-hint-box.collapsed .hint-actual { display: none; }
.emoji-hint-box.collapsed .hint-tap-msg {
    display: block; color: #888; font-size: 0.9rem; margin-top: 2px;
}
.emoji-hint-box:not(.collapsed) .hint-tap-msg { display: none; }


.search-wrapper { margin-top: 5px; position: relative; z-index: 10; }

/* =========================================
   EVRENSEL TAHMİN KARTLARI 
   ========================================= */
.simple-results-grid {
    width: 100%; height: auto !important; max-height: none !important;
    overflow: visible !important;  display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px;
    margin-top: 15px; padding-bottom: 10px;
}

div.guess-card {
    display: flex; flex-direction: column !important; align-items: center; justify-content: center;
    width: 100%; height: 85px; min-height: 85px; flex-shrink: 0;   
    padding: 5px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255,255,255,0.05) !important; 
    box-shadow: none !important; outline: none !important;
    animation: slideIn 0.3s ease;
}

div.guess-card .card-icon-box {
    width: 45px; height: 45px; min-width: 45px; min-height: 45px;
    border-radius: 8px; overflow: hidden;
    margin-bottom: 5px !important; margin-right: 0 !important; 
    border: 2px solid rgba(255, 255, 255, 0.2); background-color: #000;
}
div.guess-card .card-icon-box img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

div.guess-card .card-name {
    font-family: 'Rajdhani', sans-serif !important; font-size: 1.1rem; font-weight: 800;
    color: white !important; text-transform: uppercase; letter-spacing: 0.5px;
    text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); margin: 0 !important;
}

div.guess-card.correct { background: var(--c-green, #27ae60) !important; border: 1px solid var(--c-green, #27ae60) !important; }
div.guess-card.incorrect { background: var(--c-red, #ff4757) !important; border: 1px solid var(--c-red, #ff4757) !important; }

@keyframes popIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* =========================================
   KAZANMA EKRANI
   ========================================= */
.win-section { margin-top: 15px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 15px; animation: fadeIn 0.5s ease; width: 100%; }
.win-header { font-size: 2.2rem; font-weight: 900; color: var(--c-green, #27ae60); margin-bottom: 15px; text-transform: lowercase; letter-spacing: 2px; }
.win-char-info { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; background: rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); max-width: 100%; }
.win-char-info img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; border: 2px solid white; flex-shrink: 0; }
.win-char-texts { display: flex; flex-direction: column; text-align: left; }
.win-text { font-size: 1rem; color: #bbb; }
.win-name { font-size: 1.5rem; font-weight: 800; margin: 0; color: #fff; text-transform: uppercase; }
.win-stats p { margin: 10px 0; font-size: 1.1rem; color: #ddd; }
.win-stats strong { color: white; font-size: 1.2rem; }
.win-timer-box { margin: 15px 0; width: 100%; }
.win-timer-title { font-size: 1.2rem; color: #ddd; }
.win-timer { font-size: 2.5rem; font-weight: 900; letter-spacing: 2px; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.4); margin: 5px 0; }
.win-timer-sub { font-size: 0.8rem; color: #aaa; font-style: italic; }
.win-divider-line { width: 80%; height: 1px; background: rgba(255,255,255,0.15); margin: 15px 0; }
.win-next-modes-container { width: 100%; text-align: center; }
.win-next-title { font-size: 1.2rem; color: #aaa; margin-bottom: 10px; }
.mode-boxes-row { display: flex; flex-direction: row; justify-content: center; gap: 8px; width: 100%; }
.mode-box-square { flex: 1; aspect-ratio: 1; max-width: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; text-decoration: none; position: relative; overflow: hidden; transition: all 0.3s ease; }
.mode-box-square:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }
.mode-box-square img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 4px; z-index: 2; }
.mode-box-square span { font-size: 0.7rem; font-weight: 800; color: #fff; z-index: 2; text-transform: uppercase; }
.mode-box-square.correct { border-bottom: 4px solid var(--c-green, #27ae60); }
.mode-box-square.correct::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(0deg, rgba(39, 174, 96, 0.3) 0%, transparent 100%); }
.mode-box-square.incomplete { border-bottom: 4px solid var(--c-red, #ff4757); }
.mode-box-square.incomplete::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(0deg, rgba(255, 71, 87, 0.3) 0%, transparent 100%); }
