/* ClaimFastPepe - Black & Neon Green Theme */
:root {
    /* Color Palette */
    --black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --neon-green: #00ff41;
    --bright-green: #39ff14;
    --dark-green: #00cc33;
    --pepe-green: #4ade80;
    --gold: #ffd700;
    --white: #ffffff;
    --text-muted: #888888;
    --danger: #ff4444;
    --warning: #ffaa00;
    --success: #00ff41;
    
    /* Glow Effects */
    --glow-green: 0 0 20px var(--neon-green);
    --glow-bright: 0 0 30px var(--bright-green);
    --text-glow: 0 0 10px var(--neon-green);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-primary: 'Orbitron', 'Courier New', monospace;
    --font-secondary: 'Rajdhani', 'Arial', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    color: var(--white);
    font-family: var(--font-secondary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.05;
    background-image:
        linear-gradient(var(--neon-green) 1px, transparent 1px),
        linear-gradient(90deg, var(--neon-green) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating PEPE Coins */
.floating-coins-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--neon-green) 0%, var(--dark-green) 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatUp 15s linear infinite;
}

.floating-coin::before {
    content: '🐸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    filter: brightness(1.2);
}

.floating-coin:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-coin:nth-child(2) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.floating-coin:nth-child(3) {
    left: 80%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Wallet Info Bar */
#wallet-info-bar {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow-green);
    max-width: 280px;
    transition: all 0.3s ease;
}

#wallet-info-bar:hover {
    box-shadow: var(--glow-bright);
    transform: translateY(-2px);
}

#wallet-info-bar > div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

#wallet-info-bar > div:last-child {
    margin-bottom: 0;
}

#display-wallet-address {
    font-family: var(--font-primary);
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--neon-green);
    font-size: 12px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#change-wallet-btn {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 11px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

#change-wallet-btn:hover {
    background: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 10px var(--neon-green);
}

#total-pepe-earned {
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Notification Bell */
.notification-bell {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow-green);
    transition: all 0.3s ease;
}

.notification-bell:hover {
    box-shadow: var(--glow-bright);
    transform: scale(1.1);
}

.notification-bell i {
    color: var(--neon-green);
    font-size: 20px;
    transition: all 0.3s ease;
}

.notification-bell:hover i {
    animation: bellRing 0.6s ease-in-out;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.notification-bell .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--danger);
}

.badge.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Header */
.header-container {
    text-align: center;
    padding: 60px 20px 40px;
    background: radial-gradient(circle at center, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.header-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: headerGlow 3s ease-in-out infinite;
}

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

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.pepe-logo {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--neon-green) 0%, var(--dark-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    filter: drop-shadow(var(--glow-green));
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
}

.pepe-logo::before {
    content: '🐸';
    animation: logoSpin 10s linear infinite;
}

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

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

.logo {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: var(--text-glow);
    letter-spacing: 3px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: var(--text-glow); }
    100% { text-shadow: 0 0 20px var(--neon-green), 0 0 30px var(--bright-green); }
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 400;
}

.stats-ticker {
    background: rgba(0, 255, 65, 0.1);
    border: 2px dashed var(--neon-green);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.stats-ticker::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-green), transparent, var(--neon-green));
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

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

.ticker-content {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transform: rotate(45deg);
    z-index: -1;
    animation: cardShimmer 6s ease-in-out infinite;
}

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

.card:hover {
    border-color: var(--neon-green);
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

.card.animate {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--neon-green);
    text-shadow: var(--text-glow);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-title i {
    font-size: 1.5em;
    animation: iconPulse 2s ease-in-out infinite;
}

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

/* Greeting */
#greeting {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--neon-green), var(--gold), var(--neon-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 3s linear infinite;
}

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

/* Input Styles */
.input-group {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.input-field:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: var(--glow-green);
    background: rgba(0, 0, 0, 0.8);
}

.input-field::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.wallet-validation {
    margin-top: 10px;
    color: var(--success);
    font-weight: 600;
}

/* CAPTCHA */
.captcha-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--glow-green);
}

.captcha-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--neon-green);
    margin-bottom: 15px;
    text-shadow: var(--text-glow);
}

/* Progress Bar */
.progress-container {
    margin: 25px 0;
    text-align: center;
}

.progress-info-text {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
}

.withdraw-progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--neon-green);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.withdraw-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--bright-green));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: bold;
    font-family: var(--font-primary);
    transition: width 1s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px var(--neon-green);
}

.withdraw-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 18px 40px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.claim-btn {
    background: linear-gradient(135deg, var(--neon-green), var(--bright-green));
    color: var(--black);
    box-shadow: var(--glow-green);
    text-shadow: none;
}

.claim-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--glow-bright);
}

.claim-btn:disabled {
    background: linear-gradient(135deg, var(--text-muted), #666666);
    color: var(--white);
    cursor: not-allowed;
    box-shadow: none;
}

.claim-shiny::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Ripple Effect for Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Countdown Timer */
.countdown {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--warning);
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 0 10px var(--warning);
    padding: 15px;
    background: rgba(255, 170, 0, 0.1);
    border: 2px dashed var(--warning);
    border-radius: var(--radius-md);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.8));
    border: 2px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    border-color: var(--neon-green);
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.feature-title {
    font-family: var(--font-primary);
    color: var(--neon-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Leaderboard */
.leaderboard {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.leaderboard th {
    background: rgba(0, 255, 65, 0.2);
    color: var(--neon-green);
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid var(--neon-green);
}

.leaderboard td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
    transition: all 0.3s ease;
}

.leaderboard tr:hover {
    background: rgba(0, 255, 65, 0.1);
    transform: scale(1.02);
}

.leaderboard tr:nth-child(even) {
    background: rgba(0, 255, 65, 0.05);
}

.rank-1, .rank-2, .rank-3 {
    position: relative;
}

.rank-1::before { content: '🥇'; position: absolute; left: -20px; }
.rank-2::before { content: '🥈'; position: absolute; left: -20px; }
.rank-3::before { content: '🥉'; position: absolute; left: -20px; }

.wallet-address {
    font-family: var(--font-primary);
    color: var(--neon-green);
    font-size: 0.8rem;
}

/* Status Messages */
.status-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.status-warning {
    background: rgba(255, 170, 0, 0.2);
    border: 2px solid var(--warning);
    color: var(--warning);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

.status-success {
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid var(--success);
    color: var(--success);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.status-error {
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid var(--danger);
    color: var(--danger);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

/* Live Activity Notifications */
.cyber-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-md);
    padding: 20px;
    max-width: 320px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow-green);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.cyber-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cyber-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.2), transparent);
    animation: scanLine 2s infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.notification-emoji {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.notification-text {
    color: var(--white);
    font-weight: 600;
    line-height: 1.4;
}

.notification-progress {
    height: 4px;
    background: rgba(0, 255, 65, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--bright-green));
    width: 100%;
    animation: progressBar 3s linear;
}

@keyframes progressBar {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* PEPE Mascot */
.pepe-mascot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--neon-green) 0%, var(--dark-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    cursor: pointer;
    z-index: 100;
    box-shadow: var(--glow-green);
    transition: all 0.3s ease;
    animation: mascotFloat 4s ease-in-out infinite;
}

.pepe-mascot::before {
    content: '🐸';
}

.pepe-mascot:hover {
    transform: scale(1.1);
    animation-duration: 2s;
}

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

/* Speech Bubble */
.speech-bubble {
    position: fixed;
    bottom: 130px;
    left: 130px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    max-width: 250px;
    z-index: 101;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow-green);
}

.speech-bubble.show {
    opacity: 1;
    transform: scale(1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 30px;
    border: 12px solid transparent;
    border-top-color: var(--neon-green);
}

.speech-bubble p {
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

/* Ad Container */
.ad-container {
    background: rgba(26, 26, 26, 0.5);
    border: 2px dashed rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-md);
    padding: 40px;
    margin: 30px 0;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-container.empty::after {
    content: 'Advertisement Space';
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 600;
}

.ad-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transform: rotate(45deg);
    animation: adShimmer 8s ease-in-out infinite;
}

@keyframes adShimmer {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(0, 0, 0, 0.95));
    border-top: 2px solid var(--neon-green);
    padding: 40px 0 20px;
    margin-top: 60px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--neon-green);
    font-family: var(--font-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--neon-green);
    text-shadow: var(--text-glow);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--neon-green);
    transform: translateY(-3px);
    text-shadow: var(--text-glow);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-muted);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--neon-green), var(--bright-green));
    border-radius: 6px;
    box-shadow: var(--glow-green);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn {
        font-size: 1rem;
        padding: 15px 30px;
        min-width: 180px;
    }
    
    #wallet-info-bar {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        max-width: 220px;
    }
    
    .notification-bell {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
    }
    
    .pepe-mascot {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .speech-bubble {
        bottom: 100px;
        left: 100px;
        max-width: 200px;
    }
    
    .cyber-notification {
        bottom: 20px;
        right: 20px;
        max-width: 280px;
    }
    
    .leaderboard {
        font-size: 0.8rem;
    }
    
    .leaderboard th,
    .leaderboard td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px 80px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .pepe-logo {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .input-field {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 12px 25px;
        min-width: 160px;
    }
    
    .stats-ticker {
        padding: 10px 15px;
    }
    
    .ticker-content {
        font-size: 0.9rem;
    }
    
    #wallet-info-bar {
        font-size: 11px;
        padding: 6px 10px;
        max-width: 180px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Animations for page load */
.card:not(.animate) {
    opacity: 0;
    transform: translateY(30px);
}

.card.animate {
    animation: cardFadeIn 0.8s ease forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PEPE Bank Heist Game Styles */
.game-launch-container {
    text-align: center;
    margin: 20px 0;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.game-stats .stat-item {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 15px;
    text-align: center;
    min-width: 80px;
}

.game-stats .stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-green);
    font-family: var(--font-primary);
}

.game-stats .stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.game-modal.active {
    display: flex;
}

.game-modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.98));
    border: 3px solid var(--neon-green);
    border-radius: var(--radius-lg);
    width: 90%;
    height: 90%;
    max-width: 900px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
    animation: gameModalFadeIn 0.5s ease;
}

@keyframes gameModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.game-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Game HUD */
.game-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.2), rgba(0, 0, 0, 0.8));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--neon-green);
    z-index: 100;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    font-family: var(--font-primary);
    font-weight: bold;
    min-width: 80px;
    justify-content: center;
    font-size: 0.9rem;
}

.combo-hud {
    border-color: rgba(255, 170, 0, 0.5);
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
}

.combo-hud.active {
    animation: comboGlow 0.5s ease;
    border-color: var(--warning);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.5);
}

@keyframes comboGlow {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.multiplier-hud {
    border-color: rgba(255, 68, 68, 0.5);
    background: rgba(255, 68, 68, 0.1);
    color: var(--danger);
}

.multiplier-hud.boosted {
    animation: multiplierPulse 1s infinite;
    border-color: var(--danger);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

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

.escape-btn {
    background: linear-gradient(135deg, var(--warning), #ff8800);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
    animation: stopButtonPulse 2s infinite;
}

@keyframes stopButtonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 170, 0, 0.8);
    }
}

.escape-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 170, 0, 0.8);
}

/* Game Area */
.game-area {
    width: 100%;
    height: 100%;
    position: relative;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* PEPE Character */
.pepe-character {
    position: absolute;
    bottom: 30px;
    left: 50px;
    text-align: center;
    z-index: 50;
}

.pepe-sprite {
    font-size: 48px;
    animation: pepeHeistIdle 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

@keyframes pepeHeistIdle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-2deg);
    }
    75% {
        transform: translateY(-3px) rotate(2deg);
    }
}

.character-name {
    color: var(--neon-green);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
    text-shadow: 0 0 10px var(--neon-green);
}

/* Coin Rain Background */
.coin-rain-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.rain-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(0, 255, 65, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 215, 0, 0.1) 50%, transparent 60%);
    background-size: 30px 30px;
    animation: rainMove 2s linear infinite;
}

@keyframes rainMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.05) 2px,
            rgba(0, 255, 65, 0.05) 4px
        );
    animation: speedLinesMove 1s linear infinite;
}

@keyframes speedLinesMove {
    0% {
        transform: translateX(-20px) translateY(-20px);
    }
    100% {
        transform: translateX(20px) translateY(20px);
    }
}

/* Coins Container */
#coins-container {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Game Coin */
.game-coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--gold) 0%, #ffaa00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.1s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: coinFastFloat 1.5s ease-in-out infinite, coinMove 0.8s ease-in-out infinite;
    z-index: 10;
}

.game-coin::before {
    content: '🪙';
    animation: coinFastSpin 1s linear infinite;
}

/* Obstacle Coin (Red) */
.game-coin.obstacle {
    background: radial-gradient(circle, var(--danger) 0%, #cc0000 100%);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
    animation: coinFastFloat 1.5s ease-in-out infinite, coinMove 0.8s ease-in-out infinite, obstaclePulse 1s infinite;
}

.game-coin.obstacle::before {
    content: '💀';
    animation: coinFastSpin 1s linear infinite;
}

@keyframes obstaclePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 68, 68, 0.9);
    }
}

/* Golden Coin (Rare) */
.game-coin.golden {
    background: radial-gradient(circle, #ffd700 0%, #ffaa00 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
    width: 35px;
    height: 35px;
    font-size: 20px;
    animation: coinFastFloat 1s ease-in-out infinite, coinMove 0.5s ease-in-out infinite, goldenGlow 0.5s infinite alternate;
}

.game-coin.golden::before {
    content: '💎';
    animation: coinFastSpin 0.5s linear infinite;
}

@keyframes goldenGlow {
    0% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }
}

@keyframes coinFastFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.15);
    }
}

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

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

.game-coin:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.game-coin.collected {
    animation: coinCollected 0.5s ease forwards;
    pointer-events: none;
}

@keyframes coinCollected {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) translateY(-50px);
        opacity: 0;
    }
}

/* Game Instructions */
.game-instructions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    animation: instructionsPulse 3s ease-in-out infinite;
}

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

.game-instructions h3 {
    color: var(--neon-green);
    font-family: var(--font-primary);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-green);
}

.game-instructions p {
    color: var(--white);
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Close Game Button */
.close-game {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid var(--danger);
    color: var(--danger);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 200;
}

.close-game:hover {
    background: var(--danger);
    color: var(--white);
    transform: scale(1.1);
}

/* Result Modal */
.result-modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.98));
    border: 3px solid var(--neon-green);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
    animation: resultModalFadeIn 0.5s ease;
}

@keyframes resultModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.result-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px currentColor;
}

.result-title.success {
    color: var(--success);
}

.result-title.failure {
    color: var(--danger);
}

.result-stats {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.result-stat {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-family: var(--font-primary);
}

.result-stat-label {
    color: var(--text-muted);
}

.result-stat-value {
    color: var(--neon-green);
    font-weight: bold;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.result-actions .btn {
    min-width: 130px;
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    animation: confettiFall 3s linear infinite;
}

.confetti:nth-child(odd) {
    background: var(--neon-green);
    animation-delay: -0.5s;
}

.confetti:nth-child(3n) {
    background: var(--danger);
    animation-delay: -1s;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Floating Score Animation */
.floating-score {
    position: absolute;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
    pointer-events: none;
    animation: floatingScore 1s ease-out forwards;
    z-index: 100;
}

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

/* Mobile Responsive for Game */
@media (max-width: 768px) {
    .game-modal-content {
        width: 95%;
        height: 95%;
    }

    .game-hud {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .hud-item {
        font-size: 0.7rem;
        padding: 4px 8px;
        min-width: 60px;
        gap: 4px;
    }

    .escape-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .pepe-character {
        bottom: 20px;
        left: 20px;
    }

    .pepe-sprite {
        font-size: 36px;
    }

    .bank-vault {
        right: 20px;
    }

    .vault-door {
        font-size: 48px;
    }

    .game-coin {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .game-instructions {
        padding: 15px 20px;
        max-width: 280px;
    }

    .game-instructions h3 {
        font-size: 1.2rem;
    }

    .game-instructions p {
        font-size: 0.8rem;
    }

    .result-modal-content {
        padding: 25px;
    }

    .result-title {
        font-size: 1.5rem;
    }

    .result-actions {
        flex-direction: column;
        align-items: center;
    }

    .result-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.hidden { display: none !important; }
.visible { display: block !important; }
