* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #ffffff;
    font-family: 'Arial Black', Arial, sans-serif;
    min-height: 100vh;
}

.stadium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stadium-title {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD23F;
    text-shadow: 0 0 20px #FFD23F, 0 0 40px #FF6B35;
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px #FFD23F, 0 0 40px #FF6B35; }
    to { text-shadow: 0 0 30px #FFD23F, 0 0 60px #FF6B35, 0 0 80px #FF6B35; }
}

.jumbotron-frame {
    position: relative;
    background: linear-gradient(45deg, #333, #666, #333);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 
        0 0 50px rgba(255, 107, 53, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

#jumbotron {
    width: 100%;
    height: auto;
    border: 2px solid #FFD23F;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 210, 63, 0.5);
    background: #000;
}

.pixel-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 8px;
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(0,0,0,0.1) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0,0,0,0.1) 50%);
    background-size: 4px 4px;
    pointer-events: none;
}

.control-panel {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #004E89;
    box-shadow: 0 0 20px rgba(0, 78, 137, 0.3);
    margin-bottom: 20px;
}

.content-selector h3 {
    color: #FFD23F;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.content-btn {
    background: linear-gradient(135deg, #004E89, #0066CC);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.content-btn:hover {
    background: linear-gradient(135deg, #0066CC, #0088FF);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.4);
}

.content-btn.active {
    background: linear-gradient(135deg, #FF6B35, #FF8555);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.controls-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.control-group {
    flex: 1;
    min-width: 200px;
}

.control-group.wide {
    flex: 2;
    min-width: 300px;
}

.control-group label {
    display: block;
    color: #FFD23F;
    margin-bottom: 8px;
    font-weight: bold;
}

.control-group input[type="range"] {
    width: 100%;
    height: 8px;
    background: #333;
    outline: none;
    border-radius: 4px;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FF6B35;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.control-group select,
.control-group input[type="text"] {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 2px solid #004E89;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

.control-group select:focus,
.control-group input[type="text"]:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.control-group button {
    background: linear-gradient(135deg, #FF6B35, #FF8555);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.control-group button:hover {
    background: linear-gradient(135deg, #FF8555, #FFA575);
    transform: translateY(-1px);
}

.stadium-effects h3 {
    color: #FFD23F;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.effect-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.effect-buttons button {
    background: linear-gradient(135deg, #228B22, #32CD32);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.effect-buttons button:hover {
    background: linear-gradient(135deg, #32CD32, #98FB98);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(50, 205, 50, 0.4);
}

.ticker-container {
    background: #FF6B35;
    color: white;
    height: 40px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.ticker-content {
    position: absolute;
    white-space: nowrap;
    line-height: 40px;
    font-weight: bold;
    animation: scroll 60s linear infinite;
    padding-left: 100%;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.footer {
    text-align: center;
    padding: 20px;
    color: #888;
    border-top: 1px solid #333;
}

.footer a {
    color: #FFD23F;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stadium-title {
        font-size: 1.8rem;
    }
    
    .button-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .controls-row {
        flex-direction: column;
    }
    
    .control-group {
        min-width: auto;
    }
    
    .effect-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .control-group button {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stadium-container {
        padding: 10px;
    }
    
    .control-panel {
        padding: 15px;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
    }
    
    .effect-buttons {
        grid-template-columns: 1fr;
    }
}

/* Stadium lighting effects */
.jumbotron-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #FF6B35, #FFD23F, #004E89, #FF6B35);
    border-radius: 20px;
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glow effects for interactive elements */
button:focus,
input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 210, 63, 0.5) !important;
}

/* Loading animation for canvas */
#jumbotron {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}