body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Microsoft YaHei', sans-serif;
}

.container {
    max-width: 600px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.game-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.game-header-small {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.game-header-small h1 {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.create-game-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.create-game-box .form-group {
    margin-bottom: 20px;
}

.create-game-box label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.create-game-box input {
    height: 50px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

.rules-box {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.rules-box h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.rules-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-box li {
    padding: 10px 0;
    font-size: 16px;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.rules-box li:last-child {
    border-bottom: none;
}

.share-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.share-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.countdown-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.countdown-number {
    font-size: 64px;
    font-weight: bold;
    color: #e74c3c;
    line-height: 1;
}

.countdown-label {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}

.status-message {
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.players-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.player-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.player-card:last-child {
    margin-bottom: 0;
}

.player-card.creator {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.player-card.winner {
    background: #d4edda;
    border: 2px solid #28a745;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.player-status {
    color: #888;
    font-size: 14px;
}

.player-stats {
    color: #667eea;
    font-size: 12px;
    margin-top: 3px;
}

.player-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #ffc107;
    color: #856404;
    font-weight: bold;
    margin-left: 10px;
}

.current-player-badge {
    background: #667eea;
    color: white;
}

.player-card.current-player {
    border: 3px solid #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
}

.player-card.current-player .player-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #667eea;
}

.player-choice {
    font-size: 32px;
    margin-left: 10px;
}

.choice-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.choice-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
}

.choice-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.choice-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #667eea;
    background: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.choice-btn:hover {
    background: #667eea;
    transform: scale(1.1);
}

.choice-btn:active {
    transform: scale(0.95);
}

.btn-random {
    font-weight: bold;
}

.my-choice {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.my-choice-emoji {
    font-size: 32px;
    margin-left: 10px;
}

.result-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    text-align: center;
}

.result-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

.result-players {
    margin-bottom: 25px;
}

.btn-new-game {
    width: 100%;
}

.start-box {
    margin-bottom: 20px;
}

.btn-success {
    background: #28a745;
    border: none;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
}

.btn-success:hover {
    background: #218838;
}

.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home a {
    color: white;
    font-size: 16px;
    text-decoration: underline;
}

.back-home a:hover {
    color: rgba(255,255,255,0.8);
}

.alert {
    border-radius: 10px;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-header h4 {
    margin: 0;
}

.modal-footer {
    border-radius: 0 0 15px 15px;
}
