* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0c0c0f 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    width: 100%;
}

/* Modern Header Styles */
.header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-header {
    background: linear-gradient(135deg, 
        rgba(12, 12, 15, 0.95) 0%, 
        rgba(26, 26, 46, 0.90) 50%, 
        rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header Background Elements */
.header-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.bg-orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
    top: -50px;
    left: 10%;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    top: -30px;
    right: 15%;
    animation-delay: 2s;
}

.bg-orb-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(74, 86, 226, 0.3) 0%, transparent 70%);
    bottom: -60px;
    left: 50%;
    animation-delay: 4s;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -10px) scale(1.1); }
    66% { transform: translate(20px, -5px) scale(0.9); }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    gap: 2rem;
}

.header-brand {
    flex: 1;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Enhanced Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-logo {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.1) 0%, 
        rgba(0, 168, 255, 0.1) 50%, 
        rgba(74, 86, 226, 0.1) 100%);
    border: 1px solid rgba(0, 212, 170, 0.2);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.15);
}

.logo-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
    animation: logoGlow 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes logoGlow {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.logo-container:hover::before {
    left: 100%;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.2);
}

.enhanced-logo:hover {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.2) 0%, 
        rgba(0, 168, 255, 0.2) 50%, 
        rgba(74, 86, 226, 0.2) 100%);
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 12px 40px rgba(0, 212, 170, 0.25);
}

.logo-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3));
}

.logo-container:hover .logo-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.4));
}

.brand-text {
    flex: 1;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 2rem 2rem 2rem;
    gap: 2rem;
}

.stats-section {
    flex: 1;
}

.controls-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

/* Enhanced Brand Text */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4aa, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.modern-title {
    position: relative;
    display: inline-block;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.title-gradient {
    background: linear-gradient(135deg, #00d4aa 0%, #00a8ff 50%, #4a56e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: titleShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

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

.title-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4aa, #00a8ff, #4a56e2);
    border-radius: 2px;
    transition: width 0.8s ease;
}

.modern-title:hover .title-underline {
    width: 100%;
}

.beta-badge {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 168, 255, 0.2));
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2);
    animation: betaPulse 2s ease-in-out infinite;
}

@keyframes betaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3); }
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.enhanced-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.subtitle-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.instructions {
    color: rgba(0, 212, 170, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Enhanced Navigation */
.navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-navigation {
    gap: 0.5rem;
    margin-bottom: 0;
}

.nav-btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modern-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.modern-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.modern-nav-btn:hover::before {
    left: 100%;
}

.nav-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-text {
    font-weight: 500;
    font-size: 0.85rem;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4aa, #00a8ff);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.modern-nav-btn:hover {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.1) 0%, 
        rgba(0, 168, 255, 0.1) 100%);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
}

.modern-nav-btn:hover .nav-icon {
    transform: scale(1.2);
}

.modern-nav-btn:hover .nav-indicator {
    width: 80%;
}

.nav-btn.active {
    background: rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.modern-nav-btn.active {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.2) 0%, 
        rgba(0, 168, 255, 0.15) 100%);
    border-color: rgba(0, 212, 170, 0.4);
    color: #00d4aa;
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.2);
}

.modern-nav-btn.active .nav-indicator {
    width: 100%;
    background: linear-gradient(90deg, #00d4aa, #00a8ff, #4a56e2);
}

.debug-btn {
    background: linear-gradient(135deg, 
        rgba(255, 159, 67, 0.1) 0%, 
        rgba(255, 107, 107, 0.1) 100%);
    border-color: rgba(255, 159, 67, 0.2);
}

.debug-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 159, 67, 0.2) 0%, 
        rgba(255, 107, 107, 0.2) 100%);
    border-color: rgba(255, 159, 67, 0.4);
    color: #ff9f43;
}

/* Header Extras */
.header-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.time-icon {
    font-size: 1rem;
    animation: clockTick 1s ease-in-out infinite;
}

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

.time-text {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Auto-refresh toggle */
.auto-refresh-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.auto-refresh-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.2);
}

.auto-refresh-toggle input[type="checkbox"] {
    margin: 0;
}

.auto-refresh-toggle label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auto-refresh-toggle label svg {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.auto-refresh-toggle:hover label svg {
    opacity: 1;
    transform: rotate(180deg);
}

.refresh-mode {
    margin-left: 15px;
}

.refresh-mode-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 6px 10px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.refresh-mode-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.refresh-mode-select option {
    background: rgba(20, 20, 30, 0.95);
    color: white;
}

/* Improved bubble animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    66% { 
        transform: translateY(-5px) rotate(-1deg); 
    }
}

@keyframes bubbleEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);

@keyframes bubbleClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
}
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}

.bubble.entering {
    animation: bubbleEntrance 0.6s ease-out;
}

/* Bubble new badge */
.new-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.bubble-deploy-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.bubble-deploy-time.bubble-new {
    color: #00d4aa;
    font-weight: bold;
}

.stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4aa;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.settings-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.select-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.select-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.enhanced-status {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.status-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.1), 
        rgba(0, 168, 255, 0.1));
    opacity: 0;
    animation: statusPulse 3s ease-in-out infinite;
    pointer-events: none;
}

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

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

.status-dot.connected {
    background: #00d4aa;
    animation: none;
}

.status-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #00d4aa, #00a8ff);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

.sort-select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-select option {
    background: #1a1a2e;
    color: white;
}

/* Bubble Container */
.bubble-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
    overflow: hidden;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 212, 170, 0.3);
    border-top: 3px solid #00d4aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Bubble Styles */
.bubble {
    position: absolute;
    border-radius: 50%;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    overflow: hidden;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.bubble:active {
    cursor: grabbing;
}

.bubble.dragging {
    cursor: grabbing;
    z-index: 1000;
    transition: none; /* Disable transition while dragging for smooth movement */
}

.bubble:hover {
    transform: scale(1.1);
    border-color: #00d4aa;
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.4);
    z-index: 10;
}

.bubble.clicked {
    animation: bubbleClick 0.3s ease-out;
}

/* Physics bounce effect */
.bubble.bouncing {
    animation: bubbleBounce 0.3s ease-out;
}

@keyframes bubbleBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.bubble-content {
    text-align: center;
    color: white;
    font-weight: 500;
    padding: 0.5rem;
    z-index: 2;
}

.bubble-symbol {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bubble-price {
    font-size: 0.7rem;
    opacity: 0.9;
    color: #00d4aa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bubble-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

/* Token Details Modal */
.token-details {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.token-details.show {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    opacity: 1;
    pointer-events: all;
}

.details-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(40px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.token-details.show .details-content {
    transform: translateY(0) scale(1);
}

.token-details.hiding {
    animation: modalSlideOut 0.3s ease-out forwards;
}

.token-details.hiding .details-content {
    animation: modalSlideOut 0.3s ease-out forwards;
}

/* Enhanced scrollbar for modal */
.details-content::-webkit-scrollbar {
    width: 6px;
}

.details-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.details-content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 170, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.details-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 170, 0.5);
}

.details-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInDown 0.5s ease forwards;
    animation-delay: 0.2s;
}

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

.token-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00d4aa;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
}

.token-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.token-info {
    flex: 1;
}

.token-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.token-info p {
    color: #00d4aa;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.9;
}

.close-btn {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 107, 107, 0.3);
}

.details-body {
    margin-bottom: 2.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.4s ease forwards;
}

.detail-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(45deg, #00d4aa, #00a8ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateX(5px);
}

.detail-row:hover::before {
    opacity: 1;
}

.detail-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 140px;
    text-align: left;
}

.detail-value {
    color: white;
    font-weight: 600;
    text-align: right;
    flex: 1;
    font-size: 0.95rem;
}

.contract-address {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    background: rgba(0, 212, 170, 0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(0, 212, 170, 0.2);
    transition: all 0.3s ease;
    max-width: 200px;
    word-break: break-all;
    line-height: 1.2;
}

.contract-address:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.4);
    transform: scale(1.02);
    color: #00d4aa;
}

/* Staggered entrance animation for detail rows */
.detail-row:nth-child(1) { animation-delay: 0.1s; }
.detail-row:nth-child(2) { animation-delay: 0.15s; }
.detail-row:nth-child(3) { animation-delay: 0.2s; }
.detail-row:nth-child(4) { animation-delay: 0.25s; }
.detail-row:nth-child(5) { animation-delay: 0.3s; }
.detail-row:nth-child(6) { animation-delay: 0.35s; }
.detail-row:nth-child(7) { animation-delay: 0.4s; }
.detail-row:nth-child(8) { animation-delay: 0.45s; }
.detail-row:nth-child(9) { animation-delay: 0.5s; }
.detail-row:nth-child(10) { animation-delay: 0.55s; }
.detail-row:nth-child(11) { animation-delay: 0.6s; }
.detail-row:nth-child(12) { animation-delay: 0.65s; }
.detail-row:nth-child(13) { animation-delay: 0.7s; }
.detail-row:nth-child(14) { animation-delay: 0.75s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Special styling for price values */
.detail-row:has(.detail-label:contains("Price")) .detail-value {
    color: #00d4aa;
    font-weight: 700;
}

/* Special styling for volume values */
.detail-row:has(.detail-label:contains("Volume")) .detail-value {
    color: #00a8ff;
    font-weight: 700;
}

/* EVM Section */
.evm-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.evm-section h4 {
    margin-bottom: 1rem;
    color: #00d4aa;
    font-weight: 600;
}

.evm-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.evm-btn {
    padding: 0.75rem 1rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 8px;
    color: #00d4aa;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.evm-btn:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: #00d4aa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .header-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .stats-section {
        width: 100%;
        text-align: center;
    }
    
    .controls-section {
        width: 100%;
        align-items: center;
    }
    
    .controls-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .settings-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .brand-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }
    
    .logo-container {
        padding: 0.4rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .stats {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.5rem 0.75rem;
    }
    
    .bubble-container {
        height: calc(100vh - 320px);
        padding: 1rem;
    }
    
    .details-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .navigation {
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Color variations for bubbles */
.bubble-1 { background: linear-gradient(135deg, rgba(0, 212, 170, 0.6), rgba(0, 168, 255, 0.6)); }
.bubble-2 { background: linear-gradient(135deg, rgba(255, 107, 107, 0.6), rgba(255, 159, 67, 0.6)); }
.bubble-3 { background: linear-gradient(135deg, rgba(154, 236, 219, 0.6), rgba(74, 86, 226, 0.6)); }
.bubble-4 { background: linear-gradient(135deg, rgba(255, 159, 67, 0.6), rgba(255, 107, 107, 0.6)); }
.bubble-5 { background: linear-gradient(135deg, rgba(116, 185, 255, 0.6), rgba(98, 126, 234, 0.6)); }
.bubble-6 { background: linear-gradient(135deg, rgba(255, 195, 160, 0.6), rgba(255, 107, 107, 0.6)); }

/* Action Buttons */
.details-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease forwards;
    animation-delay: 0.8s;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: left;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-2px);
    color: #00d4aa;
}

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

.action-btn svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.action-btn:hover svg {
    opacity: 1;
}

/* Whitelist Popup */
.whitelist-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 15, 0);
    backdrop-filter: blur(0px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.whitelist-popup.show {
    background: rgba(12, 12, 15, 0.9);
    backdrop-filter: blur(20px);
    opacity: 1;
    pointer-events: all;
}

.whitelist-popup.hiding {
    background: rgba(12, 12, 15, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
}

.popup-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.98) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 
                0 0 0 1px rgba(255, 255, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    padding-right: 3.5rem;
    border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.popup-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #00d4aa, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.popup-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popup-title-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.popup-title-icon:hover::before {
    left: 100%;
}

.popup-title-icon svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3));
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
    animation: iconEntrance 0.6s ease forwards;
    animation-delay: 0.3s;
}

.popup-title-icon:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.3);
    transform: scale(1.05);
}

.popup-title-icon:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.5));
}

.popup-title-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-20px);
    animation: titleTextEntrance 0.5s ease forwards;
    animation-delay: 0.5s;
}

@keyframes titleTextEntrance {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Close button specifically for popup header */
.popup-header .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header .close-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 107, 107, 0.3);
}

.popup-body {
    padding: 3rem 2rem;
    text-align: center;
}

.whitelist-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.whitelist-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 159, 67, 0.2));
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.whitelist-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.whitelist-message h4 {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.whitelist-message .description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.whitelist-message .sub-text {
    color: rgba(0, 212, 170, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

.popup-footer {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid rgba(0, 212, 170, 0.1);
    background: rgba(255, 255, 255, 0.02);
    justify-content: center;
}

.popup-footer .popup-btn {
    flex: 1;
    max-width: 160px;
    width: 160px;
}

.popup-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.popup-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.popup-btn.primary {
    background: linear-gradient(45deg, #00d4aa, #00a8ff);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.popup-btn.primary:hover {
    background: linear-gradient(45deg, #00b894, #0088cc);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.4);
}

.popup-btn.primary:active {
    transform: translateY(-1px);
}

.popup-btn svg {
    transition: all 0.3s ease;
}

.popup-btn:hover svg {
    transform: scale(1.1);
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 107, 107, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg) translateY(-10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg) translateY(0);
    }
}

/* Mobile responsive for action buttons */
@media (max-width: 768px) {
    .details-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .popup-content {
        width: 95%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .popup-header {
        padding: 1.5rem;
        padding-right: 3rem;
    }
    
    .popup-header .close-btn {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .popup-title {
        font-size: 1.2rem;
        gap: 0.75rem;
    }
    
    .popup-title-icon {
        width: 40px;
        height: 40px;
    }
    
    .popup-title-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .popup-body {
        padding: 2rem 1.5rem;
    }
    
    .whitelist-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .whitelist-message h4 {
        font-size: 1.5rem;
    }
    
    .whitelist-message .description {
        font-size: 1rem;
    }
    
    .whitelist-message .sub-text {
        font-size: 0.9rem;
    }
    
    .popup-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .popup-footer .popup-btn {
        max-width: none;
        flex: none;
    }
    
    .popup-btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MODERN FOOTER STYLES
   ============================================ */
.modern-footer {
    background: linear-gradient(135deg, 
        rgba(12, 12, 15, 0.98) 0%, 
        rgba(22, 33, 62, 0.95) 50%, 
        rgba(26, 26, 46, 0.98) 100%);
    border-top: 1px solid rgba(0, 212, 170, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.5), 
        rgba(0, 168, 255, 0.5), 
        rgba(74, 86, 226, 0.5), 
        transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.3));
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa, #00a8ff, #4a56e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 80px;
}

.footer-stat:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00d4aa;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Footer Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4aa;
    margin-bottom: 0.5rem;
    position: relative;
}

.link-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d4aa, #00a8ff);
    border-radius: 1px;
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 1px;
    background: #00d4aa;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #00d4aa;
    transform: translateX(8px);
}

.footer-link:hover::before {
    width: 6px;
}

/* Footer Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4aa;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 170, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    opacity: 0;
}

.social-link:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.social-link:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    color: #00d4aa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.2);
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4aa;
    margin-bottom: 0.5rem;
}

.tech-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    color: #00d4aa;
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.version, .build {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', monospace;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot.online {
    width: 8px;
    height: 8px;
    background: #00d4aa;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

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

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-stat {
        min-width: auto;
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .tech-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-meta {
        flex-wrap: wrap;
        justify-content: center;
    }
} 