* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #ff0080;
    --accent-color: #00d4ff;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(0, 255, 136, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#chartCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.25;
    image-rendering: crisp-edges;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
}

.logo-text {
    text-align: center;
}

.utility-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: unstable-float 3s ease-in-out infinite;
}

.token-name {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px var(--glow-color);
}

.token-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes unstable-shake {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-0.5deg);
    }
    20% {
        transform: translate(2px, 1px) rotate(0.5deg);
    }
    30% {
        transform: translate(-1px, 1px) rotate(-0.3deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(0.3deg);
    }
    50% {
        transform: translate(-2px, 1px) rotate(-0.5deg);
    }
    60% {
        transform: translate(1px, 2px) rotate(0.5deg);
    }
    70% {
        transform: translate(-1px, -1px) rotate(-0.3deg);
    }
    80% {
        transform: translate(2px, -1px) rotate(0.3deg);
    }
    90% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }
}

@keyframes unstable-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes unstable-tilt {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(0.5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-0.5deg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.unstable-shake {
    animation: unstable-shake 0.5s ease-in-out infinite;
}

.unstable-float {
    animation: unstable-float 4s ease-in-out infinite;
}

.unstable-tilt {
    animation: unstable-tilt 6s ease-in-out infinite;
}

.blink-text {
    animation: blink 1.5s ease-in-out infinite;
    color: var(--secondary-color);
    font-weight: 600;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.glitch-wrapper {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary-color), 2px 2px var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    20% {
        clip: rect(54px, 9999px, 66px, 0);
    }
    40% {
        clip: rect(28px, 9999px, 84px, 0);
    }
    60% {
        clip: rect(45px, 9999px, 78px, 0);
    }
    80% {
        clip: rect(38px, 9999px, 52px, 0);
    }
    100% {
        clip: rect(62px, 9999px, 88px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }
    20% {
        clip: rect(41px, 9999px, 74px, 0);
    }
    40% {
        clip: rect(78px, 9999px, 85px, 0);
    }
    60% {
        clip: rect(54px, 9999px, 61px, 0);
    }
    80% {
        clip: rect(28px, 9999px, 96px, 0);
    }
    100% {
        clip: rect(88px, 9999px, 98px, 0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mechanism-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.mechanism-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mechanism-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: var(--bg-darker);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.mechanism-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.step-percentage {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.percentage-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.percentage-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.mechanism-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    animation: unstable-float 2s ease-in-out infinite;
}

.code-preview {
    margin: 3rem 0;
    padding: 2rem;
}

.code-block {
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    position: relative;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.code-block code {
    color: var(--primary-color);
}

.code-block .unstable-code {
    animation: unstable-tilt 10s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: unstable-float 3s ease-in-out infinite;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.unstable-card-1 {
    animation: unstable-float 5s ease-in-out infinite;
    animation-delay: 0s;
}

.unstable-card-2 {
    animation: unstable-float 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.unstable-card-3 {
    animation: unstable-float 5s ease-in-out infinite;
    animation-delay: 3s;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.link-card::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;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.link-card.pump-fun:hover {
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.link-card.dexscreener:hover {
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.link-card.twitter:hover {
    box-shadow: 0 10px 40px rgba(255, 0, 128, 0.3);
}

.unstable-link-1 {
    animation: unstable-tilt 8s ease-in-out infinite;
    animation-delay: 0s;
}

.unstable-link-2 {
    animation: unstable-tilt 8s ease-in-out infinite;
    animation-delay: 2.5s;
}

.unstable-link-3 {
    animation: unstable-tilt 8s ease-in-out infinite;
    animation-delay: 5s;
}

.link-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.link-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.dex-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.link-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.link-arrow {
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.unstable-info-1 {
    animation: unstable-tilt 7s ease-in-out infinite;
    animation-delay: 0s;
}

.unstable-info-2 {
    animation: unstable-tilt 7s ease-in-out infinite;
    animation-delay: 3.5s;
}

.stats-ticker {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.unstable-ticker {
    animation: unstable-shake 0.8s ease-in-out infinite;
}

.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .logo-image {
        width: 80px;
        height: 80px;
    }

    .token-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mechanism-flow {
        flex-direction: column;
    }

    .mechanism-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .mechanism-step {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .links-section {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .link-card {
        padding: 1.5rem;
    }

    .container {
        padding: 1rem;
    }

    .code-block {
        padding: 1rem;
    }

    .code-block pre {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .token-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .link-card {
        flex-direction: column;
        text-align: center;
    }

    .link-arrow {
        display: none;
    }
}
