/* ── VERNISSAGE BANNER — yale school of art energy ── */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');

.vernissage-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: magenta;
    animation: bg-seizure 0.8s steps(1) infinite;
    padding: 0.6rem 0;
    border-top: 3px dashed yellow;
}

.vernissage-banner:hover {
    animation: bg-seizure 0.15s steps(1) infinite;
}

.vernissage-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: vernissage-scroll 12s linear infinite;
}

.vernissage-chunk {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding-right: 3rem;
    flex-shrink: 0;
}

.v-text {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: yellow;
    text-shadow: 2px 2px 0 black, -1px -1px 0 blue;
    text-transform: uppercase;
}

.v-date {
    font-family: 'Times New Roman', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    text-shadow: 2px 2px 0 red;
    animation: v-wobble 0.3s ease-in-out infinite alternate;
}

.v-star {
    font-size: 1.5rem;
    animation: v-spin 1s linear infinite;
    display: inline-block;
}

.v-arrow {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    color: lime;
    text-shadow: 1px 1px 0 black;
    animation: v-blink 0.5s steps(1) infinite;
}

.v-rsvp {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-weight: 700;
    font-size: 0.85rem;
    background: yellow;
    color: magenta;
    padding: 0.15rem 0.5rem;
    border: 2px solid black;
    transform: rotate(-2deg);
    display: inline-block;
    text-decoration: none;
    animation: v-shake 0.1s linear infinite;
}

@keyframes bg-seizure {
    0%   { background: magenta; }
    14%  { background: #0000ff; }
    28%  { background: #ff4500; }
    42%  { background: #8b00ff; }
    57%  { background: #ff1493; }
    71%  { background: #00cc00; }
    85%  { background: #ff6600; }
    100% { background: magenta; }
}

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

@keyframes v-wobble {
    from { transform: rotate(-3deg) scale(1); }
    to   { transform: rotate(3deg) scale(1.05); }
}

@keyframes v-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes v-blink {
    0%  { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes v-shake {
    0%  { transform: rotate(-2deg) translate(0, 0); }
    25% { transform: rotate(-1deg) translate(-1px, 1px); }
    50% { transform: rotate(-3deg) translate(1px, -1px); }
    75% { transform: rotate(-2deg) translate(-1px, 0); }
}

/* ── Close button ── */
.vernissage-close {
    position: absolute;
    top: 0.2rem;
    right: 0.5rem;
    background: black;
    color: yellow;
    border: 2px solid yellow;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0 0.35rem;
    z-index: 2;
    line-height: 1.4;
}

.vernissage-close:hover {
    background: yellow;
    color: black;
}

/* mobile */
@media (max-width: 768px) {
    .v-text { font-size: 0.8rem; }
    .v-date { font-size: 1.1rem; }
    .v-star { font-size: 1.2rem; }
    .vernissage-banner { padding: 0.5rem 0; }
}
