
@font-face {
    font-family: 'Aonchlo';
    src: url('fonts/aonchlo.woff2') format('woff2'),
         url('fonts/aonchlo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Aonchlo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a192f, #0d2b4e);
    color: #e6f1ff;
    min-height: 100vh;
    overflow-x: hidden;          
}

body.lightning-active {
    color: #000 !important;
}

body.lightning-active #canvas-container {
    background-image: none !important;
    background-color: #fff !important;
}


#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('image1.jpg');
    background-size: cover;
    background-position: center;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}


.page-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
             env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}


.page-content a,
.page-content button,
.page-content input,
.page-content textarea {
    pointer-events: auto;
}

.hero-logo {
    display: inline-block;
    width: clamp(160px, 52vw, 500px);
    height: clamp(160px, 52vw, 500px);
    object-fit: contain;
    vertical-align: middle;
}

.hero h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #64ffda, #57cbff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    text-align: center;
    padding: 24px 20px;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #64ffda, #57cbff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.tagline {
    font-size: clamp(1.5rem, 8vw, 5rem);
    color: #ffffff;
    letter-spacing: clamp(0.06em, 1.5vw, 0.15em);
    line-height: 1.1;
    text-transform: uppercase;
}


.section {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 24px);
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #64ffda, #57cbff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}


.card {
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 32px);
}

.card h2 {
    text-align: left;
}

.card p {
    color: #a8b2d1;
    line-height: 1.7;
}


.listen-grid {
    display: flex;
    gap: 24px;
}

.listen-card {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.listen-card h3 {
    font-size: 1.2rem;
    color: #64ffda;
    margin-bottom: 12px;
}

.placeholder-embed {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    padding: 48px 16px;
    margin-bottom: 16px;
    color: #5a6a8a;
    font-size: 0.9rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    text-decoration: none;
    color: #0a192f;
    background: #64ffda;
    transition: background 0.2s, transform 0.15s;
}

.btn:hover {
    background: #57cbff;
    transform: translateY(-2px);
}


#contact .card a {
    color: #64ffda;
    text-decoration: none;
}

#contact .card a:hover {
    text-decoration: underline;
}


.footer {
    text-align: center;
    padding: 40px 24px 60px;
    color: #5a6a8a;
    font-size: 0.85rem;
}


@media (max-width: 680px) {
    .listen-grid {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        padding-inline: 16px;
    }

    .section h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .card {
        border-radius: 14px;
    }

    .placeholder-embed {
        padding: 32px 14px;
    }

    .footer {
        padding: 32px 16px 48px;
    }
}

@media (min-width: 681px) and (max-width: 1024px) {
    .listen-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .listen-card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (hover: none) and (pointer: coarse) {
    html {
        scroll-behavior: auto;
    }
}
        
        .settings-panel {
            position: absolute;
            top: 70px;
            right: 20px;
            background: rgba(10, 25, 47, 0.85);
            border-radius: 15px;
            padding: 20px;
            width: min(280px, calc(100vw - 32px));
            max-width: calc(100vw - 32px);
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            z-index: 20;
            transform: translateX(120%);
            transition: transform 0.4s ease;
        }
        
        .settings-panel.open {
            transform: translateX(0);
        }
        
        .settings-panel h3 {
            margin-bottom: 15px;
            color: #64ffda;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .control-group {
            margin-bottom: 15px;
        }
        
        .slider-container {
            margin-bottom: 12px;
        }
        
        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: #a8b2d1;
        }
        
        .slider-label span {
            color: #64ffda;
            font-weight: 500;
        }
        
        input[type="range"] {
            width: 100%;
            height: 6px;
            background: linear-gradient(to right, #0a192f, #64ffda);
            border-radius: 3px;
            outline: none;
            appearance: none;
            -webkit-appearance: none;
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #64ffda;
            cursor: pointer;
            box-shadow: 0 0 10px rgba(100, 255, 218, 0.7);
        }
        
        .info {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(10, 25, 47, 0.5);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            backdrop-filter: blur(5px);
            color: #a8b2d1;
        }
        
        .performance {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(10, 25, 47, 0.5);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            backdrop-filter: blur(5px);
            color: #64ffda;
        }
        
        @media (max-width: 768px) {
            .title {
                width: 90%;
                padding: 10px;
            }
            
            .title h1 {
                font-size: 1.5rem;
            }
            
            .settings-panel {
                width: 90%;
                left: 50%;
                transform: translateX(50%);
                right: auto;
            }
            
            .settings-panel.open {
                transform: translateX(-50%);
            }
            
            .info {
                left: 50%;
                transform: translateX(-50%);
                width: 90%;
                text-align: center;
                bottom: 70px;
            }
            
            .performance {
                display: none;
            }
        }
