/* =========================================================
   INDREAMS HOMEPAGE
   COMMUNITY
   ====================================================== */


/* =========================================================
   SECTION
   ====================================================== */

.indreams-home-community {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 118px 0 124px;
    background:
        radial-gradient(
            ellipse at 14% 18%,
            rgba(121, 20, 129, 0.18),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 86% 82%,
            rgba(18, 48, 128, 0.22),
            transparent 48%
        ),
        linear-gradient(
            125deg,
            #13001d 0%,
            #09001f 52%,
            #040628 100%
        );
    border-top: 1px solid rgba(232, 182, 76, 0.06);
    border-bottom: 1px solid rgba(232, 182, 76, 0.07);
}

.indreams-home-community::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.20;
    background-image:
        radial-gradient(
            1px 1px at 8% 22%,
            rgba(255, 243, 207, 0.68),
            transparent
        ),
        radial-gradient(
            1px 1px at 23% 76%,
            rgba(255, 243, 207, 0.46),
            transparent
        ),
        radial-gradient(
            1px 1px at 42% 13%,
            rgba(255, 243, 207, 0.56),
            transparent
        ),
        radial-gradient(
            1px 1px at 67% 82%,
            rgba(255, 243, 207, 0.44),
            transparent
        ),
        radial-gradient(
            1px 1px at 84% 26%,
            rgba(255, 243, 207, 0.62),
            transparent
        ),
        radial-gradient(
            1px 1px at 95% 68%,
            rgba(255, 243, 207, 0.46),
            transparent
        );
}

.indreams-home-community .indreams-container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   LAYOUT
   ====================================================== */

.indreams-home-community__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 84px;
    align-items: center;
}


/* =========================================================
   VISUAL SIDE
   ====================================================== */

.indreams-home-community__visual {
    position: relative;
    min-height: 575px;
}

.indreams-home-community__image {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(232, 182, 76, 0.18);
    border-radius: 42px;
    background:
        radial-gradient(
            circle at 22% 22%,
            rgba(232, 182, 76, 0.10),
            transparent 34%
        ),
        radial-gradient(
            circle at 76% 78%,
            rgba(91, 38, 155, 0.24),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #2b0e37,
            #0b0b3d
        );
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.indreams-home-community__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    transition: transform 0.45s ease;
}

.indreams-home-community__image:hover img {
    transform: scale(1.035);
}

.indreams-home-community__image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(9, 0, 24, 0.04) 18%,
            rgba(9, 0, 24, 0.10) 62%,
            rgba(9, 0, 24, 0.24) 100%
        );
}

.indreams-home-community__image-placeholder {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indreams-home-community__image-placeholder span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(232, 182, 76, 0.34);
    border-radius: 50%;
    color: rgba(232, 182, 76, 0.76);
    font-family: var(--indreams-font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.indreams-home-community__accent {
    position: absolute;
    right: -34px;
    bottom: 56px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(232, 182, 76, 0.38);
    border-radius: 50%;
    background: rgba(15, 3, 33, 0.84);
    color: var(--indreams-gold);
    font-size: 31px;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.30),
        0 0 32px rgba(232, 182, 76, 0.08);
}


/* =========================================================
   CONTENT SIDE
   ====================================================== */

.indreams-home-community__content {
    max-width: 560px;
}

.indreams-home-community__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    color: var(--indreams-gold);
    font-family: var(--indreams-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.indreams-home-community__eyebrow::before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(232, 182, 76, 0.60);
}

.indreams-home-community__content h2 {
    margin: 0;
    color: var(--indreams-cream);
    font-family: var(--indreams-font-display);
    font-size: clamp(48px, 4.5vw, 67px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.indreams-home-community__copy {
    max-width: 500px;
    margin: 28px 0 0;
    color: rgba(246, 240, 229, 0.72);
    font-family: var(--indreams-font-body);
    font-size: 15px;
    line-height: 1.78;
}


/* =========================================================
   FEATURE GRID
   ====================================================== */

.indreams-home-community__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin-top: 34px;
}

.indreams-home-community__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid rgba(232, 182, 76, 0.16);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01)
        );
    color: rgba(246, 240, 229, 0.92);
    font-family: var(--indreams-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.indreams-home-community__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(232, 182, 76, 0.24);
    border-radius: 50%;
    background: rgba(232, 182, 76, 0.05);
    color: var(--indreams-gold);
    font-size: 11px;
}


/* =========================================================
   CTA BUTTON
   ====================================================== */

.indreams-home-community__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.indreams-home-community__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid rgba(232, 182, 76, 0.40);
    border-radius: 999px;
    background: transparent;
    color: var(--indreams-cream) !important;
    font-family: var(--indreams-font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.indreams-home-community__button:hover,
.indreams-home-community__button:focus {
    transform: translateY(-1px);
    border-color: var(--indreams-gold);
    background: rgba(232, 182, 76, 0.07);
    color: var(--indreams-gold) !important;
}

.indreams-home-community__button span {
    font-size: 15px;
    transition: transform 0.18s ease;
}

.indreams-home-community__button:hover span,
.indreams-home-community__button:focus span {
    transform: translateX(3px);
}


/* =========================================================
   TABLET
   ====================================================== */

@media (max-width: 1040px) {

    .indreams-home-community {
        padding: 96px 0 104px;
    }

    .indreams-home-community__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    .indreams-home-community__visual {
        min-height: 500px;
        max-width: 620px;
        margin: 0 auto;
    }

    .indreams-home-community__image {
        min-height: 500px;
        border-radius: 38px;
    }

    .indreams-home-community__accent {
        right: -20px;
        bottom: 48px;
        width: 82px;
        height: 82px;
    }

    .indreams-home-community__content {
        max-width: 680px;
        margin: 0 auto;
    }

    .indreams-home-community__content h2 {
        font-size: clamp(44px, 5.7vw, 58px);
    }
}


/* =========================================================
   MOBILE
   ====================================================== */

@media (max-width: 720px) {

    .indreams-home-community {
        padding: 78px 0 86px;
    }

    .indreams-home-community__visual {
        min-height: 390px;
    }

    .indreams-home-community__image {
        min-height: 390px;
        border-radius: 32px;
    }

    .indreams-home-community__accent {
        right: -10px;
        bottom: 36px;
        width: 74px;
        height: 74px;
        font-size: 27px;
    }

    .indreams-home-community__content {
        text-align: center;
    }

    .indreams-home-community__eyebrow {
        justify-content: center;
    }

    .indreams-home-community__eyebrow::after {
        content: "";
        display: block;
        width: 30px;
        height: 1px;
        background: rgba(232, 182, 76, 0.60);
    }

    .indreams-home-community__content h2 {
        font-size: 46px;
    }

    .indreams-home-community__copy {
        margin: 24px auto 0;
    }

    .indreams-home-community__features {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .indreams-home-community__feature {
        justify-content: flex-start;
        text-align: left;
        border-radius: 22px;
    }

    .indreams-home-community__actions {
        justify-content: center;
    }
}


/* =========================================================
   SMALL MOBILE
   ====================================================== */

@media (max-width: 430px) {

    .indreams-home-community__visual {
        min-height: 330px;
    }

    .indreams-home-community__image {
        min-height: 330px;
        border-radius: 28px;
    }

    .indreams-home-community__accent {
        width: 66px;
        height: 66px;
        right: -6px;
        bottom: 28px;
        font-size: 24px;
    }

    .indreams-home-community__content h2 {
        font-size: 40px;
    }

    .indreams-home-community__copy {
        font-size: 14px;
    }

    .indreams-home-community__feature {
        padding: 13px 16px;
        font-size: 13px;
        border-radius: 20px;
    }

    .indreams-home-community__button {
        width: 100%;
    }
}