/* =========================
   COLLECTIONS PAGE HERO
========================= */

.collections-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% -10%,
            rgba(201, 166, 107, 0.14),
            transparent 42%),
        linear-gradient(to bottom, #151515 0%, #111 100%);
}

.collections-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -360px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 107, 0.12);
    box-shadow: 0 0 0 70px rgba(201, 166, 107, 0.025),
        0 0 0 140px rgba(201, 166, 107, 0.018);
    pointer-events: none;
}

.collections-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(201, 166, 107, 0.08);
    filter: blur(90px);
    pointer-events: none;
}

.collections-page-heading {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.collections-page-heading .section-label {
    margin-bottom: 24px;
}

.collections-page-heading h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.collections-page-heading h1 span {
    display: block;
    color: #c9a66b;
}

.collections-page-description {
    max-width: 680px;
    margin: 0 auto;
    color: #aaa;
    font-size: 18px;
    line-height: 1.8;
}

.collections-count {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    padding: 11px 20px;
    border: 1px solid rgba(201, 166, 107, 0.22);
    border-radius: 999px;
    background: rgba(201, 166, 107, 0.04);
    color: #bdbdbd;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.collections-count span:first-child {
    color: #c9a66b;
    font-size: 16px;
    font-weight: 600;
}

/* =========================
   ALL COLLECTIONS
========================= */

.all-collections-section {
    position: relative;
    padding: 110px 0 130px;
    background: #111;
}

.collections-intro {
    max-width: 950px;
    margin: 0 auto 45px;
    text-align: center;
}

.collections-intro p {
    color: #d0d0d0;
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   COLLECTION GRID
========================= */

.all-collections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

/* =========================
   COLLECTION CARD
========================= */

.all-collection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);

    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
}

.all-collection-card:hover {
    transform: translateY(-10px);

    border-color: rgba(201, 166, 107, 0.28);

    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
}

/* =========================
   COLLECTION IMAGE
========================= */

.all-collection-image {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.all-collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.all-collection-card:hover .all-collection-image img {
    transform: scale(1.07);
    filter: brightness(1.05);
}

.collection-image-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0.55) 100%);

    pointer-events: none;
}

/* =========================
   COLLECTION NUMBER
========================= */

.collection-number {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 52px;
    height: 38px;
    padding: 0 14px;

    border-radius: 999px;

    background: rgba(15, 15, 15, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #c9a66b;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================
   COLLECTION CONTENT
========================= */

.all-collection-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 30px 32px 34px;
}

.collection-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 16px;
}

.collection-title-row h2 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.2;
    color: #f2f2f2;
}

.collection-arrow {
    flex-shrink: 0;

    color: #c9a66b;

    font-size: 32px;
    line-height: 1;

    transition: transform 0.35s ease;
}

.all-collection-card:hover .collection-arrow {
    transform: translateX(8px);
}

.all-collection-content p {
    max-width: 520px;

    color: #aaa;

    font-size: 15px;
    line-height: 1.8;

    margin-bottom: 24px;
}

.collection-explore {
    display: inline-block;
    margin-top: auto;
    color: #c9a66b;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.4px;

    position: relative;
}

.collection-explore::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: #c9a66b;

    transition: width 0.35s ease;
}

.all-collection-card:hover .collection-explore::after {
    width: 100%;
}

@media (max-width: 768px) {
    .collections-hero {
        padding: 150px 0 60px;
    }

    .collections-hero::before {
        width: 420px;
        height: 420px;
        top: -270px;
    }

    .collections-page-heading h1 {
        font-size: 48px;
        letter-spacing: -0.8px;
    }

    .collections-page-description {
        font-size: 16px;
        line-height: 1.75;
    }

    .collections-count {
        margin-top: 32px;
    }

    /* =========================
       ALL COLLECTIONS MOBILE
    ========================= */

    .all-collections-section {
        padding: 80px 0 100px;
    }

    .collections-intro {
        margin-bottom: 40px;
    }

    .collections-intro p {
        font-size: 16px;
        line-height: 1.75;
    }

    .all-collections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .all-collection-card {
        border-radius: 24px;
    }

    .all-collection-image {
        height: 260px;
    }

    .collection-number {
        top: 18px;
        left: 18px;

        min-width: 48px;
        height: 36px;

        font-size: 12px;
    }

    .all-collection-content {
        padding: 24px 22px 26px;
    }

    .collection-title-row {
        gap: 18px;
        margin-bottom: 14px;
    }

    .collection-title-row h2 {
        font-size: 29px;
    }

    .collection-arrow {
        font-size: 28px;
    }

    .all-collection-content p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 20px;
    }

    .collection-explore {
        font-size: 12px;
    }
}