/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bright-purple: #b347ff;
    --magenta: #ff00ff;
    --pink: #ff69b4;
    --dark-bg-1: #1a1a2e;
    --dark-bg-2: #16213e;
    --black: #000000;
    --white: #ffffff;
    --cream: #fff8f0;
}

body {
    font-family: 'Space Mono', monospace;
    background: white;
    color: var(--white);
    min-height: 100vh;
    overflow: auto;
    position: relative;
}

html, body {
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Mobile override (scroll enabled) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;       /* allow scrolling on phones/tablets */
        -webkit-overflow-scrolling: touch;
    }
}

/* Abstract Background Shapes */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(40px);
}

.shape-1,
.shape-4 {
    background: var(--bright-purple);
}

.shape-2,
.shape-5 {
    background: var(--magenta);
}

.shape-3,
.shape-6 {
    background: var(--pink);
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float1 10s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -50px;
    animation: float2 15s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 400px;
    bottom: 10%;
    left: 5%;
    border-radius: 100px;
    animation: float3 8s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    bottom: -80px;
    right: 10%;
    animation: float4 12s ease-in-out infinite;
}

.shape-5 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 15%;
    animation: float5 5s ease-in-out infinite;
}

.shape-6 {
    width: 180px;
    height: 60px;
    top: 60%;
    right: 20%;
    border-radius: 30px;
    animation: float6 18s ease-in-out infinite;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.ticker {
    display: inline-block;
    font-family: 'Bangers', cursive;
    font-size: 28px;
    background: linear-gradient(135deg, var(--bright-purple) 0%, var(--magenta) 100%);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(179, 71, 255, 0.5), 4px 4px 0 rgba(0,0,0,0.3);
}

.pepe-hero {
    width: 280px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 30px rgba(179, 71, 255, 0.6));
    animation: bounce 3s ease-in-out infinite;
}

.headline {
    font-family: 'Permanent Marker', cursive;
    line-height: 1.1;
}

.line-1 {
    display: block;
    font-size: clamp(48px, 12vw, 80px);
    color: var(--bright-purple);
    text-shadow: 
        0 0 20px var(--bright-purple),
        0 0 40px var(--magenta),
        2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 4px;
}

.line-2 {
    display: block;
    font-size: clamp(32px, 8vw, 56px);
    color: var(--white);
    text-shadow: 
        0 0 15px var(--pink),
        2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

/* Contract Address Box */
.ca-box {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--bright-purple);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(179, 71, 255, 0.3), 6px 6px 0 rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.ca-label {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--bright-purple);
    letter-spacing: 0.5px;
    user-select: none;
    margin-right: 8px;
}

.ca-address {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--white);
    word-break: break-all;
    letter-spacing: 0.5px;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    transition: color 0.2s;
}

.ca-address:hover {
    color: var(--pink);
}

.copied-message {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--bright-purple) 0%, var(--magenta) 100%);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Space Mono', monospace;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(179, 71, 255, 0.5);
}

.copied-message.show {
    opacity: 1;
}

/* Navigation Buttons */
.mid-sec {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
	color: black;
}

.btn {
    display: inline-block;
    font-family: 'Bangers', cursive;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--bright-purple) 0%, var(--magenta) 50%, var(--pink) 100%);
    color: var(--white);
    text-decoration: none;
    border: 3px solid transparent;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(179, 71, 255, 0.4), 4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.15s ease;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 30px rgba(179, 71, 255, 0.6), 2px 2px 0 rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--magenta) 0%, var(--bright-purple) 50%, var(--pink) 100%);
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 15px rgba(179, 71, 255, 0.3), 0 0 0 rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding-bottom: 40px;
}

.pepe-footer {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(179, 71, 255, 0.5));
    animation: wiggle 2s ease-in-out infinite;
}

.footer-logo {
    text-align: center;
}

.logo-frepe {
    font-family: 'Permanent Marker', cursive;
    font-size: 42px;
    color: var(--bright-purple);
    text-shadow: 
        0 0 20px var(--bright-purple),
        0 0 40px var(--magenta),
        2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 3px;
}

.copyright {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--white);
    opacity: 0.7;
    margin-top: 15px;
    text-align: center;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

/* Floating particle animations */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 30px) rotate(5deg);
    }
    50% {
        transform: translate(20px, 60px) rotate(-3deg);
    }
    75% {
        transform: translate(-30px, 40px) rotate(8deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(45deg);
    }
    25% {
        transform: translate(-40px, 50px) rotate(55deg);
    }
    50% {
        transform: translate(-70px, 20px) rotate(35deg);
    }
    75% {
        transform: translate(-20px, -30px) rotate(50deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(-15deg);
    }
    33% {
        transform: translate(40px, -50px) rotate(-5deg);
    }
    66% {
        transform: translate(80px, -20px) rotate(-25deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-60px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-30px, -80px) scale(0.95);
    }
    75% {
        transform: translate(20px, -50px) scale(1.05);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(30deg);
    }
    20% {
        transform: translate(30px, -20px) rotate(40deg);
    }
    40% {
        transform: translate(60px, 10px) rotate(25deg);
    }
    60% {
        transform: translate(40px, 40px) rotate(35deg);
    }
    80% {
        transform: translate(10px, 20px) rotate(20deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(-10deg);
    }
    25% {
        transform: translate(-50px, 30px) rotate(5deg);
    }
    50% {
        transform: translate(-80px, -20px) rotate(-20deg);
    }
    75% {
        transform: translate(-30px, -50px) rotate(0deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .ticker {
        font-size: 22px;
        padding: 6px 18px;
    }

    .pepe-hero {
        width: 200px;
    }

    .ca-box {
        padding: 12px 15px;
    }

    .ca-label,
    .ca-address {
        font-size: 11px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .pepe-footer {
        width: 160px;
    }

    .logo-frepe {
        font-size: 32px;
    }

    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 120px; height: 120px; }
    .shape-3 { width: 100px; height: 250px; }
    .shape-4 { width: 150px; height: 150px; }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }

    .ticker {
        font-size: 18px;
    }

    .pepe-hero {
        width: 160px;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 220px;
        text-align: center;
    }

    .pepe-footer {
        width: 140px;
    }

    .logo-frepe {
        font-size: 28px;
    }
}
