/* Dragon Ball Color Scheme */
:root {
    --db-orange: #ff6b00;
    --db-blue: #0066cc;
    --db-gold: #ffd700;
    --db-red: #ff0000;
    --db-green: #00cc66;
    --dragon-gradient: linear-gradient(135deg, #ff6b00, #ffd700);
    --shenron-gradient: linear-gradient(135deg, #00cc66, #0066cc);
}

/* Container Adjustments */
.container {
    padding-top: 100px;
    max-width: 1200px;
}

/* Game Header */
.game-header {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--dragon-gradient);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.3);
}

.game-title {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-subtitle {
    font-size: 1.2rem;
    margin: 1rem 0 0 0;
    opacity: 0.9;
}

/* Dragon Ball Collection */
.dragon-balls-container {
    background: var(--card-bg);
    border: 2px solid var(--db-orange);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.dragon-balls-container h3 {
    color: var(--db-orange);
    margin-bottom: 1rem;
}

.dragon-balls-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.dragon-ball {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #ffaa00, #ff6b00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ff0000;
    font-weight: bold;
    border: 3px solid var(--db-gold);
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dragon-ball.collected {
    opacity: 1;
    animation: dragonBallGlow 2s infinite alternate;
    box-shadow: 0 0 20px var(--db-gold);
}

.dragon-ball:hover {
    transform: scale(1.1);
}

@keyframes dragonBallGlow {
    from { box-shadow: 0 0 20px var(--db-gold); }
    to { box-shadow: 0 0 30px var(--db-gold), 0 0 40px var(--db-orange); }
}

.collection-status {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: bold;
}

/* Mode Selection */
.mode-selection {
    margin-bottom: 2rem;
}

.mode-selection h3 {
    text-align: center;
    color: var(--db-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.mode-button {
    background: var(--card-bg);
    border: 2px solid var(--db-blue);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-primary);
}

.mode-button:hover {
    background: var(--db-blue);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.mode-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mode-name {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.mode-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
}

/* Game Area */
.game-area {
    background: var(--card-bg);
    border: 2px solid var(--db-orange);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    background: var(--background-light);
    padding: 1rem;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--db-orange);
}

/* Question Container */
.question-container {
    margin-bottom: 2rem;
}

.question-category {
    background: var(--db-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--db-orange);
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.answer-option {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-primary);
}

.answer-option:hover {
    border-color: var(--db-blue);
    background: var(--background-light);
    transform: translateY(-2px);
}

.answer-option.selected {
    border-color: var(--db-orange);
    background: var(--db-orange);
    color: white;
}

.answer-option.correct {
    border-color: var(--db-green);
    background: var(--db-green);
    color: white;
    animation: correctPulse 0.6s ease;
}

.answer-option.incorrect {
    border-color: var(--db-red);
    background: var(--db-red);
    color: white;
    animation: incorrectShake 0.5s ease;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes incorrectShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.question-feedback {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-feedback.correct {
    background: var(--db-green);
    color: white;
}

.question-feedback.incorrect {
    background: var(--db-red);
    color: white;
}

/* Shenron Wish Area */
.wish-area {
    background: var(--shenron-gradient);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.shenron-container {
    margin-bottom: 2rem;
}

.shenron-image {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: shenronFloat 3s ease-in-out infinite;
}

@keyframes shenronFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.shenron-text {
    font-size: 1.3rem;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.wish-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    backdrop-filter: blur(5px);
}

.wish-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--db-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.wish-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.wish-name {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.wish-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
}

/* Results Screen */
.results-screen {
    background: var(--card-bg);
    border: 2px solid var(--db-gold);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.results-screen h2 {
    color: var(--db-gold);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-stat {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--db-orange);
}

.result-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--db-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
}

.performance-message {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--db-gold);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 80px 1rem 2rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .dragon-balls-grid {
        gap: 0.5rem;
    }
    
    .dragon-ball {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }
    
    .mode-grid {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .answers-grid {
        grid-template-columns: 1fr;
    }
    
    .wishes-grid {
        grid-template-columns: 1fr;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--db-orange);
    color: white;
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--db-blue);
    color: white;
}

.btn-secondary:hover {
    background: #0052a3;
    transform: translateY(-2px);
} 