/* Extracted from web/index.php */
:root {
    --bg: #0a0a0a;
    --panel: #111;
    --text: #ffe8f0;
    --muted: #fbd1dd;
    --pink: #f78fb3;
    --red: #e74c3c;
    --grad: linear-gradient(180deg, #ff6f91, #ff3a66);
    --ring: linear-gradient(135deg, rgba(231, 76, 60, .25), rgba(247, 143, 179, .18));
    --shadow-cta: 0 8px 24px #ff3a6650, 0 0 20px #ff6f9133;
    --shadow-cta-hover: 0 12px 28px #ff3a6666, 0 0 22px #ff6f9150;
    --radius: 16px;
    --pad: clamp(16px, 2.8vw, 28px);
    --maxw: 1100px;
    --grad-top: #ff6384;
    --grad-bot: #ff0048;
    --border: rgba(255, 255, 255, 0.25);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

#fan-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rr-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--grad-top), var(--grad-bot));
    color: #fff;
    font: 700 16px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-decoration: none;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .06);
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
    -webkit-tap-highlight-color: transparent;
}

.rr-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.rr-btn:active {
    transform: translateY(0);
    filter: brightness(.98);
}

.rr-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .6);
    outline-offset: 2px;
}

/* Optional pill size variant (bigger like the game) */
.rr-btn--lg {
    padding: 16px 28px;
    font-size: 18px;
    border-radius: 14px;
}

#fan-form input[type="email"] {
    flex: 1 1 240px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #333;
    background: #0f0f0f;
    color: var(--text);
    font-size: 1rem;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}



#fan-form input[type="email"]::placeholder {
    color: var(--muted);
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.suggest-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: -30px;
}

.subscribe-input {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #ff6f91aa;
    background: #111;
    color: var(--text);
    font-size: 1rem;
    letter-spacing: 0.02em;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-input:focus {
    border-color: #ff3a66;
    box-shadow: 0 0 10px #ff3a6688;
}

.subscribe-message {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #fce7ee;
    width: 100%;
}

.artessa-sec {
    display: none;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    padding-top: clamp(24px, 4vw, 40px);
}

.suggestion {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.1rem;
    margin-bottom: 15rem;
}

.fanzone {
    display: none;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    grid-template-columns: 1fr;
    padding-top: clamp(24px, 4vw, 40px);
}

.page {
    margin-top: 30px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--pink);
    border-radius: 50%;
    opacity: .6;
    animation: floatIn 10s infinite ease-in-out;
}

@keyframes floatIn {
    0% {
        transform: scale(1);
        opacity: .4;
    }

    50% {
        transform: scale(1.3);
        opacity: .8;
    }

    100% {
        transform: scale(1);
        opacity: .4;
    }
}

/* Header / Navigation */
.site-header {
    position: fixed;
    /* stays on top while scrolling */
    top: 0;
    width: 100%;
    justify-content: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 1.2rem clamp(1rem, 4vw, 2rem);
    /* ⬆️ more top/bottom padding */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.nav {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    /* ⬆️ more spacing between words */
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    /* ⬆️ more letter spacing */
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* current page/tab */
.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--pink);
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding: clamp(18px, 3vw, 28px);
}

/* Hero */
.hero {
    display: grid;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    padding-top: clamp(24px, 4vw, 40px);
}

.artessa {
    display: none;
    align-items: center;
    gap: clamp(15px, 4vw, 15px);
    padding-top: clamp(15px, 4vw, 15px);
}

.artessa h2 {
    color: #e74c3c;
    font-size: 1rem;
    letter-spacing: .25em;
    text-transform: uppercase !important;
    margin: 0 0 .8rem;
    opacity: .95;
}

.hero-media {
    justify-self: center;
    position: relative;
    width: min(600px, 95%);
    height: 500px;
    aspect-ratio: auto;
    /* let the image decide proportions */
    border-radius: 12px;
    /* keep subtle rounding, or set to 0 */
    overflow: hidden;
    box-shadow: 0 0 24px #e74c3c55;
    border: 2px solid transparent;
    /* optional border, can remove */
    background: none;
    /* 🚨 remove solid/gradient background */
}

.hero-media-game {
    justify-self: center;
    position: relative;
    width: min(600px, 95%);
    aspect-ratio: auto;
    /* let the image decide proportions */
    border-radius: 12px;
    /* keep subtle rounding, or set to 0 */
    overflow: hidden;
    box-shadow: 0 0 24px #e74c3c55;
    border: 2px solid transparent;
    /* optional border, can remove */
    background: none;
    /* 🚨 remove solid/gradient background */
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 10%;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.glow-ring::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
}

.eyebrow {
    font-size: .9rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #ffb3c7;
    opacity: .9;
    margin: 0 0 .8rem;
}

h1 {
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem);
    color: #ffd3df;
    text-shadow: 0 0 18px #e74c3c55;
}

.lead,
.micro {
    line-height: 1.65;
    max-width: 65ch;
    margin: 0 0 1rem;
}

.lead {
    font-size: 1.08rem;
    color: #fce7ee;
}

.micro {
    font-size: .98rem;
    color: var(--muted);
    opacity: .95;
    text-align: justify;
}

.micro2 {
    font-size: .78rem;
    color: var(--pink);
    opacity: .95;
    text-align: justify;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.1rem;
}

.cta {
    display: inline-block;
    padding: .85rem 1.25rem;
    border-radius: 10px;
    background: var(--grad);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: var(--shadow-cta);
    transition: transform .12s ease, box-shadow .12s ease;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-cta-hover);
}

/* Links Grid */
.links {
    margin-top: clamp(28px, 4vw, 48px);
}

.links h2 {
    color: #e74c3c;
    font-size: 1rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin: 0 0 .8rem;
    opacity: .95;
}

.update {
    margin-top: clamp(28px, 4vw, 48px);
}

.update h2 {
    color: #e74c3c;
    font-size: 1rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin: 0 0 .8rem;
    opacity: .95;
}

.link-grid {
    --cols: 3;
    display: grid;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
    border-radius: 14px;
    background: linear-gradient(#0f0f0f, #0f0f0f) padding-box, var(--ring) border-box;
    border: 1px solid transparent;
    text-decoration: none;
    color: #ffe8f0;
    box-shadow: 0 0 14px #c0392b33;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.link-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px #c0392b55;
}

.link-card:focus-visible {
    outline: 2px solid #ff6f91;
    outline-offset: 2px;
}

.icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #151515;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #2a2a2a;
}

.icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.label strong {
    font-size: .98rem;
    letter-spacing: .02em;
    color: #ffd3df;
}

.label small {
    font-size: .85rem;
    color: #fbd1dd;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chevron {
    margin-left: auto;
    width: 16px;
    height: 16px;
    opacity: .7;
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: .8rem;
    color: #555;
    text-align: center;
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Artessa */

/* Quote chip */
:root {
    --bg: #0a0a0a;
    --panel: #111;
    --text: #ffe8f0;
    --muted: #fbd1dd;
    --pink: #f78fb3;
    --red: #e74c3c;
    --black: #000000;
    --grad: linear-gradient(180deg, #ff6f91, #ff3a66);
    --ring: linear-gradient(135deg, rgba(231, 76, 60, .25), rgba(247, 143, 179, .18));
    --shadow-cta: 0 8px 24px #ff3a6650, 0 0 20px #ff6f9133;
    --shadow-cta-hover: 0 12px 28px #ff3a6666, 0 0 22px #ff6f9150;
    --radius: 16px;
    --pad: clamp(16px, 2.8vw, 28px);
    --maxw: 1100px;
}

.now-vote {
    --artessa-bg: #111;
    --artessa-text: #f78fb3;
    --artessa-grad-1: #e74c3c;
    --artessa-grad-2: #f78fb3;
    color: var(--artessa-text);
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(var(--artessa-bg), var(--artessa-bg)) padding-box,
        linear-gradient(135deg, var(--artessa-grad-1), var(--artessa-grad-2)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px rgba(231, 76, 60, .18), 0 1px 2px rgba(0, 0, 0, .35);
}

.now-vote:hover,
.now-vote:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(231, 76, 60, .22), 0 2px 6px rgba(0, 0, 0, .4);
    transition: transform 180ms ease, box-shadow 180ms ease;
    outline: none;
}

.now-vote {
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.panel {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(231, 76, 60, .25);
    color: #ffe8f0;
    border-radius: 12px;
    padding: 0rem 2rem 2rem 2rem;
    box-shadow: 0 0 14px #c0392b33;
}

.brand-header {
    text-align: center;
    margin-bottom: 3.0rem;
}

.artessa-panel {
    padding: 2.5rem;
}

.title_brand {
    font-size: 3.0rem;
    font-weight: bold;
    letter-spacing: 4px;
    color: #e74c3c;
    text-transform: uppercase;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.subtitle_brand {
    font-size: .7rem;
    color: #f78fb3;
    text-transform: uppercase;
    margin-top: -8px !important;
    padding-top: 0 !important;
    letter-spacing: 6px;
}

.now-playing {
    font-size: 1.6rem;
    color: #f78fb3;
    margin-bottom: 1rem;
    text-align: center;
}

.main-like {
    display: block;
    margin: 3rem auto 2rem;
    font-weight: bold;
    font-size: 1.9rem;
    color: #e74c3c;
    background: transparent;
    border: 2px dashed #e74c3c;
    border-radius: 12px;
    padding: .5rem 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    animation: pulseRotate 3s infinite ease-in-out;
}

.main-like.voted {
    color: #2ecc71;
    border-color: #2ecc71;
}

.main-like:hover {
    color: #f78fb3;
    border-color: #f78fb3;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px rgba(231, 76, 60, .25);
}

@keyframes pulseRotate {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 6px rgba(231, 76, 60, .4);
    }

    50% {
        transform: scale(1.03) rotate(.6deg);
        box-shadow: 0 0 12px rgba(231, 76, 60, .6);
    }

    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 6px rgba(231, 76, 60, .4);
    }
}

.tab-buttons {
    display: grid;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.tab-button {
    background: transparent;
    border: none;
    color: #f78fb3;
    font-weight: bold;
    padding: .5rem 1.2rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: .2s;
}

.tab-button.active {
    border-color: #e74c3c;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

h2 {
    color: #e74c3c;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    margin: 0;
}

h3 {
    color: #e74c3c;
    font-size: 1.0rem;
    border-bottom: 1px solid #333;
    margin: 0;
}

.song-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    min-height: 60px;
    border-bottom: 1px solid #222;
}

.song-info {

    display: flex;
    align-items: center;
    font-size: 16px !important;
    gap: 12px;
}

.song-number {
    font-weight: bold;
    color: #f78fb3;
    width: 32px;
    text-align: left;
    margin-left: 0;
    font-size: 1rem !important;
}

.title {
    font-size: 1rem !important;
    color: #fff;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.like-button2 {
    font-weight: bold;
    font-size: .85rem;
    color: #e74c3c;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
}

.like-button2.voted {
    color: #2ecc71;
}

.like-button {
    font-weight: bold;
    font-size: .85rem;
    color: #e74c3c;
    background: transparent;
    border: 2px dashed #e74c3c;
    border-radius: 12px;
    padding: .5rem 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    animation: pulseRotate 3s infinite ease-in-out;
}

.like-button.voted {
    color: #2ecc71;
    border-color: #2ecc71;
}

.like-button:hover {
    color: #f78fb3;
    border-color: #f78fb3;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px rgba(231, 76, 60, .25);
}

.footer {
    margin-top: 2rem;
    font-size: .8rem;
    color: #555;
    text-align: center;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
    display: none;
    z-index: 1000;
}

.platform-links {
    margin-left: 2rem;
}


/* layout */
.song-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 12px;
    border-bottom: 1px solid #eeeeee19;
    flex-wrap: wrap;
    /* lets it wrap on small screens */
}

.song-number {
    width: 32px;

    font-weight: 700;
}

.song-info {
    min-width: 180px;
    flex: 1 1 260px;
}

.song-info .title {
    font-weight: 600;
    line-height: 1.2;
}

/* actions */
.play-btn img {
    display: block
}

.like-button {
    padding: 8px 10px;
    font-size: .85rem;
    white-space: nowrap
}

/* platforms */
.platform-links {
    display: flex;
    align-items: center;
    gap: 10px
}

.platform-links img {
    display: block
}

/* compact on small screens */
@media (max-width:640px) {
    .song-number {
        width: auto;
        min-width: 28px
    }

    .song-entry {
        gap: 10px
    }

    .platform-links {
        order: 4;
        width: 100%;
        justify-content: flex-end
    }
}

.apple {
    margin-left: 4px;
    width: 15px;
    height: 18px;
}

.spotify {
    margin-left: 3px;
    width: 18px;
    height: 18px;
}

.youtube {
    margin-left: 0;
    width: 25px;
    height: 18px;
}

.about {
    margin-top: 2rem;
    font-size: 1.1rem !important;
    margin-left: 10%;
    max-width: 80%;
}

/* auto-closed missing braces */

/* === Full-width container with safe gutters (auto-injected v2, 2025-10-25) === */
/* Gutters: ~50–70px on desktop, fluid on tablets, smaller on phones */
:root {
    --gutter-min: 50px;
    --gutter-max: 70px;
    --gutter: clamp(var(--gutter-min), 6vw, var(--gutter-max));
}

/* Use 100% width (not vw) to avoid scrollbar-induced overflow. Keep content centered. */
.wrap,
.page {
    width: 100% !important;
    max-width: min(1600px, calc(100% - 2 * var(--gutter))) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    /* gutters handled via max-width calc */
}

/* Optional: if you prefer padding-based gutters instead of the calc() above, switch to:
.wrap, .page { width:100%; max-width: 1600px; margin-inline:auto; padding-inline: var(--gutter); }
*/

/* Replace %-based side margins with container gutters on common sections */
.about {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    /* container already creates the gutters */
    padding-right: 0 !important;
}

/* Keep long-form text readable without capping whole sections */
.lead,
.micro,
.prose,
.content p {
    max-width: 70ch;
}

/* Robust overflow guards (common culprits) */
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Prevent layout from expanding due to long words or code */
:where(p, li, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: anywhere;
}

/* Media should never overflow */
img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Let flex/grid children shrink to fit instead of forcing overflow */
:where(.wrap, .page, main, section, .row, .grid, .flex) * {
    min-width: 0;
}

/* Avoid accidental horizontal scrollbars but do not clip intentional horizontal UIs */
html,
body {
    overflow-x: clip;
}

pre,
code,
table {
    overflow-x: auto;
    max-width: 100%;
}

/* Ensure layout grids can actually expand and have breathable gaps */
.hero {
    column-gap: clamp(20px, 4vw, 64px);
}