/* =========================================================
   MECHNOVATION 2027 - CONSOLIDATED & COMPLETE STYLESHEET
   Includes: Main Website, Registration, Admin Login, & Dashboard
   ========================================================= */

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

/* ================= GLOBAL RESET & VARIABLES ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

:root {
    /* Corporate Dark Canvas */
    --bg-main: #0A0A0A;
    --bg-surface: #121212;
    --bg-elevated: #1A1A1A;

    /* Primary Accent - Acid Lime */
    --accent-lime: #CCFF00;
    --accent-lime-hover: #B7F337;
    --accent-lime-glow: rgba(204, 255, 0, 0.18);

    /* Typography & Structure */
    --text-primary: #FFFFFF;
    --text-muted: #9EA3A9;
    /* Boundary & Grid Lines / Low-Contrast 1px Divider Strokes */
    --border-subtle: #262626;
    --divider-subtle: #262626;
    --border-strong: #3F3F46;

    /* Status Colors */
    --danger: #FF4D4D;
    --danger-hover: #E03E3E;
    --success: #10B981;
    --warning: #F59E0B;
}

body {
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Industrial Grid Overlay Background - neutralized for Step 1 canvas */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background-image: none;
    z-index: -1;
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(10, 10, 10, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--divider-subtle);
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logo-box img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-logo-box .logo-subtext {
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 0.60rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-lime);
    line-height: 1;
    margin-top: 2px;
    text-transform: uppercase;
}

.brand > span {
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 0.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-lime);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: .3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-lime);
}

.nav-register {
    padding: 9px 18px !important;
    background: var(--accent-lime);
    border: 1px solid var(--accent-lime);
    border-radius: 7px;
    color: #000 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 12px var(--accent-lime-glow);
}

.nav-register:hover {
    background: var(--accent-lime-hover);
    color: #000 !important;
    border-color: var(--accent-lime-hover);
}

.nav-admin {
    padding: 9px 16px !important;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: rgba(204, 255, 0, 0.05);
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-admin:hover {
    background: var(--accent-lime);
    color: #000000 !important;
    border-color: var(--accent-lime);
    box-shadow: 0 0 12px var(--accent-lime-glow);
}

.menu-toggle {
    display: none;
    color: var(--accent-lime);
    font-size: 28px;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    text-align: center;
    background: var(--bg-main);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

/* Step 2: photographic hero layer only */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(10, 10, 10, .82), rgba(10, 10, 10, .94)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920") center/cover no-repeat;
    filter: grayscale(100%);
    transform: scale(1.001);
    pointer-events: none;
    z-index: 0;
}

/* Step 1: no colored decorative background effect */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 950px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-marquee {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    opacity: 0;
    animation: marqueeAppear 1s ease forwards;
    animation-delay: 1s;
}

.marquee-text {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    color: var(--accent-lime);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: marqueeMove 18s linear infinite;
}

@keyframes marqueeAppear {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes marqueeMove {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px var(--accent-lime-glow));
    transform: scale(1.50);
    transform-origin: center;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px var(--accent-lime-glow));
    transform: translateY(-25px) scale(1.35);
    transform-origin: center;
}

.hero h1 {
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.15;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #FFFFFF;
    color: #FFFFFF;
}

.hero h2 {
    margin-top: 16px;
    color: #FFFFFF;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-description {
    max-width: 700px;
    margin: 18px auto 28px;
    color: #D1D5DB;
    font-size: 1rem;
    line-height: 1.4;
}

/* ================= BUTTONS ================= */

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: .3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-lime);
    color: #000;
    border-color: var(--accent-lime);
    box-shadow: 0 0 12px var(--accent-lime-glow);
}

.btn-primary:hover {
    background: var(--accent-lime-hover);
    border-color: var(--accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-lime-glow);
}

.btn-outline {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-lime);
    border-color: var(--accent-lime);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent-lime-glow);
}

/* ================= HERO INFO & COUNTDOWN ================= */

.hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: min(720px, 100%);
    margin-bottom: 30px;
}

.info-box {
    padding: 15px 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    border-radius: 9px;
}

.info-box strong {
    display: block;
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .9rem;
    margin-bottom: 4px;
}

.info-box span {
    color: var(--text-muted);
    font-size: .75rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    width: 100%;
}

.count-box {
    min-width: 75px;
    padding: 12px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--bg-elevated);
}

.count-box span {
    display: block;
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.count-box small {
    color: var(--text-muted);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= NOTICE BOARD ================= */

.notice-board {
    width: min(980px, 100%);
    margin: 0 auto;
    position: relative;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-lime-glow);
}

.notice-board::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(204, 255, 0, 0.08), rgba(204, 255, 0, 0.02));
    border-bottom: 1px solid var(--divider-subtle);
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.notice-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-lime);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.notice-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime);
    animation: noticePulse 1.5s infinite;
}

@keyframes noticePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.notice-content {
    padding: 16px;
    max-height: 500px;
    overflow-y: auto;
}

/* Scrollbar Style for Notice Content */
.notice-content::-webkit-scrollbar {
    width: 6px;
}

.notice-content::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

.notice-content::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}

.notice-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lime);
}

/* Dynamically Generated Notice List Layout */
#notice-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* Individual Notice Card Items */
#notice-list > div, 
.notice-item {
    background: var(--bg-elevated, #1A1A1A) !important;
    border: 1px solid var(--border-subtle, #262626) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    width: 100% !important;
}

#notice-list > div:hover,
.notice-item:hover {
    border-color: var(--accent-lime, #CCFF00) !important;
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.12) !important;
}

/* Category Badges & Tags Fix (prevents stretching) */
#notice-list .notice-badge,
#notice-list .notice-type,
#notice-list .badge,
#notice-list > div > span:first-child {
    display: inline-block;
    width: auto !important;
    max-width: fit-content !important;
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    background: rgba(204, 255, 0, 0.12) !important;
    color: var(--accent-lime, #CCFF00) !important;
    border: 1px solid rgba(204, 255, 0, 0.3) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Notice Titles */
#notice-list h3,
#notice-list h4,
#notice-list strong,
.notice-item-title {
    color: var(--text-primary, #FFFFFF) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 2px 0 !important;
    text-align: left !important;
    width: 100% !important;
}

/* Notice Body Text */
#notice-list p,
.notice-item-body {
    color: #D1D5DB !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    word-break: break-word !important;
    text-align: left !important;
    width: 100% !important;
}

/* 3 Line Clamp Rule for Notices */
#notice-list p.clamped,
.notice-text p.clamped {
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 4px !important;
}

/* See More / See Less Button Style */
.see-more-btn {
    background: transparent !important;
    border: none !important;
    color: var(--accent-lime, #CCFF00) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-top: 4px !important;
    display: inline-block;
    transition: color 0.2s ease !important;
}

.see-more-btn:hover {
    text-decoration: underline !important;
    color: var(--accent-lime-hover, #B4F000) !important;
}

/* Notice Attachments / Links */
#notice-list a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: var(--accent-lime, #CCFF00) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 4px !important;
}

#notice-list a:hover {
    text-decoration: underline !important;
}

/* ================= SECTIONS & GRIDS ================= */

.section {
    padding: 90px 6%;
    background: var(--bg-main);
}

.section-dark {
    background: var(--bg-surface);
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-label {
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 10px;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFFFFF;
}

.section-heading p {
    color: #D1D5DB;
    margin-top: 12px;
    font-size: .95rem;
    line-height: 1.4;
}

/* Events Grid */
.events-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.event-card {
    padding: 26px 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-lime);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .8), 0 0 25px var(--accent-lime-glow);
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.event-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(204, 255, 0, .08);
    border: 1px solid rgba(204, 255, 0, .22);
    color: var(--accent-lime);
    transition: .3s ease;
}

.event-card:hover .event-icon {
    background: var(--accent-lime);
    color: #000;
    transform: scale(1.1) rotate(4deg);
}

.event-number {
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    background: rgba(204, 255, 0, .08);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(204, 255, 0, .15);
}

.event-card h3 {
    font-size: 1.15rem;
    color: #FFFFFF;
    font-weight: 600;
}

.event-card p {
    margin-top: 10px;
    color: #D1D5DB;
    font-size: .85rem;
    line-height: 1.4;
}

/* Schedule Grid */
.schedule-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.day-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
}

.day-title {
    padding: 16px 18px;
    background: rgba(204, 255, 0, .06);
    border-bottom: 1px solid var(--divider-subtle);
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .85rem;
    font-weight: 700;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--divider-subtle);
    font-size: .85rem;
}

.schedule-item span:first-child {
    color: var(--accent-lime);
    min-width: 85px;
    font-weight: 600;
}

/* Stats */
.stats {
    padding: 60px 6%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--bg-main);
    border-top: 1px solid var(--divider-subtle);
    border-bottom: 1px solid var(--divider-subtle);
}

.stat { text-align: center; }
.stat strong {
    display: block;
    color: #FFFFFF;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.1;
}
.stat span { color: var(--text-muted); font-size: .8rem; }

/* Gallery & Results */
.gallery-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    filter: grayscale(100%);
}

.gallery-item:hover img { transform: scale(1.08); }

.result-frame {
    max-width: 1100px;
    height: 550px;
    margin: auto;
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    overflow: hidden;
}

.result-frame iframe { width: 100%; height: 100%; border: 0; }

/* Venue & Team & Sponsors */
.venue-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.venue-card {
    padding: 30px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
}

.venue-card h3 {
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
}

.map-frame {
    width: 100%;
    min-height: 300px;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
}

.team-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.team-card {
    padding: 25px 15px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 13px;
}

.team-avatar {
    width: 65px;
    height: 65px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(204, 255, 0, .08);
    border: 1px solid rgba(204, 255, 0, .25);
    color: var(--accent-lime);
    font-size: 1.5rem;
}

.sponsor-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sponsor-card {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 13px;
    color: var(--text-muted);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .8rem;
}

/* FAQ Accordion */
.faq-container { max-width: 850px; margin: auto; }
.faq-item {
    margin-bottom: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-question {
    padding: 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--accent-lime);
    transition: transform 0.4s ease;
}

.faq-item.faq-open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #D1D5DB;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-item.faq-open .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 20px 20px;
    border-top: 1px solid var(--divider-subtle);
    margin-top: 10px;
}

/* Contact & Social */
.contact-grid {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    padding: 30px 20px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 15px;
}

.contact-icon {
    width: 55px; height: 55px; margin: auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(204, 255, 0, .08);
    border: 1px solid rgba(204, 255, 0, .25);
    color: var(--accent-lime);
    font-size: 1.3rem;
}

.contact-social { margin-top: 40px; text-align: center; }
.social-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.social-btn {
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    background: var(--bg-surface);
    transition: .3s;
}

.social-btn:hover {
    color: #000;
    background: var(--accent-lime);
    border-color: var(--accent-lime);
}

/* Footer & Floating Action */
footer {
    padding: 50px 6% 30px;
    text-align: center;
    background: var(--bg-main);
    border-top: 1px solid var(--divider-subtle);
}

.footer-logo { width: 60px; height: 60px; object-fit: contain; margin-bottom: 12px; }
footer h3 { color: var(--accent-lime); font-family: "Inter", "Noto Sans Bengali", sans-serif; font-size: .95rem; }
footer p { max-width: 600px; margin: 12px auto; color: #D1D5DB; font-size: .8rem; line-height: 1.4; }
.copyright { margin-top: 25px; color: #555; font-size: .75rem; }

.floating-register {
    position: fixed; right: 20px; bottom: 20px; z-index: 900;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--accent-lime);
    color: #000; text-decoration: none; font-size: 1.2rem;
    box-shadow: 0 10px 25px var(--accent-lime-glow);
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* Lightbox Modal */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0, 0, 0, .93);
    align-items: center; justify-content: center; padding: 20px;
}
.lightbox img { max-width: 95%; max-height: 90%; border-radius: 10px; filter: grayscale(100%); }
.lightbox-close { position: absolute; top: 20px; right: 25px; color: #fff; font-size: 35px; cursor: pointer; }


/* =========================================================
   REGISTRATION PAGE (`page-register`)
   ========================================================= */

body.page-register {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    background: var(--bg-main);
}

body.page-register .container {
    max-width: 780px;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 2;
}

body.page-register .card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-lime-glow);
}

body.page-register .logo {
    text-align: center;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-lime);
    text-shadow: 0 0 12px var(--accent-lime-glow);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

body.page-register h1 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
}

body.page-register .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.page-register label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.page-register input,
body.page-register select,
body.page-register textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    background: var(--bg-main);
    color: var(--text-primary);
    transition: all 0.25s ease;
    font-family: inherit;
}

body.page-register input:focus,
body.page-register select:focus,
body.page-register textarea:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime-glow);
    background: #000000;
}

body.page-register textarea {
    min-height: 100px;
    resize: vertical;
}

body.page-register .submit-btn {
    width: 100%;
    margin-top: 35px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: var(--accent-lime);
    color: #000000;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-lime-glow);
    transition: all 0.2s ease;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

body.page-register .submit-btn:hover {
    background: var(--accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-lime-glow);
}

/* Registration Modals & Popups */
body.page-register .popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.88);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

body.page-register .popup-box {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border-radius: 14px;
    padding: 30px 25px;
    border: 1px solid var(--accent-lime);
    box-shadow: 0 0 35px var(--accent-lime-glow);
}

body.page-register .popup-box h2 {
    text-align: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    letter-spacing: 1px;
}

body.page-register .payment-methods {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

body.page-register .payment-method { flex: 1; min-width: 100px; }
body.page-register .payment-method input { display: none; }
body.page-register .payment-method label {
    display: block;
    text-align: center;
    padding: 12px 6px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-main);
    transition: 0.2s;
    margin: 0;
    font-size: 0.85rem;
}

body.page-register .payment-method input:checked + label {
    background: var(--accent-lime);
    color: #000000;
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px var(--accent-lime-glow);
}

body.page-register .payment-info {
    background: var(--bg-main);
    padding: 16px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px dashed rgba(204, 255, 0, 0.3);
}

body.page-register .payment-number {
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
    margin: 8px 0;
    color: var(--accent-lime);
    letter-spacing: 1px;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    word-break: break-all;
}

body.page-register .fee {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-lime);
    margin-top: 5px;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
}

body.page-register .popup-buttons { display: flex; gap: 12px; margin-top: 20px; }
body.page-register .popup-buttons button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    letter-spacing: 1px;
}

body.page-register .cancel-btn {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

body.page-register .cancel-btn:hover { background: #262626; }
body.page-register .confirm-btn { background: var(--accent-lime); color: #000000; }
body.page-register .confirm-btn:hover { background: var(--accent-lime-hover); }

body.page-register .error-message {
    display: none;
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 77, 77, 0.15);
    color: var(--danger);
    font-size: 0.85rem;
    border: 1px solid var(--danger);
}

body.page-register .registration-id {
    background: var(--bg-main);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--accent-lime);
    border: 1px solid rgba(204, 255, 0, 0.3);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    word-break: break-all;
}


/* =========================================================
   ADMIN LOGIN PAGE (`page-login`)
   ========================================================= */

body.page-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
}

body.page-login .login-box {
    background: var(--bg-surface);
    padding: 40px 32px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    width: 100%;
    max-width: 380px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-lime-glow);
    position: relative;
}

body.page-login .login-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
    border-radius: 14px 14px 0 0;
}

body.page-login h2 {
    text-align: center;
    color: #FFFFFF;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

body.page-login label {
    display: block;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

body.page-login input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

body.page-login input:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime-glow);
    background: #000000;
}

body.page-login button {
    width: 100%;
    padding: 14px;
    background: var(--accent-lime);
    color: #000000;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 28px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px var(--accent-lime-glow);
}

body.page-login button:hover {
    background: var(--accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-lime-glow);
}

body.page-login #errorMsg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 16px;
    text-align: center;
}

body.page-login .popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

body.page-login .popup-box {
    background: var(--bg-surface);
    border: 1px solid var(--accent-lime);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 30px var(--accent-lime-glow);
    width: 310px;
}


/* =========================================================
   ADMIN DASHBOARD (`page-admin`)
   ========================================================= */

body.page-admin {
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding: 25px 20px;
    min-height: 100vh;
}

body.page-admin .container {
    max-width: 1280px;
    margin: 0 auto;
}

body.page-admin h1 {
    text-align: center;
    margin-bottom: 25px;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.15;
}

/* Tabs Navigation */
body.page-admin .tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--divider-subtle);
    padding-bottom: 8px;
    overflow-x: auto;
    align-items: center;
}

body.page-admin .tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-muted);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

body.page-admin .tab-btn:hover {
    color: var(--accent-lime);
    border-color: var(--border-strong);
}

body.page-admin .tab-btn.active {
    background: var(--accent-lime);
    color: #000000;
    border-color: var(--accent-lime);
    font-weight: 700;
    box-shadow: 0 0 12px var(--accent-lime-glow);
}

body.page-admin .tab-btn.btn-logout {
    background: var(--danger);
    color: #FFFFFF;
    margin-left: auto;
    border-radius: 8px;
    border: none;
}

body.page-admin .tab-btn.btn-logout:hover {
    background: var(--danger-hover);
}

body.page-admin .tab-content { display: none; }
body.page-admin .tab-content.active { display: block; }

/* Admin Cards */
body.page-admin .card {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    border: 1px solid var(--border-subtle);
}

body.page-admin .card-title {
    font-size: 1.1rem;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--divider-subtle);
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.page-admin .btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Stats Overview Cards */
body.page-admin .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

body.page-admin .stat-card {
    background: var(--bg-surface);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

body.page-admin .stat-card:hover {
    border-color: var(--accent-lime);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-lime-glow);
}

body.page-admin .stat-info h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

body.page-admin .stat-info .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
}

body.page-admin .stat-icon {
    font-size: 1.8rem;
    padding: 12px;
    border-radius: 10px;
    background: rgba(204, 255, 0, 0.08);
    color: var(--accent-lime);
    border: 1px solid rgba(204, 255, 0, 0.2);
}

/* Admin Form Controls */
body.page-admin .form-group { margin-bottom: 18px; }
body.page-admin .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.page-admin .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
}

body.page-admin .form-control:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 8px var(--accent-lime-glow);
}

body.page-admin textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

body.page-admin .file-input {
    background: rgba(204, 255, 0, 0.04);
    border: 2px dashed var(--accent-lime);
    padding: 14px;
    cursor: pointer;
    border-radius: 8px;
}

/* Admin Action Buttons */
body.page-admin .btn {
    padding: 9px 16px;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.page-admin .btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}

body.page-admin .btn-primary {
    background: var(--accent-lime);
    color: #000000;
    font-weight: 700;
}

body.page-admin .btn-primary:hover {
    background: var(--accent-lime-hover);
}

body.page-admin .btn-success {
    background: var(--success);
    color: #FFFFFF;
}

body.page-admin .btn-danger {
    background: var(--danger);
    color: #FFFFFF;
}

body.page-admin .btn-danger:hover {
    background: var(--danger-hover);
}

body.page-admin .btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
}

body.page-admin .btn-outline:hover {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
}

/* Data Tables */
body.page-admin .table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

body.page-admin table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    white-space: nowrap;
    background: var(--bg-surface);
}

body.page-admin table th,
body.page-admin table td {
    border-bottom: 1px solid var(--divider-subtle);
    padding: 12px 16px;
    text-align: left;
}

body.page-admin table th {
    background-color: var(--bg-elevated);
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.page-admin table tr:hover {
    background-color: rgba(204, 255, 0, 0.02);
}

body.page-admin .badge {
    background: rgba(204, 255, 0, 0.1);
    color: var(--accent-lime);
    border: 1px solid rgba(204, 255, 0, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

body.page-admin .badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

body.page-admin .trx-code {
    font-family: monospace;
    background: var(--bg-main);
    color: var(--accent-lime);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--border-subtle);
}


/* ================= MOBILE RESPONSIVE QUERIES ================= */

@media(max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 6% 20px;
        background: var(--bg-main);
        border-bottom: 1px solid var(--divider-subtle);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--divider-subtle); text-align: center; }
    .menu-toggle { display: block; }

    .events-grid, .schedule-grid, .venue-grid { grid-template-columns: 1fr; }
    .team-grid, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media(max-width: 600px) {
    .navbar { height: 70px; padding: 0 4%; }
    .nav-links { top: 70px; }
    .hero { padding: 100px 16px 45px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-info { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }

    body.page-register .card { padding: 25px 18px; }
    body.page-register .popup-box { padding: 20px 15px; }
    body.page-register .popup-buttons { flex-direction: column; }

    body.page-admin { padding: 15px 10px; }
    body.page-admin .card { padding: 16px; }
    body.page-admin .stats-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   ADMIN DASHBOARD - MOBILE TEXT OVERLAP FIX
   Keeps the existing layout/design; only prevents text
   from overflowing into the Delete button or other fields.
   ========================================================= */

body.page-admin #dash-recent-registrations > div {
    min-width: 0;
    gap: 10px;
}

body.page-admin #dash-recent-registrations > div > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

body.page-admin #dash-recent-registrations > div > div:first-child > strong {
    display: block;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.page-admin #dash-recent-registrations > div > div:first-child > div {
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.page-admin #dash-recent-registrations .trx-code,
body.page-admin #dash-recent-registrations .badge {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: middle;
    line-height: 1.4;
}

body.page-admin #dash-recent-registrations > div > .btn {
    flex: 0 0 auto;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 600px) {
    body.page-admin #dash-recent-registrations > div {
        align-items: flex-start !important;
    }

    body.page-admin #dash-recent-registrations > div > .btn {
        align-self: flex-start;
        margin-top: 2px;
    }

    body.page-admin #dash-recent-registrations .trx-code,
    body.page-admin #dash-recent-registrations .badge {
        max-width: 100%;
        white-space: normal;
    }
}
/* ফুটারে নিচে অতিরিক্ত ফাঁকা জায়গা তৈরি করবে যেন রকেট বাটন কোনো লেখা না ঢাকে */
footer {
  padding-bottom: 80px !important; 
}

/* ব্যাজটিকে সেন্টারে বা মাঝখানে রাখার জন্য */
.credit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}

/* মূল ব্যাজের সাইজ ও স্টাইল */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #9ca3af;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap; /* লেখা যেন ভেঙে নিচে না যায় */
}

.credit-name {
  color: #ffffff;
}

/* লাইভ ডটের স্টাইল */
.live-dot {
  width: 8px;
  height: 8px;
  background-color: #2ed573;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(46, 213, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}
/* =========================================================
   FINAL COMPLETE FIX: LABEL + REGISTRATION ID + ACKNOWLEDGE BUTTON
   ========================================================= */

/* ১. রেজিস্ট্রেশন আইডি বক্সের স্টাইল */
.registration-id,
[class*="registration-id"],
.popup-card .registration-id {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
}

/* ২. অটোমেটিক রেজিস্ট্রেশন নাম্বারের উপরে "Registration ID:" লেবেল যুক্ত করা */
.registration-id::before,
[class*="registration-id"]::before,
.popup-card .registration-id::before {
    content: "Registration ID:" !important;
    display: block !important;
    font-size: 0.85rem !important;
    color: #a1a1aa !important; /* সাবটেল কালার যেন আইডি কোডটি বেশি হাইলাইট হয় */
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* ৩. পপআপ কন্টেইনার এবং অ্যালাইনমেন্ট সেন্টার করা */
.popup-content,
.popup-card,
.popup-box,
.modal-content,
.popup-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* ৪. Acknowledge বাটনের নিখুঁত স্টাইল ও সেন্টারিং */
.popup-content button,
.popup-card button,
.popup-box button,
.modal-content button,
.popup-buttons button,
button[type="submit"],
.btn-acknowledge,
.confirm-btn,
#acknowledgeBtn {
    background-color: #CCFF00 !important;
    color: #000000 !important;
    padding: 12px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.5) !important;
    margin: 20px auto 0 auto !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 160px !important;
    text-align: center !important;
    transition: all 0.25s ease-in-out !important;
}

/* ৫. বাটনে হোভার ইফেক্ট */
.popup-content button:hover,
.popup-card button:hover,
.popup-box button:hover,
.modal-content button:hover,
.popup-buttons button:hover,
button[type="submit"]:hover,
.btn-acknowledge:hover,
.confirm-btn:hover,
#acknowledgeBtn:hover {
    background-color: #B7F337 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.7) !important;
}

/* =========================================================
   MECHNOVATION 2027 — REGISTRATION PAGE ALIGNMENT FIX
   Scope: current register.html structure only.
   Preserves existing IDs, JS hooks, payment flow and content.
   ========================================================= */

body.page-register {
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

body.page-register .registration-page {
    width: 100%;
    min-height: 100vh;
    padding: 28px 20px 34px;
    box-sizing: border-box;
}

body.page-register .registration-frame {
    width: min(1180px, 100%);
    margin: 0 auto;
}

body.page-register .registration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 0 26px;
    border-bottom: 1px solid var(--divider-subtle);
}

body.page-register .registration-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: 1.4px;
}

body.page-register .registration-brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--accent-lime);
    color: var(--accent-lime);
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 14px var(--accent-lime-glow);
}

body.page-register .registration-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

body.page-register .registration-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime-glow);
}

body.page-register .registration-hero {
    padding: 58px 0 50px;
    max-width: 850px;
}

body.page-register .registration-kicker,
body.page-register .form-label,
body.page-register .form-section-label,
body.page-register .aside-index,
body.page-register .form-step,
body.page-register .popup-kicker {
    color: var(--accent-lime);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

body.page-register .registration-hero h1 {
    margin: 13px 0 14px;
    text-align: left;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
}

body.page-register .registration-hero h1 span {
    color: #FFFFFF;
}

body.page-register .registration-hero p {
    max-width: 620px;
    margin: 0;
    color: #D1D5DB;
    font-size: .98rem;
    line-height: 1.4;
}

body.page-register .registration-layout {
    display: grid;
    grid-template-columns: minmax(230px, .72fr) minmax(0, 1.65fr);
    gap: 28px;
    align-items: start;
}

body.page-register .registration-aside {
    position: sticky;
    top: 24px;
    padding: 25px 0 10px;
}

body.page-register .registration-aside h2 {
    margin: 22px 0 18px;
    color: var(--text-primary);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -1px;
}

body.page-register .registration-aside h2 span {
    color: var(--accent-lime);
}

body.page-register .registration-aside p {
    max-width: 330px;
    margin: 0;
    color: #D1D5DB;
    font-size: .9rem;
    line-height: 1.4;
}

body.page-register .aside-rule {
    width: 100%;
    max-width: 330px;
    height: 1px;
    margin: 28px 0;
    background: var(--border-subtle);
}

body.page-register .aside-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

body.page-register .aside-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.page-register .aside-meta strong {
    color: var(--text-primary);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 1rem;
    letter-spacing: .5px;
}

body.page-register .aside-meta span {
    color: var(--text-muted);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 1.3px;
}

body.page-register .registration-card {
    min-width: 0;
    padding: 34px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 24px var(--accent-lime-glow);
    box-sizing: border-box;
}

body.page-register .form-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--divider-subtle);
}

body.page-register .form-heading h2 {
    margin: 7px 0 0;
    color: var(--text-primary);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.2;
}

body.page-register .form-step {
    white-space: nowrap;
    color: var(--text-muted);
}

body.page-register .form-step::first-letter {
    color: var(--accent-lime);
}

body.page-register form {
    width: 100%;
}

body.page-register .form-section-label {
    margin: 27px 0 12px;
    padding-top: 4px;
    color: var(--text-muted);
    font-size: .63rem;
    letter-spacing: 1.5px;
}

body.page-register .form-section-label:first-child {
    margin-top: 0;
}

body.page-register .form-grid {
    display: grid;
    gap: 18px;
}

body.page-register .form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-register .form-grid > div {
    min-width: 0;
}

body.page-register form label {
    display: block;
    margin: 17px 0 7px;
    color: var(--text-primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

body.page-register .form-grid label {
    margin-top: 0;
}

body.page-register .input-group {
    width: 100%;
}

body.page-register form input,
body.page-register form select,
body.page-register form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    background: var(--bg-main);
    color: var(--text-primary);
    padding: 13px 14px;
    outline: none;
    font: inherit;
    font-size: .9rem;
    line-height: 1.4;
}

body.page-register form textarea {
    min-height: 118px;
    resize: vertical;
}

body.page-register form input::placeholder,
body.page-register form textarea::placeholder {
    color: #707070;
}

body.page-register form input:focus,
body.page-register form select:focus,
body.page-register form textarea:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, .07), 0 0 14px var(--accent-lime-glow);
    background: #090909;
}

body.page-register .registration-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid var(--border-subtle);
    border-left: 2px solid var(--accent-lime);
    background: rgba(255, 255, 255, .018);
}

body.page-register .registration-note > span {
    flex: 0 0 auto;
    color: var(--accent-lime);
    font-size: 1rem;
    line-height: 1.4;
}

body.page-register .registration-note p {
    margin: 0;
    color: #D1D5DB;
    font-size: .78rem;
    line-height: 1.4;
}

.venue-card p,
.team-card p,
.contact-card p {
    color: #D1D5DB;
    line-height: 1.4;
}

body.page-register #paymentPopup .popup-box > p {
    color: #D1D5DB;
    line-height: 1.4;
}

body.page-register .submit-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    min-width: 0 !important;
    margin: 24px 0 0 !important;
    padding: 15px 17px !important;
    border: 1px solid var(--accent-lime) !important;
    border-radius: 7px !important;
    background: var(--accent-lime) !important;
    color: #000 !important;
    font-family: "Inter", "Noto Sans Bengali", sans-serif !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-shadow: 0 0 22px var(--accent-lime-glow) !important;
}

body.page-register .submit-btn span {
    font-size: 1.1rem;
    line-height: 1;
}

body.page-register .submit-btn:hover {
    background: var(--accent-lime-hover) !important;
    transform: translateY(-1px);
}

body.page-register .registration-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 28px 0 4px;
    margin-top: 34px;
    border-top: 1px solid var(--divider-subtle);
    color: var(--text-muted);
    font-size: .68rem;
    letter-spacing: .6px;
}

body.page-register .registration-footer > span:first-child {
    color: var(--text-primary);
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-weight: 800;
}

body.page-register .registration-footer a {
    color: var(--accent-lime);
    text-decoration: none;
    font-weight: 700;
}

/* Popup overrides: keep existing JS/IDs intact while preventing the legacy
   global popup rules from distorting the current payment/success layouts. */
body.page-register .popup {
    display: none;
    padding: 20px;
    box-sizing: border-box;
}

body.page-register .popup-box {
    box-sizing: border-box;
    width: min(520px, 100%);
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 25px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
}

body.page-register #paymentPopup .popup-box {
    align-items: stretch !important;
    text-align: left !important;
}

body.page-register #paymentPopup .popup-kicker,
body.page-register #paymentPopup h2,
body.page-register #paymentPopup > .popup-box > p,
body.page-register #paymentPopup .fee {
    text-align: center;
}

body.page-register .payment-methods {
    width: 100%;
}

body.page-register .payment-info {
    box-sizing: border-box;
    width: 100%;
}

body.page-register #successPopup .popup-box {
    align-items: center !important;
    text-align: center !important;
}

body.page-register #successPopup .registration-id {
    width: 100%;
    box-sizing: border-box;
}

body.page-register .popup-box .small-note {
    color: #D1D5DB;
    font-size: .7rem;
    line-height: 1.4;
}

body.page-register .popup-box .error-message {
    width: 100%;
    box-sizing: border-box;
}

body.page-register .popup-box .popup-buttons {
    width: 100%;
    box-sizing: border-box;
    flex-direction: row !important;
    align-items: stretch !important;
}

body.page-register .popup-box .popup-buttons button {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.page-register .popup-box .cancel-btn {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
}

body.page-register .popup-box .confirm-btn {
    background: var(--accent-lime) !important;
    color: #000 !important;
}

@media (max-width: 820px) {
    body.page-register .registration-page {
        padding: 20px 16px 28px;
    }

    body.page-register .registration-hero {
        padding: 45px 0 38px;
    }

    body.page-register .registration-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.page-register .registration-aside {
        position: static;
        padding: 0 0 4px;
    }

    body.page-register .registration-aside p,
    body.page-register .aside-rule {
        max-width: 620px;
    }

    body.page-register .registration-card {
        padding: 26px 22px;
    }
}

@media (max-width: 620px) {
    body.page-register .registration-page {
        padding: 18px 18px 30px;
    }

    body.page-register .registration-frame {
        width: 100%;
    }

    /* Mobile header: keep brand and registration status on one balanced row. */
    body.page-register .registration-header {
        width: 100%;
        box-sizing: border-box;
        padding: 2px 0 18px;
        gap: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    body.page-register .registration-brand {
        min-width: 0;
        font-size: .78rem;
        letter-spacing: 1px;
    }

    body.page-register .registration-brand-mark {
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
    }

    body.page-register .registration-status {
        flex-shrink: 0;
        font-size: .62rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    /* Mobile hero: reduce heading scale and vertical space without changing content. */
    body.page-register .registration-hero {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 38px 0 30px;
    }

    body.page-register .registration-kicker {
        max-width: 100%;
        font-size: .62rem;
        line-height: 1.5;
        letter-spacing: 1.25px;
    }

    body.page-register .registration-hero h1 {
        width: 100%;
        max-width: 100%;
        margin: 12px 0 14px;
        font-size: clamp(2.1rem, 10vw, 2.8rem);
        line-height: 1.15;
        letter-spacing: 0.02em;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.page-register .registration-hero p {
        width: 100%;
        max-width: 560px;
        font-size: .9rem;
        line-height: 1.4;
    }

    /* Mobile aside: compact spacing while preserving the existing order/content. */
    body.page-register .registration-aside {
        width: 100%;
        box-sizing: border-box;
    }

    body.page-register .registration-aside h2 {
        margin: 16px 0 14px;
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.08;
        letter-spacing: -.8px;
    }

    body.page-register .registration-aside p {
        width: 100%;
        max-width: 560px;
        font-size: .88rem;
        line-height: 1.4;
    }

    body.page-register .aside-rule {
        width: 100%;
        max-width: none;
        margin: 20px 0;
    }

    body.page-register .aside-meta {
        width: 100%;
        gap: 24px;
        align-items: flex-start;
    }

    body.page-register .aside-meta strong {
        font-size: .92rem;
    }

    /* Mobile form: full-width card, single-column fields, compact internal rhythm. */
    body.page-register .registration-card {
        width: 100%;
        box-sizing: border-box;
        padding: 22px 18px;
    }

    body.page-register .form-heading {
        width: 100%;
        box-sizing: border-box;
        align-items: flex-start;
        padding-bottom: 16px;
        margin-bottom: 18px;
        gap: 8px;
    }

    body.page-register .form-heading h2 {
        font-size: 1.15rem;
    }

    body.page-register .form-step {
        align-self: flex-start;
    }

    body.page-register .form-grid.two-col {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body.page-register form input,
    body.page-register form select,
    body.page-register form textarea {
        font-size: .88rem;
        padding: 12px 13px;
    }

    body.page-register .registration-note {
        width: 100%;
        box-sizing: border-box;
    }

    body.page-register .submit-btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Mobile footer: centered and compact without changing its content. */
    body.page-register .registration-footer {
        width: 100%;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 20px;
        margin-top: 24px;
        gap: 6px 12px;
    }
}

@media (max-width: 420px) {
    body.page-register .registration-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-register .registration-header {
        gap: 8px;
    }

    body.page-register .registration-brand {
        font-size: .74rem;
        letter-spacing: .8px;
    }

    body.page-register .registration-status {
        font-size: .58rem;
        letter-spacing: .8px;
    }

    body.page-register .registration-hero {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    body.page-register .registration-hero h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }

    body.page-register .registration-hero p {
        font-size: .88rem;
    }

    body.page-register .registration-card {
        padding: 20px 15px;
    }

    body.page-register .aside-meta {
        gap: 20px;
    }
}

/* =========================================================
   REGISTRATION PORTAL HEADING — CENTER ALIGNMENT
   Scope: registration page only
   ========================================================= */
body.page-register .registration-hero {
    max-width: 100%;
}

body.page-register .registration-hero h1 {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 620px) {
    body.page-register .registration-hero h1 {
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   REGISTRATION BUTTON — CENTER TEXT
   Scope: registration page only
   ========================================================= */
body.page-register .submit-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body.page-register .submit-btn span {
    position: absolute !important;
    right: 17px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

/* =========================================================
   REGISTRATION HERO SUBTEXT — CENTER ALIGNMENT
   Scope: registration page only
   ========================================================= */
body.page-register .registration-hero p {
    width: 100%;
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}


/* =========================================================
   GUIDELINE #3 — SURGICAL HERO FLOW
   Existing styles retained. Only requested additions/overrides.
   ========================================================= */
.hero-content > .hero-info {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

/* Keep the existing CTA buttons side-by-side; no full-width override. */
.hero-content > .hero-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    width: 100%;
}

.hero-content > .hero-buttons .btn,
.hero-content > .hero-buttons .btn-primary {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

/* Notice Board is intentionally outside the Hero; existing notice styling remains unchanged. */

@media (max-width: 900px) {
    .hero-content > .hero-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .hero-content > .hero-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content > .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero-content > .hero-buttons .btn,
    .hero-content > .hero-buttons .btn-primary {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 380px) {
    .hero-content > .hero-buttons .btn,
    .hero-content > .hero-buttons .btn-primary {
        font-size: .78rem;
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* =========================================================
   GUIDELINE #3 — MOBILE VISUAL BALANCE (SURGICAL)
   Only corrects spacing/proportion introduced by the scan-flow
   overrides. Existing rules above are retained unchanged.
   ========================================================= */
@media (max-width: 600px) {
    /* Remove the unnecessary full-screen gap before the Notice Board. */
    .hero {
        min-height: auto;
        padding: 92px 16px 40px;
        align-items: flex-start;
    }

    /* Keep the two required telemetry values together. */
    .hero-content > .hero-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
        margin-bottom: 26px;
    }

    /* Keep supporting venue/organizer information readable instead of
       forcing four tiny cards into a single 2×2 visual grid. */
    .hero-content > .hero-info .info-box:nth-child(3),
    .hero-content > .hero-info .info-box:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* Restore the natural CTA proportions while keeping the buttons side-by-side. */
    .hero-content > .hero-buttons {
        width: 100%;
        gap: 14px;
        margin-bottom: 26px;
    }

    .hero-content > .hero-buttons .btn,
    .hero-content > .hero-buttons .btn-primary {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 10px;
        font-size: .9rem;
    }

    /* Keep the countdown compact and visually connected to the telemetry. */
    .hero-content > .countdown {
        margin-bottom: 48px;
        gap: 10px;
    }

    .hero-content > .countdown .count-box {
        min-width: 0;
        flex: 1 1 0;
    }
}

@media (max-width: 380px) {
    .hero-content > .hero-info .info-box {
        padding-left: 9px;
        padding-right: 9px;
    }

    .hero-content > .hero-buttons .btn,
    .hero-content > .hero-buttons .btn-primary {
        font-size: .82rem;
        padding-left: 6px;
        padding-right: 6px;
    }
}


/* OPTION A — HERO HEIGHT ONLY
   Surgical fix: remove the unnecessary minimum viewport height.
   No other layout, spacing, button, typography, or mobile rules changed.
*/
.hero {
    min-height: auto;
}

/* =========================================================
   HOMEPAGE MOBILE HERO — SPACING & HIERARCHY CLEANUP
   Scope: page-index Hero only / mobile only
   CSS-only surgical refinement. Existing content, HTML,
   JavaScript, links and desktop layout remain unchanged.
   ========================================================= */
@media (max-width: 600px) {
    body.page-index .hero {
        min-height: auto;
        padding: 78px 16px 28px;
        align-items: flex-start;
    }

    body.page-index .hero-content {
        max-width: 100%;
    }

    /* Keep the existing marquee, but make its footprint compact. */
    body.page-index .top-marquee {
        margin-bottom: 8px;
        max-height: 18px;
    }

    body.page-index .marquee-text {
        font-size: .68rem;
        letter-spacing: .7px;
    }

    /* Compact the hero logo-to-heading transition. */
    body.page-index .hero-logo {
        width: 78px;
        height: 78px;
        margin-bottom: 10px;
    }

    body.page-index .hero-tag {
        font-size: .68rem;
        line-height: 1.35;
        letter-spacing: 1.4px;
        margin-bottom: 7px;
    }

    /* The existing <br> after the hero tag is unnecessary on mobile. */
    body.page-index .hero-tag + br {
        display: none;
    }

    /* Keep the existing two-line mobile H1, but reduce its vertical footprint. */
    body.page-index .hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.08;
        letter-spacing: 1px;
        margin: 0;
    }

    body.page-index .hero h2 {
        margin-top: 10px;
        font-size: clamp(.9rem, 4.5vw, 1.05rem);
        line-height: 1.25;
        letter-spacing: 1.2px;
    }

    /* Keep the existing description/content, only make the block tighter. */
    body.page-index .hero-description {
        max-width: 360px;
        margin: 12px auto 20px;
        font-size: .9rem;
        line-height: 1.35;
    }

    /* Preserve the current side-by-side mobile CTA layout. */
    body.page-index .hero-content > .hero-buttons {
        width: 100%;
        gap: 12px;
        margin-bottom: 20px;
    }

    body.page-index .hero-content > .hero-buttons .btn,
    body.page-index .hero-content > .hero-buttons .btn-primary {
        min-height: 42px;
        padding: 10px 8px;
        font-size: .86rem;
        border-radius: 8px;
    }

    /* Compact the existing event-information cards without changing content. */
    body.page-index .hero-content > .hero-info {
        gap: 10px;
        margin-bottom: 20px;
    }

    body.page-index .hero-content > .hero-info .info-box {
        min-height: 0;
        padding: 12px 10px;
        border-radius: 9px;
    }

    body.page-index .hero-content > .hero-info .info-box span {
        font-size: .7rem;
        line-height: 1.2;
    }

    body.page-index .hero-content > .hero-info .info-box strong {
        font-size: .84rem;
        line-height: 1.25;
        margin-bottom: 0;
    }

    /* Keep Venue and Organized By as readable full-width support cards. */
    body.page-index .hero-content > .hero-info .info-box:nth-child(3),
    body.page-index .hero-content > .hero-info .info-box:nth-child(4) {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    /* Keep a clear visual pause after the countdown before the Notice Board. */
    body.page-index .hero-content > .countdown {
        gap: 8px;
        margin-bottom: 48px;
    }

    body.page-index .hero-content > .countdown .count-box {
        min-width: 0;
        padding: 9px 6px;
        border-radius: 8px;
    }

    body.page-index .hero-content > .countdown .count-box span {
        font-size: 1.25rem;
    }

    body.page-index .hero-content > .countdown .count-box small {
        font-size: .58rem;
        letter-spacing: .8px;
    }

    /* Keep the floating register action visually lighter on small screens. */
    body.page-index .floating-register {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
    }
}

@media (max-width: 380px) {
    body.page-index .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.page-index .hero-content > .hero-buttons .btn,
    body.page-index .hero-content > .hero-buttons .btn-primary {
        font-size: .82rem;
        padding-left: 6px;
        padding-right: 6px;
    }

    body.page-index .hero-content > .hero-info .info-box {
        padding-left: 8px;
        padding-right: 8px;
    }
}


/* =========================================================
   STRICT LAYOUT ARCHITECTURE & SPATIAL UPDATE
   HERO ONLY — SURGICAL OVERRIDES
   Existing global styles remain unchanged.
   ========================================================= */

/* #1 — Architectural Hero frame */
body.page-index .hero {
    min-height: auto;
    border: 1px solid var(--border-subtle);
}

/* #3/#4 — Exact Hero scan order and spatial hierarchy */
body.page-index .hero-content > .hero-logo { order: 1; }
body.page-index .hero-content > .hero-tag { order: 2; }
body.page-index .hero-content > h1 { order: 3; }
body.page-index .hero-content > h2 { order: 4; }
body.page-index .hero-content > .hero-description { order: 5; }
body.page-index .hero-content > .hero-info { order: 6; }
body.page-index .hero-content > .hero-buttons { order: 7; }
body.page-index .hero-content > .countdown { order: 8; }
body.page-index .hero-content > .hero-proof { order: 9; }

/* Compact value-proposition spacing. */
body.page-index .hero-content > .hero-logo {
    margin-bottom: 12px;
}
body.page-index .hero-content > .hero-tag {
    margin-bottom: 10px;
}
body.page-index .hero-content > h2 {
    margin-top: 10px;
}
body.page-index .hero-content > .hero-description {
    margin: 14px auto 24px;
}

/* #3 — Primary telemetry: START DATE | START TIME */
body.page-index .hero-content > .hero-info {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
body.page-index .hero-content > .hero-info .info-box {
    padding: 13px 12px;
}

/* Existing Venue / Organizer remain available but visually secondary. */
body.page-index .hero-content > .hero-info .info-box:nth-child(3),
body.page-index .hero-content > .hero-info .info-box:nth-child(4) {
    padding: 9px 12px;
}
body.page-index .hero-content > .hero-info .info-box:nth-child(3) strong,
body.page-index .hero-content > .hero-info .info-box:nth-child(4) strong {
    font-size: .78rem;
    line-height: 1.25;
}

/* #4 — Primary registration action dominates; secondary remains subordinate. */
body.page-index .hero-content > .hero-buttons {
    width: min(760px, 100%);
    gap: 14px;
    margin: 0 auto 22px;
    align-items: stretch;
    justify-content: center;
}
body.page-index .hero-content > .hero-buttons .btn {
    flex: 0 1 auto;
    width: auto;
}
body.page-index .hero-content > .hero-buttons .btn-primary {
    flex: 1 1 0;
    max-width: 520px;
}
body.page-index .hero-content > .hero-buttons .btn-outline {
    flex: 0 0 auto;
    min-width: 170px;
}

/* Countdown remains functional supporting information after the CTA. */
body.page-index .hero-content > .countdown {
    width: min(420px, 100%);
    gap: 10px;
    margin-bottom: 26px;
}
body.page-index .hero-content > .countdown .count-box {
    min-width: 0;
    flex: 1 1 0;
}

/* #5 — Three-column unified proof strip, using existing factual content. */
body.page-index .hero-content > .hero-proof {
    width: min(760px, 100%);
    padding: 18px 0 0;
    margin: 6px auto 0;
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
body.page-index .hero-content > .hero-proof .stat {
    text-align: center;
}
body.page-index .hero-content > .hero-proof .stat strong {
    color: #FFFFFF;
    display: block;
}
body.page-index .hero-content > .hero-proof .stat span {
    color: var(--text-muted);
    display: block;
}
body.page-index .hero-content > .hero-proof .proof-secondary-value {
    margin-top: 10px;
    font-size: 1.35rem;
    line-height: 1.1;
}

/* #2 — Preserve existing grayscale photographic direction; reposition/crop only. */
body.page-index .hero::before {
    background-position: center 38%;
}

/* Mobile: same hierarchy, grouped telemetry, readable proof, no forced viewport height. */
@media (max-width: 600px) {
    body.page-index .hero {
        min-height: auto;
        padding: 78px 16px 28px;
        align-items: flex-start;
    }

    body.page-index .hero-content > .hero-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }
    body.page-index .hero-content > .hero-info .info-box {
        padding: 11px 9px;
    }
    body.page-index .hero-content > .hero-info .info-box:nth-child(3),
    body.page-index .hero-content > .hero-info .info-box:nth-child(4) {
        padding: 9px 8px;
    }

    body.page-index .hero-content > .hero-buttons {
        width: 100%;
        gap: 10px;
        margin-bottom: 18px;
    }
    body.page-index .hero-content > .hero-buttons .btn-primary,
    body.page-index .hero-content > .hero-buttons .btn-outline {
        flex: 1 1 0;
        min-width: 0;
    }

    body.page-index .hero-content > .countdown {
        width: 100%;
        gap: 8px;
        margin-bottom: 20px;
    }
    body.page-index .hero-content > .countdown .count-box {
        min-width: 0;
    }

    body.page-index .hero-content > .hero-proof {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 14px;
        margin-top: 2px;
    }
    body.page-index .hero-content > .hero-proof .stat strong {
        font-size: 1.35rem;
    }
    body.page-index .hero-content > .hero-proof .stat span {
        font-size: .68rem;
        line-height: 1.25;
    }
    body.page-index .hero-content > .hero-proof .proof-secondary-value {
        font-size: 1.05rem;
        margin-top: 7px;
    }
}

@media (max-width: 380px) {
    body.page-index .hero-content > .hero-proof {
        gap: 5px;
    }
    body.page-index .hero-content > .hero-proof .stat strong {
        font-size: 1.2rem;
    }
    body.page-index .hero-content > .hero-proof .stat span {
        font-size: .62rem;
    }
}

/* =========================================================
   STRICT LAYOUT ARCHITECTURE — FINAL HERO SURGICAL PASS
   Scope: homepage Hero only. Existing styles retained.
   ========================================================= */

/* #1 — Refined architectural frame around the Hero content area. */
body.page-index .hero-content {
    outline: 1px solid var(--border-subtle);
    outline-offset: 12px;
}

/* #2 — Atmospheric monumental visual metaphor.
   Retains the existing grayscale photograph and adds a restrained,
   monochrome cliff/silhouette layer without introducing color. */
body.page-index .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .52;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath fill='%23070707' fill-opacity='.72' d='M0 0h430l80 92 72 44 58 126 88 72 70 566H0z'/%3E%3Cpath fill='%23141414' fill-opacity='.66' d='M1600 0h-390l-82 112-66 46-74 138-92 82-58 522h762z'/%3E%3Cpath fill='%23020202' fill-opacity='.88' d='M0 900V690l190-56 155-76 148 62 122 280H0zm1600 0V646l-184-62-140-80-168 74-122 322h614z'/%3E%3Cg fill='%23d8d8d8' fill-opacity='.78' transform='translate(800 540)'%3E%3Cellipse cx='0' cy='-66' rx='11' ry='13'/%3E%3Cpath d='M-13-48h26l9 58-18 4-5-27-5 27-18-4z'/%3E%3Cpath d='M-9 10h7l-12 54h-8zM2 10h7l13 54h-8z'/%3E%3C/g%3E%3Cpath fill='%23eeeeee' fill-opacity='.14' d='M785 604h30v180h-30z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* #3 — Exact scan hierarchy: primary telemetry → CTA → supporting info → countdown → proof. */
body.page-index .hero-content > .hero-primary-telemetry { order: 6; }
body.page-index .hero-content > .hero-buttons { order: 7; }
body.page-index .hero-content > .hero-secondary-telemetry { order: 8; }
body.page-index .hero-content > .countdown { order: 9; }
body.page-index .hero-content > .hero-proof { order: 10; }

/* Primary telemetry is one compact Date | Start Time unit. */
body.page-index .hero-content > .hero-primary-telemetry {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 18px;
}

/* Secondary Venue / Organizer information follows the primary CTA. */
body.page-index .hero-content > .hero-secondary-telemetry {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 18px;
}

body.page-index .hero-content > .hero-secondary-telemetry .info-box {
    padding: 9px 12px;
}

body.page-index .hero-content > .hero-secondary-telemetry .info-box strong {
    font-size: .78rem;
    line-height: 1.25;
}

/* Primary CTA remains dominant; secondary action stays subordinate. */
body.page-index .hero-content > .hero-buttons {
    width: min(760px, 100%);
    gap: 14px;
    margin: 0 auto 18px;
    justify-content: center;
}

body.page-index .hero-content > .hero-buttons .btn-primary {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
}

body.page-index .hero-content > .hero-buttons .btn-outline {
    flex: 0 0 auto;
    min-width: 150px;
}

/* Keep countdown as supporting telemetry after the conversion point. */
body.page-index .hero-content > .countdown {
    width: min(420px, 100%);
    gap: 10px;
    margin: 0 auto 18px;
}

/* Three-column proof strip; the fourth factual metric stays safely grouped
   inside column three without creating a fourth column or inventing data. */
body.page-index .hero-content > .hero-proof {
    width: min(760px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 16px 0 0;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
    background: transparent;
}

body.page-index .hero-content > .hero-proof .stat {
    text-align: center;
    background: transparent;
    border: 0;
    padding: 0;
}

body.page-index .hero-content > .hero-proof .proof-secondary-value {
    margin-top: 7px;
    font-size: 1.1rem;
    line-height: 1.1;
}

/* Prevent excessive vertical stretching. */
body.page-index .hero {
    min-height: auto;
}

@media (max-width: 600px) {
    /* Keep the frame restrained on narrow screens. */
    body.page-index .hero-content {
        outline-offset: 7px;
    }

    body.page-index .hero-content > .hero-primary-telemetry,
    body.page-index .hero-content > .hero-secondary-telemetry {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.page-index .hero-content > .hero-buttons {
        width: 100%;
        gap: 10px;
        margin-bottom: 16px;
    }

    body.page-index .hero-content > .hero-buttons .btn-primary,
    body.page-index .hero-content > .hero-buttons .btn-outline {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }

    body.page-index .hero-content > .hero-secondary-telemetry {
        margin-bottom: 16px;
    }

    body.page-index .hero-content > .countdown {
        width: 100%;
        gap: 8px;
        margin-bottom: 16px;
    }

    body.page-index .hero-content > .hero-proof {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 13px;
    }
}

/* =========================================================
   FINAL MOBILE HERO STABILIZATION — SURGICAL ONLY
   Fixes mobile spatial stacking without changing desktop.
   ========================================================= */
@media (max-width: 600px) {
    body.page-index .hero {
        min-height: auto;
        padding: 88px 12px 24px;
        align-items: flex-start;
        overflow: hidden;
    }

    body.page-index .hero-content {
        width: 100%;
        max-width: 100%;
        gap: 0;
    }

    /* Keep the top of the value proposition fully visible on mobile. */
    body.page-index .top-marquee {
        width: 100%;
        margin-bottom: 8px;
        max-height: 18px;
    }

    body.page-index .marquee-text {
        font-size: .62rem;
        letter-spacing: .55px;
    }

    body.page-index .hero-content > .hero-logo {
        width: 64px;
        height: 64px;
        margin-bottom: 8px;
    }

    body.page-index .hero-content > .hero-tag {
        font-size: .61rem;
        line-height: 1.3;
        letter-spacing: 1.15px;
        margin-bottom: 6px;
    }

    body.page-index .hero-content > h1 {
        width: 100%;
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.08;
        letter-spacing: .7px;
        margin: 0;
        overflow-wrap: normal;
    }

    body.page-index .hero-content > h2 {
        margin-top: 8px;
        font-size: clamp(.9rem, 4.2vw, 1.05rem);
        line-height: 1.25;
        letter-spacing: 1px;
    }

    body.page-index .hero-content > .hero-description {
        width: 100%;
        max-width: 390px;
        margin: 10px auto 18px;
        font-size: .82rem;
        line-height: 1.38;
    }

    /* Primary telemetry: Date | Start Time. */
    body.page-index .hero-content > .hero-primary-telemetry {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 auto 12px;
    }

    body.page-index .hero-content > .hero-primary-telemetry .info-box {
        min-height: 72px;
        padding: 10px 7px;
        border-radius: 9px;
    }

    body.page-index .hero-content > .hero-primary-telemetry .info-box span {
        font-size: .63rem;
    }

    body.page-index .hero-content > .hero-primary-telemetry .info-box strong {
        font-size: .78rem;
        line-height: 1.2;
    }

    /* CTA: two balanced actions, no mobile stretching beyond the hero width. */
    body.page-index .hero-content > .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 auto 12px;
    }

    body.page-index .hero-content > .hero-buttons .btn,
    body.page-index .hero-content > .hero-buttons .btn-primary,
    body.page-index .hero-content > .hero-buttons .btn-outline {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 42px;
        padding: 9px 6px;
        font-size: .76rem;
        border-radius: 8px;
        white-space: nowrap;
    }

    /* Venue / Organizer remain secondary and readable. */
    body.page-index .hero-content > .hero-secondary-telemetry {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 auto 12px;
    }

    body.page-index .hero-content > .hero-secondary-telemetry .info-box {
        min-height: 68px;
        padding: 9px 7px;
        border-radius: 9px;
    }

    body.page-index .hero-content > .hero-secondary-telemetry .info-box span {
        font-size: .62rem;
    }

    body.page-index .hero-content > .hero-secondary-telemetry .info-box strong {
        font-size: .68rem;
        line-height: 1.2;
    }

    /* Countdown stays compact and readable as one four-part telemetry row. */
    body.page-index .hero-content > .countdown {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin: 0 auto 14px;
    }

    body.page-index .hero-content > .countdown .count-box {
        min-width: 0;
        padding: 9px 4px;
        border-radius: 8px;
    }

    body.page-index .hero-content > .countdown .count-box span {
        font-size: 1.12rem;
    }

    body.page-index .hero-content > .countdown .count-box small {
        font-size: .54rem;
        letter-spacing: .6px;
    }

    /* Proof footer: one unified three-column strip; fourth fact remains inside column 3. */
    body.page-index .hero-content > .hero-proof {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 11px 0 0;
        margin: 2px auto 0;
        border-top: 1px solid var(--border-subtle);
    }

    body.page-index .hero-content > .hero-proof .stat {
        min-width: 0;
        padding: 0;
    }

    body.page-index .hero-content > .hero-proof .stat strong {
        font-size: 1.18rem;
        line-height: 1.1;
    }

    body.page-index .hero-content > .hero-proof .stat span {
        font-size: .58rem;
        line-height: 1.2;
    }

    body.page-index .hero-content > .hero-proof .proof-secondary-value {
        margin-top: 5px;
        font-size: .98rem;
        line-height: 1.05;
    }

    /* Keep the atmospheric metaphor restrained behind mobile content. */
    body.page-index .hero::after {
        opacity: .22;
    }
}

@media (max-width: 380px) {
    body.page-index .hero {
        padding-left: 9px;
        padding-right: 9px;
    }

    body.page-index .hero-content > .hero-buttons .btn,
    body.page-index .hero-content > .hero-buttons .btn-primary,
    body.page-index .hero-content > .hero-buttons .btn-outline {
        font-size: .71rem;
        padding-left: 4px;
        padding-right: 4px;
    }

    body.page-index .hero-content > .hero-primary-telemetry,
    body.page-index .hero-content > .hero-secondary-telemetry {
        gap: 6px;
    }

    body.page-index .hero-content > .countdown {
        gap: 5px;
    }
}

/* =========================================================
   USER REQUEST — CTA BELOW COUNTDOWN + PROOF DAYS REPAIR
   Surgical CSS-only override. No unrelated changes.
   ========================================================= */

/* Spatial order: primary telemetry → secondary telemetry → countdown → CTA → proof. */
body.page-index .hero-content > .hero-primary-telemetry { order: 6; }
body.page-index .hero-content > .hero-secondary-telemetry { order: 7; }
body.page-index .hero-content > .countdown { order: 8; }
body.page-index .hero-content > .hero-buttons { order: 9; }
body.page-index .hero-content > .hero-proof { order: 10; }

/* Keep the two existing CTA buttons together and centered below the countdown. */
body.page-index .hero-content > .hero-buttons {
    margin-top: 0;
}

/* Repair the third proof column: Volunteers + Days of Events stay together
   as two factual mini-metrics instead of stacking the fourth fact underneath. */
body.page-index .hero-content > .hero-proof .hero-proof-combined {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "volunteers days"
        "volunteers-label days-label";
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
}

body.page-index .hero-content > .hero-proof .hero-proof-combined > strong:first-child {
    grid-area: volunteers;
    margin: 0;
}

body.page-index .hero-content > .hero-proof .hero-proof-combined > span:nth-child(2) {
    grid-area: volunteers-label;
    margin: 0;
}

body.page-index .hero-content > .hero-proof .hero-proof-combined > strong.proof-secondary-value {
    grid-area: days;
    margin: 0;
}

body.page-index .hero-content > .hero-proof .hero-proof-combined > span:last-child {
    grid-area: days-label;
    margin: 0;
}

@media (max-width: 600px) {
    /* Preserve the requested mobile sequence exactly. */
    body.page-index .hero-content > .hero-primary-telemetry { order: 6; }
    body.page-index .hero-content > .hero-secondary-telemetry { order: 7; }
    body.page-index .hero-content > .countdown { order: 8; }
    body.page-index .hero-content > .hero-buttons { order: 9; }
    body.page-index .hero-content > .hero-proof { order: 10; }

    /* Give the repaired two-part third proof column enough room to remain readable. */
    body.page-index .hero-content > .hero-proof .hero-proof-combined {
        column-gap: 4px;
    }

    body.page-index .hero-content > .hero-proof .hero-proof-combined > strong:first-child,
    body.page-index .hero-content > .hero-proof .hero-proof-combined > strong.proof-secondary-value {
        font-size: 1.05rem;
    }

    body.page-index .hero-content > .hero-proof .hero-proof-combined > span:nth-child(2),
    body.page-index .hero-content > .hero-proof .hero-proof-combined > span:last-child {
        font-size: .54rem;
        line-height: 1.15;
    }
}


/* =========================================================
   STATS LOCATION ONLY — preserve the existing repaired proof-strip
   styling after moving it below Events & Competitions.
   No other section is changed.
   ========================================================= */
body.page-index > .stats.hero-proof {
    width: min(760px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 16px 0;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
    background: transparent;
}
body.page-index > .stats.hero-proof .stat {
    text-align: center;
    background: transparent;
    border: 0;
    padding: 0;
}
body.page-index > .stats.hero-proof .hero-proof-combined {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "volunteers days"
        "volunteers-label days-label";
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
}
body.page-index > .stats.hero-proof .hero-proof-combined > strong:first-child {
    grid-area: volunteers;
    margin: 0;
}
body.page-index > .stats.hero-proof .hero-proof-combined > span:nth-child(2) {
    grid-area: volunteers-label;
    margin: 0;
}
body.page-index > .stats.hero-proof .hero-proof-combined > strong.proof-secondary-value {
    grid-area: days;
    margin: 0;
}
body.page-index > .stats.hero-proof .hero-proof-combined > span:last-child {
    grid-area: days-label;
    margin: 0;
}
@media (max-width: 600px) {
    body.page-index > .stats.hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 16px 8px;
    }
    body.page-index > .stats.hero-proof .hero-proof-combined {
        column-gap: 4px;
    }
    body.page-index > .stats.hero-proof .hero-proof-combined > strong:first-child,
    body.page-index > .stats.hero-proof .hero-proof-combined > strong.proof-secondary-value {
        font-size: 1.05rem;
    }
    body.page-index > .stats.hero-proof .hero-proof-combined > span:nth-child(2),
    body.page-index > .stats.hero-proof .hero-proof-combined > span:last-child {
        font-size: .54rem;
        line-height: 1.15;
    }
}

/* =========================================================
   USER REQUEST — CTA / NOTICE SPACING ONLY
   Keep all existing layout, content, colors, typography and
   functionality unchanged. Adds only breathing room requested.
   ========================================================= */
body.page-index .hero-content > .hero-buttons {
    margin-top: 16px;
}

body.page-index > .notice-board {
    margin-top: 25px;
}
/* =========================================================
   MECHNOVATION 2027
   FINAL ATMOSPHERIC VISUAL METAPHOR — HERO SYSTEM

   VISUAL METAPHOR
   ---------------------------------------------------------
   Monumental engineering structure = Challenging future
   Lone engineering student       = Ambition / potential
   Illuminated pathway            = Entering the challenge
   Atmospheric depth              = Uncertainty + possibility

   VISUAL GUIDELINES
   ---------------------------------------------------------
   Canvas             : #0A0A0A
   Surface            : #121212
   Photography        : Monochrome grayscale
   Primary Typography : #FFFFFF
   Secondary Text     : #9EA3A9
   Accent             : #CCFF00
   Divider            : #262626

   NO blue
   NO purple
   NO orange
   NO colorful background lighting
   NO artificial neon background
   NO unnecessary decorative graphics
   ========================================================= */


/* =========================================================
   01 — HERO CANVAS
   ========================================================= */

body.page-index .hero {
    position: relative;

    min-height: 100vh;

    background: #0A0A0A;

    overflow: hidden;

    border: 0;

    isolation: isolate;
}


/* =========================================================
   02 — CINEMATIC ENGINEERING PHOTOGRAPH
   =========================================================

   The actual photographic metaphor.

   The image itself contains:
   - monumental engineering structure
   - lone student
   - illuminated pathway
   - atmospheric haze
   - dramatic scale
   - industrial geometry

   The overlays below only protect typography.
   They do NOT introduce any new color.
   ========================================================= */

body.page-index .hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:

        /* -----------------------------------------------
           LEFT NEGATIVE SPACE PROTECTION
           Keeps headline area dark and readable.
           ----------------------------------------------- */

        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.93) 0%,
            rgba(10, 10, 10, 0.82) 20%,
            rgba(10, 10, 10, 0.58) 40%,
            rgba(10, 10, 10, 0.30) 62%,
            rgba(10, 10, 10, 0.55) 100%
        ),

        /* -----------------------------------------------
           LOWER CINEMATIC DEPTH
           Protects the student/path area from excessive
           brightness while preserving the metaphor.
           ----------------------------------------------- */

        linear-gradient(
            0deg,
            rgba(10, 10, 10, 0.88) 0%,
            rgba(10, 10, 10, 0.52) 30%,
            rgba(10, 10, 10, 0.14) 62%,
            rgba(10, 10, 10, 0.28) 100%
        ),

        /* -----------------------------------------------
           ACTUAL HERO IMAGE
           ----------------------------------------------- */

        url("../images/mechnovation-hero.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    /*
       Strict monochrome treatment.
       No colored photographic tone.
    */
    filter:
        grayscale(100%)
        contrast(1.05);

    /*
       Extremely subtle enlargement only to avoid
       edge artifacts.
    */
    transform: scale(1.01);

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   03 — ATMOSPHERIC DEPTH / CINEMATIC VIGNETTE
   =========================================================

   Neutral grayscale only.

   No blue.
   No purple.
   No orange.
   No colored glow.
   ========================================================= */

body.page-index .hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:

        /* -----------------------------------------------
           SUBTLE CENTER ATMOSPHERE
           ----------------------------------------------- */

        radial-gradient(
            ellipse at 62% 58%,
            rgba(255, 255, 255, 0.045) 0%,
            rgba(255, 255, 255, 0.018) 24%,
            rgba(255, 255, 255, 0) 52%
        ),

        /* -----------------------------------------------
           CINEMATIC EDGE VIGNETTE
           ----------------------------------------------- */

        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0) 28%,
            rgba(0, 0, 0, 0.22) 58%,
            rgba(0, 0, 0, 0.74) 100%
        );

    opacity: 1;

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   04 — HERO CONTENT LAYER
   =========================================================

   Desktop:
   Text occupies the clean upper-left / center-left
   negative space.

   The engineering structure remains visually dominant.
   ========================================================= */

body.page-index .hero-content {
    position: relative;

    z-index: 2;

    width: min(1200px, 100%);

    max-width: 1200px;

    margin: 0 auto;

    padding-left: 4vw;
    padding-right: 4vw;

    align-items: flex-start;

    text-align: left;

    /*
       Remove any previous architectural outline/frame.
       The photograph itself is the visual architecture.
    */
    outline: none;

    outline-offset: 0;
}


/* =========================================================
   05 — TOP MARQUEE
   ========================================================= */

body.page-index .top-marquee {
    width: 100%;

    max-width: 720px;

    margin-bottom: 16px;

    text-align: left;
}


/* =========================================================
   06 — HERO LOGO
   =========================================================

   Keep the existing logo.
   Remove excessive glow so the engineering photograph
   remains the primary visual.
   ========================================================= */

body.page-index .hero-logo {
    width: 92px;

    height: 92px;

    object-fit: contain;

    margin-bottom: 16px;

    filter: none;
}


/* =========================================================
   07 — ENGINEERING IDENTIFIER
   =========================================================

   Acid lime is used only as an interface accent.
   It is NOT used as atmospheric background lighting.
   ========================================================= */

body.page-index .hero-tag {
    color: #CCFF00;

    margin-bottom: 12px;

    text-align: left;
}


/* =========================================================
   08 — PRIMARY TYPOGRAPHY
   ========================================================= */

body.page-index .hero h1 {
    color: #FFFFFF;

    background: none;

    -webkit-background-clip: initial;
    background-clip: initial;

    -webkit-text-fill-color: #FFFFFF;

    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.68);

    text-align: left;
}


/* =========================================================
   09 — SECONDARY HEADLINE
   ========================================================= */

body.page-index .hero h2 {
    color: #FFFFFF;

    text-align: left;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.62);
}


/* =========================================================
   10 — HERO DESCRIPTION
   ========================================================= */

body.page-index .hero-description {
    color: #9EA3A9;

    max-width: 650px;

    margin-left: 0;
    margin-right: 0;

    text-align: left;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.72);
}


/* =========================================================
   11 — CTA SYSTEM
   =========================================================

   #CCFF00 is reserved for conversion actions.
   ========================================================= */

body.page-index .hero-buttons {
    width: auto;

    justify-content: flex-start;

    margin-top: 4px;
}


/* PRIMARY CTA */

body.page-index .hero-buttons .btn-primary {
    background: #CCFF00;

    color: #0A0A0A;

    border-color: #CCFF00;

    box-shadow:
        0 8px 28px rgba(204, 255, 0, 0.12);
}


/* SECONDARY CTA */

body.page-index .hero-buttons .btn-outline {
    color: #FFFFFF;

    background: rgba(10, 10, 10, 0.30);

    border-color: #3F3F46;

    backdrop-filter: blur(6px);
}


/* =========================================================
   12 — HERO INFORMATION CARDS
   =========================================================

   These are supporting telemetry, not the main visual.
   ========================================================= */

body.page-index .hero-info {
    align-self: center;

    text-align: center;

    margin-top: 12px;
}


body.page-index .hero-info .info-box {
    background: rgba(18, 18, 18, 0.82);

    border-color: #262626;

    backdrop-filter: blur(8px);
}


/* =========================================================
   13 — COUNTDOWN
   ========================================================= */

body.page-index .countdown,
body.page-index .countdown-label {
    align-self: center;

    text-align: center;
}


body.page-index .count-box {
    background: rgba(18, 18, 18, 0.84);

    border-color: #262626;

    backdrop-filter: blur(8px);
}


/* =========================================================
   14 — DESKTOP COMPOSITION
   ========================================================= */

@media (min-width: 901px) {

    body.page-index .hero {
        min-height: 100vh;
    }

    body.page-index .hero::before {
        background-position: center center;
    }

    body.page-index .hero-content {
        max-width: 1200px;

        padding-left: 4vw;
        padding-right: 4vw;
    }
}


/* =========================================================
   15 — TABLET COMPOSITION
   ========================================================= */

@media (max-width: 900px) {

    body.page-index .hero::before {
        background-position: 58% center;
    }

    body.page-index .hero-content {
        padding-left: 2vw;
        padding-right: 2vw;
    }
}


/* =========================================================
   16 — MOBILE ATMOSPHERIC COMPOSITION
   =========================================================

   Mobile returns to a centered hierarchy.

   The engineering structure and student remain visible,
   while the neutral overlay protects typography.
   ========================================================= */

@media (max-width: 600px) {

    body.page-index .hero {
        min-height: auto;

        background: #0A0A0A;
    }


    body.page-index .hero::before {

        background-image:

            /* -------------------------------------------
               MOBILE READABILITY OVERLAY
               ------------------------------------------- */

            linear-gradient(
                180deg,
                rgba(10, 10, 10, 0.78) 0%,
                rgba(10, 10, 10, 0.50) 40%,
                rgba(10, 10, 10, 0.74) 72%,
                rgba(10, 10, 10, 0.93) 100%
            ),

            /* -------------------------------------------
               ACTUAL HERO IMAGE
               ------------------------------------------- */

            url("../images/mechnovation-hero.png");

        background-size: cover;

        /*
           Slight right shift keeps the monumental
           structure and student within the composition.
        */
        background-position: 62% center;

        background-repeat: no-repeat;

        filter:
            grayscale(100%)
            contrast(1.03);

        transform: scale(1.02);
    }


    body.page-index .hero::after {

        background:

            radial-gradient(
                ellipse at center 55% 45%,
                rgba(255, 255, 255, 0.035) 0%,
                rgba(255, 255, 255, 0) 48%
            ),

            radial-gradient(
                ellipse at center,
                rgba(0, 0, 0, 0) 28%,
                rgba(0, 0, 0, 0.70) 100%
            );

        opacity: 1;
    }


    body.page-index .hero-content {

        width: 100%;

        max-width: 100%;

        padding-left: 0;
        padding-right: 0;

        align-items: center;

        text-align: center;

        outline: none;
    }


    body.page-index .top-marquee {
        text-align: center;
    }


    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {
        text-align: center;
    }


    body.page-index .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    body.page-index .hero-buttons {

        width: 100%;

        justify-content: center;
    }


    body.page-index .hero-info,
    body.page-index .countdown,
    body.page-index .countdown-label {

        align-self: center;
    }
}


/* =========================================================
   17 — VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    body.page-index .hero::before {
        background-position: 64% center;
    }

    body.page-index .hero-content {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================================================
   18 — ACCESSIBILITY / MOTION SAFETY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.page-index .hero *,
    body.page-index .hero::before,
    body.page-index .hero::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =========================================================
   MECHNOVATION 2027
   FINAL POLISH — ATMOSPHERIC VISUAL METAPHOR

   Purpose:
   Refine the existing cinematic hero without changing
   HTML, content, functionality or responsive structure.

   Visual priorities:
   1. Clean negative space for typography
   2. Monumental engineering structure
   3. Lone student as ambition metaphor
   4. Pathway as future/challenge metaphor
   5. Dark monochrome cinematic atmosphere
   6. Restrained premium editorial appearance
   ========================================================= */


/* =========================================================
   01 — DESKTOP: PROTECT THE NEGATIVE SPACE
   ========================================================= */

@media (min-width: 901px) {

    body.page-index .hero::before {
        background-image:

            /* LEFT TEXT PROTECTION */
            linear-gradient(
                90deg,
                rgba(10, 10, 10, 0.96) 0%,
                rgba(10, 10, 10, 0.86) 20%,
                rgba(10, 10, 10, 0.62) 38%,
                rgba(10, 10, 10, 0.30) 58%,
                rgba(10, 10, 10, 0.54) 100%
            ),

            /* LOWER CINEMATIC DEPTH */
            linear-gradient(
                0deg,
                rgba(10, 10, 10, 0.88) 0%,
                rgba(10, 10, 10, 0.48) 32%,
                rgba(10, 10, 10, 0.12) 68%,
                rgba(10, 10, 10, 0.28) 100%
            ),

            url("../images/mechnovation-hero.png");

        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;

        filter:
            grayscale(100%)
            contrast(1.04)
            brightness(0.88);
    }


    /* Keep the headline in the intended negative space */
    body.page-index .hero-content {
        max-width: 1200px;

        padding-left: 4vw;
        padding-right: 4vw;

        align-items: flex-start;

        text-align: left;
    }


    /* Keep text visually separated from the structure */
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {
        position: relative;
        z-index: 3;
    }


    /* Stronger readability without visible black box */
    body.page-index .hero h1 {
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.90),
            0 8px 30px rgba(0, 0, 0, 0.55);
    }


    body.page-index .hero h2 {
        text-shadow:
            0 2px 14px rgba(0, 0, 0, 0.80);
    }


    body.page-index .hero-description {
        text-shadow:
            0 2px 12px rgba(0, 0, 0, 0.85);
    }


    /* CTA stays in the clean left composition */
    body.page-index .hero-buttons {
        justify-content: flex-start;
    }
}


/* =========================================================
   02 — REMOVE UNNECESSARY ARTIFICIAL VISUAL LAYERS
   =========================================================

   The photograph itself is now the visual metaphor.
   No additional SVG/cliff/abstract silhouette should compete
   with the real engineering structure.
   ========================================================= */

body.page-index .hero::after {
    background:
        radial-gradient(
            ellipse at 62% 55%,
            rgba(255, 255, 255, 0.035) 0%,
            rgba(255, 255, 255, 0.012) 24%,
            rgba(255, 255, 255, 0) 50%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0) 25%,
            rgba(0, 0, 0, 0.18) 58%,
            rgba(0, 0, 0, 0.68) 100%
        );

    opacity: 1;
}


/* =========================================================
   03 — MARQUEE: SUPPORTING INFORMATION ONLY
   =========================================================

   Prevent the announcement from becoming more visually
   dominant than the engineering metaphor.
   ========================================================= */

body.page-index .top-marquee {
    max-width: 650px;

    opacity: 0.82;

    margin-bottom: 12px;
}


body.page-index .marquee-text {
    font-size: 0.76rem;

    letter-spacing: 1px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85);
}


/* =========================================================
   04 — LOGO: RESTRAINED PREMIUM TREATMENT
   ========================================================= */

body.page-index .hero-logo {
    filter:
        drop-shadow(
            0 4px 14px rgba(0, 0, 0, 0.65)
        );
}


/* =========================================================
   05 — LIME ACCENT CONTROL
   =========================================================

   Lime remains an action accent only.
   It must NOT become atmospheric lighting.
   ========================================================= */

body.page-index .hero-tag {
    color: #CCFF00;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.80);
}


body.page-index .hero-buttons .btn-primary {
    background: #CCFF00;

    color: #0A0A0A;

    border-color: #CCFF00;

    box-shadow:
        0 6px 22px rgba(204, 255, 0, 0.10);
}


/* =========================================================
   06 — INFORMATION CARDS

   Keep them subordinate to the photographic metaphor.
   ========================================================= */

body.page-index .hero-info .info-box,
body.page-index .count-box {

    background:
        rgba(18, 18, 18, 0.84);

    border-color: #262626;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.22);

    backdrop-filter: blur(8px);
}


/* =========================================================
   07 — MOBILE: PRESERVE THE CURRENT CENTERED COMPOSITION
   ========================================================= */

@media (max-width: 600px) {

    body.page-index .hero::before {

        background-image:

            /* MOBILE TEXT PROTECTION */
            linear-gradient(
                180deg,
                rgba(10, 10, 10, 0.84) 0%,
                rgba(10, 10, 10, 0.58) 32%,
                rgba(10, 10, 10, 0.38) 52%,
                rgba(10, 10, 10, 0.70) 76%,
                rgba(10, 10, 10, 0.93) 100%
            ),

            url("../images/mechnovation-hero.png");

        background-size: cover;

        background-position: 62% center;

        background-repeat: no-repeat;

        filter:
            grayscale(100%)
            contrast(1.04)
            brightness(0.90);

        transform: scale(1.02);
    }


    /* Keep mobile centered — this is intentional */
    body.page-index .hero-content {

        align-items: center;

        text-align: center;

        padding-left: 0;
        padding-right: 0;
    }


    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {

        text-align: center;
    }


    body.page-index .hero-description {

        margin-left: auto;
        margin-right: auto;
    }


    body.page-index .hero-buttons {

        justify-content: center;

        width: 100%;
    }


    /* Reduce marquee dominance on small screens */
    body.page-index .top-marquee {

        max-width: 100%;

        opacity: 0.70;

        margin-bottom: 8px;
    }


    body.page-index .marquee-text {

        font-size: 0.66rem;

        letter-spacing: 0.7px;
    }


    /* Keep the student/pathway visible beneath the content */
    body.page-index .hero::after {

        background:
            radial-gradient(
                ellipse at 62% 60%,
                rgba(255, 255, 255, 0.035) 0%,
                rgba(255, 255, 255, 0) 42%
            ),
            radial-gradient(
                ellipse at center,
                rgba(0, 0, 0, 0) 25%,
                rgba(0, 0, 0, 0.22) 58%,
                rgba(0, 0, 0, 0.72) 100%
            );
    }
}


/* =========================================================
   08 — VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    body.page-index .hero::before {

        background-position: 64% center;

        filter:
            grayscale(100%)
            contrast(1.03)
            brightness(0.88);
    }


    body.page-index .marquee-text {

        font-size: 0.62rem;

        letter-spacing: 0.55px;
    }
}
/* =========================================================
   MECHNOVATION 2027
   FINAL MICRO REFINEMENT
   Atmospheric Visual Metaphor — Premium Editorial Finish

   Scope:
   - Background restraint
   - Typography readability
   - Marquee control
   - Supporting-card hierarchy
   - Student / pathway visibility
   - Mobile cinematic balance

   No HTML changes.
   No JavaScript changes.
   No content changes.
   ========================================================= */


/* =========================================================
   01 — FINAL PHOTOGRAPHIC BALANCE
   ========================================================= */

body.page-index .hero::before {
    filter:
        grayscale(100%)
        contrast(1.03)
        brightness(0.84);
}


/* Keep the center/lower-center visual metaphor visible */
body.page-index .hero::after {
    background:
        radial-gradient(
            ellipse at 62% 60%,
            rgba(255, 255, 255, 0.025) 0%,
            rgba(255, 255, 255, 0.008) 24%,
            rgba(255, 255, 255, 0) 48%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0) 24%,
            rgba(0, 0, 0, 0.16) 52%,
            rgba(0, 0, 0, 0.70) 100%
        );
}


/* =========================================================
   02 — CLEANER TEXT ZONE
   ========================================================= */

body.page-index .hero h1 {
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.95),
        0 8px 28px rgba(0, 0, 0, 0.72);
}

body.page-index .hero h2 {
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.90),
        0 6px 20px rgba(0, 0, 0, 0.70);
}

body.page-index .hero-description {
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.95),
        0 6px 18px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   03 — MARQUEE CONTROL
   =========================================================

   The announcement remains available but becomes
   secondary to the Hero visual story.
   ========================================================= */

body.page-index .top-marquee {
    width: 100%;
    max-width: 100%;

    overflow: hidden;

    margin-bottom: 10px;

    opacity: 0.62;

    text-align: left;
}

body.page-index .marquee-text {
    display: inline-block;

    max-width: 100%;

    font-size: 0.68rem;

    letter-spacing: 0.65px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.90);
}


/* =========================================================
   04 — INFORMATION CARDS: LESS VISUAL WEIGHT
   ========================================================= */

body.page-index .hero-info .info-box,
body.page-index .count-box {

    background: rgba(18, 18, 18, 0.76);

    border-color: rgba(38, 38, 38, 0.92);

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.24);

    backdrop-filter: blur(7px);
}


/* Keep lime information values crisp,
   but prevent excessive glow. */

body.page-index .hero-info .info-box strong,
body.page-index .count-box span {
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   05 — DESKTOP
   ========================================================= */

@media (min-width: 901px) {

    body.page-index .hero::before {

        background-image:

            /* Clean left negative space */
            linear-gradient(
                90deg,
                rgba(10, 10, 10, 0.97) 0%,
                rgba(10, 10, 10, 0.88) 22%,
                rgba(10, 10, 10, 0.62) 40%,
                rgba(10, 10, 10, 0.28) 62%,
                rgba(10, 10, 10, 0.50) 100%
            ),

            /* Cinematic lower depth */
            linear-gradient(
                0deg,
                rgba(10, 10, 10, 0.90) 0%,
                rgba(10, 10, 10, 0.48) 32%,
                rgba(10, 10, 10, 0.10) 68%,
                rgba(10, 10, 10, 0.25) 100%
            ),

            url("../images/mechnovation-hero.png");

        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }


    /* Keep the content anchored in the negative-space zone */
    body.page-index .hero-content {
        max-width: 1200px;

        padding-left: 4vw;
        padding-right: 4vw;

        align-items: flex-start;

        text-align: left;
    }


    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {
        text-align: left;
    }


    body.page-index .hero-description {
        max-width: 610px;
    }


    body.page-index .hero-buttons {
        justify-content: flex-start;
    }
}


/* =========================================================
   06 — MOBILE
   =========================================================

   Mobile intentionally remains centered.
   The metaphor is preserved without forcing the
   desktop negative-space composition onto a narrow screen.
   ========================================================= */

@media (max-width: 600px) {

    body.page-index .hero::before {

        background-image:

            /* Protect central typography */
            linear-gradient(
                180deg,
                rgba(10, 10, 10, 0.86) 0%,
                rgba(10, 10, 10, 0.60) 34%,
                rgba(10, 10, 10, 0.38) 52%,
                rgba(10, 10, 10, 0.72) 76%,
                rgba(10, 10, 10, 0.94) 100%
            ),

            url("../images/mechnovation-hero.png");

        background-position: 62% center;
        background-size: cover;
        background-repeat: no-repeat;

        filter:
            grayscale(100%)
            contrast(1.02)
            brightness(0.82);

        transform: scale(1.02);
    }


    body.page-index .hero-content {

        align-items: center;

        text-align: center;

        padding-left: 0;
        padding-right: 0;
    }


    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {

        text-align: center;
    }


    body.page-index .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    body.page-index .hero-buttons {
        justify-content: center;
    }


    /* Keep the announcement subtle and contained */
    body.page-index .top-marquee {

        max-width: 100%;

        margin-bottom: 7px;

        opacity: 0.52;

        text-align: center;
    }


    body.page-index .marquee-text {

        font-size: 0.62rem;

        letter-spacing: 0.5px;
    }


    /* Preserve student + pathway visibility */
    body.page-index .hero::after {

        background:
            radial-gradient(
                ellipse at 62% 62%,
                rgba(255, 255, 255, 0.025) 0%,
                rgba(255, 255, 255, 0) 42%
            ),
            radial-gradient(
                ellipse at center,
                rgba(0, 0, 0, 0) 22%,
                rgba(0, 0, 0, 0.20) 56%,
                rgba(0, 0, 0, 0.74) 100%
            );
    }
}


/* =========================================================
   07 — VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    body.page-index .hero::before {

        background-position: 64% center;

        filter:
            grayscale(100%)
            contrast(1.02)
            brightness(0.80);
    }

    body.page-index .marquee-text {
        font-size: 0.58rem;
    }
}
/* =========================================================

/* =========================================================
   FINAL LAYOUT CONSOLIDATION
   Scope: Homepage Hero + Notice Board positioning only.
   This replaces the redundant final override stack.
   No HTML, JS, content, or feature behavior is changed.
   ========================================================= */

/* Desktop */
@media (min-width: 901px) {
    body.page-index .hero {
        min-height: auto !important;
        height: auto !important;
        padding: 82px 24px 10px !important;
        margin-bottom: 0 !important;
        align-items: flex-start !important;
    }

    body.page-index .hero-content {
        width: 100% !important;
        max-width: 920px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        text-align: center !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    body.page-index .top-marquee,
    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {
        width: 100%;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.page-index .hero-description {
        max-width: 650px !important;
    }

    body.page-index .hero-buttons,
    body.page-index .hero-primary-telemetry,
    body.page-index .hero-secondary-telemetry,
    body.page-index .hero-info,
    body.page-index .countdown,
    body.page-index .countdown-label,
    body.page-index .hero-proof {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.page-index .hero-content > .hero-buttons {
        justify-content: center !important;
        margin-bottom: 16px !important;
    }

    body.page-index .hero-content > .countdown {
        margin-bottom: 8px !important;
    }

    /* Preserve the currently requested desktop Notice Board position. */
    body.page-index > .notice-board {
        margin-top: 26px !important;
        position: relative;
        top: 30px;
    }
}

/* Tablet / narrow desktop */
@media (min-width: 601px) and (max-width: 900px) {
    body.page-index .hero {
        min-height: auto !important;
        padding: 28px 20px 22px !important;
        align-items: flex-start !important;
    }

    body.page-index .hero-content {
        width: 100% !important;
        max-width: 760px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-items: center !important;
        text-align: center !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    body.page-index .hero-tag,
    body.page-index .hero h1,
    body.page-index .hero h2,
    body.page-index .hero-description {
        width: 100%;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.page-index .hero h1 {
        margin-top: 0 !important;
    }

    body.page-index .hero h2 {
        margin-top: 8px !important;
    }

    body.page-index .hero-description {
        max-width: 620px;
    }

    body.page-index .hero-buttons,
    body.page-index .hero-info,
    body.page-index .countdown,
    body.page-index .countdown-label {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.page-index > .notice-board {
        margin-top: 8px !important;
        position: relative;
        top: 0;
    }
}

/* Mobile remains unchanged by this consolidation.
   Its existing rules above continue to control the layout. */


/* =========================================================
   HOMEPAGE REGISTRATION CARDS — IMAGE / CONTENT BLEND
   Visual-only refinement.
   Does NOT change registration links, JS, forms, or functionality.
   ========================================================= */

.registration-option-card {
    position: relative !important;
    overflow: hidden !important;
    background: #0D0F10 !important;
}

/* Keep the existing image exactly as supplied, but soften its
   right edge so it flows naturally into the content area. */
.registration-option-image {
    position: relative !important;
    z-index: 0 !important;
    isolation: isolate !important;
    box-shadow: inset -95px 0 85px -55px #0D0F10 !important;
}

/* Cinematic fade at the image/content boundary. */
.registration-option-image::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: -1px !important;
    bottom: 0 !important;
    width: 42% !important;
    background: linear-gradient(
        90deg,
        rgba(13, 15, 16, 0) 0%,
        rgba(13, 15, 16, 0.12) 18%,
        rgba(13, 15, 16, 0.48) 48%,
        rgba(13, 15, 16, 0.88) 78%,
        #0D0F10 100%
    ) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Let the content sit visually closer to the photograph without
   creating a hard vertical separation. */
.registration-option-content {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
}

/* Remove any visual seam while retaining the card's outer frame. */
.registration-option-card .registration-option-content {
    border-left: 0 !important;
    box-shadow: none !important;
}

/* Slightly stronger fade on narrow screens where the image is smaller. */
@media (max-width: 820px) {
    .registration-option-image {
        box-shadow: inset -80px 0 70px -45px #0D0F10 !important;
    }

    .registration-option-image::after {
        width: 50% !important;
        background: linear-gradient(
            90deg,
            rgba(13, 15, 16, 0) 0%,
            rgba(13, 15, 16, 0.18) 20%,
            rgba(13, 15, 16, 0.58) 52%,
            rgba(13, 15, 16, 0.92) 82%,
            #0D0F10 100%
        ) !important;
    }
}

@media (max-width: 560px) {
    .registration-option-image {
        box-shadow: inset -65px 0 60px -40px #0D0F10 !important;
    }

    .registration-option-image::after {
        width: 56% !important;
    }
}


/* =========================================================
   FEATURED EVENTS — FINAL VISUAL POLISH
   Scope: Featured Events cards only.
   - Darker cinematic imagery for stronger text contrast
   - Clearer text hierarchy with text shadows
   - Strong bottom/left gradient for readability
   - Centered Featured Events title
   - Calendar + clock icons remain visible
   - Bottom-right circular detail button
   ========================================================= */

.featured-events-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.featured-events-heading {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    text-align: center !important;
}

.featured-events-heading-title {
    grid-column: 2 !important;
    text-align: center !important;
}

.featured-events-label {
    text-align: center !important;
}

.featured-events-grid {
    gap: 16px !important;
}

.featured-event-card {
    min-height: 290px !important;
    height: 290px !important;
    isolation: isolate !important;
}

.featured-event-image,
.featured-event-image img {
    height: 100% !important;
}

/* Darker image treatment so white text stays clearly separated */
.featured-event-image img {
    filter: grayscale(100%) contrast(1.04) brightness(0.72) !important;
    transition: filter .35s ease, transform .5s ease !important;
}

.featured-event-card:hover .featured-event-image img {
    filter: grayscale(100%) contrast(1.04) brightness(0.78) !important;
}

/* Multi-layer overlay: darker overall + very strong bottom readability zone */
.featured-event-overlay {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.30) 34%,
            rgba(5, 5, 5, 0.66) 62%,
            rgba(5, 5, 5, 0.96) 100%
        ) !important;
    z-index: 1 !important;
}

.featured-event-body {
    z-index: 2 !important;
}

.featured-event-body h3 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .95) !important;
}

.featured-event-body p {
    color: #F1F1F1 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .95) !important;
}

.featured-event-tag {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .95) !important;
}

.featured-event-meta {
    align-items: center !important;
    position: relative !important;
    z-index: 3 !important;
}

.featured-event-meta > span:not(.featured-event-arrow) {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .95) !important;
}

.event-meta-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
}

.event-meta-icon svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
}

/* Bottom-right event-details button */
.featured-event-arrow {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    border-radius: 50% !important;
    background: var(--accent-lime) !important;
    border: 1px solid var(--accent-lime) !important;
    color: #000000 !important;
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    font-style: normal !important;
    text-shadow: none !important;
    transform: none !important;
    rotate: 0deg !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45) !important;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease !important;
}

.featured-event-arrow:hover {
    background: var(--accent-lime-hover) !important;
    border-color: var(--accent-lime-hover) !important;
    color: #000000 !important;
    transform: translateY(-2px) scale(1.06) !important;
    rotate: 0deg !important;
    box-shadow: 0 0 20px var(--accent-lime-glow) !important;
}

.featured-event-arrow:focus-visible {
    outline: 2px solid #FFFFFF !important;
    outline-offset: 3px !important;
}

.featured-event-arrow:active {
    transform: scale(.96) !important;
}

@media (max-width: 620px) {
    .featured-events-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    /* Keep the mobile cards compact and prevent long copy from making them tall. */
    .featured-event-card {
        min-height: 235px !important;
        height: 235px !important;
    }

    .featured-event-body {
        padding: 15px 13px 12px !important;
    }

    .featured-event-body h3 {
        font-size: 1.02rem !important;
        line-height: 1.08 !important;
    }

    .featured-event-body p {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        min-height: 2.5em !important;
        max-height: 2.5em !important;
        font-size: 0.67rem !important;
        line-height: 1.25 !important;
        margin: 6px 0 9px !important;
        color: #F1F1F1 !important;
    }

    .featured-event-meta {
        gap: 4px !important;
        font-size: 0.52rem !important;
    }

    .featured-event-meta > span:not(.featured-event-arrow) {
        gap: 2px !important;
        min-width: 0 !important;
    }

    .featured-event-meta > span:not(.featured-event-arrow) b {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .event-meta-icon {
        width: 11px !important;
        height: 11px !important;
        flex-basis: 11px !important;
    }

    .featured-event-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        flex-basis: 32px !important;
        font-size: 0.92rem !important;
        transform: none !important;
        rotate: 0deg !important;
    }
}



/* =========================================================
   FEATURED EVENTS — MOBILE META + PREMIUM ARROW BUTTON
   Final polish only; no other site features are changed.
   ========================================================= */

.featured-event-arrow {
    background: var(--accent-lime, #CCFF00);
    border: 1px solid var(--accent-lime, #CCFF00);
    color: #050505;
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 16px rgba(204, 255, 0, 0.16);
    font-weight: 800;
    transform: none !important;
    rotate: 0deg !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.featured-event-arrow:hover,
.featured-event-card:hover .featured-event-arrow {
    background: var(--accent-lime-hover, #B7F337);
    border-color: var(--accent-lime-hover, #B7F337);
    color: #050505;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.5),
        0 0 22px rgba(204, 255, 0, 0.25);
}

@media (max-width: 620px) {

    .featured-event-meta {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        padding-right: 42px !important;
        min-height: 43px !important;
        width: 100% !important;
    }

    .featured-event-meta > span:not(.featured-event-arrow) {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        width: auto !important;
        max-width: calc(100% - 2px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .featured-event-meta b {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .featured-event-arrow {
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.05rem !important;
        line-height: 1 !important;
        -webkit-tap-highlight-color: transparent;
    }
}


/* =========================================================
   FEATURED EVENTS — EXACT REFERENCE ARROW BUTTON
   Reference: small outlined circular button, dark/translucent
   fill, thin light border, centered white straight arrow.
   ========================================================= */

.featured-event-arrow {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(10, 10, 10, 0.32) !important;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    color: #FFFFFF !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.30) !important;
    transform: none !important;
    rotate: 0deg !important;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}

.featured-event-arrow:hover,
.featured-event-card:hover .featured-event-arrow {
    background: rgba(10, 10, 10, 0.58) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
    transform: scale(1.06) !important;
    rotate: 0deg !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

.featured-event-arrow:active {
    transform: scale(0.96) !important;
}

.featured-event-arrow:focus-visible {
    outline: 2px solid #FFFFFF !important;
    outline-offset: 2px !important;
}

@media (max-width: 620px) {
    .featured-event-arrow {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        flex-basis: 34px !important;
        font-size: 0.95rem !important;
        background: rgba(10, 10, 10, 0.40) !important;
        border-color: rgba(255, 255, 255, 0.68) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40) !important;
    }
}


/* =========================================================
   FINAL EVENT CARD POLISH
   - Event descriptions: bold for stronger readability
   - Desktop featured-event card/image height: slightly reduced
   - Mobile sizing remains controlled by existing mobile rules
   ========================================================= */

.featured-event-body p {
    font-weight: 700 !important;
}

/* Desktop/tablet only: slightly shorter featured-event cards */
@media (min-width: 621px) {
    .featured-event-card {
        min-height: 270px !important;
        height: 270px !important;
    }

    .featured-event-image,
    .featured-event-image img {
        height: 100% !important;
    }
}


/* =========================================================
   FEATURED EVENTS — LIME ACTIVE/PRESSED BUTTON
   Button fills acid-lime while it is being clicked/tapped.
   ========================================================= */

.featured-event-arrow:active {
    background: var(--accent-lime, #CCFF00) !important;
    border-color: var(--accent-lime, #CCFF00) !important;
    color: #050505 !important;
    box-shadow:
        0 0 0 2px rgba(204, 255, 0, 0.14),
        0 0 18px rgba(204, 255, 0, 0.28) !important;
    transform: scale(0.96) !important;
}

.featured-event-arrow:focus-visible {
    background: var(--accent-lime, #CCFF00) !important;
    border-color: var(--accent-lime, #CCFF00) !important;
    color: #050505 !important;
}


/* =========================================================
   FEATURED EVENTS — PERSISTENT ACTIVE BUTTON STATE
   Click/tap fills the complete circular button with acid lime.
   ========================================================= */

.featured-event-arrow.is-active,
.featured-event-arrow.is-active:hover,
.featured-event-arrow.is-active:focus,
.featured-event-arrow.is-active:focus-visible {
    background: var(--accent-lime, #CCFF00) !important;
    border-color: var(--accent-lime, #CCFF00) !important;
    color: #050505 !important;
    box-shadow:
        0 0 0 2px rgba(204, 255, 0, 0.14),
        0 0 18px rgba(204, 255, 0, 0.30) !important;
    transform: scale(0.98) !important;
}

/* =========================================================
   FEATURED EVENTS — DESKTOP CANVAS WIDTH ONLY
   Matches the Notice Board canvas width.
   No card, spacing, content, or mobile changes.
   ========================================================= */
@media (min-width: 621px) {
    body.page-index .featured-events-section {
        width: min(980px, 100%) !important;
        max-width: 980px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}
/* =========================================================
   FEATURED EVENTS — COMPACT DESKTOP CARDS
   Canvas remains 980px; only card width, height and gap change.
   Mobile layout remains untouched.
   ========================================================= */
@media (min-width: 621px) {
    body.page-index .featured-events-grid {
        grid-template-columns: repeat(3, 290px) !important;
        justify-content: center !important;
        gap: 35px !important;
    }

    body.page-index .featured-event-card {
        width: 290px !important;
        min-height: 240px !important;
        height: 240px !important;
    }
}

/* =========================================================
   HOMEPAGE HERO — LOWER CONTENT POSITION
   Surgical spacing adjustment only.
   Keeps the hero canvas/background and all content unchanged.
   Desktop/tablet content moves slightly downward with safe
   bottom breathing room so it does not overlap the next section.
   Mobile remains unchanged.
   ========================================================= */
@media (min-width: 901px) {
    body.page-index .hero {
        padding-top: 82px !important;
        padding-bottom: 18px !important;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    body.page-index .hero {
        padding-top: 48px !important;
        padding-bottom: 24px !important;
    }
}
@media (min-width: 901px) {
    body.page-index .hero-content {
        transform: translateY(35px) !important;
    }
}
@media (min-width: 901px) {
    #status-check .status-check-box > div:first-child {
        flex-direction: column !important;
        align-items: center !important;
    }

    #status-check .status-check-box #statusInput {
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        flex: none !important;
    }

    #status-check .status-check-box .btn-primary {
        width: auto !important;
        align-self: center !important;
        margin: 0 auto !important;
    }
}
/* Add spacing between Event Information items */
.hero-info .info-box {
    margin-bottom: 10px;
}

.hero-info .info-box:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MECHNOVATION 12X — SCHEDULE DESIGN 1 (POLISHED)
   Premium Two-Day Cards | CSS-only, existing content retained
   ========================================================= */
#schedule .schedule-grid {
    width: min(100%, 1080px);
    max-width: 1080px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

#schedule .day-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #303030;
    border-radius: 18px;
    background: linear-gradient(145deg, #141414 0%, #0F0F0F 72%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

#schedule .day-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #CCFF00;
    opacity: .95;
}

#schedule .day-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -75px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(204, 255, 0, .035);
    filter: blur(2px);
    pointer-events: none;
}

#schedule .day-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 255, 0, .5);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .34), 0 0 22px rgba(204, 255, 0, .05);
}

#schedule .day-title {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 25px 24px 22px;
    border-bottom: 1px solid #292929;
    background: linear-gradient(110deg, #181818 0%, #131313 100%);
    color: #FFFFFF;
    font-family: "Inter", "Noto Sans Bengali", sans-serif;
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 1.15px;
    font-variant-numeric: tabular-nums;
}

#schedule .day-card:nth-child(1) .day-title::before,
#schedule .day-card:nth-child(2) .day-title::before {
    display: block;
    width: fit-content;
    padding: 5px 8px;
    border: 1px solid rgba(204, 255, 0, .23);
    border-radius: 5px;
    background: rgba(204, 255, 0, .07);
    color: #CCFF00;
    font-size: .65rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 1.8px;
}

#schedule .day-card:nth-child(1) .day-title::before { content: "DAY 01"; }
#schedule .day-card:nth-child(2) .day-title::before { content: "DAY 02"; }

#schedule .day-content {
    position: relative;
    padding: 8px 19px 10px;
}

#schedule .schedule-item {
    position: relative;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px 5px;
    border-bottom: 1px solid #292929;
    color: #F1F1F1;
    font-size: .88rem;
    line-height: 1.5;
    transition: background-color .2s ease, padding .2s ease, border-color .2s ease;
}

#schedule .schedule-item:last-child { border-bottom: 0; }

#schedule .schedule-item:hover {
    padding-left: 10px;
    padding-right: 10px;
    border-bottom-color: rgba(204, 255, 0, .15);
    border-radius: 9px;
    background: rgba(204, 255, 0, .035);
}

#schedule .schedule-item span:first-child {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(204, 255, 0, .23);
    border-radius: 7px;
    background: rgba(204, 255, 0, .07);
    color: #CCFF00;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#schedule .schedule-item span:first-child::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #CCFF00;
    box-shadow: 0 0 8px rgba(204, 255, 0, .3);
}

#schedule .schedule-item span:last-child {
    min-width: 0;
    color: #F0F0F0;
    font-weight: 550;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    #schedule .schedule-grid {
        grid-template-columns: 1fr;
        width: min(100%, 560px);
        gap: 17px;
    }

    #schedule .day-card { border-radius: 15px; }
    #schedule .day-title { padding: 22px 20px 19px; }
    #schedule .day-content { padding: 7px 15px 8px; }

    #schedule .schedule-item {
        grid-template-columns: 102px minmax(0, 1fr);
        gap: 11px;
        min-height: 63px;
        padding: 11px 4px;
        font-size: .84rem;
    }
}

@media (max-width: 380px) {
    #schedule .schedule-item {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 8px;
        font-size: .8rem;
    }

    #schedule .schedule-item span:first-child {
        gap: 6px;
        padding: 7px 7px;
        font-size: .67rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #schedule .day-card,
    #schedule .schedule-item { transition: none; }
    #schedule .day-card:hover { transform: none; }
}


/* =========================================================
   MECHNOVATION 12X — TEAM CONTACT LINKS
   Placeholder links are samples and should be replaced later.
   Scoped to the Organizing Team cards only.
   ========================================================= */
.team-card h3 {
    margin: 16px 0 0;
    color: var(--text-primary, #FFFFFF);
    line-height: 1.35;
}

.team-contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle, #262626);
}

.team-contact-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid #303030;
    border-radius: 7px;
    background: #151515;
    color: #C8CDD2;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.team-contact-links a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13px;
    color: #CCFF00;
    font-size: .78rem;
    font-weight: 800;
}

.team-contact-links a:hover,
.team-contact-links a:focus-visible {
    color: #CCFF00;
    border-color: rgba(204, 255, 0, .55);
    background: rgba(204, 255, 0, .06);
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 420px) {
    .team-contact-links { gap: 6px; }
    .team-contact-links a { padding: 6px 7px; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
    .team-contact-links a { transition: none; }
    .team-contact-links a:hover,
    .team-contact-links a:focus-visible { transform: none; }
}
