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

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #000;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
}

/* ── Bogdanoff corner ── */
.bogdanoff-corner {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bogdanoff-corner img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
}

.bogdanoff-corner span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #fff;
}

/* ── Moon (bottom, half visible) ── */
.moon-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 560px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.moon-bottom img {
    width: 100%;
    display: block;
}

/* ── Nav ── */
nav.social-links {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: right;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 18px;
    display: inline-block;
    transition: color 0.15s ease;
}

.social-links a:hover {
    animation: link-bounce 0.25s infinite;
    color: #ff0000;
    filter: drop-shadow(0 0 6px #ff0000);
}

@keyframes link-bounce {
    0%   { transform: translate(0,0) scale(1) rotate(0deg); }
    20%  { transform: translate(-3px,-4px) scale(1.2) rotate(-4deg); }
    40%  { transform: translate(4px,3px) scale(1.15) rotate(4deg); }
    60%  { transform: translate(-2px,4px) scale(1.2) rotate(-3deg); }
    80%  { transform: translate(3px,-3px) scale(1.15) rotate(3deg); }
    100% { transform: translate(0,0) scale(1) rotate(0deg); }
}

/* ── Hero (video top half) ── */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* ── Title ── */
.hero-content h1 {
    font-family: 'Bebas Neue', 'Courier New', monospace;
    font-size: 5em;
    letter-spacing: 4px;
    margin-bottom: 10px;
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    2%, 64%  { transform: translate(2px,0) skew(0deg); }
    4%, 60%  { transform: translate(-2px,0) skew(0deg); }
    62%      { transform: translate(0,0) skew(5deg); }
}

.hero-content h1::before,
.hero-content h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-content h1::before {
    left: 2px;
    text-shadow: -2px 0 #ff0000;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.hero-content h1::after {
    left: -2px;
    text-shadow: -2px 0 #00ff00, 2px 2px #ff00ff;
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0%   { clip-path: inset(5% 0 90% 0); }
    10%  { clip-path: inset(70% 0 10% 0); }
    20%  { clip-path: inset(95% 0 2% 0); }
    30%  { clip-path: inset(30% 0 60% 0); }
    40%  { clip-path: inset(10% 0 85% 0); }
    50%  { clip-path: inset(80% 0 5% 0); }
    60%  { clip-path: inset(40% 0 45% 0); }
    70%  { clip-path: inset(90% 0 3% 0); }
    80%  { clip-path: inset(20% 0 75% 0); }
    90%  { clip-path: inset(60% 0 30% 0); }
    100% { clip-path: inset(5% 0 90% 0); }
}

@keyframes glitch-anim-2 {
    0%   { clip-path: inset(90% 0 5% 0); }
    10%  { clip-path: inset(10% 0 70% 0); }
    20%  { clip-path: inset(2% 0 95% 0); }
    30%  { clip-path: inset(60% 0 30% 0); }
    40%  { clip-path: inset(85% 0 10% 0); }
    50%  { clip-path: inset(5% 0 80% 0); }
    60%  { clip-path: inset(45% 0 40% 0); }
    70%  { clip-path: inset(3% 0 90% 0); }
    80%  { clip-path: inset(75% 0 20% 0); }
    90%  { clip-path: inset(30% 0 60% 0); }
    100% { clip-path: inset(90% 0 5% 0); }
}

.shake-pump {
    display: block;
    font-family: 'Bebas Neue', 'Courier New', monospace;
    font-size: 6em;
    letter-spacing: 6px;
    margin-bottom: 20px;
    color: #ff0000;
    animation: pump-shake 0.1s infinite;
}

@keyframes pump-shake {
    0%   { transform: translate(0,0) rotate(0deg); }
    15%  { transform: translate(-5px,4px) rotate(-3deg); }
    30%  { transform: translate(6px,-4px) rotate(3deg); }
    45%  { transform: translate(-4px,5px) rotate(-2deg); }
    60%  { transform: translate(5px,-5px) rotate(3deg); }
    75%  { transform: translate(-6px,3px) rotate(-3deg); }
    90%  { transform: translate(4px,4px) rotate(2deg); }
    100% { transform: translate(0,0) rotate(0deg); }
}

/* ── CA box ── */
.ca-box {
    background-color: rgba(30,30,30,0.85);
    border: 1px solid #fff;
    padding: 10px 16px;
    display: inline-block;
}

.ca-box span {
    margin-right: 10px;
    font-size: 0.85em;
}

.ca-box button {
    background-color: #555;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
}

.ca-box button:hover {
    background-color: #888;
    animation: pulse-glow 0.5s infinite alternate;
}

@keyframes pulse-glow {
    0%   { box-shadow: 0 0 4px #fff; }
    100% { box-shadow: 0 0 12px #fff, 0 0 20px #aaa; }
}

/* ── Floating characters ── */
.floaters {
    position: relative;
    height: 0;
    z-index: 5;
    pointer-events: none;
}

.floater {
    position: absolute;
    width: 180px;
    top: -220px;
}

.floater-left {
    left: 2%;
    animation: float-left 3s ease-in-out infinite;
    transform-origin: bottom center;
}

.floater-right {
    right: 2%;
    animation: float-right 3.4s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes float-left {
    0%   { transform: translateY(0px) rotate(-2deg); }
    30%  { transform: translateY(-18px) rotate(1deg); }
    60%  { transform: translateY(-8px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

@keyframes float-right {
    0%   { transform: translateY(0px) rotate(2deg); }
    35%  { transform: translateY(-20px) rotate(-1deg); }
    65%  { transform: translateY(-6px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

/* ── 3 Panels ── */
.panels-section {
    display: flex;
    position: relative;
    z-index: 1;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
}

.chart-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.55;
}

.panel-content {
    position: relative;
    z-index: 1;
    padding: 40px 28px;
    height: 100%;
    background: rgba(0,0,0,0.75);
}

.panel-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    letter-spacing: 3px;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 0 12px #fff, 0 0 24px rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.panel-content p {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    line-height: 1.9;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

/* ── CTA GIF ── */
.cta-gif {
    position: relative;
    z-index: 1;
    padding: 40px 20px 0;
    text-align: center;
}

.cta-gif img {
    max-width: 480px;
    width: 90%;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .cta-gif img { width: 95%; }
}

/* ── CTA ── */
.cta {
    padding: 60px 20px 80px;
    position: relative;
    z-index: 1;
}

.cta-button {
    background-color: #ff0000;
    color: #fff;
    padding: 16px 34px;
    text-decoration: none;
    font-family: 'Bebas Neue', 'Courier New', monospace;
    font-size: 1.4em;
    letter-spacing: 3px;
    border: 2px solid #fff;
    display: inline-block;
    transition: background-color 0.1s ease;
}

.cta-button:hover {
    animation: button-shake 0.25s infinite;
    background-color: #cc0000;
}

@keyframes button-shake {
    0%   { transform: translate(0,0) rotate(0deg); }
    25%  { transform: translate(-3px,2px) rotate(-1deg); }
    50%  { transform: translate(3px,-2px) rotate(1deg); }
    75%  { transform: translate(-2px,3px) rotate(0deg); }
    100% { transform: translate(0,0) rotate(0deg); }
}

/* ── DexScreener embed ── */
.chart-embed {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 600px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.chart-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .chart-embed { height: 450px; }
}

/* ── Footer ── */
footer {
    padding: 30px 20px 180px;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    font-size: 0.85em;
    color: rgba(255,255,255,0.5);
}

/* ── Mobile ── */
@media (max-width: 768px) {

    /* both floaters on mobile, scaled down */
    .floater { width: 100px; top: -130px; }
    .floater-left  { left: 1%; }
    .floater-right { right: 1%; }

    /* smaller bogdanoff corner */
    .bogdanoff-corner img { width: 40px; height: 40px; }
    .bogdanoff-corner span { font-size: 0.75em; letter-spacing: 1px; }

    /* nav — center and wrap */
    nav.social-links {
        text-align: center;
        padding: 10px 12px;
    }
    .social-links a { margin: 0 12px; }

    /* hero shorter on mobile */
    .hero { height: 55vh; }

    /* scale down title */
    .hero-content h1 { font-size: 2.8em; letter-spacing: 2px; }
    .shake-pump      { font-size: 3.4em; letter-spacing: 3px; }

    /* CA box wraps */
    .ca-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        max-width: 90vw;
        padding: 10px;
    }
    .ca-box span {
        font-size: 0.7em;
        margin-right: 0;
        word-break: break-all;
    }

    /* stack panels vertically */
    .panels-section { flex-direction: column; }
    .panel { min-height: 260px; }

    /* CTA */
    .cta-button {
        font-size: 1em;
        padding: 14px 20px;
        letter-spacing: 1px;
    }

    /* moon smaller */
    .moon-bottom { width: 320px; }

    /* footer spacing */
    footer { padding-bottom: 120px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2em; }
    .shake-pump      { font-size: 2.6em; }
    .bogdanoff-corner { display: none; }
}

