/* ================================================
   ACAMPADA — Estilo zine / cartel de fiestas
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Space+Mono:wght@400;700&family=Inter:wght@400;600;700&display=swap');

:root {
    --z-bg: #f5f0e8;
    --z-bg-alt: #ede7d9;
    --z-ink: #1a1a1a;
    --z-red: #e63322;
    --z-orange: #f27d2d;
    --z-yellow: #f5c518;
    --z-green: #2d9d4e;
    --z-purple: #7c3aed;
    --z-pink: #e8457a;
    --z-blue: #2563eb;
    --z-night: #2d2252;
    --z-paper: #faf7f0;
    --z-shadow: 4px 4px 0 var(--z-ink);
    --z-font-marker: 'Permanent Marker', cursive;
    --z-font-mono: 'Space Mono', monospace;
    --z-font-body: 'Inter', sans-serif;
}

/* ======= HERO ======= */
.camp-hero {
    position: relative;
    background: linear-gradient(180deg, #0e161c 0%, #152220 70%, #20352a 100%);
    padding: 140px 0px 160px;
    overflow: hidden;
    border-bottom: 5px solid var(--z-ink);
}

.camp-hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Stickers flotantes */
.camp-hero__sticker {
    position: absolute;
    font-size: 3.5rem;
    z-index: 2;
    filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.3));
    transition: transform 0.15s ease-out;
    pointer-events: none;
    user-select: none;
}
.camp-hero__sticker--1 { top: 15%; left: 8%; transform: rotate(-12deg); }
.camp-hero__sticker--2 { top: 20%; right: 10%; transform: rotate(8deg); }
.camp-hero__sticker--3 { bottom: 18%; left: 12%; transform: rotate(-5deg); }
.camp-hero__sticker--4 { bottom: 12%; right: 8%; transform: rotate(15deg); }

.camp-hero__date {
    font-family: var(--z-font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--z-ink);
    background: var(--z-yellow);
    display: inline-block;
    padding: 8px 20px;
    border: 3px solid var(--z-ink);
    box-shadow: var(--z-shadow);
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
}

.camp-hero__title {
    font-family: var(--z-font-marker);
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 0 var(--z-ink);
    position: relative;
    z-index: 3;
}

.camp-hero__slash {
    color: var(--z-yellow);
    font-size: 0.6em;
}

.camp-hero__title--red {
    display: block;
    font-size: 0.45em;
    color: var(--z-ink);
    background: #fff;
    padding: 6px 16px;
    display: inline-block;
    transform: rotate(-1.5deg);
    text-shadow: none;
    border: 3px solid var(--z-ink);
    margin-top: 10px;
}

.camp-hero__tagline {
    font-family: var(--z-font-body);
    font-size: 1.3rem;
    color: #fff;
    margin: 1.5rem 0 2rem;
    position: relative;
    z-index: 3;
}

.camp-scribble {
    position: relative;
    white-space: nowrap;
}
.camp-scribble::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -2px;
    height: 40%;
    background: var(--z-yellow);
    z-index: -1;
    transform: rotate(-0.5deg);
    opacity: 0.9;
}

.camp-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

/* ======= BOTONES ======= */
.camp-btn {
    font-family: var(--z-font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border: 3px solid var(--z-ink);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: var(--z-shadow);
    position: relative;
}
.camp-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--z-ink);
}
.camp-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--z-ink);
}
.camp-btn--primary {
    background: var(--z-ink);
    color: #fff;
}
.camp-btn--primary:hover { color: #fff; }
.camp-btn--ghost {
    background: #fff;
    color: var(--z-ink);
}
.camp-btn--ghost:hover { color: var(--z-ink); }
.camp-btn--full {
    width: 100%;
    text-align: center;
}

/* ======= MARQUEE ======= */
.camp-marquee {
    background: var(--z-ink);
    color: var(--z-yellow);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid var(--z-ink);
}
.camp-marquee__track {
    display: inline-flex;
    animation: marqueeScroll 25s linear infinite;
}
.camp-marquee__track span {
    font-family: var(--z-font-marker);
    font-size: 1.1rem;
    letter-spacing: 3px;
    padding-right: 0;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ======= PROGRAMA ======= */
.camp-programa {
    background: var(--z-bg);
    padding: 80px 0 60px;
}

.camp-section-title {
    font-family: var(--z-font-marker);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--z-ink);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}
.camp-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 12px;
    background: var(--z-yellow);
    z-index: -1;
    transform: rotate(-0.5deg);
}

.camp-section-sub {
    font-family: var(--z-font-body);
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.camp-programa__header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Día separator */
.camp-dia {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}
.camp-dia--2 {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 3px dashed var(--z-ink);
}
.camp-dia__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--z-ink);
    color: #fff;
    padding: 8px 20px;
    border: 3px solid var(--z-ink);
    box-shadow: var(--z-shadow);
    transform: rotate(-1deg);
}
.camp-dia__num {
    font-family: var(--z-font-marker);
    font-size: 1.8rem;
    color: var(--z-yellow);
    line-height: 1;
}
.camp-dia__text {
    font-family: var(--z-font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ======= TIMELINE ======= */
.camp-timeline {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding-left: 0;
}

.camp-timeline__item {
    display: grid;
    grid-template-columns: 100px 20px 1fr;
    gap: 0 16px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.camp-timeline__item.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.camp-timeline__item:last-child {
    border-bottom: none;
}

/* Time */
.camp-timeline__time {
    font-family: var(--z-font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--z-ink);
    text-align: right;
    padding-top: 2px;
    line-height: 1.2;
}
.camp-timeline__dash {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
}

/* Dot */
.camp-timeline__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--z-red);
    border: 3px solid var(--z-ink);
    margin-top: 5px;
    position: relative;
    flex-shrink: 0;
    justify-self: center;
}
.camp-timeline__dot--orange { background: var(--z-orange); }
.camp-timeline__dot--yellow { background: var(--z-yellow); }
.camp-timeline__dot--green { background: var(--z-green); }
.camp-timeline__dot--purple { background: var(--z-purple); }
.camp-timeline__dot--pink { background: var(--z-pink); }
.camp-timeline__dot--night { background: var(--z-night); }

/* Info */
.camp-timeline__info {
    min-width: 0;
}
.camp-timeline__name {
    font-family: var(--z-font-marker);
    font-size: 1.3rem;
    color: var(--z-ink);
    margin: 0 0 4px 0;
    line-height: 1.2;
    text-transform: none;
}
.camp-timeline__desc {
    font-family: var(--z-font-body);
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

/* Pills */
.camp-pill {
    font-family: var(--z-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid var(--z-ink);
    background: #fff;
    color: var(--z-ink);
    text-decoration: none;
    transition: all 0.15s;
}
.camp-pill--link {
    background: var(--z-orange);
    color: #fff;
    cursor: pointer;
}
.camp-pill--link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--z-ink);
    color: #fff;
}
.camp-pill--red { background: var(--z-red); color: #fff; }
.camp-pill--orange { background: var(--z-orange); color: #fff; }
.camp-pill--green { background: var(--z-green); color: #fff; }
.camp-pill--purple { background: var(--z-purple); color: #fff; }
.camp-pill--pink { background: var(--z-pink); color: #fff; }
.camp-pill--night { background: var(--z-night); color: #fff; }

/* ======= VOLLEYBALL ======= */
.camp-volley {
    background: var(--z-paper);
    padding: 80px 0;
    border-top: 5px solid var(--z-ink);
    border-bottom: 5px solid var(--z-ink);
}

.camp-volley__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.camp-volley__ball-zone {
    background: var(--z-bg-alt);
    border: 3px solid var(--z-ink);
    box-shadow: var(--z-shadow);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 28px,
            rgba(0,0,0,0.04) 28px,
            rgba(0,0,0,0.04) 29px
        );
}


.camp-volley__score-board {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--z-ink);
    padding: 10px 24px;
    border: 3px solid var(--z-ink);
}
.camp-volley__team {
    display: flex;
    align-items: center;
    gap: 10px;
}
.camp-volley__team-name {
    font-family: var(--z-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.camp-volley__team-score {
    font-family: var(--z-font-marker);
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}
.camp-volley__team-score--herria::after {
    content: "0";
    animation: scoreHerria 6s steps(1) infinite;
}
@keyframes scoreHerria {
    0%, 19% { content: "0"; }
    20%, 100% { content: "1"; }
}
.camp-volley__vs {
    font-family: var(--z-font-mono);
    color: var(--z-yellow);
    font-weight: 700;
    font-size: 0.8rem;
}

.camp-volley__title {
    font-family: var(--z-font-marker);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--z-ink);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.camp-volley__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.camp-volley__list li {
    padding: 12px 0;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
}
.camp-volley__list li:last-child { border-bottom: none; }
.camp-volley__list li strong {
    font-family: var(--z-font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    color: var(--z-ink);
}
.camp-volley__list li span {
    font-family: var(--z-font-body);
    font-size: 0.9rem;
    color: #666;
}

.camp-volley__small {
    font-family: var(--z-font-body);
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ======= VOLLEYBALL IMAGE (Zine Style) ======= */
.camp-volley__img-container {
    position: relative;
    transform: rotate(-1.5deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(4px 6px 6px rgba(0,0,0,0.15));
    margin-bottom: 1.5rem;
}
.camp-volley__img-container:hover {
    transform: rotate(0deg) scale(1.02);
}
.camp-volley__img {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid var(--z-ink);
    box-shadow: var(--z-shadow);
}

/* ======= CTA ======= */
.camp-cta {
    background: var(--z-red);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(0,0,0,0.04) 20px,
            rgba(0,0,0,0.04) 22px
        );
}
.camp-cta__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.camp-cta__emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 10px;
}

.camp-cta__title {
    font-family: var(--z-font-marker);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    text-shadow: 3px 3px 0 var(--z-ink);
    line-height: 1;
    margin-bottom: 1rem;
}

.camp-cta .camp-scribble::after {
    background: var(--z-ink);
    opacity: 0.3;
}

.camp-cta__text {
    font-family: var(--z-font-body);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.camp-cta__links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.camp-cta .camp-btn--primary {
    background: #fff;
    color: var(--z-ink);
}
.camp-cta .camp-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.camp-cta .camp-btn--ghost:hover {
    background: #fff;
    color: var(--z-ink);
}

/* ======= DARK NAV + FOOTER override ======= */
body:has(.camp-hero) .navbar {
    background-color: var(--z-bg) !important;
    border-bottom-color: var(--z-ink) !important;
}

body:has(.camp-hero) footer {
    background-color: var(--z-bg) !important;
    border-top-color: var(--z-ink) !important;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
    .camp-volley__wrapper {
        grid-template-columns: 1fr;
    }
    .camp-volley__ball-zone {
        min-height: 220px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .camp-hero {
        padding: 110px 0 70px;
    }
    .camp-hero__sticker {
        font-size: 2.5rem;
    }
    .camp-hero__sticker--1 { top: 12%; left: 4%; }
    .camp-hero__sticker--2 { top: 14%; right: 4%; }
    .camp-hero__sticker--3 { bottom: 14%; left: 5%; }
    .camp-hero__sticker--4 { bottom: 10%; right: 4%; }

    .camp-hero__title--red {
        font-size: 0.4em;
        padding: 4px 10px;
    }

    .camp-timeline__item {
        grid-template-columns: 75px 16px 1fr;
        gap: 0 10px;
        padding: 12px 0;
    }
    .camp-timeline__time {
        font-size: 0.8rem;
    }
    .camp-timeline__name {
        font-size: 1.1rem;
    }
    .camp-timeline__dot {
        width: 12px;
        height: 12px;
    }

    .camp-programa {
        padding: 50px 0 40px;
    }

    .camp-volley {
        padding: 50px 0;
    }

    .camp-cta {
        padding: 60px 0;
    }
    .camp-cta__links {
        flex-direction: column;
        align-items: center;
    }
    .camp-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .camp-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .camp-marquee__track span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .camp-hero__date {
        font-size: 0.75rem;
        padding: 6px 14px;
        letter-spacing: 2px;
    }
    .camp-timeline__item {
        grid-template-columns: 60px 12px 1fr;
        gap: 0 8px;
    }
    .camp-timeline__time {
        font-size: 0.75rem;
    }
    .camp-timeline__dot {
        width: 10px;
        height: 10px;
        border-width: 2px;
    }
    .camp-dia__label {
        padding: 6px 14px;
        gap: 8px;
    }
    .camp-dia__num {
        font-size: 1.4rem;
    }
    .camp-dia__text {
        font-size: 0.7rem;
    }
}
