@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;700;900&family=Open+Sans:wght@300;400;700&display=swap');

@font-face {
    font-family: Genty;
    src: url(Genty.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'Londrina Solid';
    src: url(Roboto-Regular.ttf);
    font-display: swap;
}

/* -------------------- RESET -------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary, time,
mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

* {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

body {
    min-width: 0;
    min-height: 100vh;
    font-size: clamp(1.6rem, 0.9vw + 1rem, 1.8rem);
    line-height: 1.9;
    letter-spacing: -0.3px;
    text-shadow: #000 -2px 2px 1px;
    text-align: center;
    font-family: 'Londrina Solid', sans-serif;
    font-weight: 300;
    background: url(images/headerbg.png) no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    color: #ccff00;
    overflow-x: hidden;
    overflow-y: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

img {
    display: inline-block;
}

audio {
    display: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clear {
    clear: both;
}

.italic {
    font-style: italic;
}

em,
.colored {
    color: #fff;
    text-shadow: #000 -2px 2px 1px;
    font-weight: 500;
    font-family: Genty, sans-serif;
}

/* -------------------- ENTRY SCREEN -------------------- */

.enter {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    background-color: #ccff00;
    z-index: 500;
    display: none;
    font-family: Genty, sans-serif;
}

.enter.visible {
    display: block;
}

.enter a {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 1;
    text-decoration: none;
    color: white;
    transition: text-decoration 200ms linear;
    cursor: pointer !important;
}

/* -------------------- POPUP -------------------- */

.pop-up {
    position: fixed;
    z-index: 100;
    display: none;
    width: min(80rem, 90vw);
    height: min(80dvh, 80rem);
    min-height: 30rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: clamp(1rem, 2vw, 3rem);
    background: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.8rem, 1vw + 1rem, 3rem);
    line-height: 1.4;
    text-align: left;
    overflow: auto;
}

.pop-up.visible {
    display: block;
}

.pop-up .cross {
    text-decoration: none;
    color: #000;
    position: absolute;
    top: -1rem;
    right: 0.5rem;
    font-size: clamp(4rem, 6vw, 6rem);
    line-height: 1;
    z-index: 2;
}

.pop-up video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* -------------------- MAIN WRAPPER -------------------- */

.wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* -------------------- AUDIO BUTTON -------------------- */

a.mute {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    background: url(images/speaker.png) no-repeat center;
    background-size: contain;
    border-radius: 50%;
    position: fixed;
    top: max(1.25rem, env(safe-area-inset-top));
    left: max(1rem, env(safe-area-inset-left));
    z-index: 400;
}

a.mute.muted {
    background-image: url(images/speakerMute.png);
    background-size: contain;
}

/* -------------------- NAVIGATION -------------------- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: max(0.8rem, env(safe-area-inset-top)) 1rem 0.8rem;
    z-index: 51;
    background: rgb(0 0 0 / 20%);
    border-bottom: 3px solid rgb(0 0 0 / 10%);
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem clamp(0.5rem, 2vw, 3rem);
}

nav ul li {
    display: block;
    margin: 0;
}

nav ul li a {
    display: inline-block;
    padding: 0.2rem 0.3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1.4rem, 1vw + 0.8rem, 1.8rem);
    line-height: 1.5;
    color: #ccff00;
    text-shadow: #000 -2px 2px 1px;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ccff00;
    text-shadow: #fff -2px 2px 1px;
    transition: all 200ms linear;
}

/* -------------------- DECORATIVE IMAGES -------------------- */

.palecoin,
.dork {
    position: fixed;
    z-index: 51;
    bottom: 0;
    height: clamp(12rem, 30vh, 30vh);
    max-width: 35vw;
    object-fit: contain;
    pointer-events: none;
}

.palecoin {
    left: 0;
}

.dork {
    right: 0;
    mix-blend-mode: darken;
    opacity: 20%;
}

.dork.hover {
    opacity: 70%;
}

/* -------------------- SECTIONS -------------------- */

section {
    position: absolute;
    width: 100%;
    min-width: 0;
    padding-inline: clamp(1rem, 3vw, 3rem);
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.content {
    width: min(100%, 100rem);
    margin: 0 auto;
    min-width: 0;
}

.content::-webkit-scrollbar {
    display: none;
}

/* -------------------- HERO -------------------- */

.logo {
    width: clamp(11rem, 20vw, 20rem);
    border-radius: 50%;
    animation: pulse 0.5s linear infinite alternate;
    position: absolute;
    left: 50%;
    top: clamp(-11rem, -12vw, -7rem);
    transform: translateX(-50%);
}

.title {
    font-size: clamp(6rem, 17vw, 20.4rem);
    line-height: 0.72;
    color: #ccff00;
    letter-spacing: clamp(0.1rem, 0.35vw, 0.4rem);
    font-family: Genty, sans-serif;
    margin-top: clamp(5rem, 8vw, 8rem);
    overflow-wrap: normal;
}

.title span {
    display: block;
}

.title em {
    font-family: 'Londrina Solid', sans-serif;
    color: #ccff00;
    margin-right: clamp(0.3rem, 1vw, 1.2rem);
}

.subtitle {
    font-size: clamp(2rem, 2.2vw, 3rem);
    line-height: 1.35;
    font-family: 'Londrina Solid', sans-serif;
    margin-bottom: clamp(6rem, 15vw, 15rem);
    font-weight: 700;
    color: #ccff00;
    text-shadow: #000 -2px 2px 1px;
}

.arrow img {
    width: clamp(4rem, 6vw, 6rem);
    margin: 4rem auto 0;
    animation: pulse 0.5s linear infinite alternate;
}

/* -------------------- CONTENT CARDS -------------------- */

.section {
    width: 100%;
    min-width: 0;
    background-color: rgb(186 207 251 / 30%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(5rem, 8vw, 9rem) clamp(1.5rem, 5vw, 5rem);
    font-size: clamp(1.7rem, 1.1vw + 1rem, 2.6rem);
    line-height: 1.55;
    position: relative;
    border-left: 3px solid #ccff00;
    border-right: 3px solid #ccff00;
    border-bottom: 3px solid #ccff00;
    margin-bottom: clamp(5rem, 8vw, 8rem);
    overflow-wrap: break-word;
}

a.invisible {
    position: absolute;
    top: -20rem;
}

.about {
    text-align: justify;
    border-top: 3px solid #ccff00;
}

.meme img {
    width: min(60%, 60rem);
    display: block;
    margin: 0 auto;
}

p {
    margin-bottom: 1rem;
}

.sign {
    position: absolute;
    right: 2rem;
}

.left,
.right {
    float: left;
    width: 50%;
    margin-top: 3rem;
}

.left.big {
    width: 40%;
    margin: clamp(8rem, 20vw, 20rem) 0;
}

.right.big {
    width: 60%;
    padding-top: clamp(4rem, 11vw, 11rem);
    padding-left: clamp(1rem, 5vw, 5rem);
    text-align-last: left;
    margin: clamp(8rem, 20vw, 20rem) 0 clamp(10rem, 30vw, 30rem);
}

.left p,
.right p {
    font-size: clamp(2.6rem, 3.5vw, 5rem);
    line-height: 1;
    font-weight: 900;
}

.left span,
.right span {
    display: block;
    color: #fff;
    text-shadow: #fff -2px 2px 1px;
    font-family: 'Londrina Solid', sans-serif;
}

h3 {
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
    margin: 6rem 0 3rem;
    position: absolute;
    width: 100%;
    top: clamp(-7rem, -8.8vw, -5rem);
    left: 0;
    text-align: center;
}

h3::before,
h3::after {
    content: "";
    height: 3px;
    width: clamp(8%, 20%, 20%);
    position: absolute;
    top: 50%;
    background: #ccff00;
}

h3::before {
    left: 0;
}

h3::after {
    right: 0;
}

/* -------------------- TOKENOMICS -------------------- */

.ca {
    margin-bottom: 3rem;
}

.ca.top {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -5rem;
    font-size: 5rem;       /* desktop AND tablet — the default */
    white-space: nowrap;
}

.toke {
    width: 100%;
}

.toke li {
    display: block;
    width: 100%;
    margin-bottom: 3rem;
}

.toke div {
    width: 100%;
    height: 1rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.2);
}

.toke span {
    display: block;
    height: 100%;
    width: 100%;
    background: #ccff00;
}

.toke .two span { width: 100%; }
.toke .three span { width: 22%; }
.toke .four span { width: 26%; }
.toke .five span { width: 7%; }

.mail {
    font-size: clamp(1.6rem, 1vw + 1rem, 2.4rem);
    text-decoration: none;
    color: red;
    text-shadow: #2b6725 -2px 4px 2px;
    overflow-wrap: anywhere;
}

/* -------------------- SOCIALS / FOOTER -------------------- */

.socials {
    margin: clamp(5rem, 8vw, 8rem) auto 4rem;
    width: min(50%, 60rem);
}

.socials a {
    font-size: clamp(2.5rem, 3vw, 4rem);
    text-decoration: none;
}

.socials li {
    display: inline-block;
    width: calc(100% / 7 - 7px);
    min-width: 3rem;
    text-align: center;
}

.socials img {
    width: 80%;
    max-width: 5rem;
    background: white;
    border-radius: 50%;
    border: 2px solid white;
}

.copyright {
    color: #ccff00;
    font-size: clamp(1.5rem, 1vw + 0.8rem, 2rem);
}

/* -------------------- ANIMATIONS -------------------- */

@keyframes pulse {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-1rem);
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile-only smaller CA text (desktop/tablet keep the default 5rem above) */
@media (max-width: 600px) {
    .ca.top {
        font-size: 2.6rem;
    }
}

/* Safe-area support for modern phones */
@supports (padding: max(0px)) {
    section {
        padding-left: max(0.8rem, env(safe-area-inset-left));
        padding-right: max(0.8rem, env(safe-area-inset-right));
    }

    .copyright {
        padding-bottom: max(0rem, env(safe-area-inset-bottom));
    }
}
