/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #06070a;
    color: #f5f3ed;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Anti-Orphan Rules (Mobile First & Desktop) */
h1, h2, h3, h4, h5, h6, .headline-balanced {
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

p, li, .body-pretty {
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

.btn-balanced {
    white-space: nowrap;
}

/* Typography Classes */
.font-oswald {
    font-family: 'Oswald', sans-serif;
}
.font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Glow & Shadows */
.glow-cyan {
    color: #55f0ff;
    text-shadow: 0 0 25px rgba(85, 240, 255, 0.45);
}
.glow-box-cyan {
    box-shadow: 0 0 30px rgba(85, 240, 255, 0.12);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(13, 17, 23, 0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(85, 240, 255, 0.16);
}

.glass-panel-hover {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-panel-hover:hover {
    transform: translateY(-3px);
    border-color: rgba(85, 240, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(85, 240, 255, 0.12);
}

/* Interactive Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #111622;
    outline: none;
    accent-color: #55f0ff;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #55f0ff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(85, 240, 255, 0.7);
    border: 2px solid #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #06070a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2f6bff;
}
