@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

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

body {
    font-family: 'Russo One', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: repeating-linear-gradient(
        45deg,
        #000000 0px,
        #000000 10px,
        #1a1a1a 10px,
        #1a1a1a 20px
    );
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #009B3A 33%, #FFD700 33%, #FFD700 66%, #FF0000 66%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #009B3A 33%, #FFD700 33%, #FFD700 66%, #FF0000 66%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    position: relative;
    border: 3px solid #FFD700;
    max-width: 90%;
    width: 800px;
}

.container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #FF0000, #FFD700, #009B3A, #FF0000);
    border-radius: 15px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

h1 {
    color: #FFD700;
    margin-bottom: 2rem;
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 
        3px 3px 0 #FF0000,
        -3px -3px 0 #009B3A;
    letter-spacing: 2px;
    animation: titlePulse 2s ease-in-out infinite;
}

.soundboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.sound-btn {
    padding: 1.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Russo One', sans-serif;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(45deg, #009B3A, #FFD700, #FF0000);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

.sound-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: transform 0.5s;
}

.sound-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3);
}

.sound-btn:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

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

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes titlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .sound-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .soundboard {
        gap: 1rem;
    }
} 