*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Background ── */
body {
    font-family: 'Open Sans', -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../images/backgrounds/background-7.webp') no-repeat center center / cover;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* ── Layout ── */
.page-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 24px 88px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-logo {
    width: 86px;
    height: 90px;
    object-fit: contain;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.32px;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #cfc2d6;
    margin-top: 4px;
}

/* ── Section headings ── */
.section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
}

.section-heading img.section-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* Tint white Lucide SVGs to purple using CSS filter */
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

.section-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

/* ── Generic link list ── */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Link row ── */
.link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 17px;
    min-height: 58px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.link-row:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}

.link-row-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Brand icons — local SVGs (YouTube, Patreon) keep natural color */
.link-row-inner img.icon-brand {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Apple Podcasts purple #9933CC — SimpleIcons black SVG, filtered */
.link-row-inner img.icon-applepodcasts {
    filter: invert(28%) sepia(90%) saturate(700%) hue-rotate(260deg) brightness(90%);
}

/* Spotify green #1DB954 — SimpleIcons black SVG, filtered */
.link-row-inner img.icon-spotify {
    filter: invert(55%) sepia(80%) saturate(450%) hue-rotate(95deg) brightness(95%);
}

/* Lucide icons tinted purple */
.link-row-inner img.icon-lucide {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

/* Arrow chevron */
.link-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.7;
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

/* ── Review CTA (accent) ── */
.link-row.accent {
    background: rgba(183, 109, 255, 0.2);
    border-color: rgba(183, 109, 255, 0.35);
    justify-content: space-between;
    height: 62px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    gap: 10px;
    &.center {
        justify-content: center;
    }
}

.link-row.accent:hover {
    background: rgba(183, 109, 255, 0.35);
}

.link-row.accent img.icon-lucide {
    width: 22px;
    height: 22px;
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

/* ── Ticket4Play card ── */
.t4p-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.t4p-hero {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0) 50%, #0a0a0b 100%);
}

.t4p-hero-img {
    position: absolute;
    inset: 0;
    width: 90%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.t4p-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 24px;
}

.t4p-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 8px;
    height: 46px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
}

.t4p-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.t4p-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

/* ── Mailing List card ── */
.mail-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(183, 109, 255, 0.2);
    border-radius: 16px;
    padding: 28px;
    overflow: hidden;
}

.mail-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(183, 109, 255, 0.15) 0%, rgba(183, 109, 255, 0) 70%);
    pointer-events: none;
}

.mail-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
}

/* ── Hide EmailOctopus "Powered by" footer ── */
.mastfoot,
div.text-center:has(.mastfoot) {
    display: none !important;
}

/* ── Affiliate fine print ── */
.fine-print-note {
    font-size: 10px;
    color: #cfc2d6;
    text-align: center;
    margin-top: 4px;
}

/* ── Merch card ── */
.merch-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 20px 32px;
}

.merch-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    pointer-events: none;
}

.merch-links {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.merch-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.merch-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(52%) sepia(79%) saturate(600%) hue-rotate(240deg) brightness(105%);
}

/* ── Socials grid ── */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 20px 4px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    /* SimpleIcons are black — invert to white for dark background */
    filter: invert(1);
}

/* Brand-colored hover borders */
.social-btn[data-brand="youtube"]:hover {
    border-color: rgba(255, 0, 0, 1);
}
.social-btn[data-brand="tiktok"]:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.social-btn[data-brand="instagram"]:hover {
    border-color: #e1306c;
}

.social-btn[data-brand="facebook"]:hover {
    border-color: #1877f2;
}

.social-btn[data-brand="twitter"]:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.social-btn[data-brand="bluesky"]:hover {
    border-color: #0085ff;
}

.social-btn[data-brand="reddit"]:hover {
    border-color: #ff4500;
}

.social-btn[data-brand="telegram"]:hover {
    border-color: #26a5e4;
}

.social-btn[data-brand="linkedin"]:hover {
    border-color: #0a66c2;
}

/* ── Footer ── */
.site-footer {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer .copyright {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1.6;
}

.site-footer .fine-print {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.5;
}

.site-footer .fine-print a {
    color: #c084fc;
    text-decoration: underline;
}

.site-footer .fine-print a:hover {
    color: #d8b4fe;
}

/* ── Link row two-line title/subtitle ── */
.link-row-inner-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.link-row-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.link-row-sub {
    font-size: 11px;
    opacity: 0.6;
    font-weight: 400;
}

/* ── Patreon hero card ── */
@property --patreon-rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

@keyframes patreon-spin {
    0% {
        --patreon-rotate: 0deg;
    }

    100% {
        --patreon-rotate: 360deg;
    }
}

.patreon-hero {
    border-radius: 18px;
    padding: 3px;
    position: relative;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    background-image: linear-gradient(var(--patreon-rotate), #b76eff, #7c3aed 43%, #4e00c2);
    animation: patreon-spin 2.5s linear infinite;
}

.patreon-inner {
    background: #0f0d16;
    border-radius: 16px;
    padding: 28px 24px;
    color: #fff;
}

.patreon-hero:hover .patreon-inner {
    background: #151020;
}

.patreon-eyebrow,
.patreon-headline,
.patreon-desc,
.patreon-tiers,
.patreon-cta {
    color: #fff;
}

.patreon-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.patreon-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.patreon-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.patreon-headline em {
    font-style: italic;
    opacity: 0.8;
}

.patreon-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.75;
    margin-bottom: 20px;
}

.patreon-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.patreon-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.patreon-pill.featured {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.patreon-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: rgba(183, 109, 255, 0.2);
    border: 1px solid rgba(183, 109, 255, 0.35);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    transition: background 0.2s;
}

.patreon-hero:hover .patreon-cta {
    background: rgba(183, 109, 255, 0.35);
}

/* ── Swinkation card ── */
@property --swink-rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

@keyframes swink-spin {
    0% {
        --swink-rotate: 0deg;
    }

    100% {
        --swink-rotate: 360deg;
    }
}

.swink-card {
    border-radius: 22px;
    padding: 3px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    background-image: linear-gradient(var(--swink-rotate), #5ddcff, #3c67e3 43%, #4e00c2);
    animation: swink-spin 2.5s linear infinite;
}

/* ── Carousel wrapper (holds carousel + mobile arrows) ── */
.carousel-wrap {
    position: relative;
}

/* Desktop arrows — overlaid on carousel, shown on hover */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, background 0.2s;
    user-select: none;
}

.carousel-arrow.prev {
    left: 8px;
}

.carousel-arrow.next {
    right: 8px;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-wrap:hover .carousel-arrow {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile arrows — below carousel, always visible, no hover needed */
.carousel-arrows-mobile {
    display: none;
}

@media (hover: none) {
    .carousel-arrow {
        display: none;
    }

    .carousel-arrows-mobile {
        display: flex;
        justify-content: center;
        gap: 24px;
        padding: 8px 0 4px;
    }

    .carousel-arrow-mobile {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
    }

    .carousel-arrow-mobile:active {
        background: rgba(255, 255, 255, 0.25);
    }
}

/* ── Carousel ── */
.carousel {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
    display: flex;

    .group {
        display: flex;
        gap: 20px;
        padding-right: 20px;
        will-change: transform;
        animation: scrolling 10s linear infinite;
        /* Shrink-wrap to content so translateX(-100%) = exactly one set of cards */
        flex-shrink: 0;
    }

    .card {
        display: flex;
        width: 350px;
        color: white;
        border-radius: 24px;
        box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
        font-size: xx-large;
        justify-content: center;
        align-items: center;
        min-height: 200px;
        flex-shrink: 0;

        &>div,
        .swink-card>div {
            height: 100%;
        }
    }

    .card1,
    .card2,
    .card3 {
        & .swink-card > div {
            background-size: cover;
            border-radius: 20px;
            background-position: 54% 25%;
            width: 100%;
            position: relative;
            z-index: 1;
            > div {
                background-color: rgba(0,0,0,0.7);
                height: 100%
            }
        }
    }

    .card1 .swink-card  > div {
        background-image: url('../images/backgrounds/ed-phoebe-hedo.webp');
    }

    .card2 .swink-card > div {
        background-image: url('../images/backgrounds/llv-sensual-voyage.webp');
    }

    .card3 .swink-card > div {
        background-image: url('../images/backgrounds/Ed-and-Phoebe-Swigner-University-Ticket4Play-Alaska-768x576.webp');
    }
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ── Responsive ── */
@media (min-width: 600px) {
    .page-wrap {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 380px) {
    .socials-grid {
        gap: 8px;
    }

    .social-btn {
        padding: 16px 2px;
        font-size: 9px;
    }

    .social-btn img {
        width: 18px;
        height: 18px;
    }
}