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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

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

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes rainbow {
    0% { color: #ff0000; }
    16.66% { color: #ff8000; }
    33.33% { color: #ffff00; }
    50% { color: #00ff00; }
    66.66% { color: #0080ff; }
    83.33% { color: #8000ff; }
    100% { color: #ff0000; }
}

@keyframes lightning {
    0%, 100% {
        text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffd700;
    }
    50% {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700;
    }
}

/* Utility classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Button styles */
.btn {
    @apply inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-lg transition-all duration-200 transform;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    @apply bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:ring-offset-gray-900;
}

.btn-secondary {
    @apply bg-gray-600 text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 focus:ring-offset-gray-900;
}

.btn-success {
    @apply bg-green-600 text-white hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 focus:ring-offset-gray-900;
}

/* Navigation styles */
.nav-link {
    @apply text-sm font-medium text-gray-300 hover:text-white transition-colors duration-200;
}

.mobile-nav-link {
    @apply text-gray-300 hover:text-white transition-colors duration-200;
}

/* Alert styles */
.alert {
    @apply border rounded-lg;
}

.alert-success {
    @apply bg-green-900 border-green-600 text-green-200;
}

.alert-danger {
    @apply bg-red-900 border-red-600 text-red-200;
}

.alert-info {
    @apply bg-blue-900 border-blue-600 text-blue-200;
}

.alert-warning {
    @apply bg-yellow-900 border-yellow-600 text-yellow-200;
}

/* Rank badge styles */
.rank-badge {
    @apply inline-flex items-center px-2 py-1 rounded-full text-sm font-medium;
}

/* Rank 1: Novice - Bright White */
.rank-novice {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    animation: gentleGlow 3s ease-in-out infinite;
}

/* Rank 2: Expert - Bright Cyan */
.rank-expert {
    color: #00ffff !important;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
    animation: cyberPulse 2.5s ease-in-out infinite;
}

/* Rank 3: Master - Bright Green */
.rank-master {
    color: #00ff00 !important;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.9);
    animation: matrixGlow 2s linear infinite;
}

/* Rank 4: Elite - Bright Blue */
.rank-elite {
    color: #0080ff !important;
    text-shadow: 0 0 18px rgba(0, 128, 255, 1.0);
    animation: electricBlue 1.8s ease-in-out infinite;
}

/* Rank 5: Celestial - Bright Purple */
.rank-celestial {
    color: #8000ff !important;
    text-shadow: 0 0 20px rgba(128, 0, 255, 1.0);
    animation: cosmicPulse 2.2s ease-in-out infinite;
}

/* Rank 6: Divine - Bright Gold */
.rank-divine {
    color: #ffd700 !important;
    text-shadow: 0 0 25px rgba(255, 215, 0, 1.0);
    animation: divineRadiance 1.5s ease-in-out infinite;
}

/* Rank 7: Immortal - Bright Red */
.rank-immortal {
    color: #ff0000 !important;
    text-shadow: 0 0 30px rgba(255, 0, 0, 1.0);
    animation: bloodFire 1.2s ease-in-out infinite;
}

/* Special Rank: Admin - Clean Bright Red */
.rank-admin {
    color: #ff0000 !important;
    font-weight: 900 !important;
}

/* Custom filters for number formatting */
.format-number {
    font-variant-numeric: tabular-nums;
}

/* Animated counter styling */
.animate-counter {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.animate-counter:hover {
    filter: brightness(1.2);
}

/* Flash text styles - Simple shake animations */
.flash-text {
    @apply text-lg font-semibold;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Basic color styles - no animations */
.flash-red {
    color: #ef4444;
}

.flash-orange {
    color: #f97316;
}

.flash-yellow {
    color: #eab308;
}

.flash-green {
    color: #22c55e;
}

.flash-blue {
    color: #3b82f6;
}

.flash-purple {
    color: #a855f7;
}

.flash-pink {
    color: #ec4899;
}

.flash-cyan {
    color: #06b6d4;
}

.flash-white {
    color: #ffffff;
}

/* Premium Custom Animations with wiggle/shake effects */
.flash-neon-glow {
    color: #00ffff;
    animation: neonGlow 1.5s ease-in-out infinite alternate, wiggle 0.6s ease-in-out infinite;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
}

.flash-fire-pulse {
    color: #ff4500;
    animation: firePulse 1.2s ease-in-out infinite, bounce 0.8s ease-in-out infinite;
    text-shadow: 0 0 10px #ff4500, 0 0 20px #ff6500, 0 0 30px #ff8500;
}

.flash-electric-bolt {
    color: #ffff00;
    animation: electricBolt 0.8s linear infinite, jitter 0.3s linear infinite;
    text-shadow: 0 0 5px #ffff00, 0 0 10px #ffff00, 0 0 15px #ffff00;
}

.flash-crystal-shine {
    color: #ffffff;
    animation: crystalShine 2s ease-in-out infinite, shimmer 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #b0e0e6, 0 0 30px #87ceeb;
}

.flash-shadow-wave {
    color: #9932cc;
    animation: shadowWave 1.8s ease-in-out infinite, sway 2s ease-in-out infinite;
    text-shadow: 0 0 10px #9932cc, 0 0 20px #8a2be2, 0 0 30px #4b0082;
}

.flash-gradient-flow {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite, float 2.5s ease-in-out infinite;
}

.flash-prism-shift {
    animation: prismShift 2.5s linear infinite, twist 1.8s ease-in-out infinite;
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

.flash-aurora-dance {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: auroraDance 4s ease-in-out infinite, dance 1.2s ease-in-out infinite;
    filter: brightness(1.2);
}

/* Premium visual effects */
.flash-waves {
    position: relative;
    color: #3b82f6;
    animation: shake 1s infinite;
}

.flash-waves::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAiIHZpZXdCb3g9IjAgMCAxMDAwIDEwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMCw1MEM1MCwwIDEwMCwxMDAgMTUwLDUwQzIwMCwwIDI1MCwxMDAgMzAwLDUwQzM1MCwwIDQwMCwxMDAgNDUwLDUwQzUwMCwwIDU1MCwxMDAgNjAwLDUwQzY1MCwwIDcwMCwxMDAgNzUwLDUwQzgwMCwwIDg1MCwxMDAgOTAwLDUwQzk1MCwwIDEwMDAsMTAwIDEwMDAsNTBWMTAwSDBWNTBaIiBmaWxsPSJyZ2JhKDU5LCAxMzAsIDI0NiwgMC4zKSIvPgo8L3N2Zz4K);
    background-size: 200px 20px;
    animation: wave 3s linear infinite;
}

.flash-floating-lights {
    position: relative;
    color: #fbbf24;
    animation: shake 1s infinite;
}

.flash-floating-lights::after {
    content: '*';
    position: absolute;
    left: -30px;
    top: -10px;
    animation: floatUp 4s linear infinite;
}

.flash-starfield {
    position: relative;
    color: #e5e7eb;
    animation: shake 1s infinite;
    background: radial-gradient(2px 2px at 20px 30px, #fff, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                radial-gradient(1px 1px at 90px 40px, #fff, transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent);
    background-size: 150px 100px;
    animation: shake 1s infinite, animStar 10s linear infinite;
}

.flash-bubbles {
    position: relative;
    color: #06b6d4;
    animation: shake 1s infinite;
}

.flash-bubbles::before {
    content: '○ ○ ○';
    position: absolute;
    left: -40px;
    top: -15px;
    font-size: 12px;
    color: rgba(6, 182, 212, 0.6);
    animation: bubbleFloat 3s ease-in-out infinite;
}

.flash-particle-glow {
    position: relative;
    color: #8b5cf6;
    animation: shake 1s infinite;
    text-shadow: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6, 0 0 30px #8b5cf6;
}

.flash-rainbow-gradient {
    background: linear-gradient(to right, #1e5799 0%, #2ce0bf 19%, #76dd2c 40%, #dba62b 60%, #e02cbf 83%, #1e5799 100%);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shake 1s infinite, rainbowMove 3s linear infinite;
}

/* Keep rainbow color animation */
@keyframes rainbow {
    0% { color: #ff0000; }
    16.66% { color: #ff8000; }
    33.33% { color: #ffff00; }
    50% { color: #00ff00; }
    66.66% { color: #0080ff; }
    83.33% { color: #8000ff; }
    100% { color: #ff0000; }
}

/* Wave animations */
.air {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAiIHZpZXdCb3g9IjAgMCAxMDAwIDEwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMCw1MEM1MCwwIDEwMCwxMDAgMTUwLDUwQzIwMCwwIDI1MCwxMDAgMzAwLDUwQzM1MCwwIDQwMCwxMDAgNDUwLDUwQzUwMCwwIDU1MCwxMDAgNjAwLDUwQzY1MCwwIDcwMCwxMDAgNzUwLDUwQzgwMCwwIDg1MCwxMDAgOTAwLDUwQzk1MCwwIDEwMDAsMTAwIDEwMDAsNTBWMTAwSDBWNTBaIiBmaWxsPSJyZ2JhKDU5LCAxMzAsIDI0NiwgMC4zKSIvPgo8L3N2Zz4K);
    background-size: 1000px 100px;
}

.air.air1 {
    animation: wave 30s linear infinite;
    z-index: 1000;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}

.air.air2 {
    animation: wave2 15s linear infinite;
    z-index: 999;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: 10px;
}

.air.air3 {
    animation: wave 30s linear infinite;
    z-index: 998;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}

.air.air4 {
    animation: wave2 5s linear infinite;
    z-index: 997;
    opacity: 0.7;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes wave {
    0% { background-position-x: 0px; }
    100% { background-position-x: 1000px; }
}

@keyframes wave2 {
    0% { background-position-x: 0px; }
    100% { background-position-x: -1000px; }
}

/* Floating light particles */
.light {
    position: absolute;
    width: 0px;
    opacity: .75;
    background-color: white;
    box-shadow: #e9f1f1 0px 0px 20px 2px;
    opacity: 0;
    top: 100vh;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.x1 {
    animation: floatUp 4s infinite linear;
    transform: scale(1.0);
}

.x2 {
    animation: floatUp 7s infinite linear;
    transform: scale(1.6);
    left: 15%;
}

.x3 {
    animation: floatUp 2.5s infinite linear;
    transform: scale(.5);
    left: -15%;
}

.x4 {
    animation: floatUp 4.5s infinite linear;
    transform: scale(1.2);
    left: -34%;
}

.x5 {
    animation: floatUp 8s infinite linear;
    transform: scale(2.2);
    left: -57%;
}

.x6 {
    animation: floatUp 3s infinite linear;
    transform: scale(.8);
    left: -81%;
}

.x7 {
    animation: floatUp 5.3s infinite linear;
    transform: scale(3.2);
    left: 37%;
}

.x8 {
    animation: floatUp 4.7s infinite linear;
    transform: scale(1.7);
    left: 62%;
}

.x9 {
    animation: floatUp 4.1s infinite linear;
    transform: scale(0.9);
    left: 85%;
}

@keyframes floatUp {
    0% { top: 100vh; opacity: 0; }
    25% { opacity: 1; }
    50% { top: 0vh; opacity: .8; }
    75% { opacity: 1; }
    100% { top: -100vh; opacity: 0; }
}

/* Starfield Animation */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 117px 163px #FFF, 488px 635px #FFF, 944px 914px #FFF, 647px 277px #FFF, 792px 205px #FFF, 656px 517px #FFF, 820px 839px #FFF, 153px 400px #FFF, 870px 13px #FFF, 550px 702px #FFF;
    animation: animStar 50s linear infinite;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 117px 306px #FFF, 078px 783px #FFF, 179px 085px #FFF, 145px 920px #FFF, 422px 233px #FFF, 387px 98px #FFF, 153px 637px #FFF, 084px 782px #FFF, 476px 453px #FFF, 926px 306px #FFF;
    animation: animStar 100s linear infinite;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 940px 360px #FFF, 071px 539px #FFF, 710px 414px #FFF, 836px 299px #FFF, 944px 420px #FFF, 253px 449px #FFF, 257px 250px #FFF, 588px 830px #FFF, 077px 204px #FFF, 273px 081px #FFF;
    animation: animStar 150s linear infinite;
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

/* Bubble Animation */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bubble {
    height: 60px;
    width: 60px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    position: absolute;
    animation: bubbleFloat 4s linear infinite;
}

.bubble .dot {
    height: 10px;
    width: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 20%;
    right: 20%;
}

.bubble:nth-child(1) { top: 20%; left: 20%; animation: bubbleFloat 8s linear infinite; }
.bubble:nth-child(2) { top: 60%; left: 80%; animation: bubbleFloat 10s linear infinite; }
.bubble:nth-child(3) { top: 40%; left: 40%; animation: bubbleFloat 3s linear infinite; }
.bubble:nth-child(4) { top: 66%; left: 30%; animation: bubbleFloat 7s linear infinite; }
.bubble:nth-child(5) { top: 90%; left: 10%; animation: bubbleFloat 9s linear infinite; }

@keyframes bubbleFloat {
    0% { transform: scale(0) translateY(0) rotate(70deg); }
    100% { transform: scale(1.3) translateY(-100px) rotate(360deg); }
}

/* Particle Glow System */
.particle-glow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    animation: glow 3s linear infinite alternate;
}

.particles {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
}

.rotate {
    position: absolute;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    animation: rotate 20s linear infinite alternate;
}

.particle {
    position: absolute;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: particle 6s linear infinite alternate;
}

@keyframes glow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 60px 20px #56bcf9, 25px 15px 50px 10px #fff, -5px -25px 30px 5px #fff;
    }
    100% {
        transform: rotate(5deg);
        box-shadow: 0 0 90px 20px #56bcf9, 35px 20px 40px 10px #fff, -30px -30px 40px 5px #fff;
    }
}

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

@keyframes particle {
    0% { box-shadow: inset 0 0 20px 20px #0079e8, 0 0 50px 10px #0079e8, inset 0 0 80px 80px #269aff; }
    33.33% { box-shadow: inset 0 0 20px 20px #0079e8, 0 0 130px 10px #0079e8, inset 0 0 50px 50px #269aff; }
    66.67% { box-shadow: inset 0 0 20px 20px #485fe8, 0 0 50px 10px #485fe8, inset 0 0 80px 80px #7d71e8; }
    100% { box-shadow: inset 0 0 20px 20px #485fe8, 0 0 130px 10px #485fe8, inset 0 0 50px 50px #7d71e8; }
}

/* Rainbow Gradient Background */
.rainbow-gradient {
    background: linear-gradient(to right, #1e5799 0%, #2ce0bf 19%, #76dd2c 40%, #dba62b 60%, #e02cbf 83%, #1e5799 100%);
    background-size: 10000px 100%;
    animation: rainbowMove 15s linear infinite;
}

@keyframes rainbowMove {
    0% { background-position-x: 0; }
    100% { background-position-x: 10000px; }
}

/* Dynamic Particle Container */
.dynamic-particles {
    position: absolute;
    top: 0;
    left: 8%;
    bottom: 0;
    width: 55%;
}

.pt {
    display: block;
    position: absolute;
    height: 50px;
    animation: moveUpDown 2s infinite cubic-bezier(.45,.05,.55,.95) alternate;
}

.pt b {
    display: block;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 70%, transparent 100%);
    border-radius: 50%;
    position: absolute;
    animation: moveRightLeft 3s infinite cubic-bezier(.45,.05,.55,.95) alternate, flicker 2s infinite alternate cubic-bezier(.45,.05,.55,.95);
}

@keyframes moveUpDown {
    0% { }
    100% { transform: translateY(150%); }
}

@keyframes moveRightLeft {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(150%); }
}

@keyframes flicker {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Form styles */
input:focus, textarea:focus, select:focus {
    @apply ring-2 ring-blue-400 border-transparent;
}

/* Table styles */
table {
    @apply w-full;
}

th {
    @apply px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider;
}

td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-300;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Loading states */
.loading {
    @apply opacity-50 cursor-not-allowed;
}

.loading::after {
    content: '';
    @apply inline-block w-4 h-4 ml-2 border-2 border-current border-t-transparent rounded-full animate-spin;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .btn {
        @apply w-full justify-center;
    }
    
    .fade-in {
        animation-delay: 0s;
    }
}



/* Banner preview styles */
.banner-preview {
    @apply max-w-3xl mx-auto;
}

.banner-preview img {
    @apply w-full h-auto rounded-lg shadow-lg;
    max-height: 250px;
    object-fit: cover;
}

/* Star rating styles */
.star-button {
    @apply cursor-pointer transition-colors duration-200;
}

.star-button:hover {
    transform: scale(1.1);
}

/* Copy button success state */
.btn-success {
    @apply bg-green-600 hover:bg-green-700;
}

/* Dark theme scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Selection styling */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Focus styles for accessibility */
.focus-visible {
    @apply outline-none ring-2 ring-blue-400 ring-offset-2 ring-offset-gray-900;
}

/* Glow effects */
.glow-white {
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(255, 255, 255, 0.12),
        0 0 60px rgba(255, 255, 255, 0.09),
        0 0 80px rgba(255, 255, 255, 0.07),
        0 0 100px rgba(255, 255, 255, 0.06),
        0 0 150px rgba(255, 255, 255, 0.04),
        0 0 200px rgba(255, 255, 255, 0.03),
        0 0 250px rgba(255, 255, 255, 0.025),
        0 0 300px rgba(255, 255, 255, 0.02),
        0 0 400px rgba(255, 255, 255, 0.015),
        0 0 500px rgba(255, 255, 255, 0.01),
        0 0 600px rgba(255, 255, 255, 0.008),
        0 0 700px rgba(255, 255, 255, 0.006),
        0 0 800px rgba(255, 255, 255, 0.004),
        0 0 900px rgba(255, 255, 255, 0.002);
    animation: whiteGlow 3s ease-in-out infinite alternate;
}

.glow-blue {
    text-shadow: 
        0 0 20px rgba(96, 165, 250, 0.15),
        0 0 40px rgba(96, 165, 250, 0.12),
        0 0 60px rgba(96, 165, 250, 0.09),
        0 0 80px rgba(96, 165, 250, 0.07),
        0 0 100px rgba(96, 165, 250, 0.06),
        0 0 150px rgba(96, 165, 250, 0.04),
        0 0 200px rgba(96, 165, 250, 0.03),
        0 0 250px rgba(96, 165, 250, 0.025),
        0 0 300px rgba(96, 165, 250, 0.02),
        0 0 400px rgba(96, 165, 250, 0.015),
        0 0 500px rgba(96, 165, 250, 0.01),
        0 0 600px rgba(96, 165, 250, 0.008),
        0 0 700px rgba(96, 165, 250, 0.006),
        0 0 800px rgba(96, 165, 250, 0.004),
        0 0 900px rgba(96, 165, 250, 0.002);
    animation: blueGlow 3s ease-in-out infinite alternate;
}

@keyframes whiteGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.15),
            0 0 40px rgba(255, 255, 255, 0.12),
            0 0 60px rgba(255, 255, 255, 0.09),
            0 0 80px rgba(255, 255, 255, 0.07),
            0 0 100px rgba(255, 255, 255, 0.06),
            0 0 150px rgba(255, 255, 255, 0.04),
            0 0 200px rgba(255, 255, 255, 0.03),
            0 0 250px rgba(255, 255, 255, 0.025),
            0 0 300px rgba(255, 255, 255, 0.02),
            0 0 400px rgba(255, 255, 255, 0.015),
            0 0 500px rgba(255, 255, 255, 0.01),
            0 0 600px rgba(255, 255, 255, 0.008),
            0 0 700px rgba(255, 255, 255, 0.006),
            0 0 800px rgba(255, 255, 255, 0.004),
            0 0 900px rgba(255, 255, 255, 0.002);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(255, 255, 255, 0.18),
            0 0 50px rgba(255, 255, 255, 0.15),
            0 0 75px rgba(255, 255, 255, 0.12),
            0 0 100px rgba(255, 255, 255, 0.09),
            0 0 125px rgba(255, 255, 255, 0.07),
            0 0 175px rgba(255, 255, 255, 0.05),
            0 0 225px rgba(255, 255, 255, 0.04),
            0 0 275px rgba(255, 255, 255, 0.03),
            0 0 325px rgba(255, 255, 255, 0.025),
            0 0 425px rgba(255, 255, 255, 0.02),
            0 0 525px rgba(255, 255, 255, 0.015),
            0 0 625px rgba(255, 255, 255, 0.01),
            0 0 725px rgba(255, 255, 255, 0.008),
            0 0 825px rgba(255, 255, 255, 0.006),
            0 0 925px rgba(255, 255, 255, 0.004);
    }
}

@keyframes blueGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(96, 165, 250, 0.15),
            0 0 40px rgba(96, 165, 250, 0.12),
            0 0 60px rgba(96, 165, 250, 0.09),
            0 0 80px rgba(96, 165, 250, 0.07),
            0 0 100px rgba(96, 165, 250, 0.06),
            0 0 150px rgba(96, 165, 250, 0.04),
            0 0 200px rgba(96, 165, 250, 0.03),
            0 0 250px rgba(96, 165, 250, 0.025),
            0 0 300px rgba(96, 165, 250, 0.02),
            0 0 400px rgba(96, 165, 250, 0.015),
            0 0 500px rgba(96, 165, 250, 0.01),
            0 0 600px rgba(96, 165, 250, 0.008),
            0 0 700px rgba(96, 165, 250, 0.006),
            0 0 800px rgba(96, 165, 250, 0.004),
            0 0 900px rgba(96, 165, 250, 0.002);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(96, 165, 250, 0.18),
            0 0 50px rgba(96, 165, 250, 0.15),
            0 0 75px rgba(96, 165, 250, 0.12),
            0 0 100px rgba(96, 165, 250, 0.09),
            0 0 125px rgba(96, 165, 250, 0.07),
            0 0 175px rgba(96, 165, 250, 0.05),
            0 0 225px rgba(96, 165, 250, 0.04),
            0 0 275px rgba(96, 165, 250, 0.03),
            0 0 325px rgba(96, 165, 250, 0.025),
            0 0 425px rgba(96, 165, 250, 0.02),
            0 0 525px rgba(96, 165, 250, 0.015),
            0 0 625px rgba(96, 165, 250, 0.01),
            0 0 725px rgba(96, 165, 250, 0.008),
            0 0 825px rgba(96, 165, 250, 0.006),
            0 0 925px rgba(96, 165, 250, 0.004);
    }
}

/* New Premium Animation Keyframes */
@keyframes neonGlow {
    0% { 
        text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
        filter: brightness(1);
    }
    100% { 
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
        filter: brightness(1.3);
    }
}

@keyframes firePulse {
    0%, 100% { 
        text-shadow: 0 0 10px #ff4500, 0 0 20px #ff6500, 0 0 30px #ff8500;
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px #ff4500, 0 0 30px #ff6500, 0 0 40px #ff8500;
        transform: scale(1.05);
    }
}

@keyframes electricBolt {
    0%, 100% { 
        text-shadow: 0 0 5px #ffff00, 0 0 10px #ffff00, 0 0 15px #ffff00;
        filter: brightness(1);
    }
    25%, 75% { 
        text-shadow: 0 0 15px #ffff00, 0 0 25px #ffff00, 0 0 35px #ffff00;
        filter: brightness(1.5);
    }
    50% { 
        text-shadow: 0 0 3px #ffff00, 0 0 8px #ffff00, 0 0 12px #ffff00;
        filter: brightness(0.8);
    }
}

@keyframes crystalShine {
    0%, 100% { 
        text-shadow: 0 0 10px #ffffff, 0 0 20px #b0e0e6, 0 0 30px #87ceeb;
        filter: brightness(1) hue-rotate(0deg);
    }
    33% { 
        text-shadow: 0 0 15px #ffffff, 0 0 25px #b0e0e6, 0 0 35px #87ceeb;
        filter: brightness(1.2) hue-rotate(60deg);
    }
    66% { 
        text-shadow: 0 0 12px #ffffff, 0 0 22px #b0e0e6, 0 0 32px #87ceeb;
        filter: brightness(1.1) hue-rotate(120deg);
    }
}

@keyframes shadowWave {
    0%, 100% { 
        text-shadow: 0 0 10px #9932cc, 0 0 20px #8a2be2, 0 0 30px #4b0082;
        transform: translateY(0);
    }
    50% { 
        text-shadow: 0 0 15px #9932cc, 0 0 25px #8a2be2, 0 0 35px #4b0082;
        transform: translateY(-3px);
    }
}

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

@keyframes prismShift {
    0% { color: #ff0000; filter: hue-rotate(0deg); }
    16.66% { color: #ff8000; filter: hue-rotate(30deg); }
    33.33% { color: #ffff00; filter: hue-rotate(60deg); }
    50% { color: #00ff00; filter: hue-rotate(120deg); }
    66.66% { color: #0080ff; filter: hue-rotate(240deg); }
    83.33% { color: #8000ff; filter: hue-rotate(280deg); }
    100% { color: #ff0000; filter: hue-rotate(360deg); }
}

@keyframes auroraDance {
    0% { 
        background-position: 0% 50%;
        filter: brightness(1.2) saturate(1.3);
    }
    25% { 
        background-position: 100% 50%;
        filter: brightness(1.4) saturate(1.5);
    }
    50% { 
        background-position: 50% 100%;
        filter: brightness(1.1) saturate(1.2);
    }
    75% { 
        background-position: 0% 0%;
        filter: brightness(1.3) saturate(1.4);
    }
    100% { 
        background-position: 0% 50%;
        filter: brightness(1.2) saturate(1.3);
    }
}

/* Small movement animations for premium effects */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

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

@keyframes jitter {
    0%, 100% { transform: translate(0px, 0px); }
    25% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, 1px); }
}

@keyframes shimmer {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(1px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg) translateX(0px); }
    25% { transform: rotate(0.5deg) translateX(1px); }
    75% { transform: rotate(-0.5deg) translateX(-1px); }
}

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

@keyframes twist {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

@keyframes dance {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(1px) translateY(-1px); }
    50% { transform: translateX(0px) translateY(-2px); }
    75% { transform: translateX(-1px) translateY(-1px); }
}

/* New Rank Animation Keyframes */
@keyframes gentleGlow {
    0%, 100% { 
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
        filter: brightness(1.2);
    }
}

@keyframes cyberPulse {
    0%, 100% { 
        text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 25px rgba(0, 255, 255, 1.2);
        transform: scale(1.02);
    }
}

@keyframes matrixGlow {
    0%, 100% { 
        text-shadow: 0 0 15px rgba(0, 255, 0, 0.9);
        filter: brightness(1) hue-rotate(0deg);
    }
    50% { 
        text-shadow: 0 0 30px rgba(0, 255, 0, 1.2);
        filter: brightness(1.3) hue-rotate(10deg);
    }
}

@keyframes electricBlue {
    0%, 100% { 
        text-shadow: 0 0 18px rgba(0, 128, 255, 1.0);
        filter: brightness(1);
    }
    25%, 75% { 
        text-shadow: 0 0 35px rgba(0, 128, 255, 1.5);
        filter: brightness(1.4);
    }
    50% { 
        text-shadow: 0 0 50px rgba(0, 128, 255, 2.0);
        filter: brightness(1.6);
    }
}

@keyframes cosmicPulse {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(128, 0, 255, 1.0);
        filter: brightness(1) saturate(1);
    }
    50% { 
        text-shadow: 0 0 40px rgba(128, 0, 255, 1.5);
        filter: brightness(1.4) saturate(1.5);
    }
}

@keyframes divineRadiance {
    0%, 100% { 
        text-shadow: 0 0 25px rgba(255, 215, 0, 1.0);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 0 0 50px rgba(255, 215, 0, 1.8);
        filter: brightness(1.5);
    }
}

@keyframes bloodFire {
    0%, 100% { 
        text-shadow: 0 0 30px rgba(255, 0, 0, 1.0);
        filter: brightness(1) contrast(1);
    }
    50% { 
        text-shadow: 0 0 60px rgba(255, 0, 0, 1.8);
        filter: brightness(1.6) contrast(1.3);
    }
}

@keyframes phoenixFlame {
    0%, 100% { 
        text-shadow: 0 0 35px rgba(255, 69, 0, 1.0);
        filter: brightness(1) hue-rotate(0deg);
    }
    33% { 
        text-shadow: 0 0 55px rgba(255, 69, 0, 1.5);
        filter: brightness(1.4) hue-rotate(10deg);
    }
    66% { 
        text-shadow: 0 0 45px rgba(255, 69, 0, 1.3);
        filter: brightness(1.2) hue-rotate(-5deg);
    }
}

@keyframes legendaryAura {
    0%, 100% { 
        text-shadow: 0 0 40px rgba(255, 20, 147, 1.0);
        filter: brightness(1) saturate(1.5);
    }
    50% { 
        text-shadow: 0 0 80px rgba(255, 20, 147, 1.8);
        filter: brightness(1.8) saturate(2);
    }
}

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

@keyframes godlikeGlow {
    0%, 100% { 
        filter: brightness(1.5) saturate(2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
    50% { 
        filter: brightness(2) saturate(2.5) drop-shadow(0 0 40px rgba(255, 255, 255, 1.2));
    }
}
