/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen Reader Only (Accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Color Scheme */
:root {
    --bg-dark: #0a0118;
    --bg-darker: #050009;
    --bg-card: #1a0f2e;
    --bg-card-hover: #241738;
    --text-light: #ffffff;
    --text-muted: #9b8aaf;
    --accent-purple: #7c3aed;
    --accent-purple-bright: #a855f7;
    --accent-glow: rgba(124, 58, 237, 0.3);
    --correct: #10b981;
    --correct-glow: rgba(16, 185, 129, 0.3);
    --close: #f59e0b;
    --close-glow: rgba(245, 158, 11, 0.3);
    --incorrect: #3b2e52;
    --border: #2d1f44;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px var(--accent-glow);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(ellipse at top, #1a0b2e 0%, #0a0118 50%, #050009 100%);
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
}

.title-counter {
    color: var(--text-light);
}

.title-strikle {
    font-style: italic;
}

.title-icon {
    font-size: 1.8rem;
    vertical-align: middle;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Mode Selector */
.mode-selector {
    margin: 30px 0;
    text-align: center;
}

/* Hide mode selector on page load if URL has mode parameter */
html.has-mode .mode-selector {
    display: none;
}

html.has-mode .game-container {
    display: block;
}

/* Hide How to Play and player count when on mode selector screen */
.game-container.hidden ~ .how-to-play {
    display: none;
}

.game-container.hidden ~ footer #playerCountWrapper {
    display: none;
}

.mode-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 700px;
}

.mode-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mode-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
}

.mode-card:hover::before {
    opacity: 1;
}

.mode-card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.mode-card-header h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 700;
}

.mode-card-body {
    position: relative;
    z-index: 1;
}

.mode-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.mode-player-count {
    color: var(--accent-purple-bright);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Game Container */
.game-container.hidden {
    display: none;
}

/* Mode Header */
.mode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

/* Mode Badge */
.mode-badge {
    background: var(--accent-purple);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px var(--accent-glow);
}

/* Change Mode Button */
.btn-change-mode {
    background: var(--bg-card);
    color: var(--text-light);
    border: 2px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-change-mode:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Search Container */
.search-container {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.search-input:focus {
    border-color: var(--accent-purple-bright);
    box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-lg);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border);
}

.suggestion-item:first-child {
    border-radius: 10px 10px 0 0;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.suggestion-item:hover {
    background: var(--bg-card-hover);
    padding-left: 24px;
    border-left: 3px solid var(--accent-purple);
}

.suggestion-item .player-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.suggestion-item .player-team {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Flag Icons */
.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 2px;
}

/* Guesses Container */
.guesses-container {
    margin-bottom: 20px;
}

.guesses-header {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 0.8fr 0.8fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 8px;
    padding: 0;
}

.header-cell {
    text-align: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.guesses-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guess-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 0.8fr 0.8fr 1fr 1fr;
    gap: 8px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.guess-cell {
    background: var(--incorrect);
    padding: 14px 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: help;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

.guess-cell:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guess-cell.correct {
    background: var(--correct);
    box-shadow: 0 0 20px var(--correct-glow), var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.3);
}

.guess-cell.close {
    background: var(--close);
    box-shadow: 0 0 20px var(--close-glow), var(--shadow-md);
    border-color: rgba(245, 158, 11, 0.3);
}

.guess-cell.incorrect {
    background: var(--incorrect);
}

/* Arrow indicators for age and major appearances */
.arrow {
    font-size: 0.8rem;
    margin-left: 4px;
}

.arrow-up::after {
    content: ' ↑';
}

.arrow-down::after {
    content: ' ↓';
}

/* Tooltips */
.guess-cell:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
    border: 1px solid var(--border);
}

.guess-cell:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-darker);
    z-index: 10;
}

/* Attempts Indicator */
.attempts-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 24px 0 16px 0;
}

.attempt-dot {
    width: 36px;
    height: 7px;
    background: rgba(45, 31, 68, 0.6);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.attempt-dot.used {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4), var(--shadow-sm);
    border-color: #ef4444;
}

/* Give Up Container */
.give-up-container {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 20px 0;
    padding-right: 4px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    opacity: 0.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.btn-secondary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Confirmation Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.confirm-modal.hidden {
    display: none;
}

.confirm-modal-content {
    background: var(--bg-card);
    border: 2px solid var(--accent-purple);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.5), var(--shadow-lg);
    text-align: center;
}

.confirm-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-light);
}

.confirm-modal-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-cancel {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Streamer Mode Panel */
.streamer-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    border: 2px solid var(--accent-purple);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.5), var(--shadow-lg);
    z-index: 1000;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.streamer-panel.hidden {
    display: none;
}

.streamer-panel-header {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-bright) 100%);
    padding: 20px 24px;
    border-radius: 14px 14px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.streamer-panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.close-streamer-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-streamer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.streamer-panel-content {
    padding: 28px 24px;
}

.mystery-player-reveal {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-direction: row;
}

.streamer-player-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    flex-shrink: 0;
}

.mystery-player-details {
    flex: 1;
}

.mystery-player-details h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-light);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mystery-player-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-row span:last-child {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-row .flag-icon {
    width: 20px;
    height: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(124, 58, 237, 0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#victoryMessage {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.player-reveal {
    background: rgba(10, 1, 24, 0.6);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.player-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-purple-bright);
    box-shadow: 0 0 30px var(--accent-glow), var(--shadow-md);
}

.player-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.player-info p {
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-bright) 100%);
    color: var(--text-light);
    border: none;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--accent-glow), var(--shadow-md);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow), var(--shadow-lg);
    filter: brightness(1.1);
}

/* How to Play (Collapsible) */
.how-to-play {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-to-play:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 58, 237, 0.3);
}

.how-to-play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.how-to-play-header:hover {
    background: var(--bg-card-hover);
}

.how-to-play-header h3 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 600;
}

.toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(-180deg);
}

.how-to-play-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.how-to-play-content.expanded {
    max-height: 800px;
    padding: 0 20px 20px 20px;
}

.how-to-play ul {
    list-style: none;
    margin-bottom: 15px;
}

.how-to-play li {
    padding: 6px 0;
    line-height: 1.5;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.how-to-play strong {
    color: var(--text-light);
}

.player-pool-info {
    background: rgba(10, 1, 24, 0.4);
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.player-pool-info h4 {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--accent-purple);
}

.player-pool-info p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.85rem;
}

.regions-info {
    background: rgba(10, 1, 24, 0.4);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.regions-info h4 {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.regions-info p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Footer */
footer {
    text-align: center;
    color: var(--text-muted);
    padding: 15px 0;
    font-size: 0.75rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--incorrect);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Reduced Motion Support (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .guess-row {
        animation: none;
    }

    .modal-content {
        animation: none;
    }

    .streamer-panel {
        animation: none;
    }

    body::before {
        background: none;
    }

    .search-input:focus {
        transform: none;
    }

    .guess-cell:hover {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .close-streamer-btn:hover {
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .guesses-header,
    .guess-row {
        grid-template-columns: 1.5fr 1.5fr 0.8fr 0.8fr 1fr 1fr;
        gap: 4px;
    }

    .header-cell {
        font-size: 0.65rem;
    }

    .guess-cell {
        font-size: 0.75rem;
        padding: 8px 4px;
    }

    .modal-content {
        padding: 25px 15px;
    }

    /* Center streamer mode player image on mobile */
    .mystery-player-reveal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mystery-player-details {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .guesses-header,
    .guess-row {
        grid-template-columns: 1fr 1fr 0.7fr 0.7fr 0.8fr 0.9fr;
        gap: 3px;
    }

    .header-cell {
        font-size: 0.6rem;
    }

    .guess-cell {
        font-size: 0.7rem;
        padding: 6px 2px;
    }
}
