/* Premium Orange-Red Aura Theme CSS */
/* Sophisticated and elegant design with stunning visual effects */

:root {
    /* Premium Orange-Red Color Palette */
    --aura-primary: #FF6B35;        /* Vibrant Orange */
    --aura-secondary: #DC2626;      /* Rich Red */
    --aura-accent: #F59E0B;         /* Golden Orange */
    --aura-glow: #FF8C42;           /* Warm Glow */
    --aura-dark: #7C2D12;           /* Dark Orange */
    
    /* Dark Luxury Background */
    --bg-primary: #0F0F0F;          /* Deep Black */
    --bg-secondary: #1A1A1A;        /* Charcoal */
    --bg-card: #262626;             /* Dark Gray */
    --bg-glass: rgba(38, 38, 38, 0.8); /* Glass Effect */
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.5);
    --shadow-intense: 0 0 40px rgba(255, 107, 53, 0.7);
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Base optimizations with premium styling */
* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(ellipse at top, #1A0A0A 0%, var(--bg-primary) 50%, #0A0A0A 100%);
    background-attachment: fixed;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Content spacing for fixed navbar */
.content-wrapper {
    padding-top: 1.5rem;
    min-height: calc(100vh - 6rem);
}

/* Ensure proper spacing on all screens */
@media (max-width: 640px) {
    body {
        padding-top: 5rem;
    }
    
    .content-wrapper {
        padding-top: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    body {
        padding-top: 6rem;
    }
}

@media (min-width: 1025px) {
    body {
        padding-top: 6rem;
    }
}

/* Smooth transitions for content */
#content-area {
    transition: all var(--transition-normal);
    transform-origin: top center;
}

#content-area.loading {
    opacity: 0.7;
    transform: scale(0.98);
}

/* Hero section adjustments for fixed navbar */
.hero-slider {
    margin-top: 0;
}

/* Premium Aura Effects */
.aura-glow {
    animation: premiumGlow 3s ease-in-out infinite alternate;
    will-change: box-shadow, filter;
}

@keyframes premiumGlow {
    0% { 
        box-shadow: 
            0 0 20px rgba(255, 107, 53, 0.4),
            0 0 40px rgba(255, 107, 53, 0.2),
            inset 0 0 20px rgba(255, 107, 53, 0.1);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
    }
    25% {
        box-shadow: 
            0 0 25px rgba(220, 38, 38, 0.5),
            0 0 50px rgba(220, 38, 38, 0.3),
            inset 0 0 25px rgba(220, 38, 38, 0.15);
        filter: brightness(1.05) saturate(1.1) hue-rotate(15deg);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(245, 158, 11, 0.6),
            0 0 60px rgba(245, 158, 11, 0.4),
            inset 0 0 30px rgba(245, 158, 11, 0.2);
        filter: brightness(1.1) saturate(1.2) hue-rotate(30deg);
    }
    75% {
        box-shadow: 
            0 0 25px rgba(220, 38, 38, 0.5),
            0 0 50px rgba(220, 38, 38, 0.3),
            inset 0 0 25px rgba(220, 38, 38, 0.15);
        filter: brightness(1.05) saturate(1.1) hue-rotate(15deg);
    }
    100% { 
        box-shadow: 
            0 0 20px rgba(255, 107, 53, 0.4),
            0 0 40px rgba(255, 107, 53, 0.2),
            inset 0 0 20px rgba(255, 107, 53, 0.1);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Premium Card Design */
.aura-card {
    background: linear-gradient(145deg, 
        rgba(38, 38, 38, 0.95) 0%, 
        rgba(26, 26, 26, 0.98) 50%, 
        rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    will-change: transform, box-shadow;
}

.aura-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--aura-primary) 50%, 
        transparent 100%);
    opacity: 0.6;
}

.aura-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--shadow-card),
        0 0 40px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--aura-primary);
}

.aura-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px var(--aura-primary);
}

/* Premium Navigation Styles */
.navbar {
    background: linear-gradient(145deg, 
        rgba(38, 38, 38, 0.95) 0%, 
        rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        transparent 50%, 
        rgba(220, 38, 38, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.navbar:hover::before {
    opacity: 1;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3);
    transition: all var(--transition-normal);
}

.navbar-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.7),
        0 0 60px rgba(255, 107, 53, 0.5);
}

.navbar-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, 
        var(--aura-primary) 0%, 
        var(--aura-secondary) 50%, 
        var(--aura-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

/* Premium Tab Styles */
.navbar-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left var(--transition-normal);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:not(.active):hover {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.2) 0%, 
        rgba(220, 38, 38, 0.2) 100%);
    color: var(--text-primary);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.nav-link.active {
    background: linear-gradient(135deg, 
        var(--aura-primary) 0%, 
        var(--aura-secondary) 50%, 
        var(--aura-accent) 100%);
    color: white;
    font-weight: 700;
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(255, 107, 53, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Tooltip Effects */
.menu-tooltip {
    position: relative;
}

.menu-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.menu-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Optimized slider */
.hero-slider {
    contain: layout style paint;
}

.slide {
    transition: opacity var(--transition-slow);
    will-change: opacity;
}

/* Simplified background patterns - removed heavy inline SVGs */
.pattern-bg-1 {
    background: radial-gradient(circle at 30% 20%, var(--aura-green) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, var(--aura-red) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, var(--aura-yellow) 0%, transparent 50%);
    opacity: 0.3;
}

.pattern-bg-2 {
    background: linear-gradient(45deg, transparent 30%, var(--aura-red) 50%, transparent 70%),
                linear-gradient(-45deg, transparent 30%, var(--aura-yellow) 50%, transparent 70%);
    opacity: 0.25;
}

.pattern-bg-3 {
    background: conic-gradient(from 0deg, var(--aura-yellow), var(--aura-green), var(--aura-red), var(--aura-yellow));
    opacity: 0.2;
    border-radius: 50%;
}

/* Optimized animations */
.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.online-indicator {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px var(--aura-green);
        opacity: 1;
    }
    50% { 
        box-shadow: 0 0 20px var(--aura-green);
        opacity: 0.7;
    }
}

/* Flame Animation Background */
.flame-animation {
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 69, 0, 0.3) 40%, 
        rgba(255, 140, 0, 0.4) 50%, 
        rgba(255, 215, 0, 0.3) 60%, 
        transparent 70%);
    background-size: 200% 200%;
    animation: flameFlicker 3s ease-in-out infinite;
    opacity: 0.8;
}

.flame-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255, 69, 0, 0.2) 0%, 
        rgba(255, 140, 0, 0.3) 30%, 
        rgba(255, 215, 0, 0.2) 60%, 
        transparent 80%);
    animation: flameGlow 2s ease-in-out infinite alternate;
}

.flame-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 69, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    animation: flameDance 4s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.8;
    }
    25% {
        background-position: 100% 0%;
        opacity: 0.9;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.7;
    }
    75% {
        background-position: 0% 100%;
        opacity: 0.85;
    }
}

@keyframes flameGlow {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1) rotate(2deg);
        opacity: 0.8;
    }
}

@keyframes flameDance {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-5px) scale(1.02);
    }
    50% {
        transform: translateY(-2px) scale(0.98);
    }
    75% {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Enhanced Welcome Section Styles */
.welcome-section {
    background: linear-gradient(145deg, 
        rgba(38, 38, 38, 0.98) 0%, 
        rgba(26, 26, 26, 0.99) 50%, 
        rgba(15, 15, 15, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 107, 53, 0.1) 90deg,
        transparent 180deg,
        rgba(220, 38, 38, 0.1) 270deg,
        transparent 360deg
    );
    animation: welcomeRotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes welcomeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Welcome Particles */
.welcome-particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--aura-primary), var(--aura-secondary));
    opacity: 0.6;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.1);
        opacity: 0.7;
    }
}

/* Welcome Header Effects */
.welcome-header {
    position: relative;
    animation: welcomeFadeIn 1s ease-out;
}

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

.logo-pulse {
    animation: logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8));
    }
}

.welcome-title {
    animation: titleGlow 4s ease-in-out infinite;
    position: relative;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 107, 53, 0.8), 0 0 30px rgba(220, 38, 38, 0.6);
    }
}

/* Enhanced Logo Container */
.welcome-logo-container {
    animation: logoContainerFadeIn 1.5s ease-out 0.3s both;
}

@keyframes logoContainerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-hover-effect {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-hover-effect:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
}

/* Floating Orbs */
.floating-orb-1, .floating-orb-2, .floating-orb-3, .floating-orb-4 {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.floating-orb-1 {
    animation: floatOrb1 4s ease-in-out infinite;
}

.floating-orb-2 {
    animation: floatOrb2 3s ease-in-out infinite;
}

.floating-orb-3 {
    animation: floatOrb3 5s ease-in-out infinite;
}

.floating-orb-4 {
    animation: floatOrb4 3.5s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10px, -15px) scale(1.2); }
    66% { transform: translate(5px, -8px) scale(0.8); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8px, -12px) scale(1.3); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-8px, 10px) scale(1.1); }
    75% { transform: translate(12px, -5px) scale(0.9); }
}

@keyframes floatOrb4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(-5px, -10px) scale(1.2); }
    80% { transform: translate(3px, 8px) scale(0.8); }
}

/* Sparkle Effects */
.sparkle {
    position: absolute;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.sparkle-1 {
    animation-delay: 0s;
}

.sparkle-2 {
    animation-delay: 0.7s;
}

.sparkle-3 {
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Typing Effect */
.typing-effect {
    animation: typing 3s steps(40, end) 1s both;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--aura-primary);
    animation: typing 3s steps(40, end) 1s both, blink 1s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: var(--aura-primary);
    }
    51%, 100% {
        border-color: transparent;
    }
}

/* Slow Spin Animation */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* Premium Loading Effects */
.premium-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 2rem;
}

.loading-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--aura-primary), var(--aura-secondary), var(--aura-accent), var(--aura-primary));
    animation: orbSpin 2s linear infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-orb::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg-primary);
    border-radius: 50%;
}

.loading-orb::after {
    content: '⚡';
    font-size: 2rem;
    z-index: 1;
    animation: energyPulse 1.5s ease-in-out infinite alternate;
}

@keyframes orbSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes energyPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    100% {
        transform: scale(1.2);
        filter: brightness(1.5);
    }
}

.loading-text {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--aura-primary), var(--aura-secondary), var(--aura-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 2s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        border-radius: 20px;
    }
    
    .navbar-title {
        font-size: 1.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .aura-card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .btn-premium {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating,
    .pulse-glow,
    .aura-glow {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .aura-card {
        border-width: 2px;
        border-color: var(--aura-primary);
    }
    
    .nav-link.active {
        border: 2px solid white;
    }
}

/* Print styles */
@media print {
    .particle-bg,
    .aura-orb,
    .navbar::before,
    .aura-card::before {
        display: none !important;
    }
    
    .aura-card {
        border: 1px solid #ccc;
        background: white;
        color: black;
    }
}

/* Enhanced Main Logo Animations */
.logo-main-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    animation: logoMainPulse 4s ease-in-out infinite;
}

@keyframes logoMainPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8));
    }
}

/* Rotating Border Effects */
.border-gradient {
    background: conic-gradient(
        from 0deg,
        var(--aura-primary),
        var(--aura-secondary),
        var(--aura-accent),
        var(--aura-glow),
        var(--aura-primary)
    );
    border-radius: 50%;
}

.animate-spin-reverse {
    animation: spin-reverse 12s linear infinite;
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Radial Gradient Background */
.bg-gradient-radial {
    background: radial-gradient(
        circle at center,
        var(--aura-primary) 0%,
        var(--aura-secondary) 30%,
        var(--aura-accent) 60%,
        transparent 100%
    );
}

.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Main Logo Float Animation */
.logo-float-animation {
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

.logo-main-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoBreath 4s ease-in-out infinite;
}

.logo-main-hover:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 50px rgba(255, 107, 53, 1)) brightness(1.2);
}

@keyframes logoBreath {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.2);
    }
}

/* Fair Text Effects */
.fair-text-container {
    position: relative;
    display: inline-block;
}

.fair-text-main, .fair-text-shadow, .fair-text-glow {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 0.1em;
}

.fair-text-main {
    position: relative;
    background: linear-gradient(45deg, 
        var(--aura-primary),
        var(--aura-secondary),
        var(--aura-accent),
        var(--aura-glow)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fairTextShine 3s ease-in-out infinite;
    z-index: 3;
}

.fair-text-shadow {
    color: rgba(0, 0, 0, 0.5);
    transform: translate(3px, 3px);
    z-index: 1;
}

.fair-text-glow {
    color: var(--aura-primary);
    filter: blur(10px);
    animation: fairTextGlow 2s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes fairTextShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fairTextGlow {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Moving Particles Around Logo */
.logo-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
}

.particle-orange {
    background: var(--aura-primary);
    top: 20%;
    left: -10px;
    animation: particleOrbit1 8s linear infinite;
    box-shadow: 0 0 10px var(--aura-primary);
}

.particle-red {
    background: var(--aura-secondary);
    top: 30%;
    right: -10px;
    animation: particleOrbit2 6s linear infinite;
    box-shadow: 0 0 10px var(--aura-secondary);
}

.particle-yellow {
    background: var(--aura-accent);
    bottom: 20%;
    left: -10px;
    animation: particleOrbit3 10s linear infinite;
    box-shadow: 0 0 10px var(--aura-accent);
}

.particle-blue {
    background: var(--aura-glow);
    bottom: 30%;
    right: -10px;
    animation: particleOrbit4 7s linear infinite;
    box-shadow: 0 0 10px var(--aura-glow);
}

@keyframes particleOrbit1 {
    0% { transform: rotate(0deg) translateX(180px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

@keyframes particleOrbit2 {
    0% { transform: rotate(90deg) translateX(190px) rotate(-90deg); }
    100% { transform: rotate(450deg) translateX(190px) rotate(-450deg); }
}

@keyframes particleOrbit3 {
    0% { transform: rotate(180deg) translateX(170px) rotate(-180deg); }
    100% { transform: rotate(540deg) translateX(170px) rotate(-540deg); }
}

@keyframes particleOrbit4 {
    0% { transform: rotate(270deg) translateX(185px) rotate(-270deg); }
    100% { transform: rotate(630deg) translateX(185px) rotate(-630deg); }
}

/* Energy Waves */
.energy-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--aura-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyWave 3s ease-out infinite;
    pointer-events: none;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
    border-color: var(--aura-secondary);
}

.wave-3 {
    animation-delay: 2s;
    border-color: var(--aura-accent);
}

@keyframes energyWave {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* Orbiting Elements */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-element {
    position: absolute;
    font-size: 1.5rem;
    animation: orbitRotate 15s linear infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-2 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 3.75s;
}

.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 7.5s;
}

.orbit-4 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 11.25s;
}

@keyframes orbitRotate {
    0% {
        transform: rotate(0deg) translateX(250px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(250px) rotate(-360deg);
    }
}

/* YouTube Video Container Styles */
.youtube-container {
    background: linear-gradient(145deg, 
        rgba(38, 38, 38, 0.95) 0%, 
        rgba(26, 26, 26, 0.98) 50%, 
        rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.youtube-frame {
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(20, 20, 20, 0.95) 100%);
    border: 2px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.youtube-frame:hover {
    border-color: rgba(255, 0, 0, 0.6);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}

.youtube-placeholder {
    transition: all 0.5s ease;
    cursor: pointer;
}

.youtube-placeholder:hover {
    background: rgba(0, 0, 0, 0.9);
}

.youtube-icon {
    animation: youtubeIconPulse 2s ease-in-out infinite;
}

@keyframes youtubeIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
    }
}

.youtube-info {
    animation: infoSlideUp 0.5s ease-out;
}

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

/* YouTube Particles */
.youtube-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #ff0000, #ff4444);
    border-radius: 50%;
    opacity: 0.6;
    animation: youtubeParticleFloat 6s ease-in-out infinite;
}

.youtube-particle.particle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.youtube-particle.particle-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.youtube-particle.particle-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 3s;
}

.youtube-particle.particle-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes youtubeParticleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-8px) translateX(-5px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(8px) scale(1.1);
        opacity: 0.7;
    }
}

/* Slow Pulse Animation */
.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

/* YouTube Responsive */
@media (max-width: 768px) {
    .youtube-container {
        height: 250px;
    }
    
    .youtube-info {
        padding: 2rem;
    }
    
    .youtube-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* YouTube Loading States */
.youtube-container.video-loading {
    animation: videoLoading 1s ease-in-out infinite;
}

@keyframes videoLoading {
    0%, 100% {
        border-color: rgba(255, 0, 0, 0.3);
    }
    50% {
        border-color: rgba(255, 0, 0, 0.8);
    }
}

.youtube-container.video-loaded {
    border-color: rgba(0, 255, 0, 0.5);
}

.youtube-container.video-loaded .youtube-frame {
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
}

/* Button Enhancement */
#youtube-play-btn {
    position: relative;
    overflow: hidden;
}

#youtube-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#youtube-play-btn:hover::before {
    left: 100%;
}

#homelogo {
    animation: logoMoveLeftRight 5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

@keyframes logoMoveLeftRight {
    0% {
        transform: translateX(0) scale(1) rotate(0deg);
    }
    10% {
        transform: translateX(-30px) scale(1.03) rotate(-2deg);
    }
    20% {
        transform: translateX(-60px) scale(1.04) rotate(-3deg);
    }
    30% {
        transform: translateX(-30px) scale(1.02) rotate(-1deg);
    }
    40% {
        transform: translateX(0) scale(1.05) rotate(0deg);
    }
    50% {
        transform: translateX(30px) scale(1.07) rotate(2deg);
    }
    60% {
        transform: translateX(60px) scale(1.03) rotate(3deg);
    }
    70% {
        transform: translateX(30px) scale(1.04) rotate(1deg);
    }
    80% {
        transform: translateX(0) scale(1.02) rotate(0deg);
    }
    100% {
        transform: translateX(0) scale(1) rotate(0deg);
    }
}

/* Enhanced Logo Container with Particle Effects */
.logo-hover-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 70%,
        rgba(255, 107, 53, 0.3) 80%,
        rgba(220, 38, 38, 0.4) 85%,
        rgba(245, 158, 11, 0.3) 90%,
        transparent 100%
    );
    animation: logoRadialSpin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 50%;
}

.logo-hover-effect:hover::before {
    opacity: 1;
}

@keyframes logoRadialSpin {
    0% { transform: rotate(0deg) scale(0.8); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(0.8); }
}

/* Orbiting Particles Around Logo */
.logo-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--aura-primary), transparent);
    border-radius: 50%;
    animation: logoParticleOrbit 3s linear infinite;
    transform-origin: -100px -100px;
    box-shadow: 
        0 0 10px var(--aura-primary),
        120px 120px 0 -2px var(--aura-secondary),
        -120px -120px 0 -2px var(--aura-accent),
        120px -120px 0 -1px var(--aura-glow),
        -120px 120px 0 -1px rgba(255, 107, 53, 0.8);
}

@keyframes logoParticleOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(180deg);
    }
    75% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

/* Lightning Effect */
@keyframes logoLightning {
    0%, 90%, 100% { opacity: 0; }
    5%, 10% { opacity: 1; }
}

.logo-hover-effect {
    position: relative;
}

.logo-hover-effect .lightning-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.8) 45%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 55%,
        transparent 70%
    );
    animation: logoLightning 4s infinite;
    pointer-events: none;
    border-radius: inherit;
    z-index: 20;
}

/* Floating Numbers/Stats Around Logo */
.stats-float {
    position: absolute;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--aura-primary);
    text-shadow: 0 0 10px currentColor;
    animation: statsFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 15;
}

.stats-float:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.stats-float:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    color: var(--aura-secondary);
}

.stats-float:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation-delay: 2s;
    color: var(--aura-accent);
}

.stats-float:nth-child(4) {
    bottom: 35%;
    right: 20%;
    animation-delay: 3s;
    color: var(--aura-glow);
}

@keyframes statsFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-25px) scale(1.1);
        opacity: 0.9;
    }
}

/* Pulsing Border Effect */
.logo-border-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        var(--aura-primary), 
        var(--aura-secondary), 
        var(--aura-accent), 
        var(--aura-glow)
    ) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes borderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Ripple Effect on Hover */
.logo-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 107, 53, 0.6) 0%,
        rgba(255, 107, 53, 0.3) 50%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    animation: logoRipple 2s ease-out infinite;
    pointer-events: none;
}

@keyframes logoRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Enhanced Welcome Logo Container */
.welcome-logo-container {
    position: relative;
}

.welcome-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle,
        rgba(255, 107, 53, 0.1) 0%,
        rgba(220, 38, 38, 0.15) 30%,
        rgba(245, 158, 11, 0.1) 60%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    animation: logoAuraExpand 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes logoAuraExpand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}


/* Ripple Effect on Hover */
.logo-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 107, 53, 0.6) 0%,
        rgba(255, 107, 53, 0.3) 50%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    animation: logoRipple 2s ease-out infinite;
    pointer-events: none;
}

@keyframes logoRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Enhanced Welcome Logo Container */
.welcome-logo-container {
    position: relative;
}

.welcome-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle,
        rgba(255, 107, 53, 0.1) 0%,
        rgba(220, 38, 38, 0.15) 30%,
        rgba(245, 158, 11, 0.1) 60%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    animation: logoAuraExpand 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes logoAuraExpand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}
