/* ========================================
   YOURSIS — CLUBS PAGE
   VINTAGE BOTANICAL EDITORIAL
   ======================================== */

.clubs-main {
    position: relative;
    min-height: 100vh;
    margin-top: 80px;
    overflow: hidden;
    color: #f4ecdf;
}

.clubs-page {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding-top: 25px;
    padding-bottom: 90px;
}


/* ========================================
   БОТАНИКА
   ======================================== */

.clubs-botanical {

    position: absolute;

    width: 240px;
    height: 300px;

    z-index: 1;

    opacity: 0.55;

    pointer-events: none;
}


.clubs-botanical::before {

    content: "❧";

    position: absolute;

    font-family: Georgia, serif;

    font-size: 190px;

    line-height: 1;

    color: rgba(34, 59, 34, 0.8);
}


.clubs-botanical::after {

    content: "✿";

    position: absolute;

    font-size: 43px;

    color: rgba(205, 111, 132, 0.75);
}


.clubs-botanical-tl {

    top: 20px;
    left: -70px;

    transform: rotate(-20deg);
}


.clubs-botanical-tr {

    top: 20px;
    right: -70px;

    transform:
        scaleX(-1) rotate(-20deg);
}


.clubs-botanical-bl {

    bottom: 70px;
    left: -70px;

    transform: rotate(160deg);
}


.clubs-botanical-br {

    bottom: 70px;
    right: -70px;

    transform:
        scaleX(-1) rotate(160deg);
}


/* ========================================
   HERO
   ======================================== */

.clubs-hero {

    position: relative;

    padding: 75px 20px 65px;

    text-align: center;
}


.clubs-kicker,
.clubs-section-kicker {

    margin-bottom: 12px;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3.5px;

    color: rgba(224, 151, 166, 0.9);
}


.clubs-hero h1 {

    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(55px, 8vw, 88px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;

    color: #f6eee1;
}


.clubs-hero h1 span {

    color: #c96a87;
}


.clubs-divider {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin: 25px auto 20px;
}


.clubs-divider span {

    width: 75px;
    height: 1px;

    background:
        rgba(239, 220, 198, 0.4);
}


.clubs-divider i {

    font-style: normal;

    font-size: 13px;

    color: #d17a94;
}


.clubs-hero p {

    max-width: 560px;

    margin: 0 auto;

    font-size: 15px;

    line-height: 1.75;

    color:
        rgba(245, 235, 219, 0.65);
}


/* ========================================
   HEADER СПИСКА
   ======================================== */

.clubs-list-section {

    padding: 25px 0 80px;
}


.clubs-list-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom:
        1px solid rgba(239, 218, 196, 0.18);
}


.clubs-list-header h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 42px;

    font-weight: 400;

    line-height: 1.15;

    color: #f4ecdf;
}


.clubs-list-note {

    text-align: right;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 14px;

    font-style: italic;

    line-height: 1.6;

    color:
        rgba(241, 226, 207, 0.48);
}


/* ========================================
   GRID
   ======================================== */

.clubs-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* ========================================
   CLUB CARD
   ======================================== */

.club-card {

    position: relative;

    overflow: hidden;

    border-radius: 17px;

    background:
        #756c50;

    border:
        1px solid rgba(245, 226, 205, 0.22);

    box-shadow:
        0 14px 35px rgba(26, 26, 16, 0.27);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.club-card:nth-child(3n + 2) {

    background:
        #535c3d;
}


.club-card:nth-child(3n + 3) {

    background:
        #675342;
}


.club-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 22px 45px rgba(22, 24, 14, 0.42);
}


/* ========================================
   IMAGE
   ======================================== */

.club-image-wrap {

    position: relative;

    height: 245px;

    overflow: hidden;

    background: #444936;
}


.club-image-wrap img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.club-card:hover .club-image-wrap img {

    transform: scale(1.05);
}


.club-image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(25, 28, 17, 0.05) 25%,
            rgba(25, 28, 17, 0.62) 100%);
}


/* ========================================
   ВНУТРЕННЯЯ РАМКА КАРТИНКИ
   ======================================== */

.club-image-wrap::after {

    content: "";

    position: absolute;

    inset: 10px;

    border:
        1px solid rgba(255, 239, 220, 0.35);

    border-radius: 10px;

    pointer-events: none;
}


/* ========================================
   BADGE
   ======================================== */

.club-badge {

    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 3;

    padding: 6px 11px;

    border:
        1px solid rgba(255, 235, 218, 0.4);

    border-radius: 20px;

    background:
        rgba(57, 48, 34, 0.48);

    backdrop-filter: blur(5px);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.4px;

    color: #fff0df;
}


.club-card-number {

    position: absolute;

    right: 20px;
    bottom: 16px;

    z-index: 3;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 13px;

    color:
        rgba(255, 239, 219, 0.65);
}


/* ========================================
   CARD BODY
   ======================================== */

.club-card-body {

    position: relative;

    padding: 23px 23px 20px;
}


.club-card-body::before {

    content: "";

    position: absolute;

    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;

    border:
        1px solid rgba(255, 236, 216, 0.16);

    border-radius: 10px;

    pointer-events: none;
}


/* ========================================
   TOP
   ======================================== */

.club-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 16px;
}


.club-level {

    font-size: 24px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    color:
        rgba(255, 239, 221, 0.58);
}


.club-price {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 21px;

    color: #f7dfd0;
}


/* ========================================
   TITLE
   ======================================== */

.club-card h3 {

    position: relative;

    z-index: 2;

    margin: 0 0 12px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 27px;

    font-weight: 400;

    line-height: 1.2;

    color: #fff4e7;
}


/* ========================================
   DESCRIPTION
   ======================================== */

.club-desc {

    position: relative;

    z-index: 2;

    min-height: 67px;

    margin: 0 0 20px;

    font-size: 12.5px;

    line-height: 1.7;

    color:
        rgba(247, 236, 219, 0.63);
}


/* ========================================
   META
   ======================================== */

.club-meta {

    position: relative;

    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 10px;

    padding:
        15px 0;

    border-top:
        1px solid rgba(255, 235, 216, 0.18);

    border-bottom:
        1px solid rgba(255, 235, 216, 0.18);
}


.club-meta-item {

    display: flex;

    flex-direction: column;

    gap: 3px;

    font-size: 11px;

    color:
        rgba(248, 237, 220, 0.78);
}


.meta-label {

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    color:
        rgba(248, 230, 211, 0.38);
}


.club-slots {

    text-align: right;

    align-items: flex-end;
}


.slots-warning {

    color: #e5a0a9;
}


/* ========================================
   FOOTER CARD
   ======================================== */

.club-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
    padding-top: 5px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: rgba(248, 235, 218, 0.5);
}


.club-arrow {
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1;
    /* убирает «воздух» вокруг стрелки */
    color: #e0a0ae;
    transition: transform 0.25s ease;
}


.club-card:hover .club-arrow {

    transform:
        translateX(5px);
}


/* ========================================
   EMPTY STATE
   ======================================== */

.clubs-empty {

    grid-column: 1 / -1;

    padding: 80px 20px;

    text-align: center;
}


.clubs-empty-icon {

    margin-bottom: 15px;

    font-family: Georgia, serif;

    font-size: 38px;

    color: #cc718b;
}


.clubs-empty h3 {

    margin-bottom: 10px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 29px;

    font-weight: 400;

    color: #f4eadc;
}


.clubs-empty p {

    max-width: 500px;

    margin: auto;

    font-size: 14px;

    color:
        rgba(244, 234, 219, 0.58);
}


/* ========================================
   ERROR
   ======================================== */

.clubs-error {

    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;
}


.clubs-error h3 {

    margin-bottom: 10px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 28px;

    font-weight: 400;

    color: #f4eadc;
}


.clubs-error p {

    margin-bottom: 25px;

    color:
        rgba(244, 234, 219, 0.58);
}


/* ========================================
   LOADING
   ======================================== */

.clubs-loading {

    grid-column: 1 / -1;

    padding: 80px 20px;

    text-align: center;
}


.loading-flower {

    margin-bottom: 10px;

    font-size: 35px;

    color: #ce718c;

    animation:
        clubsPulse 1.4s ease-in-out infinite;
}


.clubs-loading p {

    font-size: 13px;

    color:
        rgba(244, 234, 219, 0.55);
}


@keyframes clubsPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}


/* ========================================
   BOTTOM CTA
   ======================================== */

.clubs-bottom {

    position: relative;

    overflow: hidden;

    margin-top: 20px;

    padding: 75px 40px;

    text-align: center;

    border-top:
        1px solid rgba(241, 220, 198, 0.18);

    border-bottom:
        1px solid rgba(241, 220, 198, 0.18);
}


.clubs-bottom-decoration {

    position: absolute;

    top: -35px;
    right: 8%;

    font-family: Georgia, serif;

    font-size: 150px;

    color:
        rgba(204, 111, 134, 0.08);

    transform:
        rotate(15deg);
}


.clubs-bottom-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

    margin: auto;
}


.clubs-bottom h2 {

    margin: 0 0 15px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(35px, 5vw, 48px);

    font-weight: 400;

    line-height: 1.15;

    color: #f5eee1;
}


.clubs-bottom p {

    max-width: 540px;

    margin: 0 auto 28px;

    font-size: 14px;

    line-height: 1.8;

    color:
        rgba(244, 233, 217, 0.6);
}


/* ========================================
   BUTTON
   ======================================== */

.clubs-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: 9px;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.clubs-btn span {

    font-size: 18px;
}


.clubs-btn-outline {

    border:
        1px solid rgba(244, 224, 203, 0.45);

    background: transparent;

    color: #f4eadd;
}


.clubs-btn-outline:hover {

    background: #f2e8d9;

    color: #55503b;

    transform:
        translateY(-2px);
}


/* ========================================
   ADAPTIVE
   ======================================== */

@media (max-width: 950px) {

    .clubs-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .clubs-page {

        padding-left: 15px;
        padding-right: 15px;
    }


    .clubs-hero {

        padding:
            55px 10px 50px;
    }


    .clubs-hero h1 {

        font-size: 55px;
    }


    .clubs-list-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }


    .clubs-list-header h2 {

        font-size: 35px;
    }


    .clubs-list-note {

        text-align: left;
    }


    .clubs-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .club-image-wrap {

        height: 230px;
    }


    .clubs-bottom {

        padding:
            60px 20px;
    }

}


@media (max-width: 450px) {

    .clubs-hero h1 {

        font-size: 48px;
    }


    .clubs-hero p {

        font-size: 14px;
    }


    .club-card-body {

        padding:
            21px 19px 18px;
    }


    .club-card h3 {

        font-size: 25px;
    }


    .club-meta {

        grid-template-columns:
            1fr 1fr;

        row-gap: 14px;
    }


    .club-slots {

        text-align: left;

        align-items: flex-start;
    }


    .clubs-botanical {

        opacity: 0.25;
    }

}