/* Event Container Styles */
.event-container {
    padding: 30px 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;

    /* Event Header Styles */
    .event-header {
        margin-bottom: 10px;
        position: relative;
        padding-bottom: 1.5rem;

        .event-title {
            font-size: 3rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 1rem;
            line-height: 1.2;
            display: inline;
            position: relative;

            &::after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 0;
                /* width: 150px; */
                width: 25%;
                height: 4px;
                background: var(--primary);
                border-radius: 2px;
                transition: width 300ms ease;
            }

            &:hover::after {
                width: 100%;
            }
        }
    }

    /* Event Main Info Styles */
    .event-main-info {
        display: flex;
        gap: 25px;
        margin-top: 30px;

        .event-image-container {
            flex: 3;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(111, 68, 255, 0.12);
            height: min-content;
            margin: auto;
            max-width: 520px;
            transition: all 200ms ease;

            &:hover {
                translate: 0 -5px;

                .event-image {
                    transform: scale(1.02);
                    filter: brightness(1.2) contrast(1);
                }
            }

            .event-image {
                width: 100%;
                height: auto;
                aspect-ratio: 4 / 3;
                display: block;
                transition: all 200ms ease;
            }
        }
    }

    .event-details-container {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: var(--neutral-50);
        border-radius: 24px;
        padding: 20px;
        box-shadow: var(--card-shadow);
        position: relative;
        border: 1px solid var(--purple-100);

        &:hover {
            .event-info-row {
                transform: translateX(5px);

            }

            .price-section {
                transform: translateY(-5px);
                box-shadow: 0 12px 25px rgba(111, 68, 255, 0.15);
            }
        }

        .event-details-content {
            display: flex;
            flex-direction: column;
            gap: 15px;
            flex: 1;
            justify-content: space-between;


            .event-info-row {
                display: flex;
                align-items: center;
                padding: 0;
                transition: transform 0.3s ease;

                .event-info-icon-container {
                    width: 60px;
                    height: 60px;
                    border-radius: 20px;
                    background-color: var(--purple-100);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-right: 20px;
                    flex-shrink: 0;
                    transition: all 0.3s ease;
                    box-shadow: 0 4px 12px rgba(111, 68, 255, 0.15);

                    .event-info-icon {
                        color: var(--primary);
                        font-size: 28px;
                        transition: all 0.3s ease;
                    }
                }

                .event-info-text {
                    display: flex;
                    flex-direction: column;

                    .event-info-title {
                        font-weight: 700;
                        font-size: 20px;
                        color: var(--dark);
                        margin-bottom: 6px;
                    }

                    .venue-address-link {
                        color: var(--gray-medium);
                        font-size: 16px;
                        line-height: 1.5;
                        font-weight: 500;
                        text-decoration: none;
                        border-bottom: 1px dashed var(--purple-300);
                        display: inline-block;
                        transition: all 0.3s ease;
                        padding-bottom: 2px;

                        &:hover {
                            color: var(--primary);
                            border-color: var(--primary);
                            transform: translateY(-2px);
                        }
                    }

                    .venue-address-link-none {
                        color: var(--gray-medium);
                        font-size: 16px;
                        line-height: 1.5;
                        font-weight: 500;
                        text-decoration: none;
                        border-bottom: 1px dashed var(--purple-300);
                        display: inline-block;
                        transition: all 0.3s ease;
                        padding-bottom: 2px;

                        /* &:hover {
                            color: var(--primary);
                            border-color: var(--primary);
                            transform: translateY(-2px);
                        } */
                    }
                }
            }

            .price-section {
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: linear-gradient(145deg, var(--purple-50), var(--surface));
                padding: 25px;
                border-radius: 20px;
                box-shadow: 0 8px 20px rgba(111, 68, 255, 0.08);
                border: 1px solid var(--purple-100);
                transition: all 0.3s ease, margin 0s;
                margin-top: 10px;

                .price-info {
                    display: flex;
                    flex-direction: column;

                    .price-label {
                        font-size: 18px;
                        color: var(--gray-medium);
                        font-weight: 600;
                        margin-bottom: 5px;
                    }

                    .price-amount-container {
                        display: flex;
                        align-items: center;

                        .price-icon {
                            color: var(--primary);
                            font-size: 28px;
                            margin-right: 10px;
                            transform: rotate(-10deg);
                            animation: wiggle 5s infinite ease-in-out;
                        }

                        .price-amount {
                            font-weight: 800;
                            font-size: 32px;
                            color: var(--primary-dark);
                            line-height: 1;
                            letter-spacing: -0.5px;
                        }
                    }
                }
            }
        }
    }


    .event-description {
        margin-top: 40px;
        padding: 30px 50px;
        background-color: var(--neutral-50);
        border-radius: 24px;
        box-shadow: var(--card-shadow);
        border: 1px solid var(--purple-100);
        transition: all 300ms ease;

        &:hover {
            translate: 0 -8px;

            .title::after {
                width: 100%;
            }
        }

        .title {
            display: inline-block;
            font-size: 34px;
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 2px;

            .small {
                font-size: 28px;
            }

            &::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 80px;
                height: 3px;
                background: var(--primary);
                border-radius: 2px;
                transition: width 300ms ease;
            }
        }
    }


    .event-description-text {
        color: var(--neutral-800);
        font-size: 16px;
        line-height: 1.8;

        .content {
            width: 100%;

            * {
                font-family: sans-serif !important;
            }
        }
    }
}



.buy-tickets-container {
    z-index: 98;
    box-shadow: 0 8px 20px 2px black;
    position: sticky;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 15px 10px 12px;
    background-color: var(--neutral-100);
    width: 100%;
    transition: all 300ms ease;

    &:hover {
        background-color: var(--neutral-300);

        .get-tickets-button {
            transform: translateY(-2px);
            box-shadow: 0px 6px 15px rgba(255, 87, 87, 0.4);

            &:hover {
                background-color: var(--purple-900);
            }
        }

        .expired-alert {
            transform: scale(1.04);
        }
    }

    .get-tickets-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--purple-700);
        color: white;
        border: none;
        border-radius: 7px;
        padding: 15px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0px 4px 10px rgba(255, 87, 87, 0.3);
        font-family: var(--font-heading);
        letter-spacing: 0.5px;
        text-decoration: none;
        width: 187px;
        text-align: center;
        text-transform: uppercase;
    }

    .expired-alert {
        font-size: 22px;
        font-weight: 800;
        color: red;
        transition: all 300ms ease;
    }
}





@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }
}



/* Responsive Styles */
@media (max-width: 991px) {
    .event-container {
        padding: 20px 16px 40px;

        .event-header .event-title {
            font-size: 2.5rem;
            font-weight: 700;
        }

        .event-main-info {
            flex-direction: column;
            gap: 20px;

            .event-details-container {
                width: 100%;

                .event-details-content {
                    gap: 2rem;
                }
            }
        }

        .event-description {
            padding: 20px 25px;
        }
    }

    .buy-tickets-container {
        .get-tickets-button {
            padding: 10px;
            font-size: 16px;
        }

        .expired-alert {
            font-size: 18px;
        }
    }
}