/* buddingromance — main site styles
   y2k / emo / myspace-core. black, blood, bubblegum, chrome. */

/* UnifrakturCook with Polish letters added (fonts/, built by buddingromance; SIL OFL, renamed as the licence asks) */
@font-face { font-family: 'Fifty Fraktur'; src: url('/fonts/fifty-fraktur.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
    --bg: #050205;
    --ink: #f6e6ef;
    --muted: #a88a9a;
    --pink: #ff2e88;
    --pink-soft: #ff7ab6;
    --blood: #c4002b;
    --deep: #6b0030;
    --lilac: #c9a7ff;
    --cyan: #5ef2ff;
    --panel: #0d040a;
    --panel-dark: #0b0208;
    --pink-dark: #8a0039;
    --pink-dusk: #2a0a1c;
    --line: #3b0a22;
    --chrome: linear-gradient(180deg, #ffffff 0%, #d7d7e0 22%, #6d6d80 48%, #f2f2f8 52%, #a3a3b5 72%, #ffffff 100%);
    --gothic: 'Fifty Fraktur', 'UnifrakturCook', 'Old English Text MT', serif;
    --pixel: 'VT323', ui-monospace, monospace;
    --mono: 'Space Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 0l2.6 8.4L22 11l-8.4 2.6L11 22l-2.6-8.4L0 11l8.4-2.6z' fill='%23ff2e88' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 11 11, auto;
}
a, button, select, label { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 3.5C9.4.6 4.5 0 2.4 3c-2.4 3.5.4 7.6 8.6 14.5C19.2 10.6 22 6.5 19.6 3 17.5 0 12.6.6 11 3.5z' fill='%23ff2e88' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 11 11, pointer; }
::selection { background: var(--pink); color: #000; }
img { max-width: 100%; }

/* ---------- background layers ---------- */
.bg-crosses, .bg-glow, .bg-grid, .bg-scan { position: fixed; inset: 0; pointer-events: none; }
.bg-crosses { z-index: -4; overflow: hidden; }
.cross {
    position: absolute; top: -60px; left: var(--x);
    width: calc(24px * var(--s)); height: calc(36px * var(--s));
    background: center / contain no-repeat; opacity: var(--o);
    animation: cross-fall var(--d) linear var(--delay) infinite;
    will-change: transform;
}
.cross.pink  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 36'%3E%3Cpath d='M12 0l2.5 3v5.5H20l3 2.5-3 2.5h-5.5V31L12 36l-2.5-5V13.5H4L1 11l3-2.5h5.5V3z' fill='%23ff2e88'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--pink) 70%, transparent)); }
.cross.blood { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 36'%3E%3Cpath d='M12 0l2.5 3v5.5H20l3 2.5-3 2.5h-5.5V31L12 36l-2.5-5V13.5H4L1 11l3-2.5h5.5V3z' fill='%23c4002b'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 5px rgba(196, 0, 43, .7)); }
.cross.bone  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 36'%3E%3Cpath d='M12 0l2.5 3v5.5H20l3 2.5-3 2.5h-5.5V31L12 36l-2.5-5V13.5H4L1 11l3-2.5h5.5V3z' fill='%23f6e6ef'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 4px rgba(246, 230, 239, .4)); }
@keyframes cross-fall {
    from { transform: translate3d(0, -8vh, 0) rotate(var(--r0)); }
    to   { transform: translate3d(var(--sway), 112vh, 0) rotate(var(--r1)); }
}
.bg-glow {
    z-index: -3;
    background:
        radial-gradient(60vmax 40vmax at 10% -10%, color-mix(in srgb, var(--pink) 28%, transparent), transparent 60%),
        radial-gradient(50vmax 40vmax at 110% 30%, rgba(196, 0, 43, .25), transparent 60%),
        radial-gradient(40vmax 30vmax at 50% 120%, rgba(201, 167, 255, .16), transparent 60%);
}
.bg-grid {
    z-index: -2;
    background-image:
        linear-gradient(color-mix(in srgb, var(--pink) 7%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--pink) 7%, transparent) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.bg-scan { z-index: 50; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }

/* ---------- top status chip ---------- */
.status {
    position: fixed; top: 14px; right: 14px; z-index: 40;
    font-family: var(--pixel); font-size: 20px; letter-spacing: 1px;
    padding: 4px 12px; background: rgba(13, 4, 10, .85); border: 1px solid var(--line);
    display: flex; align-items: center; gap: 8px;
}
.status .dot { width: 9px; height: 9px; background: #39ff88; box-shadow: 0 0 10px #39ff88; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- layout ---------- */
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; position: relative; }
.kicker { font-family: var(--pixel); font-size: 22px; color: var(--pink-soft); letter-spacing: 3px; text-transform: lowercase; margin: 0 0 6px; }
.h2 {
    font-family: var(--gothic); font-weight: 700; font-size: clamp(40px, 7vw, 68px); line-height: 1; margin: 0 0 28px;
    background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--pink) 55%, transparent)) drop-shadow(3px 3px 0 var(--deep));
}

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px 0 60px; }
.hero-inner { display: grid; justify-items: center; gap: 18px; }

/* upcoming-show banners above the name (partials/event_banners.php) */
.ev-banners { display: grid; gap: 10px; width: min(640px, 100%); margin-bottom: 14px; }
.ev-banner {
    display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 10px 14px; text-align: left; text-decoration: none; color: #fff;
    border: 2px solid var(--pink); background: color-mix(in srgb, var(--pink) 12%, rgba(0, 0, 0, .78));
    box-shadow: 5px 5px 0 var(--deep), 0 0 26px color-mix(in srgb, var(--pink) 35%, transparent); transition: transform .12s, box-shadow .12s, background .12s;
}
.ev-banner:hover { transform: translate(-2px, -2px); background: color-mix(in srgb, var(--pink) 22%, rgba(0, 0, 0, .78)); box-shadow: 7px 7px 0 var(--deep), 0 0 34px color-mix(in srgb, var(--pink) 55%, transparent); }
.ev-banner:focus-visible { outline: 2px dashed #fff; outline-offset: 4px; }
.ev-live { font-family: var(--pixel); font-size: 18px; letter-spacing: 2px; color: #ff3b5c; text-transform: uppercase; animation: blink 1.2s steps(1) infinite; }
.ev-date { display: grid; justify-items: center; padding: 3px 9px; background: var(--pink); color: #000; font-family: var(--pixel); line-height: 1; }
.ev-date b { font-size: 26px; font-weight: 400; }
.ev-date small { font-size: 15px; }
.ev-text { display: grid; min-width: 0; }
.ev-text b { font-family: var(--gothic); font-size: 24px; line-height: 1.1; overflow-wrap: anywhere; }
.ev-text small { font-size: 13px; color: var(--ink); }
.ev-go { font-family: var(--pixel); font-size: 19px; color: var(--pink-soft); white-space: nowrap; }
.ev-banner:hover .ev-go { color: #fff; }
@media (max-width: 560px) {
    .ev-banner { grid-template-columns: auto 1fr; gap: 8px 12px; }
    .ev-live { grid-column: 1 / -1; font-size: 16px; }
    .ev-go { grid-column: 1 / -1; justify-self: end; }
}


.name {
    position: relative; margin: 0;
    font-family: var(--gothic); font-weight: 700; font-size: clamp(54px, 13vw, 170px); line-height: .9; letter-spacing: -1px;
    background: var(--chrome); background-size: 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--pink) 65%, transparent)) drop-shadow(4px 5px 0 var(--deep));
    animation: chrome-shift 6s ease-in-out infinite;
}
.name::before, .name::after {
    content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.name::before { background: linear-gradient(var(--pink), var(--pink)); -webkit-background-clip: text; background-clip: text; animation: glitch-a 3.2s infinite steps(1); opacity: .8; }
.name::after  { background: linear-gradient(var(--cyan), var(--cyan)); -webkit-background-clip: text; background-clip: text; animation: glitch-b 2.7s infinite steps(1); opacity: .6; }
@keyframes chrome-shift { 50% { background-position: 0 100%; } }
@keyframes glitch-a {
    0%, 86%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
    88% { clip-path: inset(10% 0 62% 0); transform: translate(-6px, 1px); }
    91% { clip-path: inset(55% 0 20% 0); transform: translate(5px, -1px); }
    94% { clip-path: inset(30% 0 45% 0); transform: translate(-3px, 0); }
}
@keyframes glitch-b {
    0%, 80%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
    82% { clip-path: inset(68% 0 8% 0); transform: translate(6px, 0); }
    85% { clip-path: inset(15% 0 70% 0); transform: translate(-5px, 1px); }
}

.subtitle { margin: 0; font-family: var(--pixel); font-size: clamp(22px, 3vw, 28px); letter-spacing: 3px; color: var(--muted); text-transform: lowercase; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.btn {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    font-family: var(--pixel); font-size: 24px; letter-spacing: 1px; color: #fff;
    padding: 8px 20px; border: 2px solid var(--pink);
    background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 78%, #fff) 0%, var(--pink) 45%, color-mix(in srgb, var(--pink) 77%, #000) 55%, var(--pink) 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 4px 4px 0 var(--deep);
    text-shadow: 1px 1px 0 var(--deep); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 6px 6px 0 var(--deep), 0 0 24px color-mix(in srgb, var(--pink) 60%, transparent); }
.btn:active { transform: translate(3px, 3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 1px 1px 0 var(--deep); }
.btn.ghost { background: rgba(13, 4, 10, .7); border-color: var(--lilac); box-shadow: 4px 4px 0 #3a2266; text-shadow: none; }
.btn.ghost:hover { box-shadow: 6px 6px 0 #3a2266, 0 0 24px rgba(201, 167, 255, .45); }
.btn:focus-visible, .social:focus-visible { outline: 2px dashed #fff; outline-offset: 4px; }

.scroll-hint { font-family: var(--pixel); font-size: 30px; color: var(--muted); text-decoration: none; margin-top: 26px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- marquee ---------- */
.marquee {
    position: relative; overflow: hidden; transform: rotate(-2deg); margin: 0 -20px;
    background: var(--pink); color: var(--panel-dark); border-block: 3px solid #000;
    box-shadow: 0 0 40px color-mix(in srgb, var(--pink) 50%, transparent);
}
.marquee.alt { transform: rotate(1.5deg); background: var(--panel-dark); color: var(--pink); border-color: var(--pink); margin-top: -18px; }
.marquee-track { display: flex; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee-half { display: flex; flex: none; align-items: center; }
.marquee span { font-family: var(--pixel); font-size: 30px; white-space: nowrap; padding: 6px 0; letter-spacing: 2px; text-transform: uppercase; }
.marquee .sep { padding-inline: .6em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 18px; }
.social {
    --c: var(--pink);
    position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px;
    padding: 16px 18px; text-decoration: none; color: var(--ink);
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 40%), var(--panel);
    border: 2px solid var(--c); box-shadow: 5px 5px 0 rgba(0, 0, 0, .9), 0 0 0 1px #000 inset;
    transform: rotate(var(--r, 0deg)); transition: transform .18s, box-shadow .18s, background .18s;
}
.social:nth-child(odd) { --r: -1.2deg; }
.social:nth-child(even) { --r: 1deg; }
.social:nth-child(3n) { --r: -.4deg; }
.social:hover { transform: rotate(0) translate(-2px, -3px) scale(1.02); box-shadow: 8px 8px 0 rgba(0, 0, 0, .9), 0 0 28px color-mix(in srgb, var(--c) 60%, transparent); }
.social i { font-size: 34px; color: var(--c); display: grid; place-items: center; width: 56px; height: 56px; border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent); }
.social b { display: block; font-family: var(--pixel); font-weight: 400; font-size: 28px; line-height: 1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.social::after {
    content: '\2197'; position: absolute; top: 6px; right: 10px; font-family: var(--pixel); font-size: 20px; color: var(--c); opacity: .6;
}
.social.spotify    { --c: #1ed760; }
.social.soundcloud { --c: #ff6a1a; }
.social.youtube    { --c: #ff2b2b; }
.social.instagram  { --c: #ff4fb3; }
.social.discord    { --c: #8a8dff; }
.social.label      { --c: var(--lilac); }

/* ---------- y2k window frame ---------- */
.win {
    background: var(--panel); border: 2px solid var(--pink);
    box-shadow: 8px 8px 0 var(--deep), 0 0 50px color-mix(in srgb, var(--pink) 25%, transparent);
}
.win-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 4px 6px 4px 12px; color: #fff; font-family: var(--pixel); font-size: 20px;
    background: linear-gradient(90deg, var(--pink), var(--pink-dark) 65%, var(--pink-dusk));
}
.win-bar .btns { display: flex; gap: 4px; }
.win-bar .btns span {
    width: 22px; height: 20px; display: grid; place-items: center; font-size: 15px; line-height: 1;
    background: #d9c7d1; color: #200010; border: 1px solid #fff; border-right-color: var(--line); border-bottom-color: var(--line);
}
.win-body { padding: 22px; }

.listen-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.listen-grid iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.sidecard p { margin: 0 0 14px; color: #e9d5df; }
.sidecard .placeholder { color: var(--muted); font-style: italic; }
.sidecard .mood { font-family: var(--pixel); font-size: 22px; color: var(--pink-soft); margin-bottom: 8px; }
.sidecard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.sidecard li { font-family: var(--pixel); font-size: 20px; }
.sidecard li a { color: var(--pink-soft); }
.sidecard li a:hover { color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
.contact-copy p { color: #e9d5df; margin: 0 0 14px; }
.contact-copy .alt-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-copy .alt-contact a {
    font-family: var(--pixel); font-size: 20px; color: #fff; text-decoration: none;
    padding: 2px 10px; border: 1px dashed var(--pink); transition: background .15s;
}
.contact-copy .alt-contact a:hover { background: color-mix(in srgb, var(--pink) 18%, transparent); }

form.contact { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--pixel); font-size: 20px; color: var(--pink-soft); letter-spacing: 1px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: #fff; padding: 10px 12px;
    background: #000; border: 2px solid var(--line); border-radius: 0;
    box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .8);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pink) 50%), linear-gradient(-45deg, transparent 50%, var(--pink) 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pink) 25%, transparent), 0 0 18px color-mix(in srgb, var(--pink) 35%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: #6e5463; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.counter { font-family: var(--pixel); font-size: 18px; color: var(--muted); }
.form-status { font-family: var(--pixel); font-size: 22px; min-height: 1.3em; margin: 0; }
.form-status.ok { color: #39ff88; }
.form-status.err { color: #ff5470; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
footer { padding: 50px 0 40px; text-align: center; border-top: 1px dashed var(--line); margin-top: 40px; }
.footer-logo { font-family: var(--gothic); font-size: clamp(34px, 6vw, 52px); margin: 0; color: #fff; text-shadow: 0 0 14px var(--pink), 3px 3px 0 var(--deep); animation: bob 5s ease-in-out infinite; }
.copy { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- cursor sparkles ---------- */
.sparkle { position: fixed; pointer-events: none; z-index: 99; font-size: 14px; color: var(--pink); text-shadow: 0 0 6px var(--pink); animation: sparkle-out .9s ease-out forwards; }
@keyframes sparkle-out { to { opacity: 0; transform: translate(var(--dx), 24px) scale(.3) rotate(120deg); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .listen-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    body { font-size: 14px; }
    section { padding: 56px 0; }
    .field-row { grid-template-columns: 1fr; }
    .win-body { padding: 16px; }
    .status { display: none; }
    .socials { grid-template-columns: 1fr; }
    .marquee span { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
    .cross { top: var(--y); transform: rotate(var(--r0)); }
}
