/* --- 0. FONTS --- */
@font-face {
    font-family: 'Bangers';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bangers-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-variable.woff2') format('woff2');
}

/* ==========================================================================
   MOSCHE ULTRAS - CSS
   ========================================================================== */

/* --- 1. CSS VARIABLES --- */
:root {
    /* Color Palette */
    --color-primary-bg: #7A3F19;
    /* Tobacco Brown */
    --color-secondary-bg: #4A2311;
    /* Dark Brown */
    --color-accent: #E9C79A;
    /* Warm Beige */
    --color-highlight: #F5E2C5;
    --color-text: #FFF6E8;

    /* Typography */
    --font-headline: 'Bangers', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Effects */
    --rough-border: 4px solid var(--color-text);
    --shadow-solid: 6px 6px 0px rgba(0, 0, 0, 0.5);
    --shadow-solid-light: 4px 4px 0px var(--color-highlight);
    --transition: all 0.3s ease;
}

/* --- 2. GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-primary-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    /* Slight comic halftone dot effect */
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

strong {
    font-weight: 800;
    color: var(--color-highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.content-padding {
    padding: 5rem 0;
}

.inverted-bg {
    background-color: var(--color-secondary-bg);
}

/* --- 3. TYPOGRAPHY COMPONENTS --- */
.section-title {
    font-size: 4rem;
    color: var(--color-accent);
    text-shadow: 4px 4px 0px #000;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 10px;
    border: 2px solid #000;
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

.section-title.giant-title {
    font-size: 5rem;
}

.highlight-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-highlight);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 4px;
    transform: rotate(-1deg);
}

.highlight-text.large {
    font-size: 1.5rem;
    transform: rotate(1deg);
    border: 2px dashed var(--color-accent);
}

/* --- 4. BUTTONS --- */
.primary-btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-secondary-bg);
    font-family: var(--font-headline);
    font-size: 2rem;
    padding: 1rem 3rem;
    text-decoration: none;
    border: 4px solid var(--color-secondary-bg);
    box-shadow: 8px 8px 0px var(--color-secondary-bg);
    transition: var(--transition);
    border-radius: 8px;
    letter-spacing: 2px;
    margin: 2rem 0 1rem;
    position: relative;
    z-index: 2;
}

.primary-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--color-secondary-bg);
    background-color: var(--color-highlight);
}

.primary-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--color-secondary-bg);
}

.primary-btn.massive-btn {
    font-size: 3rem;
    padding: 1.5rem 4rem;
    white-space: normal;
}

.primary-btn.small-btn {
    font-size: 1.5rem;
    padding: 0.8rem 2rem;
}

/* AGE GATE MODAL */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none; /* Hidden by default, JS toggles flex */
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.age-gate-modal {
    background-color: var(--color-primary-bg);
    border: 6px solid #000;
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    text-align: center;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.8);
    position: relative;
    /* Optional comic texture */
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 2px, transparent 2.5px);
    background-size: 10px 10px;
}

.age-gate-title {
    font-size: 3rem;
    color: var(--color-highlight);
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 1.5rem;
}

.age-gate-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.age-btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.age-btn-group .primary-btn {
    margin: 0;
}

.btn-danger {
    background-color: #ff3333;
    color: #fff;
    border-color: #990000;
}

.btn-danger:hover {
    background-color: #ff0000;
    box-shadow: 12px 12px 0px #990000;
}

/* --- 5. ANIMATIONS --- */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation:hover {
    animation: pulse 1s infinite;
}

@keyframes bounceHover {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.bounce-hover:hover {
    animation: bounceHover 0.5s ease-in-out infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

.wiggle-hover:hover {
    animation: wiggle 0.4s ease-in-out infinite;
}

@keyframes driftSmoke {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 0%;
    }
}

/* --- 6. SECTIONS --- */

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--color-primary-bg);
    overflow: hidden;
}

.smoke-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/smoke_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 0;
    animation: driftSmoke 30s ease-in-out infinite alternate;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(122, 63, 25, 0.4) 0%, rgba(74, 35, 17, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    max-width: 300px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.6));
    border-radius: 50%;
}

.comic-headline {
    font-size: 6rem;
    color: var(--color-highlight);
    text-shadow: 6px 6px 0px #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
    /* Outline & Shadow */
    line-height: 1;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.6;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border: 3px solid var(--color-accent);
    border-radius: 12px;
    display: inline-block;
    box-shadow: var(--shadow-solid);
    margin-bottom: 2rem;
}

.secondary-text {
    font-style: italic;
    color: var(--color-accent);
    margin-top: 1rem;
    font-weight: 600;
}

/* DIVIDERS */
.section-divider {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    margin: -2px 0;
    /* Clear gaps */
    background-color: var(--color-primary-bg);
}

.invert-divider {
    background-color: var(--color-secondary-bg);
}

.divider-img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.flip-horizontal {
    transform: scaleX(-1);
}

/* ABOUT SECTION */
.comic-text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

.comic-text-block p {
    margin-bottom: 1.5rem;
}

/* ORIGIN SECTION */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-box {
    background-color: var(--color-primary-bg);
    border: var(--rough-border);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-solid);
    transform: rotate(2deg);
    display: inline-block;
}

.founder-box h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.founder-name {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    margin: 0;
    color: var(--color-highlight);
    letter-spacing: 1px;
}

.comic-illustration {
    border: 6px solid #000;
    border-radius: 10px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.6);
    background-color: #fff;
    /* In case png is transparent */
    transform: rotate(-1deg);
    transition: var(--transition);
}

.comic-illustration:hover {
    transform: rotate(1deg) scale(1.02);
}

/* STORY SECTION (Origin Part 2) */
.name-origin-section {
    background-color: var(--color-primary-bg);
}

.eyebrow-text {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    background-color: var(--color-secondary-bg);
    padding: 0.25rem 1rem;
    border-radius: 4px;
    border: 2px solid #000;
    display: inline-block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    box-shadow: 4px 4px 0px #000;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.story-card {
    text-align: left;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.story-card .card-title {
    text-align: left;
    font-size: 2.5rem;
    margin-top: -0.5rem;
}

.story-card .card-icon {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.story-card .highlight-text {
    transform: rotate(0);
    display: inline-block;
    line-height: 1.4;
    white-space: normal;
}

/* FEATURES SECTION */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.feature-card {
    border: 4px solid #000;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow-solid);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-dark {
    background-color: var(--color-secondary-bg);
}

.card-light {
    background-color: var(--color-primary-bg);
}

.card-accent {
    background-color: var(--color-accent);
    color: var(--color-secondary-bg);
}

.card-accent .card-text {
    color: var(--color-secondary-bg);
    font-weight: 600;
}

/* Subtle Comic Halftone texture for cards */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 2px, transparent 2.5px);
    background-size: 10px 10px;
    pointer-events: none;
    opacity: 0.5;
}

.card-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 0px #000);
}

.card-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-highlight);
    text-shadow: 2px 2px 0px #000;
}

.card-accent .card-title {
    color: var(--color-secondary-bg);
    text-shadow: 2px 2px 0px #fff;
}

.card-text {
    font-size: 1.1rem;
    margin: 0;
}

.tilt-hover:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.7);
}

/* SUB-PAGE HEADER */
.page-header {
    background-color: var(--color-secondary-bg);
    padding: 3rem 1rem 4rem;
    text-align: center;
    border-bottom: 4px solid #000;
}

.page-logo {
    max-width: 150px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.6));
    border-radius: 50%;
    transition: var(--transition);
}

.page-logo:hover {
    transform: scale(1.05);
}

.page-title {
    margin-bottom: 2rem;
    font-size: 4rem;
    color: var(--color-highlight);
    text-shadow: 4px 4px 0px #000;
    line-height: 1;
}

.back-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
    transition: var(--transition);
    border: 2px solid var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.3);
}

.back-link:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary-bg);
}

/* DISCORD SECTION */
.discord-cta-section {
    background-color: var(--color-secondary-bg);
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
}

.warning-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #ffcc00;
    /* Strong contrast bold color */
    color: #000;
    border: 4px solid #000;
    border-radius: 8px;
    display: inline-block;
    max-width: 600px;
    font-weight: 800;
    box-shadow: 6px 6px 0px #000;
    transform: rotate(1deg);
}

.warning-title {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* COUNTERS SECTION */
.counters-section {
    padding: 5rem 0;
    background-color: var(--color-primary-bg);
    background-image: linear-gradient(0deg, var(--color-secondary-bg) 0%, transparent 100%);
}

.shadow-title {
    color: var(--color-primary-bg);
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 6px 6px 0px #000;
}

.counters-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.counter-box {
    text-align: center;
    padding: 2rem;
    min-width: 250px;
}

.counter-value {
    display: block;
    font-family: var(--font-headline);
    font-size: 6rem;
    color: var(--color-accent);
    text-shadow: 4px 4px 0px #000;
    line-height: 1;
    margin-bottom: 1rem;
}

.counter-value.string-value {
    font-size: 4.5rem;
    margin-top: 1.5rem;
}

.counter-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.decorative-note {
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.6;
    font-style: italic;
}

/* FOOTER */
.site-footer {
    background-color: var(--color-secondary-bg);
    padding: 4rem 0 2rem;
    border-top: var(--rough-border);
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    filter: drop-shadow(2px 2px 0px #000);
}

.footer-info h3 {
    font-size: 2.5rem;
    color: var(--color-highlight);
    margin-bottom: 0.5rem;
}

.est {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-accent);
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.copyright-text {
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
    font-family: var(--font-body);
}

.copyright-text a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

.copyright-text a:hover {
    color: var(--color-highlight);
    text-decoration: underline;
}

/* --- 7. RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .origin-text {
        text-align: center;
    }

    .section-title.text-left::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .story-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .comic-headline {
        font-size: 4rem;
    }

    .hero-subheadline {
        font-size: 1.2rem;
    }

    .section-title,
    .section-title.giant-title {
        font-size: 3rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .primary-btn.massive-btn {
        font-size: 2rem;
        padding: 1rem 2rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .footer-note {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .comic-headline {
        font-size: 3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .counter-value {
        font-size: 4rem;
    }

    .counter-value.string-value {
        font-size: 3rem;
    }
}