* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimization */
html {
    scroll-behavior: smooth;
}

/* Optimize repaints and reflows */
*,
*::before,
*::after {
    backface-visibility: hidden;
    perspective: 1000px;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    background-size: 400% 400%;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    transition: all 2s ease;
    will-change: background;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: gradientShift 20s ease infinite;
}

/* Enhanced weather-based background gradients with subtle colors */
body.sunny {
    background: linear-gradient(135deg, #f7dc6f 0%, #f39c12 30%, #e67e22 100%);
    background-size: 400% 400%;
    animation: sunnyGradient 15s ease infinite;
}

body.cloudy {
    background: linear-gradient(135deg, #85929e 0%, #5d6d7e 50%, #34495e 100%);
    background-size: 400% 400%;
    animation: cloudyGradient 18s ease infinite;
}

body.rainy {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 50%, #2e86ab 100%);
    background-size: 400% 400%;
    animation: rainyGradient 12s ease infinite;
}

body.stormy {
    background: linear-gradient(135deg, #566573 0%, #34495e 50%, #2c3e50 100%);
    background-size: 400% 400%;
    animation: stormyGradient 8s ease infinite;
}

body.snowy {
    background: linear-gradient(135deg, #ecf0f1 0%, #d5dbdb 50%, #bdc3c7 100%);
    background-size: 400% 400%;
    color: #2c3e50;
    animation: snowyGradient 20s ease infinite;
}

body.snowy .app-container {
    background-color: rgba(255, 255, 255, 0.15);
    color: #2c3e50;
}

body.snowy .app-title,
body.snowy .temperature,
body.snowy .location,
body.snowy .detail-value {
    color: #2c3e50;
}

body.snowy .current-time,
body.snowy .description,
body.snowy .detail-label {
    color: #566573;
}

body.snowy #city {
    color: #2c3e50;
}

body.snowy #city::placeholder {
    color: #85929e;
}

body.foggy {
    background: linear-gradient(135deg, #85929e 0%, #5d6d7e 50%, #566573 100%);
    background-size: 400% 400%;
    animation: foggyGradient 25s ease infinite;
}

/* Enhanced Background animations - Optimized for performance */
.rain-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
    opacity: 0.7;
}

.rain-drop {
    position: absolute;
    background: linear-gradient(to bottom, rgba(173, 216, 230, 0.9), rgba(173, 216, 230, 0.3));
    width: 2px;
    height: 20px;
    border-radius: 0 0 2px 2px;
    animation: rainFall linear infinite;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 0 2px rgba(173, 216, 230, 0.5);
}

.cloud {
    position: fixed;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
    border-radius: 50px;
    opacity: 0.6;
    animation: cloudMove linear infinite;
    will-change: transform;
    transform: translateZ(0);
    filter: blur(1px);
}

.snow-flake {
    position: absolute;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    animation: snowFall linear infinite;
    will-change: transform;
    transform: translateZ(0);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Enhanced floating particles for sunny weather */
.sun-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.3));
    border-radius: 50%;
    animation: sunParticle linear infinite;
    will-change: transform;
    transform: translateZ(0);
    opacity: 0.8;
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.6);
}

/* Enhanced lightning effect for stormy weather */
.lightning-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: lightning 4s infinite;
}

/* Fog effect for misty weather */
.fog-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%, 
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 200%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    animation: fogMove 15s ease infinite;
}

@keyframes rainFall {
    0% { 
        transform: translate3d(0, -50px, 0); 
    }
    100% { 
        transform: translate3d(0, calc(100vh + 50px), 0); 
    }
}

@keyframes cloudMove {
    0% { 
        transform: translate3d(-100px, 0, 0); 
    }
    100% { 
        transform: translate3d(calc(100vw + 100px), 0, 0); 
    }
}

@keyframes snowFall {
    0% { 
        transform: translate3d(0, -50px, 0) rotate(0deg);
    }
    100% { 
        transform: translate3d(0, calc(100vh + 50px), 0) rotate(360deg);
    }
}

@keyframes sunParticle {
    0% { 
        transform: translate3d(0, 100vh, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate3d(0, 90vh, 0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translate3d(0, -10vh, 0) scale(1);
    }
    100% { 
        transform: translate3d(0, -50px, 0) scale(0);
        opacity: 0;
    }
}

@keyframes lightning {
    0%, 90%, 100% { opacity: 0; }
    91%, 94% { opacity: 0.8; }
    92%, 93% { opacity: 0.2; }
}

@keyframes fogMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Page load animation */
@keyframes pageLoad {
    0% { 
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    min-height: 90vh;
    padding: 20px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: visible;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    animation: subtleGlow 6s ease-in-out infinite, pageLoad 0.8s ease-out;
}

/* Responsive design for desktop */
@media (min-width: 768px) {
    body {
        padding: 10px;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .app-container {
        max-width: 450px;
        height: auto;
        min-height: 90vh;
        max-height: none;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: visible;
        margin: 20px auto;
    }
    
    .app-title {
        font-size: 24px;
    }
    .current-time {
        font-size: 16px;
    }
    
    #city {
        font-size: 16px;
        padding: 15px 20px;
    }
    .search-btn {
        font-size: 18px;
        padding: 15px 20px;
        min-width: 50px;
    }
    
    .weather-icon {
        font-size: 70px;
        margin-bottom: 15px;
    }
    
    .location {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .temperature {
        font-size: 65px;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 16px;
        letter-spacing: 2px;
    }
}

@media (min-width: 1024px) {
    .app-container {
        max-width: 500px;
        padding: 30px;
        margin: 30px auto;
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    animation: textShimmer 4s ease-in-out infinite;
    will-change: text-shadow;
    transform: translateZ(0);
}

.current-time {
    font-size: 15px;
    font-weight: 300;
    color: #666;
    animation: gentleFloat 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

@media (min-width: 768px) {
    .app-title {
        font-size: 28px;
    }
    .current-time {
        font-size: 18px;
    }
}

.search-container {
    display: flex;
    margin-bottom: 25px;
    background-color: #1a1a1a;
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #333;
    transition: all 0.2s ease;
    will-change: border-color, transform;
    transform: translateZ(0);
}

.search-container:focus-within {
    border-color: #555;
    transform: translateZ(0) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#city {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    outline: none;
    padding: 14px 18px;
    border-radius: 20px;
    transition: all 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
}

#city:focus {
    transform: translateZ(0) scale(1.02);
}

#city::placeholder {
    color: #666;
    transition: color 0.2s ease;
}

#city:focus::placeholder {
    color: #888;
}

.search-btn {
    background: #ffffff;
    border: none;
    color: #000000;
    font-size: 17px;
    cursor: pointer;
    padding: 14px 18px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-weight: 700;
    min-width: 48px;
    will-change: transform, background-color;
    transform: translateZ(0);
}

.search-btn:hover {
    background: #e0e0e0;
    transform: translateZ(0) scale(1.05);
}

.search-btn:active {
    transform: translateZ(0) scale(0.95);
    transition: all 0.1s ease;
}

@media (min-width: 768px) {
    #city {
        font-size: 18px;
        padding: 18px 25px;
    }
    .search-btn {
        font-size: 20px;
        padding: 18px 25px;
    }
}

.weather-main {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.weather-icon {
    font-size: 55px;
    margin-bottom: 12px;
    animation: gentleFloat 4s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

@media (min-width: 768px) {
    .weather-icon {
        font-size: 80px;
        margin-bottom: 20px;
    }
}

.location {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #ccc;
}

.temperature {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .location {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .temperature {
        font-size: 80px;
        margin-bottom: 15px;
    }
}

.description {
    font-size: 15px;
    font-weight: 300;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .description {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

.outfit-section {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.section-title {
    font-size: 10px;
    font-weight: 400;
    color: #666;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 14px;
        margin-bottom: 25px;
    }
}

.outfit-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.outfit-display:hover {
    transform: translateZ(0) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.outfit-main {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

.outfit-icons {
    font-size: 22px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 50px;
}

.outfit-text {
    flex: 1;
    text-align: left;
}

.outfit-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.outfit-details {
    font-size: 11px;
    color: #ccc;
    margin-bottom: 6px;
    line-height: 1.3;
}

.outfit-accessories {
    font-size: 10px;
    color: #aaa;
    margin-bottom: 4px;
    line-height: 1.3;
}

.outfit-colors {
    font-size: 10px;
    color: #999;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .outfit-display {
        gap: 20px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .outfit-main {
        gap: 20px;
    }
    
    .outfit-icons {
        font-size: 32px;
        min-width: 80px;
    }
    
    .outfit-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .outfit-details {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .outfit-accessories {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .outfit-colors {
        font-size: 13px;
    }
}

/* Weather condition specific styles */
.sunny { color: #FFD700; }
.cloudy { color: #87CEEB; }
.rainy { color: #4682B4; }
.stormy { color: #9370DB; }
.snowy { color: #F0F8FF; }
.foggy { color: #708090; }

/* Animations - Optimized for performance */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateZ(0);
    }
    to { 
        opacity: 1; 
        transform: translateZ(0);
    }
}

@keyframes slideIn {
    from { 
        transform: translate3d(-20px, 0, 0); 
        opacity: 0; 
    }
    to { 
        transform: translate3d(0, 0, 0); 
        opacity: 1; 
    }
}

@keyframes slideUp {
    from { 
        transform: translate3d(0, 20px, 0); 
        opacity: 0; 
    }
    to { 
        transform: translate3d(0, 0, 0); 
        opacity: 1; 
    }
}

@keyframes bounceIn {
    0% { 
        transform: scale3d(0.3, 0.3, 1); 
        opacity: 0; 
    }
    50% { 
        transform: scale3d(1.05, 1.05, 1); 
    }
    70% { 
        transform: scale3d(0.9, 0.9, 1); 
    }
    100% { 
        transform: scale3d(1, 1, 1); 
        opacity: 1; 
    }
}

@keyframes pulse {
    0% { 
        transform: scale3d(1, 1, 1); 
    }
    50% { 
        transform: scale3d(1.05, 1.05, 1); 
    }
    100% { 
        transform: scale3d(1, 1, 1); 
    }
}

@keyframes spin {
    0% { 
        transform: rotate(0deg) translateZ(0); 
    }
    100% { 
        transform: rotate(360deg) translateZ(0); 
    }
}

/* Add subtle glow animation */
@keyframes subtleGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

/* Gentle floating animation */
@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) translateZ(0);
    }
    50% { 
        transform: translateY(-3px) translateZ(0);
    }
}

/* Subtle text shimmer */
@keyframes textShimmer {
    0% { 
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% { 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% { 
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
}

/* Gradient Background Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sunnyGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes cloudyGradient {
    0% { background-position: 0% 50%; }
    33% { background-position: 100% 0%; }
    66% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes rainyGradient {
    0% { background-position: 0% 50%; }
    20% { background-position: 100% 0%; }
    40% { background-position: 100% 100%; }
    60% { background-position: 0% 100%; }
    80% { background-position: 0% 0%; }
    100% { background-position: 0% 50%; }
}

@keyframes stormyGradient {
    0% { background-position: 0% 50%; }
    12.5% { background-position: 100% 0%; }
    25% { background-position: 100% 100%; }
    37.5% { background-position: 0% 100%; }
    50% { background-position: 0% 0%; }
    62.5% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    87.5% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

@keyframes snowyGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 100% 75%; }
    75% { background-position: 0% 75%; }
    100% { background-position: 0% 50%; }
}

@keyframes foggyGradient {
    0% { background-position: 0% 50%; }
    20% { background-position: 80% 20%; }
    40% { background-position: 100% 80%; }
    60% { background-position: 20% 100%; }
    80% { background-position: 0% 20%; }
    100% { background-position: 0% 50%; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
    will-change: opacity, transform;
    transform: translateZ(0);
}

.slide-in {
    animation: slideIn 0.8s ease-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.slide-up {
    animation: slideUp 0.6s ease-out 0.3s both;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

/* Loading spinner */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    display: block;
    will-change: transform;
    transform: translateZ(0);
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    animation: spin 0.8s linear infinite reverse;
    will-change: transform;
}

/* Fallback for browsers that don't support ::after */
.loading-spinner:not(:after) {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-bottom: 4px solid rgba(255, 255, 255, 0.4);
}

.loading p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 300;
    animation: pulse 1.5s ease-in-out infinite;
    margin: 0;
    text-align: center;
    will-change: opacity;
    transform: translateZ(0);
}

/* Weather details */
.weather-details {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    background-color: #111;
    border-radius: 12px;
    border: 1px solid #333;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 5px;
    will-change: transform, background-color;
    transform: translateZ(0);
}

.detail-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateZ(0) translateY(-2px);
}

.detail-icon {
    font-size: 16px;
    opacity: 0.8;
}

.detail-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.detail-label {
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

@media (min-width: 768px) {
    .weather-details {
        gap: 12px;
        padding: 15px;
        margin-top: 20px;
    }
    
    .detail-icon {
        font-size: 22px;
    }
    
    .detail-label {
        font-size: 11px;
    }
    
    .detail-value {
        font-size: 15px;
    }
}

/* Enhanced error styling */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ff6b6b;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.error-icon {
    font-size: 32px;
}

@media (min-width: 768px) {
    .error-message {
        font-size: 16px;
        padding: 25px;
    }
    
    .error-icon {
        font-size: 40px;
    }
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
    body {
        padding: 5px;
        min-height: 100vh;
        overflow-y: auto;
    }
    
    .app-container {
        padding: 12px;
        min-height: 95vh;
        border-radius: 15px;
        margin: 5px;
        overflow: visible;
    }
    
    .header {
        margin-bottom: 15px;
    }
    
    .search-container {
        margin-bottom: 15px;
    }
    
    .weather-main {
        margin-bottom: 15px;
    }
    
    .temperature {
        font-size: 48px;
    }
    
    .weather-icon {
        font-size: 48px;
        margin-bottom: 8px;
    }
    
    .outfit-section {
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 11px;
        margin-bottom: 12px;
        letter-spacing: 1.5px;
    }
    
    .outfit-display {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 16px;
        border-radius: 15px;
    }
    
    .outfit-main {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .outfit-icons {
        justify-content: center;
        font-size: 28px;
        gap: 8px;
        margin-bottom: 5px;
    }
    
    .outfit-text {
        text-align: center;
        width: 100%;
    }
    
    .outfit-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #fff;
    }
    
    .outfit-details {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
        color: #ccc;
    }
    
    .outfit-accessories {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.4;
        color: #aaa;
    }
    
    .outfit-colors {
        font-size: 11px;
        line-height: 1.4;
        color: #999;
    }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
    .app-container {
        padding: 10px;
        margin: 2px;
    }
    
    .outfit-display {
        padding: 14px;
        gap: 12px;
    }
    
    .outfit-icons {
        font-size: 24px;
        gap: 6px;
    }
    
    .outfit-title {
        font-size: 13px;
    }
    
    .outfit-details {
        font-size: 11px;
    }
    
    .outfit-accessories,
    .outfit-colors {
        font-size: 10px;
    }
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .rain-animation,
    .cloud,
    .snow-animation {
        display: none !important;
    }
    
    .app-container {
        animation: pageLoad 0.3s ease-out !important;
    }
}
