/* =========================================================
   APEX SHOOTER - Airdrop cannon for XNT holders
   ========================================================= */

/* ── Main Section ── */
.apex-shooter {
    background: linear-gradient(145deg, rgba(255, 100, 50, 0.15), rgba(168, 85, 247, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 24px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apex-shooter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #fbbf24, #ff6b35);
    background-size: 200% 100%;
    animation: shooterGradient 2s linear infinite;
}

@keyframes shooterGradient {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.apex-shooter-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff6b35, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.apex-shooter-subtitle {
    font-size: 14px;
    color: var(--lux-muted, #9a9aa8);
    margin-bottom: 8px;
}

.apex-shooter-desc {
    font-size: 12px;
    color: var(--lux-muted, #9a9aa8);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.shooter-info-icon {
    font-size: 16px;
    color: var(--lux-muted, #9a9aa8);
    cursor: help;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.shooter-info-icon:hover {
    opacity: 1;
    color: #fbbf24;
}

/* ── The Big Button ── */
.shooter-btn {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #ff6b35, #ff8c5a);
    color: white;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 10px 40px rgba(255, 107, 53, 0.5),
        0 0 60px rgba(255, 107, 53, 0.3),
        inset 0 -5px 20px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0;
}

.shooter-btn:hover {
    transform: scale(1.08);
    box-shadow:
        0 15px 50px rgba(255, 107, 53, 0.6),
        0 0 80px rgba(255, 107, 53, 0.4),
        inset 0 -5px 20px rgba(0,0,0,0.2);
}

.shooter-btn:active {
    transform: scale(0.95);
}

.shooter-btn:disabled {
    background: linear-gradient(145deg, #666, #888);
    cursor: not-allowed;
    box-shadow: none;
}

.shooter-btn-text {
    position: relative;
    z-index: 2;
}

.shooter-btn-emoji {
    display: block;
    font-size: 48px;
    margin-bottom: 8px;
}

/* Pulse animation */
.shooter-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 53, 0.5);
    animation: shooterPulse 2s ease-out infinite;
}

@keyframes shooterPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* ── Stats Grid ── */
.shooter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.shooter-stat {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
}

.shooter-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
}

.shooter-stat-label {
    font-size: 11px;
    color: var(--lux-muted, #9a9aa8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Recent Shots Feed ── */
.shooter-feed {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
}

.shooter-feed-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--lux-muted, #9a9aa8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

.shooter-feed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    animation: feedSlideIn 0.3s ease;
}

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

.shooter-feed-wallet {
    font-family: monospace;
    color: #67e8f9;
}

.shooter-feed-amount {
    color: #4ade80;
    font-weight: 600;
}

.shooter-feed-empty {
    text-align: center;
    color: var(--lux-muted, #9a9aa8);
    font-size: 13px;
    padding: 20px;
}

/* ── Result Message ── */
.shooter-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    display: none;
}

.shooter-result.success {
    display: block;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.shooter-result.error {
    display: block;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.shooter-result.info {
    display: block;
    background: rgba(103, 232, 249, 0.15);
    border: 1px solid rgba(103, 232, 249, 0.3);
    color: #67e8f9;
}

/* ── Shooting Animation ── */
.shooter-btn.shooting {
    animation: shootingShake 0.1s infinite;
}

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

/* Bullet particles */
.shooter-particle {
    font-size: 20px;
    text-shadow: 0 0 10px #a855f7;
    position: absolute;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFly 0.6s ease-out forwards;
}

@keyframes particleFly {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translateY(-100px); }
}

/* ── Cooldown Overlay ── */
.shooter-cooldown {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.shooter-btn.cooldown .shooter-cooldown {
    z-index: 10;
    opacity: 1;
}

/* ── Globe Visualization ── */
.shooter-globe-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 24px;
}

.shooter-globe {
    width: 100%;
    height: 100%;
    position: relative;
}

.shooter-globe-sphere {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(103, 232, 249, 0.3), rgba(168, 85, 247, 0.2) 50%, rgba(10, 10, 20, 0.8));
    border: 2px solid rgba(103, 232, 249, 0.3);
    box-shadow:
        0 0 40px rgba(103, 232, 249, 0.2),
        inset 0 0 60px rgba(168, 85, 247, 0.1);
    animation: globeRotate 20s linear infinite;
}

@keyframes globeRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Grid lines on globe */
.shooter-globe-grid {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(103, 232, 249, 0.1) 20px,
            rgba(103, 232, 249, 0.1) 21px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(103, 232, 249, 0.1) 20px,
            rgba(103, 232, 249, 0.1) 21px
        );
    animation: globeRotate 20s linear infinite;
    opacity: 0.5;
}

/* Shot lines container */
.shooter-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shooter-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #ff6b35, transparent);
    transform-origin: left center;
    animation: shotLine 1s ease-out forwards;
    opacity: 0;
}

@keyframes shotLine {
    0% { opacity: 0; width: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; width: 150px; }
}

/* Dot markers on globe */
.shooter-dot {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Center point (faucet) */
.shooter-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    background: #ff6b35;
    border-radius: 50%;
    box-shadow: 0 0 20px #ff6b35, 0 0 40px #ff6b35;
    animation: centerPulse 1s ease-in-out infinite;
    z-index: 10;
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px #ff6b35, 0 0 40px #ff6b35; }
    50% { transform: scale(1.2); box-shadow: 0 0 30px #ff6b35, 0 0 60px #ff6b35; }
}

/* Shooting line animation */
.shooter-shot-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #fbbf24, transparent);
    transform-origin: left center;
    border-radius: 2px;
    animation: shootLineOut 0.8s ease-out forwards;
    z-index: 5;
}

@keyframes shootLineOut {
    0% {
        width: 0;
        opacity: 1;
    }
    70% {
        width: 120px;
        opacity: 1;
    }
    100% {
        width: 120px;
        opacity: 0;
    }
}

/* Impact flash */
.shooter-impact {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #4ade80, transparent);
    border-radius: 50%;
    animation: impactFlash 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes impactFlash {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .apex-shooter {
        padding: 24px 16px;
        margin: 20px 16px;
    }

    .shooter-btn {
        width: 160px;
        height: 160px;
        font-size: 18px;
    }

    .shooter-btn-emoji {
        font-size: 36px;
    }

    .shooter-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .shooter-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .shooter-stat-label {
        margin-top: 0;
    }
}
/* ── Globe Visualization - IMPROVED ── */
.shooter-globe-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    perspective: 1000px;
}

.shooter-globe {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* Main globe sphere with world map effect */
.shooter-globe-sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(20, 10, 40, 0.95) 0%, rgba(10, 5, 30, 1) 100%);
    border: 3px solid rgba(168, 85, 247, 0.5);
    box-shadow:
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 120px rgba(236, 72, 153, 0.2),
        inset 0 0 80px rgba(168, 85, 247, 0.3),
        inset -30px -30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Animated latitude lines */
.shooter-globe-sphere::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 28px,
            rgba(168, 85, 247, 0.15) 28px,
            rgba(168, 85, 247, 0.15) 30px
        );
    animation: globeSpin 30s linear infinite;
}

/* Animated longitude lines */
.shooter-globe-sphere::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 28px,
            rgba(236, 72, 153, 0.12) 28px,
            rgba(236, 72, 153, 0.12) 30px
        );
    animation: globeSpin 25s linear infinite reverse;
}

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

/* Grid overlay - remove old one */
.shooter-globe-grid {
    display: none;
}

/* Center heart (the faucet) */
.shooter-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    margin: 0;
    font-size: 32px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 10;
    animation: heartBeat 1s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)) drop-shadow(0 0 20px rgba(236, 72, 153, 0.6));
}

.shooter-center-dot::before {
    content: '💜';
}

@keyframes heartBeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Flying heart animation */
.shooter-dot {
    position: absolute;
    font-size: 16px;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
    animation: heartFloat 3s ease-in-out infinite, heartPulse 1s ease-in-out infinite;
    z-index: 5;
}

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

@keyframes heartPulse {
    0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8)); }
    50% { opacity: 1; filter: drop-shadow(0 0 15px rgba(236, 72, 153, 1)); }
}

/* Shot line - now a love beam */
.shooter-shot-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7, transparent);
    transform-origin: left center;
    border-radius: 4px;
    animation: loveBeam 0.6s ease-out forwards;
    z-index: 5;
    box-shadow: 0 0 10px #ec4899, 0 0 20px #a855f7;
}

@keyframes loveBeam {
    0% {
        width: 0;
        opacity: 1;
    }
    60% {
        width: 100px;
        opacity: 1;
    }
    100% {
        width: 100px;
        opacity: 0;
    }
}

/* Impact - heart burst */
.shooter-impact {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.6), transparent);
    border-radius: 50%;
    animation: heartBurst 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 6;
}

.shooter-impact::before {
    content: '💜';
    animation: burstSpin 0.6s ease-out;
}

@keyframes heartBurst {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

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

/* Orbiting hearts around globe */
.shooter-globe::before,
.shooter-globe::after {
    content: '💜';
    position: absolute;
    font-size: 14px;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.8));
}

.shooter-globe::before {
    animation: orbit1 8s linear infinite;
}

.shooter-globe::after {
    animation: orbit2 12s linear infinite reverse;
    font-size: 12px;
}

@keyframes orbit1 {
    0% { top: 50%; left: 0; transform: translate(-50%, -50%); }
    25% { top: 0; left: 50%; transform: translate(-50%, -50%); }
    50% { top: 50%; left: 100%; transform: translate(-50%, -50%); }
    75% { top: 100%; left: 50%; transform: translate(-50%, -50%); }
    100% { top: 50%; left: 0; transform: translate(-50%, -50%); }
}

@keyframes orbit2 {
    0% { top: 20%; left: 20%; transform: translate(-50%, -50%); }
    25% { top: 20%; left: 80%; transform: translate(-50%, -50%); }
    50% { top: 80%; left: 80%; transform: translate(-50%, -50%); }
    75% { top: 80%; left: 20%; transform: translate(-50%, -50%); }
    100% { top: 20%; left: 20%; transform: translate(-50%, -50%); }
}

/* Particle hearts - better styling */
.shooter-particle {
    position: absolute;
    font-size: 18px !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.9));
}
