/* ============================================
   SpicyLinks — Base Theme Shared Rules
   Loaded on every profile page before per-theme CSS.
   Contains responsive overrides and reduced-motion rules.
   ============================================ */


/* ══════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════════ */

@media (max-width: 480px) {
    /* Disable scan-lines on mobile */
    .theme-neon-cyberpunk::before { display: none; }
    .theme-neon-cyberpunk .profile-display-name { text-transform: none; font-size: inherit; letter-spacing: inherit; }
    .theme-retro-terminal .profile-bg-decor::after { display: none; }

    /* Disable gradient text on small screens */
    .theme-holographic .profile-display-name,
    .theme-dark-velvet .profile-display-name,
    .theme-chrome-liquid .profile-display-name {
        animation: none;
        -webkit-text-fill-color: inherit;
        background: none;
    }

    /* Reduce glass avatar glow size */
    .theme-glassmorphism .profile-avatar-glow { width: 130px; height: 130px; }

    /* Reduce hover transforms on touch */
    .theme-soft-aesthetic .profile-link-card:hover { transform: translateY(-3px); }
    .theme-soft-aesthetic .profile-social-icon:hover { transform: translateY(-2px) scale(1.04); }
    .theme-bold-influencer .profile-link-card:hover { transform: translateY(-2px); }
    .theme-bold-influencer .profile-social-icon:hover { transform: translateY(-1px) scale(1.03); }

    /* Simplify backdrop-filter on mobile for performance */
    .theme-glassmorphism .profile-link-card,
    .theme-aurora-borealis .profile-link-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}


/* ══════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    /* Disable all avatar glow animations */
    [class*="theme-"] .profile-avatar-glow {
        animation: none;
    }

    /* Disable gradient text animations */
    .theme-holographic .profile-display-name,
    .theme-dark-velvet .profile-display-name,
    .theme-chrome-liquid .profile-display-name {
        animation: none;
        -webkit-text-fill-color: inherit;
        background: none;
    }

    /* Disable highlighted card animations */
    .theme-holographic .profile-link-card::before,
    .theme-aurora-borealis .profile-link-card.highlighted::before,
    .theme-aurora-borealis .profile-link-card.highlighted,
    .theme-arctic-noir .profile-link-card.highlighted::before,
    .theme-chrome-liquid .profile-link-card.highlighted::before {
        animation: none;
    }

    /* Disable background decor animations */
    [class*="theme-"] .profile-bg-decor::before,
    [class*="theme-"] .profile-bg-decor::after {
        animation: none;
    }

    /* Remove all hover transforms */
    [class*="theme-"] .profile-link-card:hover {
        transform: none;
    }
}
