/* ============================================================
   01. DESIGN TOKENS + RESET
   ============================================================ */

:root {
    color-scheme: dark;

    --night: #17111f;
    --night-deep: #100c16;
    --plum: #24182f;
    --paper: #f0e9ff;
    --paper-dim: #c6badb;
    --lilac: #bba0ff;
    --lilac-pale: #ded0ff;
    --pink: #f0a9db;
    --acid: #d7ff9a;
    --line: rgba(238, 226, 255, .22);

    --display: "Chewy", "Trebuchet MS", sans-serif;
    --body: "Manrope", Arial, sans-serif;
    --mono: "DM Mono", monospace;
    --hand: "Balsamiq Sans", "Comic Sans MS", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--night);
    color: var(--paper);
    font-family: var(--body);
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 5px,
            rgba(255, 255, 255, .012) 6px
        ),
        radial-gradient(
            ellipse at 48% 10%,
            #30203c 0,
            var(--night) 52%,
            var(--night-deep) 100%
        );
    content: "";
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

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

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 400;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 4px;
}

.wrap {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 13px;
    color: var(--lilac);
    font:
        500 10px/1.4 var(--mono);
    letter-spacing: 1.6px;
}

.eyebrow-mark {
    display: inline-block;
    margin-right: 7px;
    color: var(--pink);
    animation: tiny-spin 12s linear infinite;
}


/* ============================================================
   02. HEADER + HERO
   ============================================================ */

.site-header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.site-header::after {
    position: absolute;
    right: -110px;
    bottom: 75px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(187, 160, 255, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.site-noise {
    position: fixed;
    z-index: 10;
    inset: 0;
    opacity: .035;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    object-fit: contain;
    transform: rotate(-7deg);
}

.brand-name {
    display: flex;
    flex-direction: column;
    font:
        400 25px/.9 var(--display);
    letter-spacing: .5px;
}

.brand-name > span {
    display: inline;
    color: var(--lilac);
}

.brand-name small {
    margin-top: 7px;
    color: var(--paper-dim);
    font:
        9px/1 var(--mono);
    letter-spacing: 1.3px;
}

.nav-links {
    display: flex;
    gap: 28px;
    color: var(--paper-dim);
    font-size: 12px;
    font-weight: 800;
}

.nav-links a {
    transition: color .2s ease;
}

.nav-links a:hover {
    color: var(--pink);
}

.nav-ticket {
    padding: 12px 15px;
    border: 1px solid var(--lilac);
    color: var(--lilac-pale);
    font-size: 11px;
    font-weight: 800;
    transform: rotate(1deg);
    transition:
        background .2s,
        color .2s,
        transform .2s;
}

.nav-ticket span {
    margin-left: 13px;
}

.nav-ticket:hover {
    transform: rotate(-1deg) translateY(-2px);
    background: var(--lilac);
    color: var(--night);
}


/* HERO */

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 44px;
    min-height: 540px;
    padding-block: 65px 72px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 5px 0 0 18px;
}

.hero-copy .eyebrow {
    margin-bottom: 21px;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(62px, 7.3vw, 98px);
    line-height: .88;
    letter-spacing: -.8px;
}

.hero h1 em {
    color: var(--lilac);
    font-style: normal;
}

.hero-description {
    max-width: 400px;
    margin-bottom: 27px;
    color: var(--paper-dim);
    font-size: 14px;
    line-height: 1.85;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    padding: 15px 18px;
    background: var(--lilac);
    color: var(--night);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 4px 4px 0 #6d548f;
    transition:
        transform .2s,
        box-shadow .2s;
}

.hero-cta span {
    font-size: 19px;
}

.hero-cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #6d548f;
}

.hero-footnote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    color: #a99bbd;
    font:
        9px var(--mono);
    letter-spacing: 1px;
}

.stitch-line {
    width: 44px;
    height: 1px;
    background: var(--pink);
}


/* HERO STAGE */

.hero-stage {
    position: relative;
    width: min(100%, 470px);
    justify-self: center;
    padding: 20px 25px 14px 15px;
}

.stage-frame {
    position: relative;
    display: flex;
    min-height: 410px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #6c587e;
    background: #21182b;
    box-shadow: 9px 9px 0 #0d0912;
    transform: rotate(1.2deg);
}

.stage-frame::before {
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(221, 205, 255, .22);
    content: "";
    pointer-events: none;
}

.stage-label {
    position: absolute;
    top: 23px;
    z-index: 1;
    color: var(--paper-dim);
    font:
        9px var(--mono);
    letter-spacing: 1.4px;
}

.stage-ghost {
    position: relative;
    z-index: 1;
    width: clamp(180px, 22vw, 245px);
    margin-top: 3px;
    filter:
        drop-shadow(0 13px 0 rgba(12, 7, 18, .4));
    animation:
        ghost-bob 3.8s ease-in-out infinite;
}

.stage-shadow {
    position: absolute;
    bottom: 91px;
    width: 145px;
    height: 18px;
    border-radius: 50%;
    background: #0e0a13;
    opacity: .65;
    filter: blur(7px);
    animation:
        shadow-breathe 3.8s ease-in-out infinite;
}

.stage-caption {
    position: absolute;
    bottom: 25px;
    z-index: 1;
    color: var(--paper-dim);
    text-align: center;
    font:
        9px/1.8 var(--mono);
    letter-spacing: 1px;
}

.stage-caption b {
    color: var(--pink);
    font-weight: 500;
}

.frame-corner {
    position: absolute;
    z-index: 2;
    width: 17px;
    height: 17px;
    border-color: var(--pink);
    border-style: solid;
}

.corner-tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.corner-br {
    right: 0;
    bottom: 0;
    border-width: 0 2px 2px 0;
}

.stage-sticker {
    position: absolute;
    z-index: 3;
    top: 2px;
    right: 1px;
    display: grid;
    width: 75px;
    height: 75px;
    align-content: center;
    border: 1px solid var(--night);
    border-radius: 50%;
    background: var(--acid);
    color: var(--night);
    text-align: center;
    font:
        9px/1.25 var(--mono);
    transform: rotate(10deg);
    animation:
        sticker-wiggle 5s ease-in-out infinite;
}

.stage-sticker b {
    font:
        400 23px var(--display);
}

.stage-sparkle {
    position: absolute;
    z-index: 1;
    color: var(--pink);
}

.sparkle-a {
    top: 90px;
    left: 48px;
    font-size: 25px;
    animation:
        twinkle 2.5s ease-in-out infinite;
}

.sparkle-b {
    right: 48px;
    bottom: 100px;
    font-size: 17px;
    animation:
        twinkle 1.9s ease-in-out infinite reverse;
}

.stage-wing {
    position: absolute;
    right: -38px;
    bottom: 17px;
    width: 150px;
    transform: rotate(17deg);
    animation:
        wing-flutter 4s ease-in-out infinite;
}


/* TICKER */

.ticker {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #21182a;
}

.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
    color: var(--lilac-pale);
    font:
        10px var(--mono);
    letter-spacing: 2px;
    animation:
        ticker-scroll 28s linear infinite;
}

.ticker-track b {
    color: var(--pink);
    font-size: 14px;
}


/* ============================================================
   03. COUNTDOWN
   ============================================================ */

.countdown-section {
    padding-block: 100px 105px;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.section-intro h2,
.prize-heading h2 {
    margin-bottom: 0;
    font-size: clamp(42px, 5vw, 62px);
    line-height: .95;
    letter-spacing: -.3px;
}

.section-intro h2 span,
.prize-heading h2 span {
    color: var(--lilac);
}

.section-intro > p,
.prize-heading > p {
    max-width: 285px;
    margin: 0 0 5px;
    color: var(--paper-dim);
    font-size: 12px;
    line-height: 1.9;
}


/* TICKET */

.ticket-countdown {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr;
    min-height: 225px;
    border: 1px solid #c6b3e5;
    background: var(--paper);
    color: var(--night);
    box-shadow: 9px 9px 0 #0b0810;
    transform: rotate(-.35deg);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.ticket-countdown:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 9px 12px 0 #0b0810;
}

.ticket-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-right: 2px dashed #a99ac4;
    background: #dfd1fa;
}

.ticket-stamp {
    display: grid;
    width: 47px;
    height: 47px;
    align-content: center;
    border: 1px solid #4e3a69;
    border-radius: 50%;
    text-align: center;
    font:
        8px/1.1 var(--mono);
    transform: rotate(-9deg);
}

.ticket-stamp b {
    font-size: 12px;
}

.vertical-copy {
    writing-mode: vertical-rl;
    color: #65537d;
    font:
        8px var(--mono);
    letter-spacing: 1px;
    transform: rotate(180deg);
}

.ticket-side-number {
    color: #6b587f;
    font:
        10px var(--mono);
}

.ticket-main {
    min-width: 0;
    padding: 25px 34px 18px;
}

.ticket-heading,
.ticket-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font:
        9px var(--mono);
    letter-spacing: 1px;
}

.ticket-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #c7b8dc;
}

.ticket-date {
    color: #6e5b88;
}

.countdown {
    display: grid;
    grid-template-columns:
        1fr 18px
        1fr 18px
        1fr 18px
        1fr;
    align-items: center;
    gap: 5px;
    padding: 20px 0 17px;
}

.count-unit {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.count-number {
    display: block;
    color: #231832;
    font:
        400 clamp(46px, 7vw, 79px)/.95 var(--display);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.count-number.tick {
    animation:
        number-tick .35s ease;
}

.count-label {
    margin-top: 8px;
    color: #756486;
    font:
        9px var(--mono);
    letter-spacing: 1.3px;
}

.count-colon {
    align-self: center;
    padding-bottom: 12px;
    color: #a58ccf;
    font:
        400 29px var(--display);
}

.ticket-bottom {
    padding-top: 12px;
    border-top: 1px solid #c7b8dc;
    color: #746283;
    font-size: 8px;
}

.ticket-bottom > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7ba845;
    box-shadow: 0 0 0 3px #cce6ad;
    animation:
        live-pulse 1.7s ease-out infinite;
}

.ticket-perforation {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 76px;
    width: 1px;
}

.ticket-perforation::before,
.ticket-perforation::after {
    position: absolute;
    left: -12px;
    width: 23px;
    height: 23px;

    /* Sin borde: conserva únicamente la forma del agujero */
    border: none;

    border-radius: 50%;
    background: var(--night);
    content: "";
}

.ticket-perforation::before {
    top: -12px;
}

.ticket-perforation::after {
    bottom: -12px;
}

.ticket-ghost {
    position: absolute;
    right: 25px;
    bottom: 21px;
    width: 30px;
    opacity: .9;
    transform: rotate(8deg);
}

.countdown-note {
    margin: 19px 0 0;
    color: #a89ab9;
    text-align: right;
    font:
        10px var(--mono);
    letter-spacing: .3px;
}


/* ============================================================
   04. CALENDAR
   ============================================================ */

.calendar-section {
    position: relative;
    overflow: hidden;
    padding-block: 91px 105px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #21182a;
}

.calendar-section::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0 23px,
            rgba(255, 255, 255, .012) 24px 25px
        );
    content: "";
    pointer-events: none;
}

.calendar-intro {
    position: relative;
    z-index: 1;
}

.calendar-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, .75fr);
    align-items: stretch;
    gap: 27px;
}


/* CALENDAR PAPER */

.calendar-paper {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 22px 25px 20px;
    border: 1px solid #c8b6e3;
    background:
        linear-gradient(
            145deg,
            #f3edff 0%,
            #eee5fb 100%
        );
    color: #21172e;
    box-shadow:
        8px 8px 0 #100b17,
        1px 1px 0 rgba(255, 255, 255, .45) inset;
    transform: rotate(-.45deg);
}


/* EL GATO DEL CALENDARIO */

.calendar-cat {
    position: absolute;
    z-index: 8;
    top: -82px;
    left: 50%;
    width: 142px;
    max-width: none;
    transform:
        translateX(-50%)
        rotate(-4deg);
    filter:
        drop-shadow(4px 5px 0 rgba(16, 11, 23, .32));
    transform-origin: center bottom;
    animation:
        cat-peek 4.5s ease-in-out infinite;
}


/* Sombra debajo del gato */

.calendar-paper::after {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 116px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 20, 43, .14);
    content: "";
    transform:
        translateX(-50%)
        rotate(-2deg);
    filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.calendar-paper-top {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding-bottom: 13px;
    border-bottom: 1px solid #c8b7dd;
    color: #7e6b95;
    font:
        8px var(--mono);
    letter-spacing: 1.2px;
}


/* ============================================================
   CALENDAR HEADER
   Las flechas ya no se muestran porque solo habrá noviembre.
   ============================================================ */

.calendar-header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 22px 0 20px;
}

.month-button {
    display: none;
}

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

.month-heading h3 {
    margin: 0 0 4px;
    font-size: clamp(28px, 3.2vw, 39px);
    line-height: .95;
}

.month-heading > span {
    color: #8b779f;
    font:
        8px var(--mono);
    letter-spacing: 1.4px;
}

.weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns:
        repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.weekdays {
    padding: 11px 0;
    border-top: 1px solid #d4c7e4;
    border-bottom: 1px solid #d4c7e4;
    color: #8a779e;
    font:
        9px var(--mono);
    text-align: center;
}

.calendar-grid {
    grid-auto-rows: minmax(64px, auto);
    padding-top: 12px;
}

.calendar-day {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid transparent;
    background: transparent;
    color: #3c2c50;
    cursor: pointer;
    font:
        400 18px var(--display);
    transition:
        background .18s,
        border-color .18s,
        transform .18s;
}

.calendar-day:not(.empty):hover {
    z-index: 1;
    border-color: #a38ac6;
    background: #e4d8fa;
    transform:
        translateY(-2px)
        rotate(-2deg);
}

.calendar-day.empty {
    pointer-events: none;
}

.calendar-day.today {
    border-color: #ad8dd4;
}

.calendar-day.today::before {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7aaf43;
    content: "";
}

.calendar-day.has-event {
    background: #e1d4f8;
}

.calendar-day.has-event .day-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b68c0;
}

.calendar-day.special-day {
    background: #21172e;
    color: #f3eaff;
}

.calendar-day.special-day::after {
    position: absolute;
    top: 2px;
    right: 3px;
    color: var(--pink);
    content: "✳";
    font-size: 10px;
}

.calendar-day.special-day .day-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pink);
}

.calendar-day.selected {
    outline: 2px solid #9b7cc3;
    outline-offset: -3px;
    background: var(--lilac) !important;
    color: #21172e !important;
}

.calendar-day.selected .day-dot {
    background: #21172e;
}

.calendar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #d4c7e4;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #827091;
    font:
        8px var(--mono);
}

.calendar-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-mark {
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 1px solid #9b7cc3;
}

.mark-today {
    border-radius: 50%;
    background: #9cc76e;
}

.mark-event {
    background: #cbb5ef;
}

.mark-special {
    background: #21172e;
}

.calendar-handnote {
    color: #8c6aa9;
    font:
        400 13px var(--hand);
    transform: rotate(-3deg);
}


/* EVENTS PAPER */

.events-paper {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 25px 23px 19px;
    border: 1px solid #594765;
    background: #17111f;
    box-shadow: 6px 6px 0 #110c16;
}

.events-paper::before {
    position: absolute;
    top: -1px;
    left: 22px;
    width: 75px;
    height: 4px;
    background: var(--pink);
    content: "";
}

.events-paper-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #55425f;
}

.events-paper-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 8px;
}

.events-paper-heading h3 {
    margin: 0;
    font-size: 31px;
    line-height: .95;
}

.paper-index {
    color: var(--pink);
    font:
        9px var(--mono);
}

.panel-hint {
    margin: 14px 0 12px;
    color: #a99ab9;
    font-size: 10px;
    line-height: 1.6;
}

.event-list {
    display: grid;
    gap: 8px;
}

.event-item {
    display: grid;
    grid-template-columns:
        47px
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px 9px;
    border: 1px solid #392a43;
    background: #20172a;
    text-align: left;
    cursor: pointer;
    transition:
        border-color .2s,
        background .2s,
        transform .2s;
}

.event-item:hover {
    border-color: #9e82c2;
    transform: translateX(3px);
}

.event-item.active {
    border-color: var(--lilac);
    background: #30223c;
    box-shadow:
        inset 3px 0 var(--lilac);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-right: 1px dashed #78618c;
    color: var(--lilac);
}

.event-date strong {
    font:
        400 25px/.9 var(--display);
}

.event-date span {
    margin-top: 4px;
    color: #ac9abf;
    font:
        8px var(--mono);
}

.event-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.event-copy strong {
    color: #f1eaff;
    font:
        400 16px/1.15 var(--display);
}

.event-copy > span {
    color: #b4a5c1;
    font-size: 9px;
    line-height: 1.45;
}

.event-tag {
    align-self: start;
    padding: 4px 5px;
    border: 1px solid #6d547f;
    color: #cdb9ed;
    font:
        7px var(--mono);
    letter-spacing: .3px;
}

.event-item.active .event-tag {
    border-color: var(--pink);
    color: var(--pink);
}

.no-events {
    padding: 20px 8px;
    color: #b4a5c1;
    font-size: 12px;
    line-height: 1.7;
}

.event-paper-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 18px;
    color: #a994c0;
    font:
        8px var(--mono);
    letter-spacing: 1px;
}

.event-paper-footer img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


/* ============================================================
   05. PRIZES
   ============================================================ */

.prizes-section {
    padding-block: 105px 76px;
}

.prize-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.prize-display {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    min-height: 340px;
    border: 1px solid #5d486c;
    background: #21172b;
    box-shadow: 8px 8px 0 #0c0810;
}

.prize-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 35px 34px;
    border-right: 1px dashed #725982;
}

.prize-edition {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--pink);
    font:
        8px var(--mono);
    letter-spacing: 1px;
}

.prize-edition b {
    color: #9f8ab6;
    font-weight: 400;
}

.prize-copy h3 {
    margin: 22px 0 14px;
    font-size: clamp(39px, 4.2vw, 56px);
    line-height: .94;
}

.prize-copy h3 em {
    color: var(--lilac);
    font-style: normal;
}

.prize-copy p {
    max-width: 270px;
    margin-bottom: 24px;
    color: #c0b2d0;
    font-size: 11px;
    line-height: 1.8;
}

.prize-doodle {
    color: var(--acid);
    font:
        400 15px var(--hand);
    transform: rotate(-3deg);
}

.prize-art-wrap {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    overflow: hidden;
    padding: 30px;
    background:
        repeating-linear-gradient(
            135deg,
            #291e35 0 12px,
            #261b31 12px 24px
        );
}

.prize-art-frame {
    position: relative;
    width: min(100%, 520px);
    padding: 22px 22px 15px;
    border: 1px solid #a58cbe;
    background: #130e1b;
    box-shadow: 6px 6px 0 #0d0912;
    transform: rotate(1.3deg);
    transition:
        transform .35s ease;
}

.prize-art-frame:hover {
    transform:
        rotate(0deg)
        scale(1.025);
}

.prize-frame-label,
.prize-frame-bottom {
    display: block;
    color: #b8a5ce;
    text-align: center;
    font:
        8px var(--mono);
    letter-spacing: 1.4px;
}

.prize-art-frame img {
    width: 100%;
    margin: 16px auto 13px;
    image-rendering: auto;
}

.prize-frame-bottom {
    color: var(--pink);
    letter-spacing: 1px;
}

.prize-button-deco {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 57px;
    transform: rotate(12deg);
    animation:
        button-jiggle 4s ease-in-out infinite;
}

.prize-cross-deco {
    position: absolute;
    top: 18px;
    left: 17px;
    width: 22px;
    transform: rotate(12deg);
}

.prize-foot {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 2px 0;
    color: #a99ab9;
    font:
        8px var(--mono);
    letter-spacing: 1px;
}

.prize-foot span:first-child {
    color: var(--lilac);
}

.prize-foot i {
    margin-right: 6px;
    color: var(--pink);
    font-style: normal;
}


/* ============================================================
   06. CLOSING NOTE + FOOTER
   ============================================================ */

.club-note {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 80px;
    padding: 24px 29px;
    border-top: 1px solid #574363;
    border-bottom: 1px solid #574363;
}

.club-note > img {
    width: 69px;
    flex: 0 0 auto;
    animation:
        ghost-bob 3.8s ease-in-out infinite;
}

.club-note > div {
    flex: 1;
}

.club-note .eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
}

.club-note h2 {
    margin-bottom: 4px;
    font-size: 28px;
}

.club-note p:last-child {
    margin: 0;
    color: #b6a7c5;
    font-size: 10px;
    line-height: 1.7;
}

.club-note > a {
    padding: 11px 13px;
    border: 1px solid #765c8a;
    color: var(--lilac);
    font-size: 10px;
    font-weight: 800;
}

.club-note > a:hover {
    background: #30223c;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #100c16;
}

.site-footer > .wrap {
    display: flex;
    min-height: 77px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #9f91b1;
    font:
        8px var(--mono);
    letter-spacing: 1px;
}

.footer-brand {
    color: var(--paper);
    font:
        400 21px var(--display);
    letter-spacing: .5px;
}

.footer-brand span {
    color: var(--pink);
}

.site-footer a:last-child {
    color: var(--lilac);
}


/* ============================================================
   07. MOTION
   ============================================================ */

@keyframes ghost-bob {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-11px) rotate(2deg);
    }
}

@keyframes shadow-breathe {
    0%,
    100% {
        transform: scaleX(1);
        opacity: .65;
    }

    50% {
        transform: scaleX(.78);
        opacity: .42;
    }
}

@keyframes sticker-wiggle {
    0%,
    88%,
    100% {
        transform: rotate(10deg);
    }

    92% {
        transform: rotate(15deg) scale(1.04);
    }

    96% {
        transform: rotate(6deg);
    }
}

@keyframes tiny-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {
    0%,
    100% {
        opacity: .45;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes wing-flutter {
    0%,
    100% {
        transform: rotate(17deg) translateY(0);
    }

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

@keyframes ticker-scroll {
    to {
        transform: translateX(-50%);
    }
}

@keyframes live-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(123, 168, 69, .5);
    }

    100% {
        box-shadow:
            0 0 0 6px rgba(123, 168, 69, 0);
    }
}

@keyframes number-tick {
    0% {
        transform: translateY(-4px);
        opacity: .55;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cat-peek {
    0%,
    100% {
        transform:
            translateX(-50%)
            rotate(-4deg)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            rotate(-2deg)
            translateY(-4px);
    }
}

@keyframes button-jiggle {
    0%,
    90%,
    100% {
        transform: rotate(12deg);
    }

    94% {
        transform: rotate(20deg) scale(1.04);
    }

    97% {
        transform: rotate(5deg);
    }
}


/* ============================================================
   08. RESPONSIVE
   ============================================================ */

@media (min-width: 1400px) {
    .hero {
        min-height: 590px;
    }
}

@media (max-width: 900px) {

    .wrap {
        width: min(calc(100% - 42px), 700px);
    }

    .navbar {
        min-height: 80px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr .85fr;
        gap: 15px;
        min-height: 480px;
        padding-block: 52px 60px;
    }

    .hero-copy {
        padding-left: 0;
    }

    .hero h1 {
        font-size: clamp(55px, 8vw, 76px);
    }

    .hero-stage {
        padding-right: 12px;
    }

    .stage-frame {
        min-height: 345px;
    }

    .stage-ghost {
        width: 190px;
    }

    .section-intro h2,
    .prize-heading h2 {
        font-size: 48px;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .calendar-cat {
        top: -72px;
        width: 125px;
    }

    .calendar-paper {
        padding-inline: 27px;
    }

    .calendar-grid {
        grid-auto-rows: minmax(67px, auto);
    }

    .events-paper {
        padding: 24px;
    }

    .event-list {
        grid-template-columns: 1fr 1fr;
    }

    .event-item {
        grid-template-columns:
            42px
            minmax(0, 1fr);
    }

    .event-tag {
        display: none;
    }

    .event-paper-footer {
        margin-top: 22px;
    }
}


@media (max-width: 600px) {

    .wrap {
        width: calc(100% - 34px);
    }

    .navbar {
        min-height: 75px;
        gap: 9px;
    }

    .brand {
        gap: 7px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-name small {
        font-size: 7px;
        letter-spacing: .7px;
    }

    .nav-links {
        display: none;
    }

    .nav-ticket {
        padding: 10px 9px;
        font-size: 9px;
    }

    .nav-ticket span {
        margin-left: 5px;
    }


    /* HERO */

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 52px 38px;
    }

    .hero-copy {
        padding: 0 3px;
    }

    .hero-copy .eyebrow {
        margin-bottom: 17px;
        font-size: 8px;
    }

    .hero h1 {
        margin-bottom: 16px;
        font-size: clamp(58px, 15vw, 79px);
        letter-spacing: 0;
    }

    .hero-description {
        max-width: 340px;
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-cta {
        padding: 13px 14px;
        font-size: 11px;
    }

    .hero-footnote {
        margin-top: 23px;
        font-size: 8px;
    }

    .hero-stage {
        width: min(100%, 365px);
        padding:
            10px 16px 12px 6px;
    }

    .stage-frame {
        min-height: 330px;
    }

    .stage-ghost {
        width: 195px;
    }

    .stage-sticker {
        top: -1px;
        right: -1px;
        width: 65px;
        height: 65px;
    }

    .stage-sticker b {
        font-size: 18px;
    }

    .stage-wing {
        right: -35px;
        width: 120px;
    }

    .ticker-track {
        gap: 20px;
        padding-block: 12px;
        font-size: 8px;
    }


    /* COUNTDOWN */

    .countdown-section {
        padding-block: 69px 76px;
    }

    .section-intro,
    .prize-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .section-intro h2,
    .prize-heading h2 {
        font-size: 44px;
    }

    .section-intro > p,
    .prize-heading > p {
        max-width: 330px;
        font-size: 11px;
    }

    .ticket-countdown {
        grid-template-columns: 43px 1fr;
        min-height: 190px;
        box-shadow:
            5px 5px 0 #0b0810;
    }

    .ticket-side {
        padding-block: 11px;
    }

    .ticket-stamp {
        width: 31px;
        height: 31px;
        font-size: 6px;
    }

    .ticket-stamp b {
        font-size: 9px;
    }

    .vertical-copy {
        font-size: 6px;
    }

    .ticket-side-number {
        font-size: 8px;
    }

    .ticket-main {
        padding: 17px 12px 13px;
    }

    .ticket-perforation {
        left: 43px;
    }

    .ticket-heading {
        align-items: start;
        flex-direction: column;
        gap: 6px;
        padding-bottom: 12px;
        font-size: 7px;
    }

    .countdown {
        grid-template-columns:
            1fr 8px
            1fr 8px
            1fr 8px
            1fr;
        gap: 2px;
        padding: 22px 0 17px;
    }

    .count-number {
        font-size: clamp(30px, 8.7vw, 48px);
    }

    .count-label {
        margin-top: 7px;
        font-size: 6px;
        letter-spacing: .5px;
    }

    .count-colon {
        padding-bottom: 9px;
        font-size: 18px;
    }

    .ticket-bottom {
        align-items: start;
        flex-direction: column;
        gap: 9px;
        font-size: 7px;
    }

    .ticket-ghost {
        right: 10px;
        bottom: 12px;
        width: 21px;
    }

    .countdown-note {
        font-size: 8px;
        line-height: 1.7;
    }


    /* CALENDAR */

    .calendar-section {
        padding-block: 70px 78px;
    }

    .calendar-paper {
        padding: 16px 11px 15px;
        box-shadow:
            5px 5px 0 #100b17;
    }

    .calendar-cat {
        top: -56px;
        width: 98px;
        transform:
            translateX(-50%)
            rotate(-4deg);
    }

    .calendar-paper::after {
        width: 82px;
    }

    .calendar-paper-top {
        padding-inline: 4px;
        font-size: 6px;
        letter-spacing: .7px;
    }

    .calendar-header {
        grid-template-columns: 1fr;
        padding-block: 20px 16px;
    }

    .month-button {
        display: none;
    }

    .month-heading h3 {
        font-size: clamp(23px, 7vw, 30px);
    }

    .month-heading > span {
        font-size: 6px;
        letter-spacing: .8px;
    }

    .weekdays,
    .calendar-grid {
        gap: 3px;
    }

    .weekdays {
        padding-block: 10px;
        font-size: 7px;
    }

    .calendar-grid {
        grid-auto-rows: minmax(47px, auto);
        padding-top: 8px;
    }

    .calendar-day {
        min-height: 46px;
        gap: 3px;
        font-size: 15px;
    }

    .calendar-day.today::before {
        top: 3px;
        right: 3px;
        width: 4px;
        height: 4px;
    }

    .calendar-day.special-day::after {
        top: 0;
        right: 1px;
        font-size: 8px;
    }

    .calendar-day.has-event .day-dot,
    .calendar-day.special-day .day-dot {
        width: 4px;
        height: 4px;
    }

    .calendar-bottom {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .calendar-legend {
        gap: 10px;
        font-size: 7px;
    }

    .calendar-handnote {
        align-self: end;
        font-size: 12px;
    }


    /* EVENTS */

    .events-paper {
        padding: 20px 15px 17px;
    }

    .events-paper-heading h3 {
        font-size: 29px;
    }

    .panel-hint {
        font-size: 9px;
    }

    .event-list {
        grid-template-columns: 1fr;
    }

    .event-item {
        grid-template-columns:
            46px
            minmax(0, 1fr)
            auto;
        padding: 10px 8px;
    }

    .event-tag {
        display: block;
        font-size: 6px;
    }

    .event-copy strong {
        font-size: 14px;
    }

    .event-copy > span {
        font-size: 9px;
    }


    /* PRIZES */

    .prizes-section {
        padding-block: 75px 58px;
    }

    .prize-display {
        grid-template-columns: 1fr;
    }

    .prize-copy {
        padding: 26px 23px 23px;
        border-right: 0;
        border-bottom: 1px dashed #725982;
    }

    .prize-copy h3 {
        margin: 15px 0 11px;
        font-size: 43px;
    }

    .prize-copy p {
        margin-bottom: 15px;
    }

    .prize-art-wrap {
        min-height: 260px;
        padding: 25px 19px;
    }

    .prize-art-frame {
        padding: 15px 13px 12px;
    }

    .prize-frame-label,
    .prize-frame-bottom {
        font-size: 7px;
    }

    .prize-art-frame img {
        margin-block: 12px;
    }

    .prize-button-deco {
        right: 7px;
        bottom: 9px;
        width: 40px;
    }

    .prize-cross-deco {
        top: 9px;
        left: 9px;
        width: 17px;
    }

    .prize-foot {
        flex-direction: column;
        gap: 8px;
        font-size: 7px;
    }


    /* CLUB NOTE */

    .club-note {
        flex-wrap: wrap;
        gap: 13px;
        margin-bottom: 55px;
        padding: 19px 0;
    }

    .club-note > img {
        width: 51px;
    }

    .club-note > div {
        min-width: calc(100% - 70px);
    }

    .club-note h2 {
        font-size: 24px;
    }

    .club-note p:last-child {
        font-size: 9px;
    }

    .club-note > a {
        margin-left: auto;
        font-size: 9px;
    }


    /* FOOTER */

    .site-footer > .wrap {
        min-height: 69px;
        flex-wrap: wrap;
        gap: 8px;
        padding-block: 15px;
        font-size: 7px;
    }

    .footer-brand {
        font-size: 17px;
    }
}


@media (max-width: 360px) {

    .wrap {
        width: calc(100% - 26px);
    }

    .brand-name {
        font-size: 16px;
    }

    .nav-ticket {
        font-size: 8px;
    }

    .calendar-paper {
        padding-inline: 7px;
    }

    .calendar-cat {
        top: -50px;
        width: 88px;
    }

    .calendar-grid {
        gap: 2px;
        grid-auto-rows:
            minmax(42px, auto);
    }

    .calendar-day {
        min-height: 41px;
        font-size: 13px;
    }

    .calendar-legend {
        gap: 7px;
    }

    .event-tag {
        display: none;
    }

    .count-number {
        font-size: 28px;
    }
}


/* ============================================================
   09. ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   10. NEW ELEMENTS
   Solo estilos añadidos para los elementos nuevos.
   El diseño original permanece intacto.
   ============================================================ */


/* ============================================================
   HERO — GHOST INTERACTION
   ============================================================ */

.ghost-interaction {
    position: relative;
    z-index: 2;
    display: contents;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ghost-message {
    position: absolute;
    z-index: 5;
    right: 34px;
    top: 96px;
    width: max-content;
    max-width: 130px;
    padding: 8px 10px;
    border: 1px solid #8d769f;
    background: var(--paper);
    color: var(--night);
    font:
        8px/1.35 var(--mono);
    letter-spacing: .4px;
    text-align: center;
    box-shadow: 3px 3px 0 #0d0912;
    opacity: 0;
    pointer-events: none;
    transform:
        rotate(3deg)
        translateY(5px);
    transition:
        opacity .2s ease,
        transform .25s ease;
}

.ghost-message::before {
    position: absolute;
    left: 18px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    border-right: 1px solid #8d769f;
    border-bottom: 1px solid #8d769f;
    background: var(--paper);
    content: "";
    transform: rotate(45deg);
}

.ghost-message strong {
    display: block;
    margin-bottom: 2px;
    color: #765a8d;
    font-size: 7px;
    letter-spacing: 1px;
}

.hero-stage.ghost-found .ghost-message {
    opacity: 1;
    transform:
        rotate(3deg)
        translateY(0);
}

.hero-stage.ghost-found .stage-ghost {
    animation:
        ghost-found-bounce .55s ease,
        ghost-bob 3.8s ease-in-out .55s infinite;
}


/* ============================================================
   CASE FILE 013
   ============================================================ */

.case-file-section {
    padding-block: 10px 105px;
}

.case-file-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #665071;
    background: #21172b;
    box-shadow: 8px 8px 0 #0c0810;
}

.case-file-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 17px;
    border-bottom: 1px dashed #6c5479;
    background: #2a1d35;
    color: #bcaacd;
    font:
        8px var(--mono);
    letter-spacing: 1.1px;
}

.case-file-top::before {
    width: 9px;
    height: 9px;
    border: 1px solid var(--pink);
    content: "";
    transform: rotate(45deg);
}

.case-file-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 280px;
}

.case-file-copy {
    padding: 32px 34px;
}

.case-file-copy .eyebrow {
    margin-bottom: 9px;
}

.case-file-copy h2 {
    max-width: 500px;
    margin-bottom: 13px;
    font-size: clamp(39px, 5vw, 62px);
    line-height: .9;
}

.case-file-copy h2 span {
    color: var(--pink);
}

.case-file-copy > p {
    max-width: 490px;
    margin-bottom: 23px;
    color: #b9a9c7;
    font-size: 11px;
    line-height: 1.8;
}

.case-file-button {
    position: relative;
    padding: 11px 15px;
    border: 1px solid var(--acid);
    background: transparent;
    color: var(--acid);
    cursor: pointer;
    font:
        9px var(--mono);
    letter-spacing: .8px;
    transform: rotate(-1deg);
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.case-file-button:hover {
    background: var(--acid);
    color: var(--night);
    transform: rotate(1deg) translateY(-2px);
}

.case-file-button.file-open {
    border-color: var(--pink);
    color: var(--pink);
}

.case-file-evidence {
    position: relative;
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-left: 1px dashed #725982;
    background:
        repeating-linear-gradient(
            -8deg,
            #261b31 0 18px,
            #291e35 18px 19px
        );
}

.case-file-evidence::before {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 70px;
    height: 17px;
    border: 1px solid #70547d;
    content: "";
    transform: rotate(3deg);
}

.case-file-evidence img {
    position: relative;
    z-index: 1;
    width: 270px;
    transform: rotate(-5deg);
    filter:
        drop-shadow(6px 7px 0 rgba(9, 6, 13, .45));
}

.case-file-stamp {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 22px;
    padding: 7px 9px;
    border: 2px solid #b77ca9;
    color: #d79bc5;
    font:
        9px var(--mono);
    letter-spacing: 1px;
    transform: rotate(-9deg);
    opacity: .85;
}

.case-file-number {
    position: absolute;
    right: 20px;
    bottom: 18px;
    color: #80658f;
    font:
        9px var(--mono);
    letter-spacing: 1px;
}

.case-file-reveal {
    position: relative;
    padding: 24px 30px 27px;
    border-top: 1px dashed #725982;
    background: #eee5f8;
    color: var(--night);
    transform-origin: top;
    animation: case-file-open .35s ease;
}

.case-file-reveal[hidden] {
    display: none;
}

.case-file-note {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 21px 24px 18px;
    border: 1px solid #b9a6ca;
    background: #f4edfb;
    box-shadow: 4px 4px 0 #b7a7c3;
    transform: rotate(-.45deg);
}

.case-file-note::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 75px;
    height: 13px;
    background: rgba(215, 255, 154, .72);
    content: "";
    transform: translateX(-50%) rotate(-2deg);
}

.note-label {
    display: block;
    margin-bottom: 10px;
    color: #806b91;
    font:
        8px var(--mono);
    letter-spacing: 1px;
}

.case-file-note p {
    margin-bottom: 15px;
    color: #382944;
    font-size: 11px;
    line-height: 1.75;
}

.note-signature {
    display: block;
    color: #80618d;
    font:
        400 14px var(--hand);
    text-align: right;
    transform: rotate(-3deg);
}


/* ============================================================
   PRIZE — INTERACTIVE FRAME
   ============================================================ */

.prize-art-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
}

.prize-art-button .prize-art-frame {
    transition:
        transform .2s ease,
        border-color .2s ease;
}

.prize-art-button:hover .prize-art-frame {
    transform:
        rotate(0deg)
        scale(1.025);
}

.prize-art-button.prize-interacted .prize-art-frame {
    border-color: var(--acid);
    animation: prize-paper-hit .45s ease;
}

.prize-art-button.prize-interacted .prize-frame-bottom {
    color: var(--acid);
}


/* ============================================================
   NEW MOTION
   ============================================================ */

@keyframes ghost-found-bounce {
    0% {
        transform: translateY(0) rotate(-2deg);
    }

    35% {
        transform: translateY(-16px) rotate(3deg);
    }

    65% {
        transform: translateY(3px) rotate(-3deg);
    }

    100% {
        transform: translateY(0) rotate(-2deg);
    }
}

@keyframes case-file-open {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes prize-paper-hit {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-1.5deg) scale(1.015);
    }

    50% {
        transform: rotate(1deg) scale(1.01);
    }

    75% {
        transform: rotate(-.5deg) scale(1.005);
    }
}


/* ============================================================
   NEW ELEMENTS — RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .case-file-content {
        grid-template-columns: 1fr;
    }

    .case-file-evidence {
        min-height: 230px;
        border-top: 1px dashed #725982;
        border-left: 0;
    }

    .case-file-copy {
        padding: 28px 27px;
    }

    .case-file-evidence img {
        width: 145px;
    }
}

@media (max-width: 600px) {
    .case-file-section {
        padding-block: 0 76px;
    }

    .case-file-top {
        padding: 11px 12px;
        font-size: 7px;
    }

    .case-file-copy {
        padding: 25px 20px 23px;
    }

    .case-file-copy h2 {
        font-size: 42px;
    }

    .case-file-copy > p {
        font-size: 10px;
        line-height: 1.7;
    }

    .case-file-button {
        font-size: 8px;
    }

    .case-file-evidence {
        min-height: 205px;
    }

    .case-file-evidence img {
        width: 225px;
    }

    .case-file-stamp {
        top: 17px;
        left: 14px;
        font-size: 7px;
    }

    .case-file-number {
        right: 13px;
        bottom: 12px;
        font-size: 7px;
    }

    .case-file-reveal {
        padding: 18px 13px 20px;
    }

    .case-file-note {
        padding: 18px 16px 15px;
    }

    .case-file-note p {
        font-size: 10px;
        line-height: 1.7;
    }

    .note-signature {
        font-size: 12px;
    }

    .ghost-message {
        top: 82px;
        right: 19px;
        max-width: 105px;
        padding: 7px 8px;
        font-size: 7px;
    }
}

@media (max-width: 360px) {
    .case-file-copy {
        padding-inline: 16px;
    }

    .case-file-copy h2 {
        font-size: 38px;
    }

    .case-file-evidence img {
        width: 110px;
    }

    .ghost-message {
        right: 12px;
    }
}


/* ============================================================
   NEW ELEMENTS — REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .ghost-message,
    .case-file-reveal,
    .prize-art-button.prize-interacted .prize-art-frame {
        animation: none !important;
        transition: none !important;
    }

    .hero-stage.ghost-found .stage-ghost {
        animation: none !important;
    }
}


/* =========================================================
   COUNTDOWN EXTERNAL CONTROLS
   New styles only
   ========================================================= */

.countdown-controls {
    width: 100%;
    margin: 0 auto 28px;
    position: relative;
    z-index: 10;
}

.countdown-controls-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--paper-dim);
    text-align: center;
}

.countdown-controls-arrow {
    color: var(--acid);
    font-size: 1rem;
    animation: countdown-arrow-bounce 1.5s ease-in-out infinite;
}

.countdown-controls-arrow:last-child {
    animation-delay: .2s;
}

.countdown-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    width: 100%;
}

.countdown-switch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 9px 12px;
    border: 1px solid rgba(240, 233, 255, .28);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );
    color: var(--paper-dim);
    font-family: var(--mono);
    cursor: pointer;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.countdown-switch::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px dashed rgba(240, 233, 255, .12);
    pointer-events: none;
}

.countdown-switch:hover {
    transform: translateY(-3px);
    border-color: var(--lilac);
    color: var(--paper);
    background: rgba(187, 160, 255, .12);
    box-shadow:
        4px 4px 0 rgba(16, 11, 23, .35);
}

.countdown-switch:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 4px;
}

.countdown-switch.active {
    transform: translateY(-3px);
    border-color: var(--acid);
    background: var(--acid);
    color: var(--night);
    box-shadow:
        5px 5px 0 rgba(16, 11, 23, .55);
}

.countdown-switch.active::before {
    border-color: rgba(23, 17, 31, .25);
}

.switch-number {
    font-size: .65rem;
    font-weight: 500;
    opacity: .7;
}

.switch-text {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.countdown-switch.active .switch-number {
    opacity: 1;
}

@keyframes countdown-arrow-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {
    .countdown-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .countdown-switch {
        min-height: 52px;
    }
}

@media (max-width: 600px) {
    .countdown-controls {
        margin-bottom: 22px;
    }

    .countdown-controls-label {
        font-size: .58rem;
        letter-spacing: .13em;
        gap: 8px;
    }

    .countdown-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .countdown-switch {
        min-height: 50px;
        padding: 8px 7px;
        gap: 6px;
    }

    .switch-number {
        font-size: .58rem;
    }

    .switch-text {
        font-size: .62rem;
        letter-spacing: .06em;
    }
}

@media (max-width: 360px) {
    .countdown-controls-label {
        font-size: .52rem;
    }

    .countdown-switch {
        min-height: 46px;
    }

    .switch-text {
        font-size: .56rem;
    }
}


/* =========================================================
   CALENDAR — SCHEDULE MARKS
   New styles only
   ========================================================= */

.calendar-day {
    position: relative;
}


/* ---------------------------------------------------------
   Marcas de periodos
   --------------------------------------------------------- */

.calendar-period-marks {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 5px;
    pointer-events: none;
}

.period-mark {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}


/* Activity */

.period-activity {
    background: var(--acid);
}


/* Registration 01 / 02 / 03 */

.period-registration {
    background: var(--pink);
}


/* Final registration */

.period-final-registration {
    background: var(--lilac);
}


/* ---------------------------------------------------------
   Estados generales de las fechas
   --------------------------------------------------------- */

.calendar-day.activity-day {
    box-shadow:
        inset 0 -2px 0 var(--acid);
}

.calendar-day.registration-day {
    box-shadow:
        inset 0 -2px 0 var(--pink);
}

.calendar-day.final-registration-day {
    box-shadow:
        inset 0 -2px 0 var(--lilac);
}


/* Cuando una fecha tiene más de un periodo,
   dejamos que los indicadores sean los protagonistas. */

.calendar-day.multi-marked-day {
    box-shadow:
        inset 0 -2px 0 rgba(240, 169, 219, .8);
}


/* ---------------------------------------------------------
   Combinaciones
   --------------------------------------------------------- */

.calendar-day.activity-day.registration-day {
    box-shadow:
        inset 0 -2px 0 var(--acid);
}

.calendar-day.activity-day.registration-day
.period-activity {
    background: var(--acid);
}

.calendar-day.activity-day.registration-day
.period-registration {
    background: var(--pink);
}

.calendar-day.registration-day.final-registration-day {
    box-shadow:
        inset 0 -2px 0 var(--pink);
}

.calendar-day.registration-day.final-registration-day
.period-registration {
    background: var(--pink);
}

.calendar-day.registration-day.final-registration-day
.period-final-registration {
    background: var(--lilac);
}


/* ---------------------------------------------------------
   Hover
   --------------------------------------------------------- */

.calendar-day:hover .period-mark {
    transform: scale(1.25);
}

.calendar-day .period-mark {
    transition: transform .18s ease;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {
    .calendar-period-marks {
        bottom: 6px;
        gap: 2px;
    }

    .period-mark {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 360px) {
    .calendar-period-marks {
        bottom: 5px;
    }

    .period-mark {
        width: 3px;
        height: 3px;
    }
}


/* =========================================================
   CALENDAR — SCHEDULE LEGEND
   New styles only
   ========================================================= */

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.calendar-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.calendar-legend .legend-mark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.calendar-legend .mark-event {
    background: var(--acid);
}

.calendar-legend .mark-registration {
    background: var(--pink);
}

.calendar-legend .mark-final {
    background: var(--lilac);
}

@media (max-width: 600px) {
    .calendar-legend {
        gap: 8px 12px;
    }
}

/* ============================================================
   CALENDAR + DATEBOOK — ALTURAS INDEPENDIENTES
   ============================================================ */

.calendar-layout {
    align-items: start;
}

.calendar-paper,
.events-paper {
    align-self: start;
    height: fit-content;
}

/* ============================================================
   TODAY — NARANJA
   ============================================================ */

.calendar-day.today {
    border-color: #d8893d !important;
    background: #f3dfc8 !important;
    color: #4a3020 !important;
}

.calendar-day.today::before {
    background: #d8893d !important;
    box-shadow: 0 0 0 2px rgba(216, 137, 61, .18) !important;
}

/* ============================================================
   CALENDAR LEGEND — TODAY
   ============================================================ */

.calendar-legend .legend-mark.mark-today {
    background: #d8893d !important;
    border-color: #d8893d !important;
}