/**
 * YouClub Custom Styles
 * Premium Dark Theme (YouClub.at inspired)
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Premium Dark Palette */
    --youclub-black: #050505;
    --youclub-dark-bg: #0a0a0a;
    --youclub-card-bg: #111111;
    --youclub-border: #222222;

    --youclub-white: #FFFFFF;
    --youclub-gray-100: #fafafa;
    --youclub-gray-300: #e5e5e5;
    --youclub-gray-500: #a3a3a3;
    /* Kept same, but usage will switch to 300 for clearer text */
    --youclub-gray-700: #404040;
    --youclub-gray-800: #262626;

    /* Accent Colors (Subtle & Premium) */
    --youclub-accent: #333333;
    --youclub-accent-hover: #444444;

    /* Status Colors (Vibrant but controlled) */
    --youclub-success: #22c55e;
    --youclub-success-bg: rgba(34, 197, 94, 0.1);

    --youclub-warning: #f59e0b;
    --youclub-warning-bg: rgba(245, 158, 11, 0.1);

    --youclub-error: #ef4444;
    --youclub-error-bg: rgba(239, 68, 68, 0.1);

    --youclub-info: #3b82f6;
    --youclub-info-bg: rgba(59, 130, 246, 0.1);
    --youclub-brand-primary: #d400ff;
    --youclub-brand-secondary: #5ce1e6;
    --youclub-brand-soft: #d8a2ff;

    /* Spacing & Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;

    /* Effects */
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
}

/* ==================== Core Layout ==================== */
body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    background-color: #090b0f;
    background-image: linear-gradient(180deg, #0b0d12 0%, #090b0f 100%);
    color: var(--youclub-gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h5,
h6,
.h1,
.h2,
.h3,
.h5,
.h6,
.card-title {
    color: var(--youclub-white) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h4,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    color: var(--youclub-white) !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.text-muted {
    color: var(--youclub-gray-300) !important;
}

.text-secondary {
    color: var(--youclub-gray-500) !important;
}

/* Brand links (avoid default Bootstrap blue links in forms/text blocks). */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--youclub-brand-secondary);
    text-decoration-color: rgba(92, 225, 230, 0.45);
    text-underline-offset: 0.14em;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: var(--youclub-brand-soft);
    text-decoration-color: rgba(216, 162, 255, 0.55);
}

/* ==================== Glassmorphism Utilities ==================== */
.glass-panel {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* ==================== Navigation ==================== */
.yc-header-shell {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    overflow: visible;
    background: transparent;
}

.yc-top-banner {
    background: linear-gradient(90deg, rgba(108, 48, 148, 0.88) 0%, rgba(36, 96, 118, 0.88) 100%);
    border-bottom: 0;
    padding: 0.78rem 0 1.15rem;
    text-align: center;
    color: #f4f1f9;
    font-weight: 600;
    min-height: 76px;
    max-height: 98px;
    opacity: 1;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.24s ease, border-color 0.2s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.yc-top-banner p {
    font-size: 1rem;
    margin: 0;
}

.yc-top-banner__link {
    color: #fcfbff;
    background: rgba(11, 11, 14, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.38rem 0.92rem;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.yc-top-banner__link:hover {
    background: rgba(11, 11, 14, 0.48);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.yc-navbar-shell {
    background: #0f1218 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-color: transparent;
    border-radius: 1.65rem 1.65rem 0 0;
    margin-top: -1.2rem;
    padding-top: 0.35rem;
    padding-bottom: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.yc-header-shell.is-scrolled .yc-navbar-shell {
    border-left-color: rgba(255, 255, 255, 0.08);
    border-right-color: rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.yc-header-shell.is-scrolled .yc-top-banner {
    max-height: 0;
    min-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
}

.yc-navbar-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
}

.yc-header-shell.is-scrolled .yc-navbar-minimal {
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.yc-navbar__brand {
    display: flex;
    align-items: center;
    z-index: 2;
}

.yc-navbar__brand img {
    height: 31px;
    width: auto;
    display: block;
    filter: none;
}

.yc-navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.yc-navbar__toggler {
    border: 1px solid #d1d1d4;
    background: #f4f4f5;
    border-radius: 0.95rem;
    padding: 0.33rem 0.52rem;
    color: #1d2026;
    font-size: 1.7rem;
    line-height: 1;
}

/* Keep burger visible on desktop as well (override Bootstrap navbar-expand-lg default). */
.yc-navbar-shell .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.yc-btn {
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.yc-btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
}

.yc-btn--large {
    padding: 0.72rem 1.4rem;
    font-size: 0.96rem;
}

.yc-btn--solid {
    background: linear-gradient(120deg, var(--youclub-brand-primary) 0%, var(--youclub-brand-secondary) 100%);
    border-color: transparent;
    color: #101010;
}

.yc-btn--solid:hover {
    filter: brightness(1.08);
    color: #101010;
}

.yc-btn--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--youclub-white);
}

.yc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.yc-btn--light {
    background: #f5f5f6;
    border-color: #d3d3d7;
    color: #141519;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.yc-btn--light:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.yc-menu-canvas {
    background: #101013;
    color: var(--youclub-white);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    width: clamp(380px, 36vw, 560px) !important;
}

.yc-menu-canvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.4rem;
}

.yc-menu-canvas .offcanvas-title {
    font-size: 1.05rem;
    font-weight: 650;
}

.yc-menu-header-actions {
    display: flex;
    gap: 0.55rem;
    margin-left: auto;
    margin-right: 1rem;
}

.yc-menu-header-actions a {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.yc-menu-header-actions a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.yc-menu-section-title {
    color: var(--youclub-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.yc-menu-primary {
    display: flex;
    flex-direction: column;
}

.yc-menu-primary a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1.15rem, 1.1rem + 0.2vw, 1.9rem);
    font-weight: 520;
    padding: 0.65rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yc-menu-primary a:hover {
    color: #fff;
}

.yc-menu-primary a i {
    color: var(--youclub-gray-500);
    font-size: 1rem;
}

.yc-menu-deals {
    margin-top: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.yc-menu-deals__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.yc-menu-deal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.9rem;
    padding: 0.8rem;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.yc-menu-deal-card small {
    color: var(--youclub-brand-secondary);
    font-weight: 700;
}

.yc-menu-deal-card strong {
    font-size: 1.03rem;
}

.yc-menu-deal-card span {
    color: var(--youclub-gray-300);
    font-size: 0.88rem;
}

.yc-menu-deal-card:hover {
    border-color: rgba(212, 0, 255, 0.45);
}

.yc-menu-bottom {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.yc-menu-social {
    display: flex;
    gap: 0.55rem;
}

.yc-menu-social a {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.yc-menu-social a:hover {
    background: rgba(212, 0, 255, 0.22);
    color: var(--youclub-brand-secondary);
}

.yc-menu-legal {
    display: flex;
    gap: 1rem;
}

.yc-menu-legal a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.yc-menu-legal a:hover {
    color: #fff;
}

.dropdown-menu {
    background-color: var(--youclub-card-bg);
    border: 1px solid var(--youclub-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--youclub-gray-300);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--youclub-gray-800);
    color: var(--youclub-white);
}

.dropdown-divider {
    border-top-color: var(--youclub-border);
}

@media (max-width: 991.98px) {
    .yc-top-banner__link {
        display: inline-block;
        margin-left: 0;
        margin-top: 0.45rem;
    }

    .yc-navbar__brand img {
        height: 28px;
    }

    .yc-menu-canvas {
        width: min(92vw, 520px) !important;
    }

    .yc-menu-primary a {
        font-size: 1.35rem;
    }

    .yc-menu-deals__row {
        grid-template-columns: 1fr;
    }

    .yc-menu-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .yc-menu-canvas {
        width: 100vw !important;
    }
}

/* ==================== Landing Redesign ==================== */

/* Scroll-triggered fade-in */
.ycr-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ycr-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Hero ---- */
.ycr-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(to bottom, rgba(5,5,5,0.50) 0%, rgba(5,5,5,0.78) 100%),
        url("../img/landing/youclub-friends-city-lifestyle-graz.jpg");
    background-size: cover;
    background-position: center 60%;
    overflow: hidden;
}

.ycr-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.ycr-hero__content {
    max-width: 700px;
}

.ycr-hero__headline {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin-bottom: 1.25rem;
}

.ycr-hero__accent {
    background: linear-gradient(90deg, var(--youclub-brand-primary), var(--youclub-brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ycr-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 2.5rem;
    line-height: 1.65;
    max-width: 46ch;
}

.ycr-hero__search {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.ycr-hero__input-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 340px;
}

.ycr-hero__input-wrap i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    pointer-events: none;
}

.ycr-hero__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.2s, background 0.2s;
}

.ycr-hero__input::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.ycr-hero__input:focus {
    outline: none;
    border-color: rgba(212, 0, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
}

.ycr-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.4rem;
    animation: ycr-bounce 2.2s ease-in-out infinite;
}

@keyframes ycr-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(9px); }
}

@media (max-width: 767px) {
    .ycr-hero__search {
        flex-direction: column;
        align-items: flex-start;
    }
    .ycr-hero__input-wrap {
        max-width: 100%;
        width: 100%;
    }
}

/* ---- How It Works ---- */
.ycr-how {
    background: #f7f7f8;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.ycr-how__inner {
    max-width: 780px;
}

.ycr-how__kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-primary);
    margin-bottom: 0.75rem;
}

.ycr-how__headline {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0d0d0d !important;
    margin-bottom: 3.5rem;
}

.ycr-how__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ycr-how__step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s;
}

.ycr-how__step:last-child {
    border-bottom: none;
}

.ycr-how__check {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--youclub-brand-primary), var(--youclub-brand-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.ycr-how__text h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: #0d0d0d !important;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.ycr-how__text p {
    font-size: 1rem;
    color: #555 !important;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---- Categories Carousel ---- */
.ycr-cats {
    background: #0a0a0a;
    padding: clamp(4rem, 8vw, 8rem) 0;
    overflow: hidden;
}

.ycr-cats__header {
    margin-bottom: 2.5rem;
}

.ycr-cats__kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-secondary);
    margin-bottom: 0.75rem;
}

.ycr-cats__headline {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin-bottom: 0;
}

.ycr-cats__track-wrap {
    padding: 0 max(1rem, calc((100vw - 1320px) / 2));
}

.ycr-cats__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ycr-cat-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    text-decoration: none !important;
    background-image:
        linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0.10) 100%),
        var(--cat-img);
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ycr-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.ycr-cat-card__inner {
    padding: 1.75rem;
    width: 100%;
}

.ycr-cat-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-secondary);
    margin-bottom: 0.4rem;
}

.ycr-cat-card__title {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ycr-cat-card__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.ycr-cat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.ycr-cat-card:hover .ycr-cat-card__cta {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 991px) {
    .ycr-cats__track-wrap {
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ycr-cats__track-wrap::-webkit-scrollbar {
        display: none;
    }
    .ycr-cats__track {
        grid-template-columns: repeat(3, 78vw);
        gap: 0.75rem;
        width: max-content;
        scroll-snap-type: x mandatory;
    }
    .ycr-cat-card {
        scroll-snap-align: start;
        min-height: 380px;
    }
}

/* ---- Flash Deals ---- */
.ycr-deals {
    background: #0d0d0d;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.ycr-deals__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ycr-deals__kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-primary);
    margin-bottom: 0.75rem;
}

.ycr-deals__headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin-bottom: 2.5rem;
}

.ycr-deals__features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ycr-deals__feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.ycr-deals__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
    line-height: 1;
}

.ycr-deals__feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 0.3rem;
}

.ycr-deals__feature p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Floating mockup card */
.ycr-deals__mockup {
    background: #1a1a1f;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.ycr-deals__right:hover .ycr-deals__mockup {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.ycr-mockup__bar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.ycr-mockup__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.ycr-mockup__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.ycr-mockup__deal {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    padding: 0.85rem;
    margin-bottom: 0.65rem;
}

.ycr-mockup__deal-img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.65rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.ycr-mockup__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.12);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    margin-bottom: 0.25rem;
}

.ycr-mockup__deal-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
}

.ycr-mockup__deal-save {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
}

.ycr-mockup__deal-save strong {
    color: var(--youclub-brand-secondary);
}

.ycr-mockup__progress {
    margin-top: 1rem;
}

.ycr-mockup__progress-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}

.ycr-mockup__progress-label strong {
    color: #fff;
}

.ycr-mockup__progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    overflow: hidden;
}

.ycr-mockup__progress-fill {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--youclub-brand-primary), var(--youclub-brand-secondary));
    border-radius: 999px;
}

@media (max-width: 991px) {
    .ycr-deals__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .ycr-deals__mockup {
        transform: none;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ---- Regional Trust ---- */
.ycr-trust {
    background: #f7f7f8;
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.ycr-trust__header {
    max-width: 600px;
    margin-bottom: 3.5rem;
}

.ycr-trust__kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-primary);
    margin-bottom: 0.75rem;
}

.ycr-trust__headline {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0d0d0d !important;
    margin-bottom: 0.85rem;
}

.ycr-trust__sub {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.65;
}

.ycr-trust__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 3.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ycr-trust__stat {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.ycr-trust__stat-number {
    display: block;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--youclub-brand-primary), var(--youclub-brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ycr-trust__stat-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
}

.ycr-trust__divider {
    width: 1px;
    height: 3rem;
    background: rgba(0, 0, 0, 0.10);
    flex-shrink: 0;
}

/* Illustrated map area */
.ycr-trust__map {
    border-radius: 1.5rem;
    background:
        linear-gradient(135deg, rgba(212, 0, 255, 0.06) 0%, rgba(92, 225, 230, 0.08) 100%),
        #eef0f3;
    border: 1px solid rgba(0, 0, 0, 0.07);
    min-height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ycr-trust__map-inner {
    position: relative;
    width: 100%;
    height: 260px;
}

.ycr-trust__map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    animation: ycr-pulse 2.5s ease-in-out infinite;
}

.ycr-trust__map-pin i {
    font-size: 2rem;
    color: var(--youclub-brand-primary);
    filter: drop-shadow(0 0 12px rgba(212, 0, 255, 0.55));
}

.ycr-trust__map-pin span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0d0d0d;
    background: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.ycr-trust__map-pin--graz {
    left: 38%;
    top: 40%;
}

.ycr-trust__map-pin--wien {
    right: 22%;
    top: 25%;
    animation-delay: 1.2s;
}

@keyframes ycr-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 767px) {
    .ycr-trust__stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .ycr-trust__divider {
        width: 3rem;
        height: 1px;
    }
}

/* ---- Business Section ---- */
.ycr-biz {
    background:
        linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.72) 100%),
        url("../img/landing/youclub-local-business-owner-beauty-graz.jpg");
    background-size: cover;
    background-position: center 30%;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ycr-biz__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.ycr-biz__kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--youclub-brand-secondary);
    margin-bottom: 0.4rem;
}

.ycr-biz__headline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin-bottom: 0.3rem;
}

.ycr-biz__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0;
}

.ycr-biz__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .ycr-biz__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- CTA Section ---- */
.ycr-cta {
    background: #0a0a0a;
    padding: clamp(5rem, 10vw, 10rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ycr-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(212, 0, 255, 0.14), transparent);
    pointer-events: none;
}

.ycr-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.ycr-cta__headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #fff !important;
    margin-bottom: 1rem;
}

.ycr-cta__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2.5rem;
}

.ycr-cta__btn {
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
}

.yc-kicker {
    display: inline-block;
    color: var(--youclub-brand-soft);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
    font-weight: 700;
}


/* ==================== B2B / Brand Pages ==================== */
.yc-b2b-page,
.yc-brand-page {
    color: var(--youclub-white);
}

.yc-b2b-hero,
.yc-brand-hero {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: clamp(1.1rem, 1.4vw + 0.8rem, 2rem);
}

.yc-b2b-hero h1,
.yc-brand-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    margin-bottom: 0.65rem;
}

.yc-b2b-hero p,
.yc-brand-hero p {
    color: var(--youclub-gray-300);
    max-width: 58ch;
}

.yc-b2b-hero__stats {
    display: grid;
    gap: 0.7rem;
}

.yc-b2b-hero__stats article {
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0.85rem;
}

.yc-b2b-hero__stats strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.yc-b2b-hero__stats span {
    color: var(--youclub-gray-300);
    font-size: 0.87rem;
}

.yc-b2b-block,
.yc-b2b-steps,
.yc-b2b-objections,
.yc-b2b-final,
.yc-brand-mission,
.yc-brand-audience,
.yc-brand-values,
.yc-brand-cta {
    background: rgba(12, 12, 14, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.35rem;
    padding: 1.05rem;
}

.yc-b2b-block h2,
.yc-b2b-steps h2,
.yc-b2b-objections h2,
.yc-brand-mission h2,
.yc-brand-audience h2,
.yc-brand-values h2,
.yc-brand-cta h2 {
    font-size: clamp(1.3rem, 2vw, 2rem);
    margin-bottom: 0.25rem;
}

.yc-b2b-card,
.yc-brand-card,
.yc-brand-panel,
.yc-value-card,
.yc-b2b-quote {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    padding: 0.95rem;
}

.yc-b2b-card h3,
.yc-brand-card h2,
.yc-brand-panel h3,
.yc-value-card h3 {
    font-size: 1.03rem;
    margin-bottom: 0.35rem;
}

.yc-b2b-card p,
.yc-brand-card p,
.yc-brand-panel p,
.yc-value-card p,
.yc-b2b-quote p {
    margin-bottom: 0;
    color: var(--youclub-gray-300);
    font-size: 0.92rem;
}

.yc-brand-panel ul {
    margin-top: 0.6rem;
    margin-bottom: 0;
    padding-left: 1.05rem;
}

.yc-brand-panel li {
    color: var(--youclub-gray-300);
}

.yc-b2b-quote__q {
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 0.4rem !important;
}

@media (max-width: 767.98px) {
    .yc-b2b-hero,
    .yc-brand-hero,
    .yc-b2b-block,
    .yc-b2b-steps,
    .yc-b2b-objections,
    .yc-b2b-final,
    .yc-brand-mission,
    .yc-brand-audience,
    .yc-brand-values,
    .yc-brand-cta {
        padding: 0.9rem;
    }
}

/* ==================== Cards ==================== */
.card {
    background-color: var(--youclub-card-bg);
    border: 1px solid var(--youclub-border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    color: var(--youclub-white);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--youclub-border);
    padding: 1.5rem;
}

.card-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.card-body {
    padding: 1.5rem;
}

/* ==================== Buttons ==================== */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--youclub-white);
    border: 1px solid var(--youclub-white);
    color: var(--youclub-black);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--youclub-gray-100);
    border-color: var(--youclub-gray-100);
    color: var(--youclub-black);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--youclub-gray-800);
    border-color: var(--youclub-gray-800);
    color: var(--youclub-white);
}

.btn-secondary:hover {
    background-color: var(--youclub-gray-700);
    border-color: var(--youclub-gray-700);
}

.btn-outline-light {
    border-color: var(--youclub-gray-700);
    color: var(--youclub-white);
}

.btn-outline-light:hover {
    background-color: var(--youclub-gray-800);
    border-color: var(--youclub-gray-700);
}

.btn-outline-success {
    color: var(--youclub-success);
    border-color: var(--youclub-success);
}

.btn-outline-success:hover {
    background-color: var(--youclub-success);
    color: #fff;
}

.btn-outline-warning {
    color: var(--youclub-warning);
    border-color: var(--youclub-warning);
}

.btn-outline-warning:hover {
    background-color: var(--youclub-warning);
    border-color: var(--youclub-warning);
    color: #000;
}

.btn-success {
    background-color: var(--youclub-success);
    border-color: var(--youclub-success);
    color: #fff;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    color: #fff;
}

.btn-warning {
    background-color: var(--youclub-warning);
    border-color: var(--youclub-warning);
    color: #000;
}

.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: #000;
}

/* ==================== Forms ==================== */
.form-control,
.form-select {
    background-color: var(--youclub-black);
    border: 1px solid var(--youclub-border);
    color: var(--youclub-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--youclub-black);
    border-color: var(--youclub-gray-500);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    color: var(--youclub-white);
}

.form-control::placeholder,
.form-select::placeholder {
    color: var(--youclub-gray-500);
    opacity: 1;
    /* Firefox */
}

/* Hide spin buttons */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-label {
    color: var(--youclub-gray-300);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: var(--youclub-gray-800);
    border-color: var(--youclub-border);
    color: var(--youclub-gray-300);
}

/* ==================== Footer ==================== */
.site-footer {
    border-top: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(212, 0, 255, 0.1), transparent 28%),
        radial-gradient(circle at 90% 5%, rgba(92, 225, 230, 0.08), transparent 24%),
        #070707;
    border-radius: 2rem 2rem 0 0;
    padding-top: 3.35rem !important;
    padding-bottom: 0.9rem !important;
    position: relative;
    overflow: hidden;
}

.site-footer__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2.5rem;
}

.site-footer__app-card {
    background: linear-gradient(160deg, #17171b, #101014);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.33);
}

.site-footer__links-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.site-footer__col {
    min-width: 0;
}

.site-footer__eyebrow {
    color: var(--youclub-brand-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.site-footer__app-card h3 {
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.site-footer__app-card p {
    color: var(--youclub-gray-300);
}

.site-footer__media-slot {
    min-height: 142px;
    border-radius: 0.85rem;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1)),
        url("../img/landing/youclub-gastronomie-graz.jpg"),
        linear-gradient(155deg, rgba(149, 224, 244, 0.17), rgba(212, 0, 255, 0.12)),
        #111217;
    background-size: cover, cover, cover, auto;
    background-position: center, center, center, center;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
}

.site-footer__media-slot span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.76rem;
}

.site-footer__heading {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
}

.site-footer__links li+li {
    margin-top: 0.55rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
}

.site-footer__links a:hover {
    color: var(--youclub-white);
    opacity: 1;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.site-footer__social--inline {
    grid-column: 1 / -1;
    margin-top: 0.45rem;
}

.site-footer__social a {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__social a:hover {
    background: rgba(212, 0, 255, 0.22);
    color: var(--youclub-brand-secondary);
}

.site-footer__bottom {
    margin-top: 0.65rem;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.site-footer__bottom::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.8rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__bottom--inline {
    grid-column: 1 / -1;
}

.site-footer__copyright {
    color: var(--youclub-gray-500);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-footer__legal a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Force footer links to stay neutral (override global brand link color rule). */
.site-footer a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: #e7e7e7 !important;
    text-decoration-color: rgba(231, 231, 231, 0.42) !important;
}

.site-footer a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.58) !important;
}

.site-footer__legal a:hover {
    color: var(--youclub-white);
}

.site-footer__wordmark {
    position: relative;
    z-index: 1;
    margin-top: 4.8rem;
    line-height: 0;
    user-select: none;
}

.site-footer__wordmark-logo {
    width: 100%;
    height: auto;
    opacity: 0.08;
    display: block;
}

@media (max-width: 767.98px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .site-footer__links-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .site-footer__social--inline {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-top: 0.8rem;
    }

    .site-footer__legal {
        justify-content: center;
    }

    .site-footer__wordmark {
        margin-top: 3rem;
    }

    .site-footer__wordmark-logo {
        width: 100%;
    }
}

/* ==================== Alerts / Badges (Dark Mode) ==================== */
.alert {
    border: 1px solid transparent;
    background-color: var(--youclub-card-bg);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 600;
}

.bg-success {
    background-color: var(--youclub-success) !important;
    color: #fff;
}

.bg-warning {
    background-color: var(--youclub-warning) !important;
    color: #000;
}

.bg-danger {
    background-color: var(--youclub-error) !important;
    color: #fff;
}

.bg-secondary {
    background-color: var(--youclub-gray-700) !important;
}

/* ==================== Maps (Dark Filter) ==================== */
.leaflet-container {
    background: #242f3e;
}

/* Invert map tiles to make them dark, then rotate hue to fix colors slightly */
.leaflet-tile-pane {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Re-invert labels/markers? No, standard markers need to pop.
   Usually better to use a dedicated dark tile provider, but this is a CSS-only hack. */

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: var(--youclub-card-bg);
    color: var(--youclub-white);
    border: 1px solid var(--youclub-border);
}

.leaflet-popup-content {
    color: var(--youclub-gray-100) !important;
}

.leaflet-popup-content strong {
    color: var(--youclub-white) !important;
    font-size: 1rem;
}

.leaflet-popup-content small {
    color: var(--youclub-gray-300) !important;
    /* Fix address contrast */
    font-size: 0.85rem;
}

/* Fix 'x' close button contrast */
.leaflet-container a.leaflet-popup-close-button {
    color: var(--youclub-gray-300) !important;
    font-size: 1.2rem !important;
    padding: 8px 8px 0 0 !important;
}

/* ==================== Pagination ==================== */
.page-link {
    background-color: var(--youclub-black);
    border-color: var(--youclub-border);
    color: var(--youclub-white);
}

.page-link:hover {
    background-color: var(--youclub-gray-800);
    border-color: var(--youclub-gray-700);
    color: var(--youclub-white);
}

.page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    z-index: 1;
}

.page-item.disabled .page-link {
    background-color: var(--youclub-black);
    border-color: var(--youclub-border);
    color: var(--youclub-gray-500);
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--youclub-white) !important;
}

/* Reduce button size in popups */
.leaflet-popup-content .popup-btn {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.8rem !important;
    min-height: auto !important;
    line-height: 1.2 !important;
}

/* ==================== Tables ==================== */
.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--youclub-gray-300);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
    --bs-table-hover-color: var(--youclub-white);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.08);
    color: var(--youclub-gray-300);
    border-color: var(--youclub-border);
}

.table> :not(caption)>*>* {
    background-color: transparent !important;
    color: inherit;
    border-bottom-color: var(--youclub-border);
}

.table thead th {
    background-color: var(--youclub-card-bg);
    color: var(--youclub-white);
    border-bottom: 2px solid var(--youclub-border);
    font-weight: 600;
}

.table-hover tbody tr:hover {
    color: var(--youclub-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==================== Modals ==================== */
.modal-content {
    background-color: var(--youclub-card-bg);
    border: 1px solid var(--youclub-border);
    color: var(--youclub-gray-100);
}

.modal-header {
    border-bottom: 1px solid var(--youclub-border);
}

.modal-footer {
    border-top: 1px solid var(--youclub-border);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ==================== List Groups ==================== */
.list-group-item {
    background-color: transparent;
    border-color: var(--youclub-border);
    color: var(--youclub-gray-100);
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: var(--youclub-gray-800);
    color: var(--youclub-white);
}

/* Fix specific texts inside list items if needed additional specificity */
.list-group-item .text-muted {
    color: var(--youclub-gray-500) !important;
}

/* ==================== Utilities ==================== */
.text-white-50 {
    color: var(--youclub-gray-500) !important;
}

.bg-light {
    background-color: var(--youclub-card-bg) !important;
}

/* Rewrite bg-light to card-bg for compatibility with existing templates using bg-light */

.text-youclub-gray-300 {
    color: var(--youclub-gray-300) !important;
}

/* ==================== Legal Pages ==================== */
.legal-page a {
    color: #d8a2ff;
    text-decoration-color: rgba(216, 162, 255, 0.55);
    text-underline-offset: 0.18em;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-page a:hover {
    color: #5ce1e6;
    text-decoration-color: rgba(92, 225, 230, 0.45);
}
