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

body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a2e;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Sunrise Canvas Background */
.sunrise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Overlay gradient for better text readability */
.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(26, 26, 46, 0.3) 0%, 
        rgba(26, 26, 46, 0.5) 50%, 
        rgba(26, 26, 46, 0.7) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.main-nav {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1.2s ease;
}

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

.main-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.2;
}

.glow {
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(102, 126, 234, 0.3),
        0 0 30px rgba(102, 126, 234, 0.1);
    position: relative;
    display: inline-block;
}

/* Subtle hover effect for interactivity */
.glow:hover {
    text-shadow: 
        0 0 15px rgba(102, 126, 234, 0.7),
        0 0 25px rgba(102, 126, 234, 0.4),
        0 0 35px rgba(102, 126, 234, 0.2);
    transition: text-shadow 0.3s ease;
}

/* Professional accent line */
.header-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 1.5rem auto;
    border-radius: 2px;
    opacity: 0.8;
    animation: fadeIn 1.5s ease;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Visualization Container */
.visualization-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: fadeIn 1.5s ease;
}

.visualizer {
    width: 100%;
    height: 100%;
}

.frequency-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.frequency-number {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    letter-spacing: -0.02em;
}

.frequency-unit {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.5rem;
}

/* Controls Panel */
.controls-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeIn 1.8s ease;
}

.now-playing {
    text-align: center;
    margin-bottom: 2rem;
}

.playing-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.playing-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Background Sounds Panel */
.background-sounds-panel {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.panel-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 600;
}

.background-sounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bg-sound-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #ffffff;
}

.bg-sound-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.bg-sound-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.bg-icon {
    font-size: 1.5rem;
}

.bg-name {
    font-size: 0.75rem;
    font-weight: 500;
}

.background-volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.background-volume-control label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.background-volume-control input[type="range"] {
    flex: 1;
    height: 6px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.background-volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.background-volume-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#background-volume-value {
    min-width: 40px;
    text-align: right;
    color: #667eea;
    font-weight: 600;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-control {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-control:active {
    transform: translateY(0);
}

.btn-control.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

#volume-slider {
    width: 100px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 2px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border-radius: 50%;
}

/* Frequencies Grid */
.frequencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 2s ease;
}

.frequency-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.frequency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.frequency-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.frequency-card:hover::before {
    opacity: 1;
}

.frequency-card.active {
    background: rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.4);
}


.freq-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.freq-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.freq-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.freq-duration {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* Sequences Section */
.sequences-section {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sequences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    animation: fadeInUp 2.2s ease;
}

.sequence-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sequence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.seq-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.seq-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.seq-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.seq-frequencies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.freq-tag {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
}

/* Info Panel */
.info-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 2.5s ease;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #a8b9ff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-card p, .info-card ul {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #a8b9ff;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 3s ease;
}

.footer-content {
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer a {
    color: #a8b9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c7d4ff;
    text-shadow: 0 0 10px rgba(168, 185, 255, 0.5);
}

.copyright {
    font-weight: 500;
}

.contact {
    font-size: 0.85rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    color: #a8b9ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 600px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-accept, .btn-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .frequency-number {
        font-size: 3rem;
    }
    
    .frequencies-grid {
        grid-template-columns: 1fr;
    }
    
    .sequences-grid {
        grid-template-columns: 1fr;
    }
    
    .control-buttons {
        flex-wrap: wrap;
    }
    
    .volume-control {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .footer {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}