/* Container & Layout */
.concert-container {
    position: relative;
    overflow: hidden;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem; /* pt-20 */
    margin-bottom: 4rem;
}

.concert-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.content-stack {
    display: flex;
    flex-direction: column;
    width: 100svw;
    height: fit-content;
    align-items: center;
    position: relative;
    bottom: 0;
    transform: translateY(-15svw);
}

/* Background Elements */
.bg-image-container {
    position: relative;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(40%);
    opacity: 1;
    z-index: 0;
}

.bg-main-img {
    width: 90%;
    max-width: 700px;
    object-fit: contain;
    opacity: 0.8;
}

.border-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 114px;
    aspect-ratio: 21 / 2.8;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1rem); /* translate-y-4 */
    z-index: 2;
}

.border-img {
    width: 100%;
    object-fit: cover;
    position: relative;
    opacity: 0.8;
}

/* Tickets */
.ticket {
    position: absolute;
    bottom: 0;
    width: 20%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.ticket-left {
    transform: translateX(-25vw) rotate(-45deg);
}

.ticket-right {
    transform: translateX(25vw) rotate(45deg);
}

/* Hero Center & Mask */
.hero-center {
    position: relative;
    width: 70%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-center {
        width: 80%;
    }
}

.mask-circle {
    position: absolute;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mask-img {
    width: 100%;
    height: fit-content;
    max-width: 600px;
    border-radius: 9999px;
    object-fit: contain;
    transform: scale(1.14) translateX(-0.5rem);
}

.artists-img {
    position: relative;
    z-index: 10;
    height: fit-content;
    width: 100%;
    max-width: 600px;
    transform: translateX(-1.05rem) translateY(1.25rem); /* -translate-x-5 translate-y-5 */
}

/* CTA Button */
.cta-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 21 / 4;
    border-radius: 1rem;
    transform: translateY(1.25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #4d4745;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
    z-index: 10;
}

.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid #ffb951;
    background-color: black;
    font-family: "avegreat", sans-serif; /* Assumed custom font */
    font-size: 0.875rem;
    color: #dc901e;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s ease-in;
}

.buy-button:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .buy-button {
        padding: 0.75rem 2rem;
        font-size: 1.25rem;
    }
}

.btn-icon {
    height: 15px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .btn-icon {
        height: 20px;
    }
}

/* Foreground Rocks */
.foreground-rocks {
    position: absolute;
    bottom: 0;
    width: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 10;
    transform: translateY(42%);
}

/* 1. Set a min-height for the main container to prevent collapsing to 0px */
.concert-container {
    min-height: 800px; /* Adjust based on your typical mobile/desktop height */
    contain: paint; /* Helps browser isolate layout changes */
}

/* 2. Fix the Background Image Layout Shift */
.bg-main-img {
    width: 90%;
    max-width: 700px;
    aspect-ratio: 553 / 524; /* REPLACE with your actual image dimensions */
    object-fit: contain;
    opacity: 0.8;
}

/* 3. Fix the Artists Image */
.artists-img {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1123 / 856; /* REPLACE with actual image dimensions */
    height: auto;
}

/* 4. Fix the Foreground Rocks */
.foreground-rocks {
    position: absolute;
    bottom: 0;
    width: 100%;
    aspect-ratio: 1920 / 600; /* REPLACE with actual image dimensions */
    object-fit: cover;
}
