/* Layout Styles - Header, phases, and main structure */

/* Header Styles */
.game-header {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    padding: 1rem;
    border-bottom: 4px solid #FF8C00;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-btn {
    background: #FF6B6B;
    color: white;
    border: 2px solid #FF4757;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #FF4757;
    transform: translateY(-2px);
}

.game-header h1 {
    color: #333;
    margin: 0;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.player-info {
    display: flex;
    gap: 1rem;
    font-weight: bold;
    align-items: center;
}

.sound-toggle-btn {
    background: white;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sound-toggle-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.sound-toggle-btn.muted {
    background: #ffebee;
    color: #666;
}

.money-display, .day-display {
    background: white;
    padding: 0.5rem 1rem;
    border: 2px solid #333;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Phase Styles */
.game-phases {
    padding: 2rem;
}

.phase {
    display: none;
    background: #f8f9fa;
    border: 3px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.phase.active {
    display: block;
}

.phase-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 1rem;
}

.phase-header h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 2rem;
}

.phase-header p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

/* Weather Report Styles */
.weather-report {
    margin-bottom: 2rem;
}

.weather-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border: 3px solid #2196F3;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.weather-icon {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #333;
    border-radius: 50%;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.weather-info h3 {
    margin: 0 0 0.5rem 0;
    color: #1565C0;
    font-size: 1.4rem;
}

.weather-info p {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.weather-tip {
    color: #FF6B35 !important;
    font-weight: bold;
    font-style: italic;
}

/* Volume Control Styles */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border: 2px solid #333;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.volume-label {
    font-size: 1rem;
    line-height: 1;
}

.volume-slider {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF6B35;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF6B35;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.volume-value {
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    min-width: 30px;
    text-align: center;
}
