.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
}

.reduced-motion {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

.reduced-motion .main-title {
    text-shadow: 2px 2px 0px #000 !important;
    animation: none !important;
}

.reduced-motion .main-subtitle {
    animation: none !important;
}

.reduced-motion .main-subtitle::after {
    display: none !important;
}

.reduced-motion .terminal-button:hover {
    background-color: #444 !important;
    color: #fff !important;
    transform: none !important;
}

.reduced-motion .decorative-pixel-flower {
    filter: none !important;
    animation: none !important;
    transform: none !important;
}

.reduced-motion *::before,
.reduced-motion *::after {
    animation: none !important;
    transition: none !important;
}

.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.high-contrast .main-content-area {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.high-contrast .main-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 0px #000000 !important;
}

.high-contrast .main-subtitle,
.high-contrast .header-greeting {
    color: #ffffff !important;
}

.high-contrast .terminal-window {
    background-color: #000000 !important;
    border: 3px solid #ffffff !important;
    color: #ffffff !important;
}

.high-contrast .terminal-top-bar {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.high-contrast .terminal-main-content {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.high-contrast .terminal-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    font-weight: bold !important;
}

.high-contrast .terminal-button:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.high-contrast .config-menu {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.high-contrast .config-overlay {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.high-contrast a {
    color: #ffffff !important;
}

.high-contrast a:hover {
    color: #cccccc !important;
}

.high-contrast .config-link {
    color: #ffffff !important;
    background-color: #333333 !important;
    border: 1px solid #ffffff !important;
}

.high-contrast .config-link:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.high-contrast footer {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.high-contrast input,
.high-contrast select,
.high-contrast textarea {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.high-contrast .toggle-switch .slider {
    background-color: #666666 !important;
}

.high-contrast .toggle-switch input:checked + .slider {
    background-color: #ffffff !important;
}

.reduced-motion.high-contrast {
    background: #000000 !important;
}

.reduced-motion.high-contrast .terminal-window {
    box-shadow: none !important;
    animation: none !important;
}

.reduced-motion *:focus,
.high-contrast *:focus {
    outline: 3px solid #ffffff !important;
    outline-offset: 2px !important;
}

.reduced-motion p,
.reduced-motion .terminal-button {
    line-height: 1.6 !important;
    letter-spacing: 0.02em !important;
}

.reduced-motion {
    font-size: 16px !important;
}

.reduced-motion .terminal-button {
    font-size: 14px !important;
    padding: 12px 16px !important;
}

.reduced-motion .terminal-window::before,
.reduced-motion .terminal-window::after {
    content: none !important;
    display: none !important;
}

.reduced-motion * {
    cursor: default !important;
}

.reduced-motion button,
.reduced-motion a {
    cursor: pointer !important;
}

