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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.hero h1 span {
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 0px;
    animation: fadeIn 1s ease-out;
}

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

/* Glitch Effect - Disabled for character animation */
.glitch {
    position: relative;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.3em;
    color: #06ffa5;
    text-transform: uppercase;
    opacity: 0.9;
    animation: pulse 3s ease-in-out infinite;
}

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

/* Info Panel */
.info-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 60px;
}

.stat-card {
    background: rgba(131, 56, 236, 0.1);
    border: 2px solid rgba(131, 56, 236, 0.3);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(131, 56, 236, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

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

.stat-card:hover {
    border-color: rgba(131, 56, 236, 0.8);
    box-shadow: 0 0 30px rgba(131, 56, 236, 0.4);
    transform: translateY(-5px);
}

.stat-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    background: linear-gradient(135deg, #06ffa5, #3a86ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    position: relative;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.2;
}

.stat-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.3;
}

/* Description Section */
.description {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(131, 56, 236, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    line-height: 1.8;
}

.description h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #15ff00be, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.description strong {
    color: #06ffa5;
    font-weight: bold;
}

/* Token Input Section */
.token-input-section {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(131, 56, 236, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    text-align: center;
}

.token-input-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #06ffa5, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-input-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.token-input-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.token-input {
    flex: 1;
    max-width: 500px;
    min-width: 250px;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(131, 56, 236, 0.5);
    border-radius: 50px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.token-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.token-input:focus {
    border-color: #06ffa5;
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.3);
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.control-btn {
    background: linear-gradient(135deg, #8338ec, #3a86ff);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.control-btn:hover::before {
    width: 300px;
    height: 300px;
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(131, 56, 236, 0.5);
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(131, 56, 236, 0.2);
}

.social-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(131, 56, 236, 0.8));
}

.x-logo {
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.social-link:hover .x-logo {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
}

/* Bottom spacer */
.bottom-spacer {
    height: 100vh;
    min-height: 800px;
}

/* Wallet tooltip */
#wallet-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #06ffa5;
    border-radius: 10px;
    padding: 10px 15px;
    color: #06ffa5;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.5);
    max-width: 400px;
    word-break: break-all;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 20px 15px;
    }

    .hero {
        padding: 40px 10px;
    }

    .description {
        padding: 25px;
    }

    .info-panel {
        grid-template-columns: 1fr;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-btn {
        width: 100%;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content > * {
    animation: fadeIn 1s ease-out forwards;
}

.hero { animation-delay: 0.2s; }
.info-panel { animation-delay: 0.4s; }
.description { animation-delay: 0.6s; }
.controls { animation-delay: 0.8s; }

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Token Health Metrics Panel */
.token-health-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #06ffa5;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.health-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.health-metric {
    background: rgba(6, 255, 165, 0.05);
    border: 1px solid rgba(6, 255, 165, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.health-metric:hover {
    background: rgba(6, 255, 165, 0.1);
    border-color: #06ffa5;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 255, 165, 0.2);
}

.metric-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, #06ffa5, #00d084);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.metric-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #06ffa5, #00d084);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(6, 255, 165, 0.5);
}

.metric-desc {
    font-size: 11px;
    color: #aaa;
    margin-top: 8px;
    line-height: 1.4;
}

.metric-desc span {
    color: #06ffa5;
    font-weight: bold;
}

/* Wallet Search Section */
.wallet-search-section {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #06ffa5;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    backdrop-filter: blur(10px);
}

.wallet-search-section h3 {
    margin: 0;
    padding: 0;
}
