/* =========================================================
   INDREAMS HOMEPAGE
   EVENTS & GALLERY SHOWS
   ====================================================== */


/* =========================================================
   SECTION
   ====================================================== */

.indreams-home-events-gallery {
    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-events-gallery::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-events-gallery .indreams-container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   LAYOUT
   ====================================================== */

.indreams-home-events-gallery__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
    gap: 82px;
    align-items: center;
}


/* =========================================================
   CONTENT
   ====================================================== */

.indreams-home-events-gallery__content {
    max-width: 590px;
}

.indreams-home-events-gallery__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    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-events-gallery__eyebrow::before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(232, 182, 76, 0.60);
}

.indreams-home-events-gallery__content h2 {
    margin: 0;
    color: var(--indreams-cream);
    font-family: var(--indreams-font-display);
    font-size: clamp(50px, 4.9vw, 68px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.indreams-home-events-gallery__copy {
    max-width: 525px;
    margin: 28px 0 0;
    color: rgba(246, 240, 229, 0.76);
    font-family: var(--indreams-font-body);
    font-size: 15px;
    line-height: 1.82;
}


/* =========================================================
   FEATURE LIST
   ====================================================== */

.indreams-home-events-gallery__list {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.indreams-home-events-gallery__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 88px;
    padding: 18px 22px;
    border: 1px solid rgba(232, 182, 76, 0.14);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.01)
        );
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.indreams-home-events-gallery__item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 182, 76, 0.32);
    border-radius: 50%;
    color: var(--indreams-gold);
    font-family: var(--indreams-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
}

.indreams-home-events-gallery__item h3 {
    margin: 0 0 6px;
    color: var(--indreams-cream);
    font-family: var(--indreams-font-display);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.15;
}

.indreams-home-events-gallery__item p {
    margin: 0;
    color: rgba(246, 240, 229, 0.74);
    font-family: var(--indreams-font-body);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   ACTIONS
   ====================================================== */

.indreams-home-events-gallery__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.indreams-home-events-gallery__button,
.indreams-home-events-gallery__button--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-family: var(--indreams-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.indreams-home-events-gallery__button {
    border: 1px solid var(--indreams-gold);
    background: var(--indreams-gold);
    color: #1d1323 !important;
    box-shadow: 0 0 26px rgba(232, 182, 76, 0.24);
}

.indreams-home-events-gallery__button:hover,
.indreams-home-events-gallery__button:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(232, 182, 76, 0.30);
}

.indreams-home-events-gallery__button--outline {
    border: 1px solid rgba(232, 182, 76, 0.42);
    background: transparent;
    color: var(--indreams-cream) !important;
}

.indreams-home-events-gallery__button--outline:hover,
.indreams-home-events-gallery__button--outline:focus {
    transform: translateY(-1px);
    border-color: var(--indreams-gold);
    background: rgba(232, 182, 76, 0.06);
    color: var(--indreams-gold) !important;
}

.indreams-home-events-gallery__button span,
.indreams-home-events-gallery__button--outline span {
    font-size: 15px;
    transition: transform 0.18s ease;
}

.indreams-home-events-gallery__button:hover span,
.indreams-home-events-gallery__button:focus span,
.indreams-home-events-gallery__button--outline:hover span,
.indreams-home-events-gallery__button--outline:focus span {
    transform: translateX(3px);
}


/* =========================================================
   VISUAL
   ====================================================== */

.indreams-home-events-gallery__visual {
    position: relative;
    min-height: 620px;
}

.indreams-home-events-gallery__stack {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-height: 620px;
    margin-left: auto;
}

/* IMPORTANT:
   all three layers now use the SAME border-radius */
.indreams-home-events-gallery__stack-back,
.indreams-home-events-gallery__stack-middle,
.indreams-home-events-gallery__image-frame {
    border-radius: 42px;
}

.indreams-home-events-gallery__stack-back,
.indreams-home-events-gallery__stack-middle {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(232, 182, 76, 0.14);
    background:
        radial-gradient(
            circle at 75% 22%,
            rgba(232, 182, 76, 0.08),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(55, 25, 93, 0.34),
            rgba(19, 20, 77, 0.18)
        );
    pointer-events: none;
}

.indreams-home-events-gallery__stack-back {
    transform: rotate(1.8deg);
    opacity: 0.55;
}

.indreams-home-events-gallery__stack-middle {
    transform: rotate(-1.6deg);
    opacity: 0.75;
}

.indreams-home-events-gallery__image-frame {
    position: absolute;
    inset: 22px;
    overflow: hidden;
    border: 1px solid rgba(232, 182, 76, 0.18);
    background:
        radial-gradient(
            circle at 70% 22%,
            rgba(232, 182, 76, 0.10),
            transparent 36%
        ),
        radial-gradient(
            circle at 26% 82%,
            rgba(91, 38, 155, 0.22),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #291446,
            #11113f
        );
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
    z-index: 3;
}

.indreams-home-events-gallery__image-frame 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-events-gallery__image-frame:hover img {
    transform: scale(1.03);
}

.indreams-home-events-gallery__image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(9, 0, 24, 0.04) 18%,
            rgba(9, 0, 24, 0.10) 62%,
            rgba(9, 0, 24, 0.22) 100%
        );
    pointer-events: none;
    z-index: 2;
}

.indreams-home-events-gallery__image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indreams-home-events-gallery__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-events-gallery__accent {
    position: absolute;
    left: -22px;
    bottom: 48px;
    z-index: 5;
    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);
}


/* =========================================================
   TABLET
   ====================================================== */

@media (max-width: 1040px) {

    .indreams-home-events-gallery {
        padding: 98px 0 106px;
    }

    .indreams-home-events-gallery__layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .indreams-home-events-gallery__content {
        max-width: 700px;
    }

    .indreams-home-events-gallery__visual {
        min-height: 560px;
    }

    .indreams-home-events-gallery__stack {
        max-width: 560px;
        min-height: 560px;
        margin: 0 auto;
    }

    .indreams-home-events-gallery__stack-back,
    .indreams-home-events-gallery__stack-middle,
    .indreams-home-events-gallery__image-frame {
        border-radius: 38px;
    }

    .indreams-home-events-gallery__image-frame {
        inset: 18px;
    }

    .indreams-home-events-gallery__accent {
        left: -12px;
        bottom: 40px;
        width: 82px;
        height: 82px;
    }
}


/* =========================================================
   MOBILE
   ====================================================== */

@media (max-width: 720px) {

    .indreams-home-events-gallery {
        padding: 78px 0 88px;
    }

    .indreams-home-events-gallery__content {
        text-align: center;
    }

    .indreams-home-events-gallery__eyebrow {
        justify-content: center;
    }

    .indreams-home-events-gallery__eyebrow::after {
        content: "";
        display: block;
        width: 30px;
        height: 1px;
        background: rgba(232, 182, 76, 0.60);
    }

    .indreams-home-events-gallery__content h2 {
        font-size: 46px;
    }

    .indreams-home-events-gallery__copy {
        margin: 24px auto 0;
    }

    .indreams-home-events-gallery__item {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 16px 18px;
        text-align: left;
        border-radius: 22px;
    }

    .indreams-home-events-gallery__actions {
        justify-content: center;
    }

    .indreams-home-events-gallery__visual {
        min-height: 420px;
    }

    .indreams-home-events-gallery__stack {
        min-height: 420px;
    }

    .indreams-home-events-gallery__stack-back,
    .indreams-home-events-gallery__stack-middle,
    .indreams-home-events-gallery__image-frame {
        border-radius: 32px;
    }

    .indreams-home-events-gallery__image-frame {
        inset: 14px;
    }

    .indreams-home-events-gallery__accent {
        left: -6px;
        bottom: 26px;
        width: 74px;
        height: 74px;
        font-size: 27px;
    }
}


/* =========================================================
   SMALL MOBILE
   ====================================================== */

@media (max-width: 430px) {

    .indreams-home-events-gallery__content h2 {
        font-size: 40px;
    }

    .indreams-home-events-gallery__copy {
        font-size: 14px;
    }

    .indreams-home-events-gallery__item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 14px 16px;
        border-radius: 20px;
    }

    .indreams-home-events-gallery__item-number {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .indreams-home-events-gallery__item h3 {
        font-size: 17px;
    }

    .indreams-home-events-gallery__item p {
        font-size: 13px;
    }

    .indreams-home-events-gallery__button,
    .indreams-home-events-gallery__button--outline {
        width: 100%;
    }

    .indreams-home-events-gallery__visual {
        min-height: 350px;
    }

    .indreams-home-events-gallery__stack {
        min-height: 350px;
    }

    .indreams-home-events-gallery__stack-back,
    .indreams-home-events-gallery__stack-middle,
    .indreams-home-events-gallery__image-frame {
        border-radius: 28px;
    }

    .indreams-home-events-gallery__image-frame {
        inset: 12px;
    }

    .indreams-home-events-gallery__accent {
        width: 66px;
        height: 66px;
        left: -4px;
        bottom: 22px;
        font-size: 24px;
    }
}