/** 
 * Doodeng V4 - Meme-Grade Neo-Brutalism
 * Pop art colors, massive typography, thick black borders, solid shadows.
 */

@font-face {
    font-family: 'Last Round';
    src: url('assets/new/Last Round.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Odin Rounded';
    src: url('assets/new/Odin Rounded - Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* War / Military Palette */
    --c-black: #0b0b0b;
    --c-white: #e9e9e9;
    --c-lite: #c8c6b9;
    /* Desert sand for readability */
    --c-yellow: #a2a85e;
    /* Olive */
    --c-pink: #5a6650;
    /* Mud green */
    --c-cyan: #222921;
    /* Deep jungle green */
    --c-green: #374230;
    /* Military stealth green */
    --c-purple: #1f1f1f;
    /* Charcoal */
    --c-blue: #3e4839;
    /* Field gray */
    --c-red: #d93d3d;
    /* Warning red */

    --font-heading: 'Last Round', sans-serif;
    --font-body: 'Odin Rounded', sans-serif;

    --border-main: 2px solid var(--c-black);
    --shadow-solid: 4px 4px 0px var(--c-black);
    --shadow-solid-hover: 2px 2px 0px var(--c-black);

    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--c-lite);
}

body {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--c-black);
    overflow-x: hidden;
    background-image: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    background-size: 100% 2px;
    background-color: var(--c-black);
    color: var(--c-white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

/* Utilities */
.bg-yellow {
    background-color: var(--c-yellow) !important;
}

.bg-pink {
    background-color: var(--c-pink) !important;
}

.bg-cyan {
    background-color: var(--c-cyan) !important;
    color: var(--c-black);
}

.bg-green {
    background-color: var(--c-green) !important;
    color: var(--c-black);
}

.bg-purple {
    background-color: var(--c-purple) !important;
    color: var(--c-white);
}

.bg-black {
    background-color: var(--c-black) !important;
    color: var(--c-white);
}

.bg-white {
    background-color: var(--c-white) !important;
    color: var(--c-black);
}

.bg-lite {
    background-color: var(--c-lite) !important;
    color: var(--c-black);
}

.bg-blue {
    background-color: var(--c-blue) !important;
    color: var(--c-white);
}

.bg-red {
    background-color: var(--c-red) !important;
    color: var(--c-white);
}

.text-white {
    color: var(--c-white) !important;
}

.text-black {
    color: var(--c-black) !important;
}

.text-green {
    color: var(--c-green) !important;
}

.border-t {
    border-top: var(--border-main);
}

.border-b {
    border-bottom: var(--border-main);
}

.border-tb {
    border-top: var(--border-main);
    border-bottom: var(--border-main);
}

.center-text {
    text-align: center;
}

.inline-block {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: var(--border-main);
    box-shadow: var(--shadow-solid);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.pt-6 {
    padding-top: 4rem;
}

.pb-6 {
    padding-bottom: 4rem;
}

h1,
h2,
h3,
h4,
.nav-logo span,
.massive-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1;
    color: var(--c-white);
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

/* Base Paragraph styling */
p {
    text-shadow: none !important;
}

.neo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--c-white) !important;
    background: var(--c-green);
    border: var(--border-main);
    border-radius: 4px;
    /* Harder corners for military look */
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.1s ease;
    text-transform: uppercase;
    text-shadow: none !important;
    font-weight: bold;
}

.neo-btn:hover {
    background: var(--c-yellow);
    color: var(--c-black) !important;
}

.massive-btn {
    font-size: 2rem;
    padding: 1rem 2rem;
}

/* Navbar */
.neo-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--c-white);
    border-bottom: var(--border-main);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--c-black);
    font-size: 2rem;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--c-black);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--c-black);
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}

.nav-link:hover {
    border-color: var(--c-pink);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--c-black);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--c-yellow);
    border-top: var(--border-main);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--c-black);
    text-decoration: none;
}

/* V4 Hero Section */
.neo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: var(--border-main);
    overflow: hidden;
    padding-top: 80px;
    /* navbar offset */
    background: var(--c-cyan);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2) contrast(1.1);
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Darker overlay so text pops */
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
    /* Let clicks pass to memes if needed */
}

.massive-title {
    font-size: clamp(4rem, 15vw, 15rem);
    color: var(--c-white);
    margin: 0;
    line-height: 0.9;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    text-transform: uppercase;
}

.massive-title.cta-title {
    font-size: clamp(3rem, 10vw, 8rem);
}

@keyframes pulseMeme {
    0% {
        transform: rotate(-2deg) scale(1);
    }

    100% {
        transform: rotate(-1deg) scale(1.02);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    color: var(--c-white);
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    background: rgba(0, 0, 0, 0.5);
    /* slight background for readability instead of shadow */
    display: inline-block;
    padding: 0.5rem 1rem;
}

.hero-actions {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-action {
    background: var(--c-pink);
    font-size: 1.5rem;
}

.secondary-action {
    background: var(--c-white);
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: bold;
}

/* Floating Memes */
.floating-memes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Let user click buttons behind them */
}

.float-meme {
    position: absolute;
    width: clamp(100px, 15vw, 250px);
    border: var(--border-main);
    border-radius: 12px;
    box-shadow: 6px 6px 0 var(--c-black);
    object-fit: cover;
    background: var(--c-white);
}

.f-1 {
    top: 15%;
    left: 5%;
    transform: rotate(-10deg);
    animation: float 4s ease-in-out infinite;
}

.f-2 {
    top: 10%;
    right: 10%;
    transform: rotate(15deg);
    animation: float 5s ease-in-out infinite reverse;
    width: clamp(80px, 12vw, 200px);
}

.f-3 {
    bottom: 15%;
    left: 15%;
    transform: rotate(5deg);
    animation: float 6s ease-in-out infinite 1s;
}

.f-4 {
    bottom: 20%;
    right: 5%;
    transform: rotate(-15deg);
    animation: float 4.5s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }

    50% {
        transform: translateY(-20px) rotate(calc(var(--rot, 0deg) + 5deg));
    }

    100% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }
}

/* Ticker Tape */
.ticker-tape {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
    display: flex;
}

.ticker-track {
    display: flex;
    animation: scrollTicker 15s linear infinite;
}

.reverse .ticker-track {
    animation-direction: reverse;
}

.ticker-tape span {
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 0 2rem;
    color: var(--c-black);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Sections Global */
.neo-section {
    padding: 6rem 1.5rem;
    border-bottom: var(--border-main);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--c-white);
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    letter-spacing: 2px;
}

/* Neo Cards & Images */
.neo-card {
    background: var(--c-cyan);
    border: var(--border-main);
    border-radius: 4px;
    padding: 3rem;
    color: var(--c-white);
}

.neo-img-wrap {
    border: var(--border-main);
    border-radius: 4px;
    background: var(--c-black);
    overflow: hidden;
    font-size: 0;
    /* remove img gap */
}

.neo-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--c-black);
    margin: 0.5rem;
    width: calc(100% - 1rem);
}

.rotate-left {
    transform: rotate(-3deg);
}

.rotate-right {
    transform: rotate(4deg);
}

.bounce-hover {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bounce-hover:hover {
    transform: scale(1.02) translateY(-5px);
}

/* Step Grid (How to buy) */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    padding: 2rem;
    text-align: center;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-img {
    border: var(--border-main);
    border-radius: var(--radius);
    max-width: 100%;
    margin-top: 1rem;
}

/* Tokenomics */
.neo-list {
    list-style: none;
    padding: 0;
}

.neo-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed var(--c-white);
    padding: 1.5rem 0;
    font-size: 1.5rem;
}

.neo-list li:last-child {
    border-bottom: none;
}

.neo-list .label {
    font-family: var(--font-heading);
    color: var(--c-pink);
}

.neo-list .value {
    font-family: monospace;
    font-weight: bold;
}

/* Gallery */
.masonry-neo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.neo-gallery-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.neo-gallery-item:nth-child(even) {
    transform: rotate(2deg);
}

.neo-gallery-item:nth-child(odd) {
    transform: rotate(-2deg);
}

.neo-gallery-item:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    position: relative;
}

/* Footer */
.neo-footer {
    border-top: var(--border-main);
    padding: 4rem 2rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--c-white);
}

.footer-title {
    font-size: 3rem;
    margin: 0;
}

.footer-disclaimer {
    max-width: 500px;
    text-align: right;
}

.copyright {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--c-yellow);
}

/* Lightbox */
.neo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neo-lightbox.active {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    padding: 1rem;
    background: var(--c-white);
    border-radius: var(--radius);
}

.lightbox-content img {
    max-width: 100%;
    max-height: calc(80vh - 2rem);
    object-fit: contain;
    border: none;
}

/* Specific Text Highlight */
.highlight-text {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border: var(--border-main);
    border-radius: 4px;
    margin-top: 1rem;
    color: var(--c-white) !important;
    background: var(--c-red) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reverse-mobile .img-stack {
        order: 2;
    }

    .reverse-mobile .neo-card {
        order: 1;
    }

    .massive-title {
        font-size: 15vw;
        line-height: 0.9;
        padding: 0 1rem;
        word-break: break-word;
        text-shadow: none !important;
        -webkit-text-stroke: 0 !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .buy-btn {
        display: none;
    }

    .nav-logo video {
        width: 35px;
        height: 35px;
    }

    .hamburger {
        display: block;
        color: var(--c-white);
    }

    .massive-title {
        font-size: 18vw;
        padding: 0;
        text-shadow: none !important;
        -webkit-text-stroke: 0 !important;
    }

    .hero-subtitle {
        font-size: 6vw;
        line-height: 1.2;
        padding: 0.5rem;
        width: 95%;
        margin: 1rem auto;
        text-align: center;
    }

    .massive-btn {
        width: 100%;
        text-align: center;
    }

    .neo-section {
        padding: 4rem 1rem;
        overflow-x: hidden;
    }

    .neo-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 1rem;
        align-items: stretch;
    }

    .neo-gallery-item:nth-child(n) {
        transform: rotate(0);
    }

    /* remove rotation on mobile for clean grid */
    .footer-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }

    .neo-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 1.2rem;
    }
}

/* War Sparks */
#spark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ff3300;
    animation: explode 1s ease-out forwards;
    pointer-events: none;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}