/* --- Page Header Event --- */
.page-header-event {
    padding: 110px 0 0;
    /* Dikurangi dari 140px agar tidak terlalu jauh */
    background-color: var(--background);
}

.page-header-event .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.page-header-event .header-left .tagline-page {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.header-left h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.header-left h2 .bold-text {
    font-weight: 800;
}

.header-left h2 .gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #6B3C92 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* --- Event Section --- */
.event-section {
    padding: 0 0 30px;
    /* Reduced padding bottom */
    background: var(--background);
}

.event-banner {
    position: relative;
    border-radius: 24px;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
}

.event-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
    z-index: 1;
}

.event-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    text-align: left;
}

.event-badge {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.event-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.event-trail-color {
    color: var(--primary);
}

.event-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.event-footer {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Coming Soon Card Style */
.coming-soon-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    /* Reduced from 80px */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.coming-soon-banner-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
}

.coming-soon-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.coming-soon-header {
    padding: 40px 60px;
}

.coming-soon-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.coming-soon-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Newsletter Section --- */
.newsletter-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.newsletter-box {
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    border-radius: 48px;
    padding: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.newsletter-box::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 180%;
    background: rgba(107, 60, 146, 0.05);
    border-radius: 48px;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 1;
}

.newsletter-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    outline: none;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: #6B3C92;
    box-shadow: 0 4px 15px rgba(107, 60, 146, 0.1);
}

.btn-subscribe {
    background-color: #6B3C92;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(107, 60, 146, 0.2);
}

.btn-subscribe:hover {
    background-color: #512b70;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 60, 146, 0.3);
}

/* Common Components */
.btn-join {
    background: var(--primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-join:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 60, 146, 0.3);
}

.event-info-item {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.event-info-item i {
    color: var(--primary);
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .newsletter-box {
        flex-direction: column;
        text-align: left;
        padding: 50px 40px;
    }

    .newsletter-content {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .newsletter-form {
        margin: 0;
    }

    .event-banner {
        height: auto;
        min-height: 400px;
    }

    .event-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-header-event {
        padding: 120px 0 0;
    }

    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 15px;
        width: 100%;
    }

    .header-left {
        width: 100%;
        text-align: left;
    }

    .header-left h2 {
        font-size: 28px;
        text-align: left;
    }

    .newsletter-box {
        padding: 40px 24px;
        /* Padding sisi agak longgar agar tidak mepet ujung HP */
        border-radius: 20px;
        align-items: flex-start;
        /* Memastikan rata kiri */
    }

    .newsletter-content {
        align-items: flex-start;
        text-align: left;
    }

    .newsletter-content h2 {
        font-size: 24px;
        white-space: normal;
        text-align: left;
        /* Paksa rata kiri */
    }

    .newsletter-content p {
        text-align: left;
        /* Paksa rata kiri */
    }

    .desktop-br {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input,
    .btn-subscribe {
        width: 100%;
    }

    .event-content {
        padding: 40px 30px;
    }

    .event-title {
        font-size: 28px;
    }

    .event-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .coming-soon-header {
        padding: 30px 20px;
    }

    .coming-soon-banner-img {
        height: 200px;
    }
}