/* =============================================
   YOUTH MEETUP 2026 — Landing Page Stylesheet
   Matching Convocation & SummerCamp Design Language
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&family=Amiri:wght@400;700&display=swap');

:root {
    --clr-green-dark:   #0d2b1a;
    --clr-green:        #00A859;
    --clr-green-mid:    #00C853;
    --clr-green-glow:   rgba(0, 168, 89, 0.4);
    --clr-gold:         #FACC15;
    --clr-gold-light:   #FEF08A;
    --clr-gold-dark:    #d4a017;
    --clr-dark-bg:      #0a0d10;
    --clr-card-bg:      rgba(15, 20, 25, 0.85);
    --clr-white:        #ffffff;
    --clr-text-light:   #f8fafc;
    --clr-text-muted:   #94a3b8;
    --clr-border:       rgba(255, 255, 255, 0.12);
    --clr-border-gold:  rgba(250, 204, 21, 0.3);
    
    --font-heading:     'Montserrat', 'Inter', sans-serif;
    --font-body:        'Inter', sans-serif;
    --font-ur:          'Amiri', serif;
    
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --radius-xl:        32px;
    
    --shadow-soft:      0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card:      0 12px 36px rgba(0, 0, 0, 0.5);
    --shadow-elevated:  0 20px 50px rgba(0, 0, 0, 0.7);
    --transition:       all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-light);
    background-color: var(--clr-dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Full Bleed Container like Convocation & SummerCamp */
.ym-page {
    font-family: var(--font-body);
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position: relative;
    
    /* Fixed Non-Scrolling Background Aligned to Bottom */
    background-image: linear-gradient(180deg, rgba(10, 13, 16, 0.78) 0%, rgba(8, 11, 14, 0.88) 50%, rgba(5, 7, 9, 0.95) 100%),
                      url('../images/2026/YouthMeetup/bg-ruins.png');
    background-attachment: fixed;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Geometric Pattern Overlay */
.pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 50% 0%, var(--clr-green) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.ym-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px 60px;
    z-index: 1;
}

.ym-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logos Header */
.ym-hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.ym-hero-logos img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

/* Top Campaign Banner Image Media */
.ym-top-banner-wrap {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
}

.ym-top-banner-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.ym-event-label {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--clr-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Heading Image (Calligraphy) */
.ym-hero-title-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    margin: 0 auto 16px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
    animation: ymTitleReveal 0.9s ease-out both;
}

@keyframes ymTitleReveal {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ym-hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 28px;
    line-height: 1.6;
    font-weight: 400;
}

/* Speaker Banner Image (Media Element) */
.ym-speaker-wrap {
    width: 100%;
    max-width: 620px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.ym-speaker-banner-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 168, 89, 0.4));
    transition: var(--transition);
}

.ym-speaker-banner-img:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 14px 40px rgba(0, 168, 89, 0.65));
}
}

.ym-speaker-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--clr-white);
    letter-spacing: 0.5px;
}

.ym-speaker-info p {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-gold-light);
    letter-spacing: 1px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Programme Chips */
.ym-chips-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.ym-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--clr-border-gold);
    color: var(--clr-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

/* Event Details Bar (Exact replica of Convocation / SummerCamp event bars) */
.ym-event-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 780px;
    margin-bottom: 30px;
}

.ym-event-item {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 220px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.ym-event-item:hover {
    border-color: var(--clr-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.2);
}

.ym-event-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 168, 89, 0.15);
    color: var(--clr-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ym-event-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-white);
}

.ym-event-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.ym-event-text a {
    color: #4ADE80;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
}

.ym-event-text a:hover {
    color: var(--clr-gold);
    text-decoration: underline;
}

/* Seats Limit Badge & Bar */
.ym-seats-bar {
    background: rgba(250, 204, 21, 0.06);
    border: 1px dashed var(--clr-border-gold);
    border-radius: 16px;
    padding: 14px 24px;
    max-width: 600px;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ym-seats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.ym-seats-tag {
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ym-seats-count {
    color: var(--clr-white);
    background: rgba(0,0,0,0.5);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.ym-seats-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ym-seats-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* CTA Button matching Convocation / SummerCamp */
.ym-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--clr-green-mid) 0%, var(--clr-green) 100%);
    color: var(--clr-white);
    padding: 16px 42px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px var(--clr-green-glow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.ym-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 168, 89, 0.5);
    background: linear-gradient(135deg, #00E676 0%, var(--clr-green-mid) 100%);
    color: var(--clr-white);
}

.ym-contact-line {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.ym-contact-line a {
    color: var(--clr-gold);
    text-decoration: none;
    font-weight: 700;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.ym-schedule-section {
    position: relative;
    padding: 80px 24px;
    z-index: 1;
}

.ym-section-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ym-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 8px;
}

.ym-section-subtitle {
    font-size: 1rem;
    color: var(--clr-text-muted);
    margin-bottom: 48px;
}

/* Timeline Layout */
.ym-timeline {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid var(--clr-border-gold);
    text-align: left;
    margin: 0 auto;
}

.ym-timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.ym-timeline-item:last-child {
    margin-bottom: 0;
}

.ym-timeline-dot {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--clr-gold);
    border: 3px solid var(--clr-dark-bg);
    box-shadow: 0 0 10px var(--clr-gold);
}

.ym-timeline-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: var(--shadow-card);
}

.ym-timeline-time {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--clr-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ym-timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 4px;
}

.ym-timeline-desc {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.ym-registration-section {
    position: relative;
    padding: 80px 24px 100px;
    z-index: 1;
}

.ym-form-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--shadow-elevated);
    max-width: 640px;
    margin: 0 auto;
}

.ym-form-group {
    margin-bottom: 22px;
    text-align: left;
}

.ym-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.ym-form-label .required {
    color: #EF4444;
}

.ym-form-label .optional {
    color: var(--clr-text-muted);
    font-weight: 400;
    font-size: 0.78rem;
}

.ym-form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 13, 16, 0.65);
    color: var(--clr-white);
    font-family: var(--font-body);
    font-size: 16px;
    box-sizing: border-box;
    transition: var(--transition);
}

.ym-form-control:focus {
    outline: none;
    border-color: var(--clr-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.25);
    background: rgba(10, 13, 16, 0.9);
}

.ym-form-control::placeholder {
    color: #64748b;
}

.ym-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--clr-green-mid) 0%, var(--clr-green) 100%);
    color: var(--clr-white);
    border: none;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px var(--clr-green-glow);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ym-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 168, 89, 0.45);
    background: linear-gradient(135deg, #00E676 0%, var(--clr-green-mid) 100%);
}

.ym-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Capacity Closed Card */
.ym-closed-card {
    background: rgba(20, 12, 12, 0.9);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-elevated);
    max-width: 600px;
    margin: 0 auto;
}

.ym-closed-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.ym-closed-title {
    font-family: var(--font-ur);
    font-size: 2rem;
    color: var(--clr-gold);
    margin-bottom: 10px;
}

.ym-closed-msg {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 24px;
}

/* Success Card */
.ym-success-card {
    background: rgba(10, 30, 20, 0.9);
    border: 1px solid var(--clr-green);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 168, 89, 0.25);
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.ym-ticket-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--clr-border-gold);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.ym-ticket-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ym-ticket-row:last-child {
    border-bottom: none;
}

/* ============================================
   FOOTER
   ============================================ */
.ym-footer {
    background: rgba(5, 7, 9, 0.95);
    border-top: 1px solid var(--clr-border);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ym-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ym-footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ym-footer-logos img {
    height: 44px;
    object-fit: contain;
}

.ym-footer p {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.ym-footer a {
    color: var(--clr-gold);
    text-decoration: none;
}

.ym-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.ym-whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    text-decoration: none;
    transition: var(--transition);
}

.ym-whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* Responsive Breakpoints */
@media (max-width: 640px) {
    .ym-hero-logos img {
        height: 55px;
    }
    .ym-event-label {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    .ym-hero-title-img {
        max-width: 90%;
    }
    .ym-speaker-card {
        padding: 14px 18px;
        gap: 14px;
    }
    .ym-speaker-avatar {
        width: 64px;
        height: 64px;
    }
    .ym-speaker-info h3 {
        font-size: 1.2rem;
    }
    .ym-form-card {
        padding: 28px 20px;
    }
}
