/* ============================================
   PPADDL.com - Graffiti Street Style
   Colors: #1A1A1A, #4A4A4A, #FF2D55, #2B00FF,
           #F2E205, #39FF14, #E8E8E8
   Fonts: Bungee Shade, Bebas Neue, Barlow Condensed, Permanent Marker
   ============================================ */

:root {
    --dark: #1A1A1A;
    --gray: #4A4A4A;
    --red: #FF2D55;
    --violet: #2B00FF;
    --yellow: #F2E205;
    --green: #39FF14;
    --light: #E8E8E8;
    --font-display: 'Bungee Shade', cursive;
    --font-headline: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow Condensed', sans-serif;
    --font-accent: 'Permanent Marker', cursive;
}

/* ---- RESET & BASE ---- */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--dark);
    color: var(--light);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: default;
}

/* ---- WALL TEXTURE (CSS concrete grain) ---- */

.wall-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(255,255,255,0.01) 3px,
            rgba(255,255,255,0.01) 5px
        ),
        radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ---- SECTION BASE ---- */

.section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* ---- FLOATING NAV ---- */

.floating-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    z-index: 1000;
    display: flex;
    gap: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 10px 8px;
    border: 2px solid var(--red);
    transition: opacity 0.3s, transform 0.3s;
}

.floating-nav.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) rotate(-1deg) translateY(-20px);
}

.floating-nav a {
    color: var(--light);
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.floating-nav a:hover {
    background: var(--red);
    color: var(--dark);
}

/* ---- DRIP MOTIF ---- */

.drip {
    position: absolute;
    bottom: 0;
    width: 6px;
    border-radius: 0 0 3px 3px;
    animation: dripDown 1s ease-out forwards;
    transform: scaleY(0);
    transform-origin: top;
}

@keyframes dripDown {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

.drip-container {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 90%;
    height: 120px;
    z-index: 2;
}

.section-drips {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 5;
}

/* ---- SPRAY SPATTER ---- */

.spatter-cluster {
    position: absolute;
    width: 120px;
    height: 80px;
    z-index: 3;
    pointer-events: none;
}

.spatter-cluster::before,
.spatter-cluster::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.spatter-1 {
    bottom: 15%;
    left: 10%;
}
.spatter-1::before {
    width: 5px; height: 5px;
    background: var(--green);
    box-shadow:
        12px 8px 0 2px var(--green),
        28px 3px 0 1px var(--yellow),
        45px 12px 0 3px var(--green),
        8px 22px 0 1px var(--red),
        55px 18px 0 2px var(--yellow),
        35px 28px 0 1px var(--green),
        70px 5px 0 2px var(--red),
        15px 35px 0 1px var(--green),
        60px 30px 0 2px var(--yellow);
}

.spatter-2 {
    top: 20%;
    right: 8%;
}
.spatter-2::before {
    width: 4px; height: 4px;
    background: var(--red);
    box-shadow:
        10px 5px 0 2px var(--red),
        25px 15px 0 1px var(--violet),
        40px 8px 0 3px var(--red),
        15px 25px 0 1px var(--yellow),
        50px 20px 0 2px var(--red),
        30px 30px 0 1px var(--violet);
}

.spatter-3 {
    bottom: 10%;
    right: 15%;
}
.spatter-3::before {
    width: 3px; height: 3px;
    background: var(--violet);
    box-shadow:
        8px 6px 0 2px var(--violet),
        20px 12px 0 1px var(--green),
        35px 4px 0 2px var(--violet),
        12px 20px 0 1px var(--red),
        45px 15px 0 3px var(--green),
        28px 25px 0 1px var(--violet);
}

/* ---- STICKER SLAPS ---- */

.sticker {
    position: absolute;
    z-index: 10;
    font-family: var(--font-accent);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--dark);
    pointer-events: none;
    white-space: nowrap;
}

.sticker-1 {
    top: 15%;
    right: 6%;
    background: var(--green);
    transform: rotate(8deg);
}

.sticker-2 {
    bottom: 18%;
    left: 4%;
    background: var(--yellow);
    transform: rotate(-5deg);
    font-size: 16px;
}

.sticker-3 {
    top: 12%;
    right: 10%;
    background: var(--red);
    color: var(--light);
    transform: rotate(12deg);
}

.sticker-4 {
    top: 8%;
    left: 5%;
    background: var(--violet);
    color: var(--light);
    transform: rotate(-8deg);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sticker-5 {
    bottom: 10%;
    right: 6%;
    background: var(--green);
    transform: rotate(6deg);
}

/* ============================================
   SECTION 1: THE TAG (HERO)
   ============================================ */

.section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
    min-height: 100vh;
}

.tag-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4rem, 15vw, 12rem);
    color: var(--light);
    transform: rotate(-2deg);
    letter-spacing: 0.05em;
    text-shadow: 4px 4px 0 var(--red);
    position: relative;
    z-index: 2;
    animation: wordmarkSlam 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes wordmarkSlam {
    0% {
        opacity: 0;
        transform: rotate(-2deg) scale(1.3) translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: rotate(-2deg) scale(1) translateY(0);
    }
}

.spray-line {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--red);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    animation: sprayDraw 0.8s ease-out 0.3s forwards;
}

@keyframes sprayDraw {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ============================================
   SECTION 2: THE THROW-UP
   ============================================ */

.section-throwup {
    background: var(--dark);
    padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.throwup-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.throwup-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    max-width: 1200px;
    width: 100%;
    transform: skewY(3deg);
}

.throwup-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: skewY(-3deg);
}

.throwup-right {
    position: relative;
    min-height: 400px;
    transform: skewY(-3deg);
}

.section-headline {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light);
    line-height: 0.95;
    margin-bottom: 24px;
}

.headline-dark {
    color: var(--dark);
}

.body-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--light);
    max-width: 480px;
}

.text-dark {
    color: var(--dark);
}

/* ---- COLLAGE FRAMES ---- */

.collage-frame {
    position: absolute;
    border: 3px solid var(--light);
    box-shadow: 4px 4px 0 var(--red);
    transition: border-color 0.3s;
}

.collage-frame:hover {
    animation: borderCycle 2s linear infinite;
}

@keyframes borderCycle {
    0% { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
    25% { border-color: var(--violet); box-shadow: 4px 4px 0 var(--violet); }
    50% { border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
    75% { border-color: var(--green); box-shadow: 4px 4px 0 var(--green); }
    100% { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
}

.frame-1 {
    top: 0;
    left: 0;
    width: 220px;
    height: 280px;
    transform: rotate(2deg);
    z-index: 3;
}

.frame-2 {
    top: 40px;
    left: 140px;
    width: 200px;
    height: 240px;
    transform: rotate(-3deg);
    z-index: 2;
}

.frame-3 {
    top: 100px;
    left: 60px;
    width: 180px;
    height: 200px;
    transform: rotate(4deg);
    z-index: 1;
}

.frame-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-label {
    font-family: var(--font-accent);
    font-size: 18px;
    color: var(--dark);
    text-align: center;
    transform: rotate(-3deg);
    line-height: 1.3;
}

/* ---- TAPE CORNERS ---- */

.tape-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--yellow);
    transform: rotate(45deg);
    z-index: 10;
}

.tape-tl { top: -8px; left: -8px; }
.tape-tr { top: -8px; right: -8px; }
.tape-bl { bottom: -8px; left: -8px; }
.tape-br { bottom: -8px; right: -8px; }

/* ============================================
   SECTION 3: THE PIECE (GALLERY)
   ============================================ */

.section-piece {
    background: var(--gray);
    padding: clamp(40px, 8vh, 100px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.piece-title {
    padding-left: clamp(20px, 5vw, 80px);
    margin-bottom: 40px;
    transform: rotate(-1deg);
    z-index: 2;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px clamp(20px, 5vw, 80px);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    z-index: 2;
    position: relative;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-frame {
    flex: 0 0 auto;
    width: clamp(280px, 35vw, 420px);
    height: clamp(350px, 50vh, 520px);
    margin-left: -40px;
    scroll-snap-align: center;
    perspective: 800px;
}

.gallery-frame:first-child {
    margin-left: 0;
}

.gallery-inner {
    width: 100%;
    height: 100%;
    border: 8px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease-out, border-color 0.3s;
    position: relative;
}

.gallery-inner:hover {
    animation: borderCycle 2s linear infinite;
}

.gallery-content {
    padding: clamp(20px, 3vw, 40px);
    text-align: center;
}

.gallery-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--gray);
    opacity: 0.3;
    display: block;
    line-height: 1;
}

.gallery-title {
    font-family: var(--font-headline);
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    color: var(--light);
    margin: 16px 0 12px;
}

.gallery-desc {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--light);
    opacity: 0.8;
}

.gallery-scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px clamp(20px, 5vw, 80px);
    z-index: 2;
    position: relative;
}

.hint-text {
    font-family: var(--font-accent);
    font-size: 14px;
    color: var(--light);
    opacity: 0.5;
    transform: rotate(-2deg);
}

.hint-arrow {
    font-size: 20px;
    color: var(--red);
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* ============================================
   SECTION 4: THE FILL
   ============================================ */

.section-fill {
    background: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.fill-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(40px, 8vw, 100px);
}

.fill-statement {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light);
    line-height: 0.95;
}

/* ============================================
   SECTION 5: THE CREW
   ============================================ */

.section-crew {
    background: var(--dark);
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.crew-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.crew-dark {
    flex: 1;
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    padding: clamp(60px, 10vh, 120px) clamp(30px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.crew-light {
    flex: 1;
    background: var(--yellow);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    padding: clamp(60px, 10vh, 120px) clamp(30px, 5vw, 80px);
    padding-left: clamp(80px, 12vw, 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.crew-tag {
    font-family: var(--font-accent);
    font-size: 20px;
    color: var(--red);
    margin-top: 24px;
    transform: rotate(-3deg);
    display: inline-block;
}

.crew-stats {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.08em;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--dark);
    transform: rotate(-2deg);
    margin-top: 4px;
}

/* ---- PEEL REVEAL ---- */

.peel-reveal {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background: var(--red);
    z-index: 5;
    opacity: 0.6;
}

/* ============================================
   SECTION 6: THE SIGN-OFF (FOOTER)
   ============================================ */

.section-signoff {
    background: var(--dark);
    min-height: auto;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-duration: 120s;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-tag {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--light);
    display: inline-block;
    white-space: nowrap;
}

.signoff-content {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 2;
}

.signoff-text {
    font-family: var(--font-headline);
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.15em;
    color: var(--light);
    opacity: 0.6;
}

/* ---- CHAIN-LINK OVERLAY ---- */

.chainlink-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            var(--light) 10px,
            var(--light) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            var(--light) 10px,
            var(--light) 11px
        );
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */

.ripple-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    animation: rippleExpand 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

/* ============================================
   BOUNCE-ENTER ANIMATION
   ============================================ */

.bounce-enter {
    opacity: 0;
    transform: translateY(60px) rotate(2deg);
    transition: none;
}

.bounce-enter.visible {
    animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(60px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

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

@media (max-width: 768px) {
    .throwup-content {
        grid-template-columns: 1fr;
        transform: skewY(0);
    }

    .throwup-left,
    .throwup-right {
        transform: skewY(0);
    }

    .throwup-right {
        min-height: 320px;
    }

    .frame-1 {
        width: 180px;
        height: 220px;
    }

    .frame-2 {
        width: 160px;
        height: 200px;
        left: 100px;
    }

    .frame-3 {
        width: 140px;
        height: 170px;
        left: 40px;
    }

    .crew-split {
        flex-direction: column;
    }

    .crew-dark {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
        padding: 60px 30px 80px;
    }

    .crew-light {
        clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
        padding: 80px 30px 60px;
        padding-left: 30px;
    }

    .crew-stats {
        flex-wrap: wrap;
    }

    .gallery-frame {
        width: 280px;
        height: 360px;
        margin-left: -20px;
    }

    .floating-nav {
        padding: 8px 4px;
    }

    .floating-nav a {
        font-size: 12px;
        padding: 5px 10px;
    }

    .sticker {
        display: none;
    }
}

@media (max-width: 480px) {
    .wordmark {
        font-size: clamp(3rem, 18vw, 6rem);
    }

    .section-headline {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .fill-statement {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .gallery-frame {
        width: 250px;
        height: 320px;
    }
}
