/* OPTIMIZED STYLES FOR ANTONIO FIXER LANDING PAGE */

/* Mobile Optimized - Reduced animations for performance */

/* Simplified Corner Elements - Mobile Optimized */
.corner-element {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid #ff0000;
    animation: none; /* Removed animation for performance */
}

.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Global Styles for ANTONIO FIXER Landing Page */

/* Enhanced Lightning Frame for Night Effect */
@keyframes lightning {
    0%, 100% { 
        box-shadow: 
            0 0 15px #ff0000, 
            0 0 30px #ff0000, 
            0 0 45px #ff0000,
            inset 0 0 20px rgba(255, 0, 0, 0.1);
    }
    25% { 
        box-shadow: 
            0 0 20px #ff4444, 
            0 0 40px #ff4444, 
            0 0 60px #ff4444,
            inset 0 0 25px rgba(255, 68, 68, 0.15);
    }
    50% { 
        box-shadow: 
            0 0 25px #ff8888, 
            0 0 50px #ff8888, 
            0 0 75px #ff8888,
            inset 0 0 30px rgba(255, 136, 136, 0.2);
    }
    75% { 
        box-shadow: 
            0 0 20px #ff4444, 
            0 0 40px #ff4444, 
            0 0 60px #ff4444,
            inset 0 0 25px rgba(255, 68, 68, 0.15);
    }
}

.animated-lightning-frame {
    animation: lightning 3s infinite;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.1);
}

/* Enhanced Night Sky Stars */
@keyframes twinkle {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(0.8); 
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3); 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 30px rgba(200, 220, 255, 0.5);
    }
}

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 10%, rgba(30, 50, 80, 0.2) 0%, transparent 70%);
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 4s infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Stadium Floodlight Effects */
.floodlight-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 40% 20% at 25% 15%, rgba(200, 220, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 20% at 75% 15%, rgba(200, 220, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 30% 15% at 50% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: floodlightFlicker 8s ease-in-out infinite;
}

@keyframes floodlightFlicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.9; }
    50% { opacity: 0.95; }
    75% { opacity: 0.88; }
}

/* Dark Night Stadium Background */
.stadium-bg {
    background: 
        linear-gradient(180deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 20, 0.7) 30%, 
            rgba(0, 10, 30, 0.6) 50%, 
            rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(circle at 50% 40%, 
            rgba(20, 40, 80, 0.3) 0%, 
            rgba(0, 0, 0, 0.8) 60%),
        url('dark-cricket-stadium.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: multiply, normal, normal;
}

/* Stadium Atmosphere Effects */
.stadium-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(100, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(100, 150, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Enhanced Night Atmosphere */
.stadium-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 100%, rgba(10, 20, 40, 0.6) 0%, transparent 60%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 30%);
    pointer-events: none;
}

/* Simplified Profile Circle - Mobile Optimized */
.profile-circle-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.fire-circle {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff0000, #ff4400, #ff8800, #ffaa00, #ff4400, #ff0000);
    animation: fireRotate 4s linear infinite; /* Slower for performance */
}

@keyframes fireRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.05); }
    50% { transform: rotate(180deg) scale(1.1); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.profile-image {
    position: relative;
    z-index: 10;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    object-fit: cover;
}

/* Simplified Live Indicator */
.live-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    background: rgba(255, 0, 0, 0.9);
    padding: 3px 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    animation: liveGlow 3s infinite; /* Slower animation */
}

@keyframes liveGlow {
    0%, 100% { box-shadow: 0 0 10px #ff0000; }
    50% { box-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000; }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Simplified Title Effects */
.title-glow {
    display: none; /* Disabled for mobile performance */
}

/* Fire Text Animation */
.fire-text {
    background: linear-gradient(45deg, #ff0000, #ff4400, #ff8800, #ffaa00, #ff4400, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fireGradient 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 68, 0, 0.8);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

/* Typewriter Effect */
.typewriter-container {
    height: 30px;
    overflow: hidden;
}

.typewriter-text {
    border-right: 2px solid #ffff00;
    animation: blinkCursor 1s infinite;
    min-height: 1.5em;
}

@keyframes blinkCursor {
    0%, 50% { border-right-color: transparent; }
    51%, 100% { border-right-color: #ffff00; }
}

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

/* Zoom Animation */
.zoom-animation {
    animation: zoomInOut 3s ease-in-out infinite;
}

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

/* Simplified Button Effects */
.button-aura {
    display: none; /* Disabled for mobile performance */
}

.button-shine {
    display: none; /* Disabled for mobile performance */
}

.button-pulse-ring {
    display: none; /* Disabled for mobile performance */
}

/* Telegram Button Animation */
.zoom-button {
    animation: buttonZoom 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

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

.telegram-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

/* Simplified Timer Effects */
.timer-glow {
    display: none; /* Disabled for mobile performance */
}

.timer-bg-animation {
    display: none; /* Disabled for mobile performance */
}

.timer-digits {
    text-shadow: 0 0 15px #ffffff; /* Static glow instead of animation */
}

.timer-digits.urgent {
    color: #ff0000 !important;
    text-shadow: 0 0 20px #ff0000;
}

.timer-sparks {
    display: none; /* Disabled for mobile performance */
}

.warning-flash {
    display: none; /* Disabled for mobile performance */
}

/* Timer Container Animation */
.timer-container {
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(239, 68, 68, 0.9); }
}

/* Indian Flag Animation */
.flag-animation {
    width: 60px;
    height: 40px;
    animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.indian-flag {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        #ff9933 0%, #ff9933 33%, 
        #ffffff 33%, #ffffff 66%, 
        #138808 66%, #138808 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.indian-flag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid #000080;
    border-radius: 50%;
    background: transparent;
}

.indian-flag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 1px;
    background: #000080;
    box-shadow: 
        0 -2px 0 #000080,
        0 2px 0 #000080,
        0 -4px 0 #000080,
        0 4px 0 #000080;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .fire-text {
        font-size: 2rem;
    }
    
    .profile-circle-container {
        width: 120px;
        height: 120px;
    }
    
    .fire-circle {
        width: 140px;
        height: 140px;
        top: -8px;
        left: -8px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
}

/* Responsive Design for 9:16 Mobile Format */
@media (orientation: portrait) {
    body {
        min-height: 100vh;
        max-width: 100vw;
    }
}

/* Additional Glow Effects */
.bg-gradient-to-r {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Text Glow Effects */
.text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Smooth Animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}