/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ffffff;
    background: #000000;
}

/* ============================================
   BACKGROUND VIDEO & IMAGE
   ============================================ */

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    /* Prevent any movement on mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
    /* Slow cinematic zoom effect */
    animation: slowZoom 30s ease-in-out infinite alternate;
    /* Prevent video from moving on mobile */
    -webkit-transform: translate(-50%, -50%);
    transform-origin: center center;
    will-change: transform;
    /* Fix for mobile devices */
    max-width: none;
    max-height: none;
    /* iOS Safari specific fixes */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    /* Prevent video from moving */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /* Additional mobile fixes */
    display: block;
    margin: 0;
    padding: 0;
}

@keyframes slowZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Fallback Background Image */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: none; /* Hidden by default, shown if video fails */
    z-index: 0;
    /* Parallax zoom effect for image */
    animation: slowZoom 30s ease-in-out infinite alternate;
    /* Ensure proper positioning on mobile */
    margin: 0;
    padding: 0;
}

/* Dark Overlay Gradient */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Noise Texture for Premium Look */
.noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1rem;
    overflow-y: auto;
}

.content-wrapper {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.headline {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    margin-bottom: 0;
}

.subheadline {
    font-size: clamp(0.85rem, 2.5vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-bottom: 0;
}

.concert-info {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(139, 92, 246, 0.9);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    margin-bottom: 0;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */

.countdown-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
    gap: 1rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.countdown-value {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(96, 165, 250, 0.4);
    /* Glow pulse animation */
    animation: glowPulse 2s ease-in-out infinite;
    position: relative;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

/* Urgent countdown when time is running out */
.countdown.urgent .countdown-value {
    animation: urgentGlow 1s ease-in-out infinite;
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.6),
        inset 0 0 20px rgba(239, 68, 68, 0.2);
}

.countdown.urgent #seconds {
    animation: urgentGlow 0.5s ease-in-out infinite;
    color: rgba(255, 107, 107, 1);
}

@keyframes urgentGlow {
    0%, 100% {
        text-shadow: 
            0 0 15px rgba(239, 68, 68, 1),
            0 0 30px rgba(239, 68, 68, 0.8),
            0 0 45px rgba(239, 68, 68, 0.6);
        transform: scale(1);
    }
    50% {
        text-shadow: 
            0 0 25px rgba(239, 68, 68, 1),
            0 0 50px rgba(239, 68, 68, 0.9),
            0 0 75px rgba(239, 68, 68, 0.7);
        transform: scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(139, 92, 246, 0.8),
            0 0 20px rgba(139, 92, 246, 0.6),
            0 0 30px rgba(96, 165, 250, 0.4);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(139, 92, 246, 1),
            0 0 30px rgba(139, 92, 246, 0.8),
            0 0 45px rgba(96, 165, 250, 0.6);
    }
}

.countdown-label {
    font-size: clamp(0.65rem, 1.6vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.countdown-separator {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    color: rgba(139, 92, 246, 0.6);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Presale Live Message */
.presale-live {
    text-align: center;
}

.presale-live-text {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
    animation: glowPulse 2s ease-in-out infinite;
}

.presale-live.hidden {
    display: none;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.cta-container {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   FOMO ELEMENTS
   ============================================ */

.fomo-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.fomo-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: urgentPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.fomo-icon {
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: bounce 1s ease-in-out infinite;
}

.fomo-text {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.fomo-text strong {
    color: rgba(255, 255, 107, 1);
    text-shadow: 0 0 15px rgba(255, 255, 107, 0.8);
    animation: blinkWarning 1.5s ease-in-out infinite;
}

.tickets-badge {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.tickets-badge .fomo-text {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.urgency-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin: 0.5rem 0;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: warningFlash 3s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
}

.warning-icon {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    animation: shake 0.5s ease-in-out infinite;
    flex-shrink: 0;
}

.warning-text {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.warning-text strong {
    color: rgba(255, 255, 107, 1);
    text-shadow: 0 0 15px rgba(255, 255, 107, 0.8);
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.7);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes blinkWarning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes warningFlash {
    0%, 100% {
        border-color: rgba(239, 68, 68, 0.6);
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
    }
    50% {
        border-color: rgba(239, 68, 68, 1);
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.8);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

.ticket-limit-info {
    font-size: clamp(0.7rem, 1.6vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 107, 107, 0.9);
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(255, 107, 107, 0.6),
        0 0 20px rgba(255, 107, 107, 0.3);
    animation: subtlePulse 3s ease-in-out infinite;
    line-height: 1.4;
}

.fomo-disclaimer {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 107, 0.95);
    text-align: center;
    margin-top: 0.25rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 107, 0.6),
        0 0 20px rgba(255, 255, 107, 0.3);
    animation: urgentFlash 2s ease-in-out infinite;
}

@keyframes urgentFlash {
    0%, 100% {
        opacity: 0.9;
        text-shadow: 
            0 0 10px rgba(255, 255, 107, 0.6),
            0 0 20px rgba(255, 255, 107, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 
            0 0 15px rgba(255, 255, 107, 0.9),
            0 0 30px rgba(255, 255, 107, 0.6);
    }
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.9;
        text-shadow: 
            0 0 10px rgba(255, 107, 107, 0.6),
            0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 
            0 0 15px rgba(255, 107, 107, 0.8),
            0 0 30px rgba(255, 107, 107, 0.5);
    }
}

.cta-button {
    position: relative;
    padding: 0.9rem 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(96, 165, 250, 0.3) 100%);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.cta-button.pulse-button {
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(139, 92, 246, 0.3),
            0 0 40px rgba(139, 92, 246, 0.2),
            inset 0 0 20px rgba(139, 92, 246, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 30px rgba(139, 92, 246, 0.5),
            0 0 60px rgba(139, 92, 246, 0.4),
            inset 0 0 30px rgba(139, 92, 246, 0.2);
    }
}

.cta-button:not(:disabled):hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(139, 92, 246, 0.2);
}

.cta-button:not(:disabled):active {
    transform: translateY(0);
}

.cta-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.cta-button:not(:disabled):hover .cta-glow {
    width: 300px;
    height: 300px;
}

.cta-text {
    position: relative;
    z-index: 1;
}

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   EVENT INFO SECTION
   ============================================ */

.event-info-section {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 10;
    padding: 2rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 0;
}

.event-info-wrapper {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.event-description {
    text-align: center;
}

.event-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.event-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.event-text strong {
    color: rgba(139, 92, 246, 1);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    font-weight: 600;
}

/* Why Signup Section */
.why-signup-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.why-signup-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.why-signup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-signup-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.check-icon {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
}

.check-text {
    flex: 1;
}

/* Phone Form */
.phone-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 0 30px rgba(139, 92, 246, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.phone-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.phone-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.phone-input:focus {
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.form-info {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    color: rgba(139, 92, 246, 0.8);
    text-align: left;
    font-style: italic;
}

.submit-button {
    position: relative;
    padding: 1.25rem 3rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(96, 165, 250, 0.4) 100%);
    border: 2px solid rgba(139, 92, 246, 0.6);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.submit-button:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.9);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(139, 92, 246, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.submit-button:hover .submit-glow {
    width: 300px;
    height: 300px;
}

.submit-text {
    position: relative;
    z-index: 1;
}

/* ============================================
   TELEGRAM BUTTON
   ============================================ */

.telegram-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4) 0%, rgba(0, 184, 148, 0.4) 100%);
    border: 2px solid rgba(37, 211, 102, 0.6);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(37, 211, 102, 0.3),
        inset 0 0 20px rgba(37, 211, 102, 0.1);
    text-decoration: none;
    animation: telegramPulse 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: auto;
}

@keyframes telegramPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(37, 211, 102, 0.3),
            0 0 40px rgba(37, 211, 102, 0.2),
            inset 0 0 20px rgba(37, 211, 102, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 30px rgba(37, 211, 102, 0.5),
            0 0 60px rgba(37, 211, 102, 0.4),
            inset 0 0 30px rgba(37, 211, 102, 0.2);
    }
}

.telegram-button:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.9);
    box-shadow: 
        0 0 30px rgba(37, 211, 102, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(37, 211, 102, 0.2);
}

.telegram-button:active {
    transform: translateY(0);
}

.telegram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.telegram-button:hover .telegram-glow {
    width: 300px;
    height: 300px;
}

.telegram-icon {
    position: relative;
    z-index: 1;
    font-size: 1.3em;
}

.telegram-text {
    position: relative;
    z-index: 1;
}

/* ============================================
   EVENT STATUS BUTTON (HERO)
   ============================================ */

.event-status-button {
    /* Animation removed for subtler appearance */
    transition: all 0.3s ease;
}

.event-status-button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px);
}

.event-status-button-text {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4) 0%, rgba(25, 181, 89, 0.4) 100%);
    border: 2px solid rgba(37, 211, 102, 0.6);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(37, 211, 102, 0.3),
        inset 0 0 20px rgba(37, 211, 102, 0.1);
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: auto;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(37, 211, 102, 0.3),
            0 0 40px rgba(37, 211, 102, 0.2),
            inset 0 0 20px rgba(37, 211, 102, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 30px rgba(37, 211, 102, 0.5),
            0 0 60px rgba(37, 211, 102, 0.4),
            inset 0 0 30px rgba(37, 211, 102, 0.2);
    }
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.9);
    box-shadow: 
        0 0 30px rgba(37, 211, 102, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-button:active {
    transform: translateY(0);
}

.whatsapp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.whatsapp-button:hover .whatsapp-glow {
    width: 300px;
    height: 300px;
}

.whatsapp-icon {
    position: relative;
    z-index: 1;
    font-size: 1.3em;
}

.whatsapp-text {
    position: relative;
    z-index: 1;
}

/* ============================================
   SOCIAL BUTTONS CONTAINER
   ============================================ */

.social-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-buttons-container {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .social-buttons-container .telegram-button,
    .social-buttons-container .whatsapp-button {
        max-width: 300px;
        flex: 1;
    }
}

/* ============================================
   BUY TICKET BUTTON
   ============================================ */

.buy-ticket-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 4rem;
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(96, 165, 250, 0.5) 100%);
    border: 2px solid rgba(139, 92, 246, 0.8);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.4),
        inset 0 0 30px rgba(139, 92, 246, 0.2);
    text-decoration: none;
    animation: buyTicketPulse 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: auto;
}

@keyframes buyTicketPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(139, 92, 246, 0.4),
            0 0 50px rgba(139, 92, 246, 0.3),
            inset 0 0 30px rgba(139, 92, 246, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 40px rgba(139, 92, 246, 0.6),
            0 0 70px rgba(139, 92, 246, 0.5),
            inset 0 0 40px rgba(139, 92, 246, 0.3);
    }
}

.buy-ticket-button:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 1);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(139, 92, 246, 0.3);
}

.buy-ticket-button:active {
    transform: translateY(-1px);
}

.buy-ticket-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.buy-ticket-button:hover .buy-ticket-glow {
    width: 400px;
    height: 400px;
}

.buy-ticket-icon {
    position: relative;
    z-index: 1;
    font-size: 1.4em;
}

.buy-ticket-text {
    position: relative;
    z-index: 1;
}

/* Small ticket buttons inside cards */
.ticket-mini-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(96, 165, 250, 0.7) 100%);
    border: 1px solid rgba(139, 92, 246, 0.9);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow:
        0 0 12px rgba(139, 92, 246, 0.5),
        inset 0 0 12px rgba(30, 64, 175, 0.8);
}

.ticket-mini-button.disabled {
    background: rgba(75, 85, 99, 0.8);
    border-color: rgba(75, 85, 99, 0.9);
    box-shadow:
        0 0 8px rgba(15, 23, 42, 0.7),
        inset 0 0 8px rgba(15, 23, 42, 0.9);
    cursor: default;
    pointer-events: none;
}

.ticket-mini-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 16px rgba(139, 92, 246, 0.7),
        0 6px 18px rgba(0, 0, 0, 0.45);
}

.ticket-mini-button:active {
    transform: translateY(0);
}

/* ============================================
   TICKETS SECTION
   ============================================ */

.tickets-section {
    scroll-margin-top: 100px;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ticket-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile video fixes */
@media (max-width: 768px) {
    .background-video {
        /* Ensure video is visible and centered on mobile */
        display: block !important;
        /* Disable animation on mobile to prevent shifting */
        animation: none !important;
        /* Ensure video stays centered - iOS Safari fix */
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: translate3d(-50%, -50%, 0) !important;
        -webkit-transform: translate3d(-50%, -50%, 0) !important;
        /* Prevent any movement - iOS Safari */
        will-change: auto !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        /* Lock position on iOS */
        -webkit-transform-style: preserve-3d !important;
        transform-style: preserve-3d !important;
        /* Prevent iOS Safari from moving video */
        -webkit-perspective: 1000px !important;
        perspective: 1000px !important;
        z-index: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .background-image {
        /* Hide image on mobile - use video only */
        display: none !important;
    }
    
    .video-container {
        /* Prevent overflow on mobile */
        overflow: hidden !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        /* Prevent scrolling issues */
        -webkit-overflow-scrolling: touch;
        /* iOS Safari fix */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .hero-section {
        padding: 1rem;
    }
    
    .content-wrapper {
        gap: 1.5rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
    }
    
    .fomo-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .fomo-badge {
        justify-content: center;
        padding: 0.6rem 1.2rem;
    }
    
    .urgency-warning {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .event-info-section {
        padding: 3rem 1.5rem;
    }
    
    .event-info-wrapper {
        gap: 2rem;
    }
    
    .phone-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .background-video {
        /* Additional fixes for very small screens */
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        -webkit-transform: translate(-50%, -50%) !important;
    }
    
    .countdown {
        gap: 0.25rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-separator {
        display: none; /* Hide separators on very small screens */
    }
}

/* ============================================
   iOS SAFARI SPECIFIC FIXES
   ============================================ */

/* Detect iOS Safari and apply fixes */
@supports (-webkit-touch-callout: none) {
    .background-video {
        /* iOS Safari specific - prevent video from moving */
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        transform: translate(-50%, -50%) !important;
        -webkit-transform: translate(-50%, -50%) !important;
        animation: none !important;
        /* Prevent iOS Safari from repositioning video */
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-perspective: 1000 !important;
        perspective: 1000 !important;
        -webkit-transform-style: preserve-3d !important;
        transform-style: preserve-3d !important;
        will-change: auto !important;
        /* Lock video position */
        -webkit-transform: translate3d(-50%, -50%, 0) !important;
        transform: translate3d(-50%, -50%, 0) !important;
    }
    
    .video-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        /* Prevent iOS Safari scrolling issues */
        -webkit-overflow-scrolling: touch;
        touch-action: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .background-video,
    .background-image {
        animation: none;
    }
}

