/* mosoon.xyz - Memphis Group meets Korean manhwa pop */
/* The Contradiction Playground */

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

:root {
    --blue: #2a2aff;
    --pink: #ff3c78;
    --black: #1a1a1a;
    --orange: #ff7a5c;
    --cream: #faf8f4;
    --purple: #9a3cff;
    --green: #3cffa8;
    --yellow: #ffe23c;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--black);
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========== SPLASH HERO ========== */

.splash {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cream);
}

/* Memphis geometric background shapes */
.memphis-shape {
    position: absolute;
    z-index: 1;
}

.shape-circle {
    width: 40vw;
    height: 40vw;
    max-width: 400px;
    max-height: 400px;
    border-radius: 50%;
    background: var(--pink);
    border: 3px solid var(--blue);
    top: 15%;
    left: -5%;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInLeft 0.6s ease-out 0.2s forwards, slowSpin 25s linear 1s infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 17.5vw solid transparent;
    border-right: 17.5vw solid transparent;
    border-bottom: 30vw solid var(--yellow);
    top: 5%;
    right: 20%;
    opacity: 0;
    transform: translateY(-100%);
    animation: slideInTop 0.7s ease-out 0.3s forwards;
    filter: drop-shadow(0 0 0 var(--purple));
}

.shape-rect {
    width: 30vw;
    height: 20vw;
    max-width: 300px;
    max-height: 200px;
    background: var(--blue);
    border: 3px solid var(--green);
    bottom: 15%;
    right: -5%;
    opacity: 0;
    transform: translateX(100%) rotate(12deg);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}

@keyframes slideInLeft {
    to { opacity: 0.85; transform: translateX(0); }
}

@keyframes slideInTop {
    to { opacity: 0.85; transform: translateY(0); }
}

@keyframes slideInRight {
    to { opacity: 0.85; transform: translateX(0) rotate(12deg); }
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Domain title */
.splash-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    letter-spacing: 0.02em;
    line-height: 1;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(-60px);
    animation: crashIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

@keyframes crashIn {
    from { opacity: 0; transform: translateY(-60px) scale(1.1); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.letter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.letter:hover {
    transform: scale(1.15) rotate(-5deg);
}

.splash-subtitle {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    letter-spacing: 0.2em;
    color: var(--black);
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Decorative scattered elements */
.deco-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 5;
}

.deco-1 {
    width: 20px;
    height: 20px;
    background: var(--purple);
    top: 20%;
    right: 15%;
    animation: float 3s ease-in-out infinite;
}

.deco-2 {
    width: 14px;
    height: 14px;
    background: var(--orange);
    bottom: 25%;
    left: 12%;
    animation: float 4s ease-in-out 1s infinite;
}

.deco-squiggle {
    position: absolute;
    bottom: 35%;
    right: 10%;
    z-index: 5;
    opacity: 0.7;
    animation: float 5s ease-in-out 0.5s infinite;
}

.deco-cross {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 30%;
    left: 20%;
    z-index: 5;
}

.deco-cross::before,
.deco-cross::after {
    content: '';
    position: absolute;
    background: var(--green);
}

.deco-cross::before {
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-cross::after {
    width: 4px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========== COLLISION BLOCKS ========== */

.collision-block {
    position: relative;
    padding: 5rem 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.collision-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.block-light {
    background: var(--cream);
    color: var(--black);
}

.block-dark {
    background: var(--black);
    color: var(--cream);
}

.block-accent {
    background: var(--blue);
    color: var(--cream);
}

.block-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.block-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    opacity: 0.12;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.block-dark .block-number {
    color: var(--pink);
    opacity: 0.3;
}

.block-accent .block-number {
    color: var(--yellow);
    opacity: 0.3;
}

.block-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.block-dark .block-title {
    color: var(--yellow);
}

.block-accent .block-title {
    color: var(--green);
}

.block-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    max-width: 520px;
}

.block-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border: 2px solid currentColor;
    transform: rotate(3deg);
    z-index: 5;
}

.block-dark .block-tag {
    color: var(--pink);
    border-color: var(--pink);
}

.block-accent .block-tag {
    color: var(--yellow);
    border-color: var(--yellow);
}

.block-light .block-tag {
    color: var(--purple);
    border-color: var(--purple);
}

/* Background decorative shapes per block */
.block-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
}

.block-shape-1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--pink);
    border: 3px solid var(--blue);
    top: -30px;
    right: -30px;
}

.block-shape-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--yellow);
    bottom: -20px;
    left: -20px;
}

.block-shape-3 {
    width: 120px;
    height: 180px;
    background: var(--green);
    top: -40px;
    right: 10%;
    transform: rotate(-8deg);
}

.block-shape-4 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--orange);
    bottom: -60px;
    right: -40px;
}

.block-shape-5 {
    width: 140px;
    height: 100px;
    background: var(--purple);
    border: 3px solid var(--green);
    top: 20px;
    left: -30px;
    transform: rotate(5deg);
}

.block-shape-6 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--pink);
    top: -20px;
    left: 10%;
}

/* ========== ZIGZAG DIVIDERS ========== */

.zigzag-divider {
    width: 100%;
    line-height: 0;
    background: var(--cream);
}

/* ========== FOOTER ========== */

.site-footer {
    position: relative;
    padding: 4rem 2rem;
    background: var(--black);
    text-align: center;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    opacity: 0.08;
}

.fs-1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--pink);
    top: 20%;
    left: 10%;
}

.fs-2 {
    width: 40px;
    height: 80px;
    background: var(--blue);
    bottom: 15%;
    right: 15%;
    transform: rotate(15deg);
}

.fs-3 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--yellow);
    top: 30%;
    right: 30%;
}

.footer-domain {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--cream);
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--pink);
    position: relative;
    z-index: 2;
}

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

@media (max-width: 600px) {
    .collision-block {
        padding: 3rem 1.5rem;
    }

    .block-tag {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
        transform: rotate(0deg);
    }

    .shape-triangle {
        border-left-width: 25vw;
        border-right-width: 25vw;
        border-bottom-width: 44vw;
    }
}
