/* ==========================================================================
   1. Fonts & Variables
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");

:root {
    --bg-primary: #0b0a08;
    --bg-secondary: #14100c;
    --bg-elevated: #1f160f;
    --bg-card: #2a1f16;
    --bg-card-strong: #322317;
    --bg-player: #0a0805;

    --text-primary: #f7efe6;
    --text-secondary: #e0d2c2;
    --text-tertiary: #b7a392;

    --accent-gold: #d5a453;
    --accent-amber: #f1c27d;
    --accent-rose: #d07a58;
    --accent-moss: #7f9f89;

    --border-soft: rgba(241, 194, 125, 0.18);

    --shadow-sm: 0 8px 16px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 16px 35px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.45);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;

    --font-display: "Fraunces", serif;
    --font-body: "Hanken Grotesk", sans-serif;
    --font-script: "Great Vibes", cursive;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.65;
    min-height: 100vh;
    padding-bottom: 140px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(800px 500px at 12% -10%, rgba(208, 122, 88, 0.18), transparent 60%),
        radial-gradient(600px 400px at 88% 8%, rgba(127, 159, 137, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(11, 10, 8, 0.95) 0%, rgba(20, 16, 12, 0.92) 45%, rgba(11, 10, 8, 0.98) 100%);
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-amber);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

input,
select {
    font-family: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-amber);
    outline-offset: 2px;
}

/* ==========================================================================
   3. Utility
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 20px;
    top: -60px;
    padding: 10px 16px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top var(--transition-fast);
    z-index: 1000;
}

.skip-link:focus {
    top: 20px;
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: clamp(32px, 8vw, 84px) 6vw 30px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 6vw -15px 6vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 194, 125, 0.4), transparent);
}

.hero-copy {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

h1.header {
    font-family: var(--font-script);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--text-primary);
}

h1.header .header2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    color: var(--accent-gold);
    margin-left: 0.2em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.primary-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.secondary-btn {
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    background: rgba(20, 16, 12, 0.6);
}

.secondary-btn:hover {
    border-color: rgba(241, 194, 125, 0.6);
    color: var(--accent-amber);
}

.hero-hint {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    padding-left: 12px;
    border-left: 2px solid rgba(241, 194, 125, 0.4);
    margin: 0;
}

.hero-player {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-player);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(241, 194, 125, 0.12);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        width var(--transition-base),
        top var(--transition-base),
        left var(--transition-base),
        right var(--transition-base),
        border-radius var(--transition-base);
}

#video-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

#YouTube-player {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes pinGrow {
    from {
        transform: scale(0.85);
    }
    to {
        transform: scale(1);
    }
}

@keyframes unpinGrow {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

#video-container.fixed-player-mode {
    position: fixed;
    top: 18px;
    left: 18px;
    width: clamp(240px, 24vw, 380px);
    aspect-ratio: 16 / 9;
    height: auto;
    z-index: 1200;
    border: 1px solid rgba(241, 194, 125, 0.4);
    box-shadow: var(--shadow-lg);
    transform-origin: top left;
    animation: pinGrow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#video-container.unpinning {
    transform-origin: top left;
    animation: unpinGrow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.player-status {
    background: rgba(20, 16, 12, 0.7);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid rgba(241, 194, 125, 0.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
}

.player-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.player-meta {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ==========================================================================
   5. Main Content & Controls
   ========================================================================== */
#content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 6vw 80px;
}

.controls-panel {
    background: linear-gradient(145deg, rgba(31, 22, 15, 0.9), rgba(42, 31, 22, 0.95));
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 194, 125, 0.12);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.controls-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin: 0;
}

.controls-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 10, 8, 0.7);
    border: 1px solid rgba(241, 194, 125, 0.18);
    border-radius: 999px;
    padding: 10px 16px;
}

.search-field:focus-within {
    border-color: rgba(241, 194, 125, 0.6);
    box-shadow: 0 0 0 2px rgba(241, 194, 125, 0.12);
}

.search-field i {
    color: var(--text-tertiary);
}

.search-field input {
    background: transparent;
    border: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.search-field input::placeholder {
    color: var(--text-tertiary);
}

.select-field select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(241, 194, 125, 0.18);
    background: rgba(11, 10, 8, 0.7);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.select-field select:focus-visible {
    border-color: rgba(241, 194, 125, 0.6);
    box-shadow: 0 0 0 2px rgba(241, 194, 125, 0.12);
}

.ghost-btn {
    border: 1px solid rgba(241, 194, 125, 0.3);
    background: transparent;
    color: var(--text-secondary);
}

.ghost-btn:hover {
    color: var(--accent-amber);
    border-color: rgba(241, 194, 125, 0.6);
}

.results-count {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    justify-self: end;
}

.raag-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.raag-nav a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(241, 194, 125, 0.18);
    background: rgba(11, 10, 8, 0.6);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.raag-nav a:hover {
    border-color: rgba(241, 194, 125, 0.5);
    color: var(--accent-amber);
}

#songs-wrapper {
    margin-top: 28px;
}

#songs-container {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
}

.no-results {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(20, 16, 12, 0.7);
    border: 1px dashed rgba(241, 194, 125, 0.3);
    color: var(--text-secondary);
    text-align: center;
}

.loading-state {
    padding: 20px;
    text-align: center;
    color: var(--text-tertiary);
}

/* ==========================================================================
   6. Raag Sections
   ========================================================================== */
#songs-container > section {
    background: linear-gradient(150deg, rgba(42, 31, 22, 0.96), rgba(31, 22, 15, 0.85));
    border-radius: var(--radius-lg);
    padding: clamp(18px, 2.8vw, 28px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(241, 194, 125, 0.12);
    position: relative;
    scroll-margin-top: 90px;
}

#songs-container > section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 4px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, rgba(241, 194, 125, 0.2), rgba(208, 122, 88, 0.6));
    border-radius: 999px;
}

h2.raag {
    margin-bottom: 14px;
}

.raag-toggle {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 600;
    color: var(--accent-amber);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.raag-toggle::after {
    content: "details";
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    border: 1px solid rgba(241, 194, 125, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
}

.raag-details {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 0 0 0 16px;
    border-left: 3px solid rgba(241, 194, 125, 0.5);
    line-height: 1.75;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base);
}

.raag-details.open {
    max-height: 1600px;
    opacity: 1;
}

.raag-details p,
.more-details p,
#popupText p {
    margin: 0 0 0.8rem;
}

.raag-details p:last-child,
.more-details p:last-child,
#popupText p:last-child {
    margin-bottom: 0;
}

section ul {
    list-style: none;
}

section li {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background var(--transition-fast), border var(--transition-fast);
}

section li + li {
    margin-top: 8px;
}

section li:hover {
    background: rgba(11, 10, 8, 0.4);
    border-color: rgba(241, 194, 125, 0.1);
}

section li.is-playing {
    background: rgba(213, 164, 83, 0.15);
    border-color: rgba(241, 194, 125, 0.5);
}

.song-link-button {
    display: inline-flex;
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-primary);
    margin-bottom: 6px;
}

.song-link-button:hover {
    color: var(--accent-amber);
}

.song-details {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.more-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(11, 10, 8, 0.55);
    border-radius: var(--radius-sm);
    border-left: 3px solid rgba(241, 194, 125, 0.5);
    line-height: 1.7;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base);
}

.more-details.open {
    max-height: 1200px;
    opacity: 1;
}

/* ==========================================================================
   7. Inline Interactive Elements
   ========================================================================== */
.time_stamp,
.note_button,
.link {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 0.9em;
}

.time_stamp {
    color: var(--accent-amber);
    border-color: rgba(241, 194, 125, 0.3);
    font-weight: 600;
}

.time_stamp:hover {
    background: var(--accent-amber);
    color: var(--bg-primary);
}

.note_button {
    color: var(--accent-rose);
    border-color: rgba(208, 122, 88, 0.3);
    font-style: italic;
}

.note_button:hover {
    background: var(--accent-rose);
    color: var(--text-primary);
}

.link {
    color: var(--accent-gold);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.link:hover {
    color: var(--accent-amber);
}

/* ==========================================================================
   8. Popup
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 10, 8, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.popup-overlay.visible {
    opacity: 1;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: clamp(280px, 85vw, 560px);
    max-height: 80vh;
    overflow-y: auto;
    background: linear-gradient(145deg, rgba(42, 31, 22, 0.98), rgba(31, 22, 15, 0.98));
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(241, 194, 125, 0.25);
    z-index: 1001;
    opacity: 0;
    transition: opacity var(--transition-base), transform var(--transition-base);
    color: var(--text-primary);
}

.popup-container.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.loading-animation {
    width: 100%;
    height: 6px;
    background: rgba(241, 194, 125, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}

.loading-animation::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--accent-gold);
    animation: loadingBar 1.4s ease-in-out infinite;
}

@keyframes loadingBar {
    0% { transform: translateX(-120%); }
    50% { transform: translateX(40%); }
    100% { transform: translateX(240%); }
}

#popupText {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.popup_close {
    background: var(--accent-gold);
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    padding: 0.6em 1.3em;
    font-weight: 600;
    border-radius: 999px;
    display: block;
    margin: 1.5rem auto 0;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.popup_close:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   9. Music Controls
   ========================================================================== */
.music-controls {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    background: rgba(10, 8, 5, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(241, 194, 125, 0.2);
    z-index: 999;
}

.now-playing {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.now-playing-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
}

.now-playing-title {
    font-family: var(--font-display);
    font-size: 1rem;
}

.now-playing-meta {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-controls button {
    background: rgba(20, 16, 12, 0.6);
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 1.2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.music-controls button:hover {
    color: var(--accent-amber);
    border-color: rgba(241, 194, 125, 0.5);
    transform: translateY(-1px);
}

.toggle-slider {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 16, 12, 0.6);
    border: 1px solid rgba(241, 194, 125, 0.2);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.toggle-slider input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider .slider {
    width: 40px;
    height: 20px;
    background: rgba(241, 194, 125, 0.2);
    border-radius: 999px;
    position: relative;
    transition: var(--transition-fast);
}

.toggle-slider .slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: var(--transition-fast);
}

.toggle-slider input:checked + .slider {
    background: var(--accent-gold);
}

.toggle-slider input:checked + .slider::before {
    transform: translateX(20px);
    background: var(--bg-primary);
}

.toggle-slider input:checked ~ .toggle-text {
    color: var(--accent-amber);
}

.toggle-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
footer {
    padding: 50px 20px 30px;
    text-align: center;
    color: var(--text-tertiary);
    border-top: 1px solid rgba(241, 194, 125, 0.1);
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.2), rgba(11, 10, 8, 0.9));
}

footer .developer {
    color: var(--accent-gold);
    font-weight: 600;
}

.social-icons {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 12, 0.6);
    border: 1px solid rgba(241, 194, 125, 0.2);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    color: var(--accent-amber);
    border-color: rgba(241, 194, 125, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .controls-grid {
        grid-template-columns: 1fr;
    }

    .results-count {
        justify-self: start;
    }

    .music-controls {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .control-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 26px 5vw 18px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .player-status {
        padding: 12px 14px;
    }

    .raag-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .raag-nav a {
        flex: 0 0 auto;
    }

    #video-container.fixed-player-mode {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        transform-origin: top center;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 170px;
    }

    #video-container.fixed-player-mode {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .player-title {
        font-size: 1rem;
    }

    .now-playing-title {
        font-size: 0.95rem;
    }

    .now-playing-meta {
        display: none;
    }

    .music-controls {
        padding: 10px 12px;
    }

    .control-buttons {
        gap: 8px;
    }

    .music-controls button {
        width: 42px;
        height: 42px;
    }

    .toggle-text {
        font-size: 0;
    }

    .toggle-text i {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
