/* Fitness Fun Wheel Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 25%, #F0932B 50%, #FF9F43 75%, #FF6B6B 100%);
    color: #2C3E50;
    overflow-x: hidden;
    min-height: 100vh;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: #FFFFFF;
    text-shadow: 3px 3px 0px #FF6B9D, 6px 6px 0px #F0932B;
    margin-bottom: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.game-header p {
    font-size: 1.2rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Main Game Area */
.game-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    flex: 1;
}

/* Wheel Section */
.wheel-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#wheelCanvas {
    border: 6px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 8px 32px rgba(0,0,0,0.3);
    background: #FFFFFF;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #FF6B9D;
    filter: drop-shadow(0 0 10px #FF6B9D);
    z-index: 10;
}

.spin-btn {
    margin-top: 30px;
    padding: 15px 30px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    background: linear-gradient(145deg, #FF6B9D, #C44569);
    border: 4px solid #FFFFFF;
    border-radius: 15px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.spin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
    background: linear-gradient(145deg, #C44569, #FF6B9D);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

 /* Status Section */
 .status-section {
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .game-status {
     background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FA 100%);
     border: 4px solid #FF6B9D;
     border-radius: 25px;
     padding: 40px;
     text-align: center;
     box-shadow: 0 12px 40px rgba(255, 107, 157, 0.3);
     min-height: 300px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     position: relative;
 }

 .status-panel {
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     width: 100%;
 }

 .status-panel.active {
     display: flex;
 }

 .status-icon {
     font-size: 4rem;
     margin-bottom: 20px;
     animation: bounce 2s infinite;
 }

 .status-title {
     font-family: 'Press Start 2P', cursive;
     font-size: 1.5rem;
     color: #2C3E50;
     margin-bottom: 15px;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
 }

 .status-description {
     font-size: 1.1rem;
     color: #34495E;
     line-height: 1.5;
     margin-bottom: 20px;
     font-weight: 500;
 }

 .activity-info {
     margin-bottom: 20px;
 }

 .activity-icon {
     font-size: 4rem;
     margin-bottom: 20px;
     animation: bounce 2s infinite;
 }

.activity-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.activity-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

 .activity-description {
     font-size: 1.1rem;
     color: #34495E;
     line-height: 1.5;
     margin-bottom: 20px;
     font-weight: 500;
 }

 /* Time Selection */
 .time-selection {
     margin: 20px 0;
     padding: 20px;
     background: linear-gradient(145deg, #F8F9FA, #E9ECEF);
     border: 3px solid #FF6B9D;
     border-radius: 15px;
     box-shadow: 0 6px 20px rgba(255, 107, 157, 0.2);
 }

 .time-selection h3 {
     font-family: 'Press Start 2P', cursive;
     font-size: 0.9rem;
     color: #2C3E50;
     margin-bottom: 15px;
     text-align: center;
 }

 .time-buttons {
     display: flex;
     justify-content: center;
     gap: 15px;
     flex-wrap: wrap;
 }

 .time-btn {
     padding: 12px 20px;
     font-family: 'Press Start 2P', cursive;
     font-size: 0.8rem;
     background: linear-gradient(145deg, #4ECDC4, #44A08D);
     border: 3px solid #FFFFFF;
     border-radius: 10px;
     color: #FFFFFF;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
     min-width: 80px;
 }

 .time-btn:hover {
     transform: translateY(-2px) scale(1.05);
     box-shadow: 0 6px 25px rgba(78, 205, 196, 0.5);
     background: linear-gradient(145deg, #44A08D, #4ECDC4);
 }

 .time-btn.selected {
     background: linear-gradient(145deg, #FF6B9D, #C44569);
     box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
     transform: scale(1.1);
 }

  .time-btn:disabled {
     opacity: 0.5;
     cursor: not-allowed;
     transform: none;
 }

 /* Start Button */
 .start-btn {
     margin-top: 20px;
     padding: 15px 40px;
     font-family: 'Press Start 2P', cursive;
     font-size: 1.2rem;
     background: linear-gradient(145deg, #4CAF50, #45A049);
     border: 4px solid #FFFFFF;
     border-radius: 15px;
     color: #FFFFFF;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
     text-transform: uppercase;
 }

 .start-btn:hover:not(:disabled) {
     transform: translateY(-3px) scale(1.05);
     box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6);
     background: linear-gradient(145deg, #45A049, #4CAF50);
 }

 .start-btn:disabled {
     opacity: 0.5;
     cursor: not-allowed;
     transform: none;
 }

 .activity-timer {
     background: linear-gradient(145deg, #FF6B9D, #C44569);
     border: 3px solid #FFFFFF;
     border-radius: 15px;
     padding: 15px;
     margin-top: 20px;
     box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
 }

 /* Total Time Display */
 .total-time-display {
     margin-top: 20px;
     display: flex;
     justify-content: center;
 }

 .total-time-container {
     background: linear-gradient(145deg, #2C3E50, #34495E);
     border: 3px solid #FF6B9D;
     border-radius: 15px;
     padding: 15px 25px;
     box-shadow: 0 8px 25px rgba(0,0,0,0.3);
     display: inline-block;
 }

 .total-time-label {
     font-family: 'Press Start 2P', cursive;
     font-size: 0.8rem;
     color: #FFFFFF;
     display: block;
     margin-bottom: 5px;
     text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
 }

 .total-time-value {
     font-family: 'Press Start 2P', cursive;
     font-size: 1.5rem;
     color: #FF6B9D;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
     font-weight: bold;
 }

.timer-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.timer-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Controls */
.controls-section {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-btn {
    padding: 12px 24px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    background: linear-gradient(145deg, #F0932B, #FF9F43);
    border: 3px solid #FFFFFF;
    border-radius: 12px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(240, 147, 43, 0.4);
}

.control-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(240, 147, 43, 0.6);
    background: linear-gradient(145deg, #FF9F43, #F0932B);
}

/* Instructions */
.instructions {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00ff41;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.instructions h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: #00ff41;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00ff41;
}

.instructions ul {
    list-style: none;
    padding: 0;
}

.instructions li {
    font-size: 1rem;
    color: #b8b8b8;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.instructions li::before {
    content: '▶';
    color: #00ff41;
    position: absolute;
    left: 0;
    text-shadow: 0 0 5px #00ff41;
}

/* Back to Launcher */
.back-to-launcher {
    text-align: center;
    margin-top: auto;
}

.back-btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a);
    border: 2px solid #666;
    border-radius: 8px;
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(145deg, #2a2a2a, #4a4a4a);
    color: #00ff41;
    border-color: #00ff41;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .game-header h1 {
        font-size: 1.8rem;
    }
    
    #wheelCanvas {
        width: 300px;
        height: 300px;
    }
    
    .activity-display {
        padding: 30px;
        min-height: 250px;
    }
    
    .controls-section {
        flex-direction: column;
        align-items: center;
    }
    
    .control-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .game-container {
        padding: 15px;
    }
    
    .game-header h1 {
        font-size: 1.5rem;
    }
    
    #wheelCanvas {
        width: 250px;
        height: 250px;
    }
    
    .activity-display {
        padding: 20px;
    }
    
    .activity-title {
        font-size: 1.2rem;
    }
    
         .activity-description {
         font-size: 1rem;
     }
     
     .time-buttons {
         gap: 10px;
     }
     
     .time-btn {
         padding: 10px 15px;
         font-size: 0.7rem;
         min-width: 70px;
     }
 } 