/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --border-color: #e2e8f0;
    --accent-primary: #3b82f6;
    --accent-secondary: #1e40af;
    --accent-hover: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Warning box colors */
    --warning-bg: #fff3cd;
    --warning-border: #ffc107;
    --warning-text: #856404;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;

    /* Spacing */
    --header-height: 64px;
    --sidebar-width: 280px;
    --content-max-width: 1200px;

    /* Transitions */
    --transition: all 0.2s ease;

    /* Button text color for accessibility */
    --btn-text: white;
}

/* Dark theme colors (Blue) */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    --accent-primary: #60a5fa;
    --accent-secondary: #3b82f6;
    --accent-hover: #2563eb;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);

    /* Warning box colors for dark mode */
    --warning-bg: #422006;
    --warning-border: #f59e0b;
    --warning-text: #fcd34d;

    /* Button text color - white text on blue background */
    --btn-text: white;
}

/* Dark theme colors (Orange/Warm) */
[data-theme="dark-orange"] {
    --bg-primary: #1a1d24;
    --bg-secondary: #262930;
    --bg-tertiary: #2f333d;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #3d4149;
    --accent-primary: #ff9944;
    --accent-secondary: #ff9944;
    --accent-hover: #ffaa66;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);

    /* Warning box colors for dark orange mode */
    --warning-bg: #422006;
    --warning-border: #ff751f;
    --warning-text: #fcd34d;

    /* Button text color for accessibility - dark text on orange background */
    --btn-text: #1a1a1a;
}

/* Base HTML and Body */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    background: var(--accent-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus {
    top: 6px;
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.8);
}

[data-theme="dark-orange"] .header {
    background-color: #262930;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1,
.logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.logo h1 a,
.logo .logo-text a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.header-nav a:hover {
    color: var(--accent-primary);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Layout */
.layout {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    z-index: 40;
    transition: var(--transition);
}

/* Hide mobile-only nav items on desktop */
.mobile-only-nav {
    display: none;
}

.sidebar-nav {
    padding: 24px 0;
}

.nav-list {
    list-style: none;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: transparent;
    transition: var(--transition);
}

.nav-section-header:hover {
    background-color: var(--bg-tertiary);
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-subsection {
    list-style: none;
    background-color: var(--bg-primary);
}

.nav-subsection a {
    display: block;
    padding: 8px 24px 8px 56px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-subsection a:hover {
    color: var(--accent-primary);
    background-color: var(--bg-secondary);
    border-left-color: var(--accent-primary);
}

.nav-subsection a.active {
    color: var(--accent-primary);
    background-color: var(--bg-tertiary);
    border-left-color: var(--accent-primary);
    font-weight: 500;
}

/* Nested navigation (for HTML Tags list) */
.has-nested {
    padding: 0;
    margin: 0;
}

.has-nested > a.collapsible {
    position: relative;
    cursor: pointer;
    display: block;
    padding: 8px 24px 8px 56px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.has-nested > a.collapsible:hover {
    color: var(--accent-primary);
    background-color: var(--bg-secondary);
    border-left-color: var(--accent-primary);
}

.has-nested > a.collapsible.active {
    color: var(--accent-primary);
    background-color: var(--bg-tertiary);
    border-left-color: var(--accent-primary);
    font-weight: 500;
}

.has-nested > a.collapsible::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-secondary);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.has-nested > a.collapsible:hover::after {
    opacity: 0.8;
}

.has-nested > a.collapsible.expanded::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.8;
}

.toggle-icon {
    display: none;
}

.nav-nested {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-primary);
}

.nav-nested.open {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border-bottom: 1px solid var(--border-color);
}

/* Custom scrollbar for nested menu */
.nav-nested::-webkit-scrollbar {
    width: 6px;
}

.nav-nested::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.nav-nested::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.nav-nested::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

.nav-nested li {
    padding: 0;
}

.nav-nested a {
    display: block;
    padding: 6px 24px 6px 72px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: var(--transition);
    border-left: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-nested a:hover {
    color: var(--accent-primary);
    background-color: var(--bg-secondary);
    border-left-color: var(--accent-primary);
}

.nav-nested a.active {
    color: var(--accent-primary);
    background-color: var(--bg-tertiary);
    border-left-color: var(--accent-primary);
    font-weight: 500;
}

.nav-nested .tag-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px;
    padding-top: calc(var(--header-height) + 32px);
    max-width: calc(100% - var(--sidebar-width));
    min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 64px;
    padding: 64px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

/* Show full text with arrow on desktop, hide mobile version */
.btn-text-full {
    display: inline;
}

.btn-text-mobile {
    display: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--btn-text);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Ensure proper button text colors for all themes */
[data-theme="dark-orange"] .btn-primary {
    background-color: #ffa558;
    color: #1a1a1a !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

[data-theme="dark-orange"] .btn-primary:hover {
    background-color: #ffb876;
    color: #000000 !important;
}

/* White text on blue buttons for light theme */
[data-theme="light"] .btn-primary {
    color: #ffffff !important;
}

[data-theme="light"] .btn-primary:hover {
    color: #ffffff !important;
}

/* White text on blue buttons for dark-blue theme */
[data-theme="dark"] .btn-primary {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-primary:hover {
    color: #ffffff !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark-orange"] .btn-secondary:hover {
    color: #000000;
}

/* Features Section */
.features {
    margin-bottom: 64px;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke-width: 1.5;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .feature-icon,
[data-theme="dark-orange"] .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

[data-theme="dark-orange"] .feature-icon {
    background: linear-gradient(135deg, #ff751f, #e85d0d);
    box-shadow: 0 8px 16px rgba(255, 117, 31, 0.3);
}

[data-theme="dark-orange"] .feature:hover .feature-icon {
    box-shadow: 0 12px 24px rgba(255, 117, 31, 0.4);
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quick Start Section */
.quick-start {
    margin-bottom: 64px;
}

.quick-start h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.quick-start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--accent-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.step a:hover {
    text-decoration: underline;
}

/* Google AdSense Placeholders */
.ad-banner, .ad-sidebar {
    background-color: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.ad-banner::before, .ad-sidebar::before {
    content: "Advertisement";
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.75rem;
    opacity: 0.7;
}

.ad-top, .ad-middle, .ad-bottom {
    height: 120px;
    margin: 32px 0;
}

.ad-sidebar {
    height: 600px;
    width: 160px;
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-ad {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 64px;
    padding: 48px 0 24px 0;
    margin-left: var(--sidebar-width);
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding: 24px 32px 0 32px;
    border-top: 1px solid var(--border-color);
    margin-top: 32px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--accent-hover);
    text-decoration-thickness: 2px;
}

/* Improve contrast for dark themes - make link brighter */
[data-theme="dark"] .footer-bottom a,
[data-theme="dark-orange"] .footer-bottom a {
    color: #ffa366;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1280px) {
    .sidebar-ad {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .features h2, .quick-start h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-only-nav {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 24px 16px;
    }

    .footer {
        margin-left: 0;
    }

    .hero-section {
        padding: 32px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .btn {
        width: 100%;
        max-width: 200px;
    }

    /* Hide arrow on mobile to prevent two-line button text */
    .btn-text-full {
        display: none;
    }

    .btn-text-mobile {
        display: inline;
    }

    .features-grid, .quick-start-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .ad-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

    .header {
        height: auto;
        min-height: 64px;
    }

    .header-container {
        padding: 8px 12px;
        min-height: 64px;
    }

    .logo {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .logo img {
        height: 32px;
    }

    .logo h1,
    .logo .logo-text {
        font-size: 1.1rem;
        line-height: 1.2;
        flex: 0 0 auto;
    }

    .logo h1 a,
    .logo .logo-text a {
        flex-direction: row;
        gap: 8px;
    }

    .logo .tagline {
        font-size: 0.65rem;
        flex-basis: 100%;
        margin-left: 92px;
        margin-top: -8px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Code Blocks and Syntax Highlighting */
pre, code {
    font-family: var(--font-mono);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

code {
    padding: 2px 6px;
    font-size: 0.875rem;
}

pre {
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}

pre code {
    background: none;
    border: none;
    padding: 0;
}

/* Link Colors */
main a,
.main-content a,
.playground-main a {
    color: var(--accent-primary);
    text-decoration: underline;
}

main a:visited,
.main-content a:visited,
.playground-main a:visited {
    color: var(--accent-primary);
}

main a:hover,
.main-content a:hover,
.playground-main a:hover {
    opacity: 0.8;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .sidebar,
    .footer,
    .ad-banner,
    .ad-sidebar,
    .theme-toggle,
    .mobile-menu-toggle {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        max-width: 100% !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }

    [data-theme="dark"] {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}