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

.sound-healing-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #2a2a2a);
color: #ffffff;
    line-height: 1.6;
    transition: filter 0.1s ease;
    padding: 2rem;
}

.sound-healing-container.vibrating {
    animation: vibrateBackground 0.5s infinite;
}

@keyframes vibrateBackground {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(10deg) brightness(1.1);
    }
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

.menu2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.card {
    background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 
0 25px 50px -12px rgba(0, 0, 0, 0.6),
0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 42rem;
  
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
}

.header h1 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #fff, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.header p {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
}

.top-control {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.circular-button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.circular-button:hover {
    transform: scale(1.05);
}

.equalizer {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bars {
    display: flex;
    gap: 4px;
    height: 10rem;
    padding: 1rem;
    width: 100%;
    max-width: 30rem;
}

.bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: height 100ms ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.controls {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-group label {
    color: #e9d5ff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

.control-group input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.frequency-guide {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.frequency-guide h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.frequency-list {
    display: grid;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.frequency-list::-webkit-scrollbar {
    width: 6px;
}

.frequency-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.frequency-list::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 3px;
}

.frequency-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.frequency-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    border-color: rgba(168, 85, 247, 0.5);
}

.frequency-item.active {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.frequency-item .hz {
    color: #f0abfc;
    font-weight: 600;
    font-size: 1.1rem;
}

.frequency-item p {
    color: #e9d5ff;
    font-size: 0.9rem;
    line-height: 1.5;
}

.play-button {
    width: 100%;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.play-button:active {
    transform: translateY(0);
}

.headphone-notice {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #e9d5ff;
    font-size: 0.9rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vibration-toggle {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vibration-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vibration-toggle.active {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
}

.vibration-toggle svg {
    transition: transform 0.3s ease;
}

.vibration-toggle.active svg {
    transform: rotate(20deg);
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        margin-top: 50px;
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .header h1 {
        font-size: 2.25rem;
    }

    .header p {
        font-size: 1rem;
    }

    .frequency-list {
        max-height: 300px;
    }

    .equalizer {
        margin-bottom: 2rem;
    }

    .bars {
        height: 8rem;
    }

    .frequency-item {
        padding: 0.75rem;
    }

    .frequency-item .hz {
        font-size: 1rem;
    }

    .frequency-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.25rem;
    }

    .header h1 {
        font-size: 1.75rem;
    }

    .bars {
        height: 6rem;
        gap: 2px;
    }

    .control-group input {
        padding: 0.5rem 0.75rem;
    }

    .play-button {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .headphone-notice {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}