/**
 * ============================================================================
 * AURORA ANIMATED BACKGROUND & THEME
 * ============================================================================
 * Purpose: Beautiful animated gradient background inspired by Aurora Borealis
 * Colors: Electric Blue (#3A29FF), Rose Pink (#FF94B4), Coral Red (#FF3232)
 * Created: 2025-10-04
 * ============================================================================
 */

/* ============================================================================
   AURORA BACKGROUND ANIMATION
   ============================================================================ */

.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    overflow: hidden;
}

.aurora-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    opacity: 0.8;
}

.aurora-layer-1 {
    background: radial-gradient(
        ellipse at 20% 60%,
        rgba(37, 148, 87, 0.4) 0%,
        rgba(37, 148, 87, 0.2) 30%,
        transparent 60%
    );
    animation: aurora-drift-1 20s ease-in-out infinite;
}

.aurora-layer-2 {
    background: radial-gradient(
        ellipse at 80% 40%,
        rgba(50, 205, 50, 0.4) 0%,
        rgba(50, 205, 50, 0.2) 30%,
        transparent 60%
    );
    animation: aurora-drift-2 25s ease-in-out infinite;
    animation-delay: -5s;
}

.aurora-layer-3 {
    background: radial-gradient(
        ellipse at 50% 80%,
        rgba(30, 126, 74, 0.3) 0%,
        rgba(30, 126, 74, 0.15) 30%,
        transparent 60%
    );
    animation: aurora-drift-3 30s ease-in-out infinite;
    animation-delay: -10s;
}

@keyframes aurora-drift-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(10%, -10%) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translate(-5%, 10%) rotate(-3deg) scale(0.95);
    }
    75% {
        transform: translate(15%, 5%) rotate(7deg) scale(1.05);
    }
}

@keyframes aurora-drift-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-15%, 10%) rotate(-7deg) scale(1.08);
    }
    66% {
        transform: translate(10%, -15%) rotate(5deg) scale(0.92);
    }
}

@keyframes aurora-drift-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    40% {
        transform: translate(5%, 15%) rotate(3deg) scale(1.12);
    }
    80% {
        transform: translate(-10%, -5%) rotate(-5deg) scale(0.98);
    }
}

/* ============================================================================
   AURORA THEME COLORS - GREEN PRIMARY
   ============================================================================ */

:root {
    --aurora-primary: #259457;
    --aurora-secondary: #1e7e4a;
    --aurora-accent: #32CD32;
    --aurora-light-green: #7FFF7F;
    --aurora-dark: #1a1a2e;
    --aurora-darker: #0f0f1e;
    --aurora-light: #f5f5f5;
    --aurora-text-light: #ffffff;
    --aurora-text-dark: #333333;
}

/* ============================================================================
   AURORA GRADIENT BUTTONS
   ============================================================================ */

.btn-aurora {
    background: linear-gradient(135deg, var(--aurora-primary) 0%, var(--aurora-secondary) 50%, var(--aurora-accent) 100%);
    background-size: 200% 200%;
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: aurora-gradient-shift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-aurora::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-aurora:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 148, 87, 0.4);
    animation-play-state: paused;
}

.btn-aurora:hover::before {
    opacity: 1;
}

.btn-aurora:active {
    transform: translateY(0);
}

@keyframes aurora-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ============================================================================
   AURORA CARDS
   ============================================================================ */

.aurora-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 148, 87, 0.1);
    box-shadow: 0 15px 35px rgba(37, 148, 87, 0.1);
    transition: all 0.3s ease;
}

.aurora-card:hover {
    box-shadow: 0 20px 40px rgba(37, 148, 87, 0.15);
    border-color: rgba(37, 148, 87, 0.2);
}

.aurora-card-header {
    background: linear-gradient(135deg, var(--aurora-primary) 0%, var(--aurora-secondary) 100%);
    color: white;
}

/* ============================================================================
   AURORA HEADER
   ============================================================================ */

.aurora-header {
    background: linear-gradient(135deg, var(--aurora-primary) 0%, var(--aurora-secondary) 50%, var(--aurora-accent) 100%);
    background-size: 200% 200%;
    animation: aurora-gradient-shift 10s ease infinite;
    box-shadow: 0 4px 15px rgba(37, 148, 87, 0.3);
}

/* ============================================================================
   AURORA FORM CONTROLS
   ============================================================================ */

.form-control-aurora:focus {
    border-color: var(--aurora-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 148, 87, 0.25);
}

/* ============================================================================
   AURORA ALERTS
   ============================================================================ */

.alert-aurora-success {
    background: linear-gradient(135deg, rgba(37, 148, 87, 0.1) 0%, rgba(50, 205, 50, 0.1) 100%);
    border-left: 4px solid var(--aurora-primary);
    color: var(--aurora-dark);
}

.alert-aurora-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 50, 50, 0.1) 100%);
    border-left: 4px solid #dc3545;
    color: var(--aurora-dark);
}

/* ============================================================================
   AURORA FOOTER - TRANSPARENT
   ============================================================================ */

.aurora-footer {
    background: transparent;
    border-top: none;
}

/* ============================================================================
   AURORA TEXT EFFECTS
   ============================================================================ */

.text-aurora {
    background: linear-gradient(135deg, var(--aurora-primary) 0%, var(--aurora-secondary) 50%, var(--aurora-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ============================================================================
   AURORA GLOWING ELEMENTS
   ============================================================================ */

.aurora-glow {
    box-shadow: 0 0 20px rgba(37, 148, 87, 0.3);
    animation: aurora-pulse 3s ease-in-out infinite;
}

@keyframes aurora-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 148, 87, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(50, 205, 50, 0.4);
    }
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
    .aurora-layer {
        width: 250%;
        height: 250%;
    }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .aurora-layer-1,
    .aurora-layer-2,
    .aurora-layer-3,
    .btn-aurora,
    .aurora-header,
    .aurora-glow {
        animation: none !important;
    }
}

