.clubs-page
{
    min-height: 100%;
    padding: 0 0 200px;
    color: #0f141a;
    box-sizing: border-box;
}

.clubs-page--detail
{
    padding: 0;
    min-height: 100vh;
}

.clubs-detail-wrapper::-webkit-scrollbar
{
    display: none;
}

.clubs-detail-wrapper
{
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.clubs-hero
{
    max-width: 720px;
    margin: 0 auto 18px;
    padding: 20px 18px;
    background: linear-gradient(135deg, rgba(67, 64, 119, 0.06) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid color-mix(in oklab, var(--accent-custom, #434077) 18%, transparent);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(67, 64, 119, 0.12);
}

.clubs-hero__eyebrow
{
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--accent-custom, #434077) 14%, #ffffff);
    color: var(--accent-custom, #434077);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.clubs-hero__title
{
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    color: #0f141a;
    font-weight: 800;
}

.clubs-hero__description
{
    margin: 10px 0 0;
    color: #27303f;
    line-height: 1.6;
    font-size: 15px;
    max-width: 760px;
}

.clubs-hero__copy
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clubs-section
{
    margin: 0 auto;
}

.clubs-interest-matches-slot
{
    margin-top: 12px;
}

.clubs-grid
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.club-card
{
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--tg-border, rgba(230, 235, 242, 0.9));
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 0;
    cursor: pointer;
    outline: none;
}

.club-card:focus-visible
{
    box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.3);
}

.club-card__cover
{
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.club-card__cover::after
{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.25) 100%);
}

.club-card__chip
{
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: color-mix(in oklab, var(--accent-custom, #434077) 12%, #ffffff);
    color: var(--accent-custom, #434077);
    font-weight: 800;
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--accent-custom, #434077) 14%, transparent);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.club-card__body
{
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.club-card__top
{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.club-card__title
{
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.club-card__action
{
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-custom, #434077), var(--accent-2-custom, #6366f1));
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 10px 24px color-mix(in oklab, var(--accent-custom, #434077) 32%, transparent);
}

.club-card__action:hover
{
    text-decoration: none;
    box-shadow: 0 12px 26px color-mix(in oklab, var(--accent-custom, #434077) 38%, transparent);
}

.club-card__description
{
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #27303f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.club-card__meta
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.club-card__meta-item
{
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.club-card__meta-value
{
    font-weight: 800;
    font-size: 16px;
    color: #0f172a;
}

.club-card__meta-label
{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    font-weight: 700;
}

.club-card__status
{
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-weight: 700;
    font-size: 12px;
}

.clubs-loader
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e6ebf2;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.clubs-loader__spinner
{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #e8edf5;
    border-top-color: var(--accent-custom, #434077);
    animation: clubs-spin 1s linear infinite;
}

.clubs-loader__label
{
    font-size: 15px;
    color: #374151;
    font-weight: 700;
}

.clubs-state
{
    background: #fff;
    border: 1px dashed #e6ebf2;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    color: #27303f;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.clubs-state__text
{
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.clubs-state__action
{
    margin-top: 12px;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-custom, #434077), var(--accent-2-custom, #6366f1));
    box-shadow: 0 10px 22px color-mix(in oklab, var(--accent-custom, #434077) 28%, transparent);
}

@keyframes clubs-spin
{
    to
    {
        transform: rotate(360deg);
    }
}

@media (min-width: 680px)
{
    .clubs-page
    {
        padding: 0 28px 0;
    }

    .clubs-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-card__cover
    {
        height: 180px;
    }
}
