/* ========== GAMES GRID ========== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

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

.game-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
}

.game-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    position: relative;
}

.game-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    position: relative;
}

/* ========== GAME PLAY AREA ========== */
.game-play-area {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.game-play-area.active { display: block; }

.game-play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.game-play-header h3 { font-size: 1.2rem; }

.game-close-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.game-close-btn:hover { color: var(--text); border-color: var(--border-light); }

.game-mode-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font);
    transition: all 0.2s;
}

.mode-btn:hover { border-color: var(--border-light); color: var(--text); }
.mode-btn.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

/* ========== GAME QUESTION CARD ========== */
.game-question-card {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 40px 32px;
    margin-bottom: 24px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-question-label {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.game-question-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--text);
}

.game-question-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.game-nav-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.game-counter {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

/* ========== QUIZ STYLES ========== */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-opt-btn {
    padding: 12px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.2s;
}

.quiz-opt-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-opt-btn.correct { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.quiz-opt-btn.wrong { border-color: var(--red); background: var(--red-soft); color: var(--red); }

/* ========== THIS OR THAT ========== */
.tot-container { display: flex; gap: 16px; margin-top: 16px; }

.tot-option {
    flex: 1;
    padding: 24px 16px;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    transition: all 0.2s;
    text-align: center;
}

.tot-option:hover { border-color: var(--accent); transform: scale(1.03); }
.tot-or { align-self: center; color: var(--text-dim); font-size: 0.9rem; }

/* ========== SPIN THE WHEEL ========== */
.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 20px 0;
}

.wheel-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.wheel-canvas {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px rgba(0,0,0,0.3);
}

.wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    z-index: 2;
}

.wheel-spin-btn {
    background: linear-gradient(135deg, var(--pink), var(--accent));
    border: none;
    color: #fff;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-family: var(--font);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.wheel-spin-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px var(--accent-glow); }
.wheel-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.wheel-result {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--accent);
    min-height: 40px;
    padding: 12px 24px;
    background: var(--accent-soft);
    border-radius: var(--radius);
    display: none;
}

.wheel-result.show { display: block; }

/* ========== LOVE DICE ========== */
.dice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 20px 0;
}

.dice-row {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.dice-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dice-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dice-face {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-input));
    border: 2px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
    text-align: center;
    padding: 12px;
    line-height: 1.4;
}

.dice-face.rolling {
    animation: diceRoll 0.5s ease infinite;
    border-color: var(--accent);
}

@keyframes diceRoll {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.05); }
    75% { transform: rotate(10deg) scale(1.05); }
}

.dice-roll-btn {
    background: linear-gradient(135deg, var(--accent), var(--pink));
    border: none;
    color: #fff;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-family: var(--font);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.dice-roll-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px var(--accent-glow); }
.dice-roll-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.dice-result {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--pink);
    min-height: 36px;
    display: none;
}

.dice-result.show { display: block; }

/* ========== COUPLES BET ========== */
.bet-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.bet-score {
    display: flex;
    gap: 40px;
    margin-bottom: 8px;
}

.bet-score-item {
    text-align: center;
}

.bet-score-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bet-score-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.bet-question-card {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 32px 24px;
    width: 100%;
    text-align: center;
}

.bet-question-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 20px;
}

.bet-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bet-opt-btn {
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.bet-opt-btn:hover { border-color: var(--pink); background: var(--pink-soft); }
.bet-opt-btn.selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.bet-result {
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    display: none;
    width: 100%;
    text-align: center;
}

.bet-result.show { display: block; }
.bet-result.correct { background: var(--green-soft); color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.bet-result.wrong { background: var(--red-soft); color: var(--red); border: 1px solid rgba(248,113,113,0.3); }

.bet-nav-row {
    display: flex;
    gap: 12px;
}
