/* ================================
   THE COME UP - Base Styles
   ================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Twitch Purple Theme */
    --primary-50: #f5f0ff;
    --primary-100: #ebe0ff;
    --primary-200: #d4bfff;
    --primary-300: #b794ff;
    --primary-400: #9b5dff;
    --primary-500: #9147ff; /* Main Twitch Purple */
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    /* Secondary Colors */
    --secondary-400: #f0a0ff;
    --secondary-500: #e879f9;
    --secondary-600: #d946ef;

    /* Neutral Colors */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --gray-950: #0f0f10;

    /* Status Colors */
    --success-400: #4ade80;
    --success-500: #22c55e;
    --error-400: #f87171;
    --error-500: #ef4444;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9147ff 0%, #f0a0ff 100%);
    --gradient-dark: linear-gradient(180deg, #18181b 0%, #0f0f10 100%);
    --gradient-glow: linear-gradient(135deg, rgba(145, 71, 255, 0.4) 0%, rgba(240, 160, 255, 0.2) 100%);

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(145, 71, 255, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(145, 71, 255, 0.5);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-100);
    background: var(--gray-950);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-300);
}

a {
    color: var(--primary-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-300);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--primary-400);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-small {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
    background: rgba(15, 15, 16, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(145, 71, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 56px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-400);
}

.auth-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(145, 71, 255, 0.1);
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Green social links when signed up */
.signed-up .social-link {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.signed-up .social-link:hover {
    background: #22c55e;
    color: white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.user-name {
    font-weight: 600;
    color: var(--primary-300);
}

.hidden {
    display: none !important;
}

/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray-100);
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(145, 71, 255, 0.2);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.input-icon {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(25%);
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    pointer-events: none;
}

.input-icon.twitch-icon {
    color: var(--primary-500);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 340px;
    padding: var(--space-lg);
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--gray-100);
}

.modal-logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
}

.modal-logo svg {
    width: 100%;
    height: 100%;
}

.modal-title {
    margin-bottom: var(--space-md);
    text-align: center;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-form {
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-form .form-group-icon {
    position: relative;
    width: 100%;
}

.modal-form .form-group-icon .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--primary-500);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.modal-form .form-group-icon .input-icon.twitch-icon {
    color: var(--primary-500);
}

.modal-form .form-group-icon input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    background: var(--gray-800) !important;
    background-color: var(--gray-800) !important;
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--gray-100) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
    -webkit-text-fill-color: var(--gray-100) !important;
}

.modal-form .form-group-icon input::placeholder {
    color: var(--gray-500);
    -webkit-text-fill-color: var(--gray-500);
}

.modal-form .form-group-icon input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(145, 71, 255, 0.2);
    background: var(--gray-800) !important;
    background-color: var(--gray-800) !important;
}

/* Force dark mode on ALL input states - prevents white background */
.modal-form .form-group-icon input,
.modal-form .form-group-icon input:valid,
.modal-form .form-group-icon input:invalid,
.modal-form .form-group-icon input:-webkit-autofill,
.modal-form .form-group-icon input:-webkit-autofill:hover,
.modal-form .form-group-icon input:-webkit-autofill:focus,
.modal-form .form-group-icon input:-webkit-autofill:active,
.modal-form .form-group-icon input:-internal-autofill-selected {
    -webkit-box-shadow: 0 0 0 1000px #27272a inset !important;
    -webkit-text-fill-color: #f4f4f5 !important;
    box-shadow: 0 0 0 1000px #27272a inset !important;
    background-color: #27272a !important;
    background: #27272a !important;
    caret-color: #f4f4f5 !important;
    color: #f4f4f5 !important;
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
}

.modal-form .form-group-icon:focus-within .input-icon {
    color: var(--primary-500);
}

.modal-form .form-group-icon:focus-within .input-icon.twitch-icon {
    color: var(--primary-500);
}

/* Modal Password Toggle */
.modal-form .password-field input {
    padding-right: 40px !important;
}

.modal-form .password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #2a2a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    overflow: hidden;
}

.modal-form .password-toggle:hover {
    background: var(--primary-500);
    transform: translateY(-50%) scale(1.05);
}

.modal-form .password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-form .password-toggle .eye-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-400);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 50%;
    left: 50%;
}

.modal-form .password-toggle:hover .eye-icon {
    color: white;
}

.modal-form .password-toggle .eye-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.modal-form .password-toggle .eye-closed {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
}

.modal-form .password-toggle.showing .eye-open {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(180deg);
}

.modal-form .password-toggle.showing .eye-closed {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.modal-form .password-toggle.showing {
    background: var(--primary-500);
    box-shadow: 0 0 10px rgba(145, 71, 255, 0.5);
}

.modal-form .password-toggle.showing .eye-icon {
    color: white;
}

.modal-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.modal-footer a {
    color: var(--primary-400);
    font-weight: 600;
}

.modal-footer .forgot-password-link {
    color: var(--primary-400);
    font-weight: 600;
}

.modal-footer .forgot-password-link:hover {
    color: var(--primary-300);
}

/* Forgot password link in login form */
.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-password-link:hover {
    color: var(--primary-400);
}

/* Modal subtitle */
.modal-subtitle {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: var(--space-md);
    margin-top: -4px;
}

/* Modal Notifications (inside modals) */
.modal-notification {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    animation: modalNotificationSlide 0.3s ease-out;
}

.modal-notification svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.modal-notification.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success-400);
}

.modal-notification.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-400);
}

.modal-notification.warning {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--warning-400);
}

.modal-notification.info {
    background: rgba(145, 71, 255, 0.15);
    border: 1px solid rgba(145, 71, 255, 0.3);
    color: var(--primary-400);
}

.modal-notification.fade-out {
    animation: modalNotificationFadeOut 0.3s ease-in forwards;
}

@keyframes modalNotificationSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalNotificationFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: var(--shadow-glow-strong); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .nav-links {
        gap: var(--space-md);
    }

    .nav-link {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 50px;
        padding: 0 10px;
    }

    .nav-container {
        height: 50px;
    }

    .logo {
        gap: 6px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .nav-links {
        gap: 8px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.toast.success {
    border-color: var(--success-500);
    background: rgba(34, 197, 94, 0.1);
}

.toast.error {
    border-color: var(--error-500);
    background: rgba(239, 68, 68, 0.1);
}

.toast.info {
    border-color: var(--primary-500);
    background: rgba(145, 71, 255, 0.1);
}

/* ================================
   ACCESSIBILITY - Skip Link
   ================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-500);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ================================
   MOBILE MENU
   ================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover span {
    background: var(--primary-400);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(145, 71, 255, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: var(--space-sm) 0;
    }
}

/* ================================
   LOADING STATES
   ================================ */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    opacity: 0;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-loading .btn-loader {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================
   FIELD ERRORS
   ================================ */
.field-error {
    display: none;
    font-size: 0.75rem;
    color: var(--error-400);
    margin-top: 4px;
    padding-left: 2px;
    animation: slideDown 0.2s ease;
}

.field-error.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group-icon.has-error input {
    border-color: var(--error-400) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group-icon.has-error .input-icon {
    color: var(--error-400);
}

/* ================================
   FOCUS VISIBLE (Keyboard Navigation)
   ================================ */
:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    outline: none;
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
    /* Reduce motion but don't break essential animations */
    .gradient-orb,
    .modal-animated,
    .btn-cta,
    .live-dot {
        animation: none !important;
    }

    /* Allow ticker to function but optionally pause */
    .ticker-track {
        animation-play-state: paused;
    }

    /* Reduce transition durations */
    .btn,
    .nav-link,
    .social-link,
    a {
        transition-duration: 0.01ms !important;
    }
}
