.tod-game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: radial-gradient(circle at center, #2e103f 0%, #0c0516 100%);
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    min-height: 80vh;
}

.tod-card {
    width: 100%;
    max-width: 580px;
    background: rgba(18, 12, 28, 0.95);
    border: 2px solid #8e6837;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(224, 64, 251, 0.3), inset 0 0 15px rgba(0, 229, 255, 0.2);
    overflow: hidden;
    position: relative;
    padding: 15px 20px;
    box-sizing: border-box;
}

/* Header & Lang */
.tod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.tod-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #ff33cc;
    text-shadow: 0 0 8px #ff33cc;
    font-size: 1rem;
}

.tod-lang-selector {
    display: flex;
    gap: 5px;
}

.tod-btn-lang {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tod-btn-lang.active, .tod-btn-lang:hover {
    background: #00e5ff;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 8px #00e5ff;
}

/* Setup Screen */
.tod-screen-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #00e5ff;
    margin-top: 0;
    margin-bottom: 5px;
    text-align: center;
}

.tod-screen-desc {
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
    margin-bottom: 20px;
}

.tod-setup-group {
    margin-bottom: 15px;
}

.tod-setup-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: #ddd;
}

.tod-input-group {
    display: flex;
    gap: 8px;
}

.tod-input-group input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #8e6837;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.9rem;
}

.tod-players-list-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    max-height: 180px;
    overflow-y: auto;
}

.tod-players-list-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ff33cc;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.tod-players-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tod-players-ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.tod-btn-remove {
    background: transparent;
    border: none;
    color: #ff4081;
    cursor: pointer;
    font-weight: bold;
}

/* General Buttons */
.tod-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.tod-btn-primary {
    background: linear-gradient(90deg, #d81b60, #8e24aa);
    box-shadow: 0 0 12px rgba(216, 27, 96, 0.5);
}

.tod-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.tod-btn-secondary {
    width: auto;
    background: #00acc1;
    box-shadow: 0 0 8px rgba(0, 172, 193, 0.4);
}

.tod-btn-danger {
    background: #c62828;
    box-shadow: 0 0 10px rgba(198, 40, 40, 0.5);
}

/* Status Bar */
.tod-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #b0a8c0;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.tod-status-live {
    color: #00ff88;
    text-shadow: 0 0 6px #00ff88;
}

/* Navigation Tabs */
.tod-nav-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.tod-tab {
    background: rgba(40, 25, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.tod-tab.active, .tod-tab:hover {
    background: linear-gradient(90deg, #d81b60, #8e24aa);
    color: #fff;
    border-color: #ff4081;
    box-shadow: 0 0 8px rgba(216, 27, 96, 0.6);
}

/* Info Section */
.tod-active-tab-info {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
}

.tod-turn-info {
    text-align: center;
    font-size: 0.8rem;
    color: #ddd;
    margin-top: 2px;
    font-weight: 600;
}

/* Player Status */
.tod-player-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 10px auto;
    width: fit-content;
}

.tod-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #00e5ff;
}

.tod-player-text {
    font-size: 0.85rem;
}

.tod-username {
    color: #00e5ff;
    font-weight: bold;
}

/* Roleta Visual Corrigida com Fatias Visíveis */
.tod-wheel-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 15px auto;
}

.tod-wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff4081;
    font-size: 1.4rem;
    z-index: 20;
    text-shadow: 0 0 6px #ff4081;
}

.tod-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #33204d;
    position: relative;
    overflow: hidden;
    transition: transform 3s cubic-bezier(0.15, 0.9, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.tod-wheel-slice {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 3px #000;
}

.tod-wheel-slice.slice-1 { background-color: #00e5ff; transform: rotate(0deg) skewY(-45deg); }
.tod-wheel-slice.slice-2 { background-color: #e91e63; transform: rotate(90deg) skewY(-45deg); }
.tod-wheel-slice.slice-3 { background-color: #9c27b0; transform: rotate(180deg) skewY(-45deg); }
.tod-wheel-slice.slice-4 { background-color: #ff9800; transform: rotate(270deg) skewY(-45deg); }

.tod-wheel-slice span {
    position: absolute;
    transform: skewY(45deg) rotate(45deg);
    top: 18px;
    left: 18px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
}

/* Challenge Box */
.tod-challenge-box {
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid #00e5ff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.tod-challenge-title {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.tod-challenge-content {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.tod-challenge-content strong.dare {
    color: #00ff88;
}

.tod-challenge-content strong.truth {
    color: #ff4081;
}

/* Action Buttons */
.tod-actions-label {
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tod-action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.tod-btn-truth {
    background: linear-gradient(90deg, #d81b60, #ad1457);
    box-shadow: 0 0 12px rgba(216, 27, 96, 0.5);
}

.tod-btn-dare {
    background: linear-gradient(90deg, #00acc1, #00838f);
    box-shadow: 0 0 12px rgba(0, 172, 193, 0.5);
}

/* Game Players / Leaderboard */
.tod-game-players-list, #tod-leaderboard-list {
    list-style: none;
    padding: 0;
}

.tod-game-players-list li, .tod-leader-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 6px;
}

/* Footer */
.tod-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
}
