/* Emoji Mode Specific Styles */

/* People Counter */
.people-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--panel-bg);
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.people-counter svg {
    color: var(--primary-gold);
}

.people-counter #peopleCount {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Emoji Panel */
.emoji-panel {
    text-align: center;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
}

/* Emoji Display Container */
.emoji-display-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(30, 40, 50, 0.9) 0%, rgba(20, 30, 40, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid var(--panel-border);
}

.emoji-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.emoji-slot {
    font-size: 3.5rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.emoji-slot.hidden-emoji {
    filter: grayscale(100%);
    opacity: 0.6;
}

.emoji-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Search Container - Emoji Mode Variant */
.emoji-panel .search-container {
    max-width: 400px;
    margin: 0 auto 25px auto;
}

.search-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.emoji-panel .search-input {
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.search-submit {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 0 12px 12px 0;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-gold);
    box-shadow: 0 0 15px rgba(196, 168, 75, 0.5);
}

.search-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-submit svg {
    color: #1a1a1a;
}

/* Guesses List */
.guesses-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.guess-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 12px;
    animation: slideIn 0.5s ease;
}

.guess-card.correct {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 2px solid #22c55e;
}

.guess-card.wrong {
    background: linear-gradient(135deg, #e57373 0%, #ef5350 100%);
    border: 2px solid #e57373;
}

.guess-card .champion-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.guess-card .champion-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.guess-card .guess-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.guess-card .guess-count svg {
    opacity: 0.8;
}

/* Victory Panel - Emoji Mode Specific */
.emoji-panel .victory-panel {
    display: none;
    background: linear-gradient(135deg, #1a5a4a 0%, #0d3d33 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #2a7a5a;
    margin-top: 20px;
}

.emoji-panel .victory-panel.active {
    display: block;
    animation: victoryAppear 0.5s ease;
}

@keyframes victoryAppear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.victory-text {
    font-size: 2.5rem;
    color: #88ddaa;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(136, 221, 170, 0.3);
    letter-spacing: 3px;
}

.emoji-panel .champion-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emoji-panel .champion-result .champion-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 3px solid #4a9d6a;
    object-fit: cover;
}

.emoji-panel .result-text {
    text-align: left;
}

.emoji-panel .result-text .label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.emoji-panel .result-text .champion-name {
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
}

.emoji-panel .rank-text {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 5px;
}

.emoji-panel .rank-text .rank {
    color: #66cccc;
    font-weight: 600;
}

.emoji-panel .tries-text {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.emoji-panel .tries-count {
    color: #66cccc;
    font-weight: bold;
    font-size: 16px;
}

.victory-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stats-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stats-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Victory Emojis Display */
.victory-emojis {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.victory-emojis .emoji-slot {
    font-size: 2.5rem;
}

/* Countdown Section */
.emoji-panel .next-champion {
    margin-top: 20px;
    padding: 20px 0;
}

.emoji-panel .next-champion p {
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
}

.emoji-panel .countdown {
    color: var(--primary-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.timezone-info {
    color: #666;
    font-size: 11px;
}

/* Next Mode Section */
.next-mode-section {
    margin-top: 20px;
    padding-top: 20px;
}

.divider {
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px;
}

.next-mode-label {
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}

.next-mode-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.next-mode-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.next-mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-gold);
    border-radius: 6px;
}

.next-mode-icon svg {
    color: #1a1a1a;
}

.next-mode-desc {
    color: #888;
    font-size: 11px;
    margin-top: 5px;
}

/* Share Section */
.share-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.share-twitter-btn {
    background: var(--primary-gold);
    color: #1a1a1a;
}

.share-twitter-btn:hover {
    background: var(--primary-gold-dark);
    transform: scale(1.05);
}

/* Help Modal Specific Styles */
.modal-countdown {
    text-align: center;
    margin: 20px 0;
}

.modal-countdown p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.modal-countdown-timer {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.modal-divider {
    width: 100%;
    height: 1px;
    background: var(--panel-border);
    margin: 20px 0;
}

.fire-emoji {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-top: 20px;
}

/* Yesterday Section Override */
.yesterday-section .yesterday-name {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .emoji-display {
        gap: 15px;
    }

    .emoji-slot {
        font-size: 2.5rem;
    }

    .game-title {
        font-size: 1.1rem;
    }

    .emoji-panel .search-container {
        max-width: 100%;
    }

    .guess-card {
        padding: 10px 15px;
    }

    .guess-card .champion-icon {
        width: 40px;
        height: 40px;
    }

    .guess-card .champion-name {
        font-size: 1rem;
    }

    .victory-text {
        font-size: 2rem;
    }

    .emoji-panel .champion-result .champion-icon {
        width: 60px;
        height: 60px;
    }

    .emoji-panel .result-text .champion-name {
        font-size: 1.5rem;
    }

    .victory-emojis .emoji-slot {
        font-size: 2rem;
    }

    .share-section {
        flex-direction: column;
        gap: 10px;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .people-counter {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .emoji-display-wrapper {
        padding: 20px 15px;
    }

    .emoji-display {
        gap: 10px;
    }

    .emoji-slot {
        font-size: 2rem;
    }

    .search-submit {
        padding: 0 15px;
    }

    .victory-emojis {
        gap: 10px;
        padding: 15px;
    }

    .victory-emojis .emoji-slot {
        font-size: 1.5rem;
    }

    .emoji-panel .countdown {
        font-size: 1.5rem;
    }
}
