.strum-machine-container {
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #121212;
    position: relative;
    overflow: hidden;
    color: #F8F5F0;
}

.strum-machine-container h1 {
    color: #D4AF37;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #0A0A0A;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    color: #F8F5F0;
    transition: all 0.3s ease;
}

.tab.active {
    background: #121212;
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.beat-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.beat-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    padding: 5px;
    background: #121212;
    transition: all 0.3s ease;
}

.beat-group:hover {
    border: 1px solid #D4AF37;
}

.beat-label {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    width: 100%;
}

.beat-number, .beat-plus {
    padding: 8px 15px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #F8F5F0;
}

.beat-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    background: #0A0A0A;
    border-radius: 5px;
    user-select: none;
    margin-top: 5px;
    color: #F8F5F0;
    transition: all 0.3s ease;
}

.beat-arrow:hover {
    background: rgba(212, 175, 55, 0.1);
}

.beat-arrow.selected {
    background: #D4AF37;
    color: #121212;
}

.controls {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
    flex-wrap: wrap;
}

.strum-machine-container button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #D4AF37;
    color: #121212;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.strum-machine-container button:hover {
    background: #B89930;
}

.settings {
    margin-top: 30px;
    padding: 20px;
    background: #121212;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.strum-machine-container select, 
.strum-machine-container input {
    padding: 8px;
    margin: 5px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #0A0A0A;
    color: #F8F5F0;
}

.instructions {
    padding: 20px;
    background: #121212;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.active-beat {
    background: rgba(212, 175, 55, 0.3) !important;
    color: #F8F5F0 !important;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.checkbox-container input {
    margin-right: 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.volume-control label {
    margin-right: 10px;
    min-width: 80px;
}

.metronome-audio {
    display: none;
}

.chord-selector {
    margin: 15px 0;
    text-align: center;
    padding: 15px;
    background: #121212;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.chord-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
}

.chord-btn {
    padding: 8px 12px;
    background: #0A0A0A;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #F8F5F0;
}

.chord-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.chord-btn.active {
    background: #D4AF37;
    color: #121212;
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.timer-container {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

.timer-display {
    font-size: 36px;
    color: #D4AF37;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.timer-selector {
    margin: 10px 0;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
}

.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    font-size: 72px;
    color: #D4AF37;
    font-weight: bold;
    text-shadow: 0 0 10px #D4AF37;
    display: none;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
}

.celebration-message {
    animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}