@font-face {
    font-family: "Anton Local";
    src: url("../assets/fonts/anton-regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Lobster Local";
    src: url("../assets/fonts/lobster.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat Pampilla";
    src: url("../assets/fonts/montserrat-bolditalic.ttf") format("truetype");
    font-display: swap;
}

:root {
    --blue: #073f9f;
    --deep-blue: #05235d;
    --red: #e30000;
    --wine: #7a1115;
    --white: #ffffff;
    --ink: #0a348a;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    font-family: "Montserrat Pampilla", Arial, sans-serif;
    background: var(--deep-blue);
}

button,
input {
    font: inherit;
}

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: 230px 1fr 132px;
    align-items: center;
    gap: 18px;
    padding: 10px 28px 9px;
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 2px 0 rgba(0, 42, 110, 0.35);
}

.brand img {
    width: 185px;
    height: auto;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4.2vw, 58px);
    align-items: center;
}

.main-nav a {
    font-family: "Anton Local", Impact, sans-serif;
    font-size: clamp(17px, 1.45vw, 21px);
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #b00000;
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.social-links a {
    width: 28px;
    min-width: 28px;
}

.section {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 28px) clamp(24px, 5vw, 72px) 48px;
    overflow: hidden;
}

.blue-section {
    background:
        linear-gradient(90deg, rgba(4, 23, 70, 0.4), rgba(5, 67, 158, 0.38)),
        url("../assets/inicio/FONDO INICIO.jpg") center / cover no-repeat;
}

.red-section {
    background:
        linear-gradient(90deg, rgba(95, 8, 12, 0.35), rgba(189, 13, 22, 0.32)),
        url("../assets/artistas/FONDO ARTISTASjpg.jpg") center / cover no-repeat;
}

.schedule-section {
    display: grid;
    align-content: start;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 18px;
    background:
        linear-gradient(90deg, rgba(95, 8, 12, 0.35), rgba(189, 13, 22, 0.32)),
        url("../assets/programacion/FONDO PROGRAMACIÓN.jpg") center / cover no-repeat;
}

.bunting {
    position: absolute;
    inset: var(--header-height) -10vw auto -8vw;
    height: clamp(120px, 18vw, 198px);
    pointer-events: none;
    transform-origin: top center;
    animation: bunting-sway 3.8s ease-in-out infinite;
}

.bunting::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    height: 2px;
    background: rgba(255, 255, 255, 0.68);
    transform: rotate(-6deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.bunting span {
    position: absolute;
    top: calc(30% + var(--drop, 0px));
    left: calc(var(--x) * 1%);
    width: clamp(42px, 5.5vw, 76px);
    height: clamp(58px, 7vw, 94px);
    background: var(--flag-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: 50% 0;
    filter: drop-shadow(7px 12px 8px rgba(0, 0, 0, 0.32));
    animation: flag-swing 1.35s ease-in-out infinite alternate;
    animation-delay: var(--delay);
}

.bunting span:nth-child(3n + 1) {
    --flag-color: #ef0000;
}

.bunting span:nth-child(3n + 2) {
    --flag-color: #ffffff;
}

.bunting span:nth-child(3n) {
    --flag-color: #0047af;
}

.bunting span:nth-child(1) { --x: 1; --drop: 34px; --delay: -0.1s; }
.bunting span:nth-child(2) { --x: 9; --drop: 54px; --delay: -0.5s; }
.bunting span:nth-child(3) { --x: 17; --drop: 36px; --delay: -0.9s; }
.bunting span:nth-child(4) { --x: 25; --drop: 18px; --delay: -0.2s; }
.bunting span:nth-child(5) { --x: 34; --drop: 30px; --delay: -0.7s; }
.bunting span:nth-child(6) { --x: 43; --drop: 58px; --delay: -1s; }
.bunting span:nth-child(7) { --x: 52; --drop: 70px; --delay: -0.3s; }
.bunting span:nth-child(8) { --x: 61; --drop: 82px; --delay: -0.8s; }
.bunting span:nth-child(9) { --x: 70; --drop: 84px; --delay: -0.4s; }
.bunting span:nth-child(10) { --x: 79; --drop: 72px; --delay: -1.1s; }
.bunting span:nth-child(11) { --x: 87; --drop: 52px; --delay: -0.6s; }
.bunting span:nth-child(12) { --x: 95; --drop: 32px; --delay: -0.15s; }
.bunting span:nth-child(13) { --x: 103; --drop: 18px; --delay: -0.85s; }
.bunting span:nth-child(14) { --x: 111; --drop: 6px; --delay: -0.45s; }

.bunting span:nth-child(even) {
    animation-duration: 1.65s;
}

.flying-kite {
    position: fixed;
    z-index: 6;
    top: 0;
    left: 0;
    width: clamp(78px, 9vw, 132px);
    pointer-events: none;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.25));
    animation: kite-float 18s ease-in-out infinite;
}

.hero-kite {
    position: absolute;
    z-index: 3;
    right: -8px;
    top: -3px;
    width: clamp(92px, 11vw, 135px);
    pointer-events: none;
    transform-origin: 55% 18%;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.28));
    animation: hero-kite-out-and-back 4.8s ease-in-out infinite;
}

.music-player {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: grid;
    grid-template-columns: auto minmax(190px, 260px);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.music-player span {
    color: #e30000;
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.music-player audio {
    width: 100%;
    height: 34px;
}

.hero {
    display: grid;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.95fr);
    gap: clamp(32px, 6vw, 92px);
    align-items: end;
    width: min(1180px, 100%);
    margin: 48px auto 0;
}

.hero__left {
    display: grid;
    justify-items: center;
    align-content: center;
}

.main-logo {
    width: min(520px, 100%);
    filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.24));
}

.date-art {
    width: min(400px, 85%);
    margin-top: 8px;
}

.script-copy,
.script-heading {
    margin: 14px 0 0;
    font-family: "Lobster Local", cursive;
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 3px 4px rgba(0, 0, 0, 0.22);
}

.script-copy {
    font-size: clamp(28px, 4vw, 48px);
}

.script-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: clamp(31px, 4vw, 45px);
}

.hero__right {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding-bottom: 52px;
}

.faltan-wrap {
    position: relative;
    width: min(430px, 90%);
}

.faltan-art {
    width: min(430px, 90%);
}

.faltan-wrap .faltan-art {
    width: 100%;
}

.hero-pinwheel-frame {
    position: absolute;
    left: -2px;
    top: 50%;
    width: clamp(120px, 14vw, 176px);
    transform: translateY(-50%);
}

.hero-pinwheel {
    width: 100%;
    transform-origin: 50% 50%;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.25));
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: min(560px, 100%);
    padding: 14px;
    border-radius: 18px;
    background: rgba(1, 28, 83, 0.28);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.16);
}

.countdown article {
    min-width: 0;
    text-align: center;
}

.countdown strong {
    display: grid;
    place-items: center;
    min-height: 104px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 12px;
    background: rgba(0, 20, 68, 0.5);
    font-family: "Anton Local", Impact, sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.06);
    animation: countdown-pulse 1s ease-in-out infinite;
}

.countdown span {
    display: block;
    margin-top: 8px;
    font-family: "Anton Local", Impact, sans-serif;
    font-size: clamp(20px, 2.4vw, 30px);
    text-transform: uppercase;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 20px 12px;
    border: 3px solid var(--white);
    border-radius: 999px;
    font-family: "Anton Local", Impact, sans-serif;
    font-size: clamp(18px, 1.7vw, 25px);
    text-transform: uppercase;
    color: var(--white);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
}

.cta-red {
    background: var(--red);
}

.cta-blue {
    background: #006adf;
}

.section-logo {
    position: relative;
    z-index: 2;
    margin-inline: auto;
}

.schedule-logo {
    width: min(292px, 25vw);
    margin-bottom: -4px;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.24));
}

.schedule-corner {
    position: absolute;
    left: clamp(18px, 4vw, 56px);
    top: calc(var(--header-height) + 22px);
    width: min(276px, 22vw);
    transform-origin: 58% 6%;
    animation: emboque-swing 2.1s ease-in-out infinite alternate;
}

.schedule-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 1.55vw, 24px);
    width: min(1300px, 100%);
    margin: -2px auto 0;
}

.schedule-day h2 {
    margin: 0 0 8px;
    font-family: "Lobster Local", cursive;
    font-size: clamp(34px, 3.2vw, 45px);
    text-align: center;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.schedule-day ul {
    min-height: clamp(388px, 52vh, 450px);
    margin: 0;
    padding: 10px 12px 12px;
    list-style: none;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgba(75, 0, 0, 0.24);
}

.schedule-day li + li {
    margin-top: 8px;
}

.schedule-day span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    min-width: 116px;
    padding: 2px 14px 4px;
    border-radius: 0 0 9px 0;
    background: var(--white);
    color: #143fb1;
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 20px;
}

.schedule-day strong {
    display: block;
    margin-top: 3px;
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.1;
}

.section-script {
    position: relative;
    z-index: 2;
    text-align: center;
}

.lower-right {
    position: absolute;
    right: -22px;
    bottom: -20px;
    width: min(170px, 18vw);
}

.pinwheel {
    transform-origin: 50% 50%;
    animation: pinwheel-spin 2.7s linear infinite;
}

.artists-logo {
    width: min(230px, 34vw);
    margin-bottom: 18px;
}

.artists-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(165px, 1fr));
    gap: clamp(20px, 3vw, 52px);
    align-items: end;
    width: min(1100px, 100%);
    margin: 16px auto 0;
}

.artist-card {
    display: grid;
    place-items: end center;
    min-height: 370px;
    gap: 8px;
}

.artist-card img {
    width: 100%;
    max-width: 245px;
    border-radius: 8px;
    filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.24));
}

.artist-info {
    display: grid;
    justify-items: center;
    width: min(220px, 100%);
    padding: 8px 10px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #1e45bf;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.16);
}

.artist-info span {
    color: #d10a0a;
    font-family: "Lobster Local", cursive;
    font-size: 26px;
    line-height: 1;
}

.artist-info strong {
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 56px;
    line-height: 0.95;
}

.artist-info em,
.artist-info small {
    font-family: "Anton Local", Impact, sans-serif;
    font-style: normal;
    text-transform: uppercase;
}

.artist-info em {
    font-size: 22px;
}

.artist-info small {
    color: #d10a0a;
    font-size: 14px;
}

.artists-cta {
    position: relative;
    z-index: 2;
    margin: 18px auto 0;
    display: flex;
    width: max-content;
}

.artists-kite,
.location-kite {
    position: absolute;
    right: 38px;
    bottom: 28px;
    width: min(132px, 18vw);
    transform-origin: 55% 18%;
    animation: fixed-kite-wobble 2.9s ease-in-out infinite alternate;
}

.live-section {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-items: center;
    padding-bottom: 24px;
    background:
        linear-gradient(90deg, rgba(4, 23, 70, 0.4), rgba(5, 67, 158, 0.38)),
        url("../assets/envivo/FOND VIVO.jpg") center / cover no-repeat;
}

.live-logo {
    position: absolute;
    top: 96px;
    right: 6vw;
    width: min(150px, 18vw);
}

.video-frame {
    position: relative;
    z-index: 2;
    width: min(1120px, 84vw);
    aspect-ratio: 16 / 8.2;
    margin: 24px auto 0;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    height: 100%;
    color: #0d3e9b;
    text-align: center;
}

.video-placeholder span {
    font-family: "Anton Local", Impact, sans-serif;
    font-size: clamp(26px, 4vw, 52px);
    text-transform: uppercase;
}

.video-placeholder small {
    max-width: 360px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #4d5f86;
}

.top-toy {
    position: absolute;
    left: 10vw;
    bottom: 132px;
    width: min(150px, 18vw);
    transform-origin: 50% 62%;
    animation: trompo-wobble 1.6s ease-in-out infinite alternate;
}

.pampilla-section {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    background: url("../assets/pampilla/FONDO PAMPILLA.jpg") center / cover no-repeat;
    color: var(--ink);
}

.pampilla-copy {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
}

.pampilla-copy p {
    margin: 0;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.32;
}

.highlight-icons {
    position: absolute;
    z-index: 3;
    top: calc(var(--header-height) + 16px);
    left: min(58vw, 805px);
    width: clamp(270px, 28vw, 380px);
    height: min(670px, calc(100vh - var(--header-height) - 32px));
    pointer-events: none;
}

.highlight-icons img {
    position: absolute;
    width: clamp(92px, 8.4vw, 124px);
    filter: drop-shadow(0 7px 5px rgba(0, 0, 0, 0.32));
}

.highlight-icons img:nth-child(1) {
    top: 2%;
    right: 0;
}

.highlight-icons img:nth-child(2) {
    top: 23%;
    right: 26%;
}

.highlight-icons img:nth-child(3) {
    top: 43%;
    right: 50%;
}

.highlight-icons img:nth-child(4) {
    top: 63%;
    right: 72%;
}

.highlight-icons img:nth-child(5) {
    top: 82%;
    right: 92%;
}

.pampilla-logo {
    position: absolute;
    z-index: 2;
    right: 7vw;
    bottom: 52px;
    width: min(310px, 27vw);
    filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.22));
}

.pampilla-pinwheel {
    position: absolute;
    right: -22px;
    top: 82px;
    width: min(180px, 16vw);
}

.location-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(440px, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
    background:
        linear-gradient(90deg, rgba(4, 23, 70, 0.4), rgba(5, 67, 158, 0.38)),
        url("../assets/ubicacion/FONDO UBICACIÓN.jpg") center / cover no-repeat;
}

.location-copy {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(430px, 100%);
}

.location-copy img {
    width: min(390px, 92%);
    margin-bottom: 26px;
    filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.2));
}

.location-copy h1 {
    margin: 0 0 18px;
    font-family: "Lobster Local", cursive;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
}

.location-copy p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.22;
}

.map-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 18px;
}

.map-frame {
    width: min(700px, 100%);
    aspect-ratio: 16 / 9.7;
    border: 3px solid var(--white);
    border-radius: 12px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.9);
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.map-actions a {
    width: min(210px, 42vw);
    transition: transform 0.2s ease;
}

.map-actions a:hover {
    transform: translateY(-2px);
}

.location-kite {
    right: 42px;
    bottom: 30px;
    animation-duration: 3.4s;
    animation-delay: -0.7s;
}

@keyframes bunting-sway {
    0%,
    100% {
        transform: rotate(-1.8deg) translateY(0);
    }

    50% {
        transform: rotate(1.4deg) translateY(10px);
    }
}

@keyframes flag-swing {
    0% {
        transform: rotate(-11deg) skewX(-3deg) translateY(0);
    }

    100% {
        transform: rotate(10deg) skewX(4deg) translateY(8px);
    }
}

@keyframes kite-float {
    0% {
        transform: translate3d(4vw, 56vh, 0) rotate(-12deg);
    }

    14% {
        transform: translate3d(28vw, 18vh, 0) rotate(22deg);
    }

    29% {
        transform: translate3d(70vw, 34vh, 0) rotate(-18deg);
    }

    45% {
        transform: translate3d(82vw, 72vh, 0) rotate(28deg);
    }

    62% {
        transform: translate3d(38vw, 68vh, 0) rotate(-24deg);
    }

    78% {
        transform: translate3d(12vw, 28vh, 0) rotate(18deg);
    }

    100% {
        transform: translate3d(4vw, 56vh, 0) rotate(-12deg);
    }
}

@keyframes hero-kite-out-and-back {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-5deg);
    }

    20% {
        transform: translate3d(-18px, -18px, 0) rotate(8deg);
    }

    44% {
        transform: translate3d(-46px, 16px, 0) rotate(-12deg);
    }

    66% {
        transform: translate3d(-22px, 36px, 0) rotate(11deg);
    }

    84% {
        transform: translate3d(12px, 8px, 0) rotate(-8deg);
    }
}

@keyframes fixed-kite-wobble {
    0% {
        transform: rotate(-5deg) translate3d(0, 0, 0);
    }

    45% {
        transform: rotate(4deg) translate3d(-8px, -10px, 0);
    }

    100% {
        transform: rotate(8deg) translate3d(7px, 5px, 0);
    }
}

@keyframes emboque-swing {
    0% {
        transform: rotate(-14deg) translateY(0);
    }

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

    100% {
        transform: rotate(16deg) translateY(2px);
    }
}

@keyframes pinwheel-spin {
    to {
        rotate: 360deg;
    }
}

@keyframes trompo-wobble {
    0% {
        transform: rotate(-7deg) translateY(0);
    }

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

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

@keyframes countdown-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bunting,
    .bunting::before,
    .bunting span,
    .flying-kite,
    .hero-kite,
    .artists-kite,
    .location-kite,
    .schedule-corner,
    .top-toy,
    .pinwheel,
    .countdown strong {
        animation: none;
    }
}

.admin-body {
    min-height: 100vh;
    color: #172554;
    background:
        radial-gradient(circle at 12% 8%, rgba(227, 0, 0, 0.2), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(0, 106, 223, 0.22), transparent 30%),
        linear-gradient(135deg, #eef5ff 0%, #f8fbff 42%, #fff4f4 100%);
}

.login-body {
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel,
.admin-card,
.admin-header,
.admin-overview article {
    border: 1px solid rgba(137, 160, 202, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(23, 37, 84, 0.12);
    backdrop-filter: blur(14px);
}

.login-panel {
    width: min(420px, 100%);
    padding: 28px;
}

.login-panel img {
    width: 190px;
    margin: 0 auto 20px;
}

.login-panel h1,
.admin-card h2,
.admin-header h1,
.admin-overview strong {
    margin: 0;
    color: #0c3b9a;
    font-family: "Anton Local", Impact, sans-serif;
    text-transform: uppercase;
}

.login-panel h1 {
    margin-bottom: 18px;
    text-align: center;
    font-size: 34px;
}

.admin-form,
.admin-inline,
.admin-schedule,
.admin-artists {
    display: grid;
    gap: 16px;
}

.admin-form label,
.admin-event label,
.admin-artists label {
    display: grid;
    gap: 6px;
    color: #14306f;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.admin-form input,
.admin-event input,
.admin-artists input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9d7f2;
    border-radius: 10px;
    color: #102b66;
    background: rgba(255, 255, 255, 0.95);
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-form input:focus,
.admin-event input:focus,
.admin-artists input:focus {
    border-color: #0b66dc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 102, 220, 0.13);
}

.admin-artists input[type="file"],
.admin-audio input[type="file"] {
    min-height: auto;
    padding: 8px;
    color: #5b6b91;
    cursor: pointer;
}

.admin-artists input[type="file"]::file-selector-button,
.admin-audio input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 12px;
    padding: 8px 14px 10px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0b66dc, #0c3b9a);
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(11, 102, 220, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-artists input[type="file"]:hover::file-selector-button,
.admin-audio input[type="file"]:hover::file-selector-button {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(11, 102, 220, 0.24);
}

.admin-audio audio {
    grid-column: 1 / -1;
    width: 100%;
    height: 42px;
}

.admin-branding {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.admin-live {
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
}

.admin-password {
    grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
    align-items: end;
}

.admin-branding label:first-of-type {
    grid-column: 1 / -1;
}

.admin-branding button {
    grid-column: 1 / -1;
    justify-self: end;
}

.admin-form button,
.admin-schedule button,
.admin-artists button,
.admin-header button {
    min-height: 46px;
    padding: 10px 20px 12px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #e30000, #b80717);
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(227, 0, 0, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-form button:hover,
.admin-schedule button:hover,
.admin-artists button:hover,
.admin-header button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(227, 0, 0, 0.26);
}

.admin-alert,
.admin-success {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.admin-alert {
    color: #8a0d12;
    background: #ffe2e2;
}

.admin-success {
    color: #074f21;
    background: #dff8e7;
}

.admin-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 16px auto 0;
    padding: 18px 22px;
    width: min(1180px, calc(100% - 32px));
}

.admin-header span {
    color: #e30000;
    font-family: "Lobster Local", cursive;
    font-size: 24px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 18px 12px;
    border: 1px solid #c8d5f1;
    border-radius: 12px;
    color: #0c3b9a;
    background: #fff;
    font-family: "Anton Local", Impact, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 44px;
    display: grid;
    gap: 18px;
}

.admin-overview {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
    gap: 16px;
}

.admin-overview article {
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    overflow: hidden;
    position: relative;
}

.admin-overview article::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(227, 0, 0, 0.08);
}

.admin-overview span,
.admin-card-title span {
    color: #e30000;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-overview strong {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
}

.admin-card {
    padding: 22px;
}

.admin-card-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dce6f8;
}

.admin-card h2 {
    margin-top: 4px;
    font-size: 30px;
}

.admin-inline {
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: end;
}

.admin-artists {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-artists article {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d8e3f6;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f5f8ff);
    box-shadow: 0 10px 22px rgba(23, 37, 84, 0.06);
}

.admin-artists article img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(12, 59, 154, 0.08), rgba(227, 0, 0, 0.06)),
        #edf3ff;
}

.admin-artists > button {
    grid-column: 1 / -1;
    justify-self: end;
}

.admin-schedule {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-day {
    display: grid;
    gap: 10px;
}

.admin-day h3 {
    margin: 0;
    color: #d10a0a;
    font-family: "Lobster Local", cursive;
    font-size: 28px;
}

.admin-event {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d8e3f6;
    border-radius: 12px;
    background: #f8fbff;
    box-shadow: 0 8px 18px rgba(23, 37, 84, 0.05);
}

.admin-schedule > button {
    grid-column: 1 / -1;
    justify-self: end;
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 190px 1fr;
        gap: 10px;
    }

    .brand img {
        width: 170px;
    }

    .main-nav {
        justify-content: flex-end;
        gap: 18px;
        flex-wrap: wrap;
    }

    .social-links {
        grid-column: 1 / -1;
        justify-content: center;
        display: none;
    }

    .schedule-grid,
    .artists-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .schedule-day ul {
        min-height: 0;
    }

    .pampilla-section,
    .location-section,
    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__right {
        padding-bottom: 0;
    }

    .highlight-icons {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        grid-template-columns: repeat(5, 1fr);
        grid-column: 1;
        gap: 10px;
        margin: 26px 0;
    }

    .highlight-icons img,
    .highlight-icons img:nth-child(n) {
        position: static;
        margin-left: 0;
        width: min(90px, 17vw);
    }

    .pampilla-logo,
    .pampilla-pinwheel {
        position: relative;
        right: auto;
        bottom: auto;
        top: auto;
        margin: 20px auto 0;
        width: min(320px, 70vw);
    }

    .admin-artists,
    .admin-schedule,
    .admin-live,
    .admin-password,
    .admin-branding {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .admin-overview {
        grid-template-columns: 1fr 1fr;
    }

    .admin-overview article:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 118px;
    }

    .site-header {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 9px 14px;
    }

    .brand img {
        width: 150px;
    }

    .main-nav {
        justify-content: center;
        gap: 8px 16px;
    }

    .main-nav a {
        font-size: 15px;
    }

    .section {
        padding-inline: 18px;
        min-height: auto;
    }

    .hero__content {
        margin-top: 16px;
    }

    .countdown {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .countdown strong {
        min-height: 74px;
        font-size: 42px;
    }

    .countdown span {
        font-size: 16px;
    }

    .schedule-grid,
    .artists-grid {
        grid-template-columns: 1fr;
    }

    .artist-card {
        min-height: 0;
    }

    .video-frame {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .live-logo,
    .schedule-corner,
    .top-toy,
    .artists-kite,
    .location-kite {
        display: none;
    }

    .pampilla-copy p {
        font-size: 24px;
    }

    .map-actions {
        gap: 12px;
    }

    .music-player {
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr;
    }

    .admin-header,
    .admin-inline {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-header {
        top: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 0 0 16px 16px;
    }

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

    .admin-actions a,
    .admin-actions button {
        justify-content: center;
        width: 100%;
    }

    .admin-overview {
        grid-template-columns: 1fr;
    }

    .admin-artists,
    .admin-schedule,
    .admin-live,
    .admin-password,
    .admin-branding {
        grid-template-columns: 1fr;
    }

    .admin-branding label:first-of-type,
    .admin-branding button {
        grid-column: auto;
    }
}
