/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0F172A;
    color: #E2E8F0;
    line-height: 1.7; /* Increased for better readability */
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary-bg: #0F172A;
    --primary-bg-light: #1E293B;
    --primary-bg-lighter: #334155;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #0F172A;
    --accent-blue: #003366;
    --accent-blue-bright: #2563EB;
    --accent-gold: #FFC107;
    --accent-gold-dark: #D4A006;
    --white: #FFFFFF;
    --light-gray: #F0F2F5;
    --kapistahan-red: #DC2626;
    --damayan-green: #16A34A;
    --kakampi-blue: #2563EB;
    --sagikapwa-teal: #0F766E;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-decorative: 'Playfair Display', serif;
    --container-width: 1240px;
    --section-padding: 8rem 0; /* More breathing room between sections */
    --border-radius: 1.25rem;
    --border-radius-lg: 1.5rem;
    --border-radius-sm: 0.5rem;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 5px; /* Increased letter spacing */
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}
.heading-decorated { position: relative; display: inline-block; }
.heading-decorated::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: var(--section-padding); }
.section-dark { background-color: var(--primary-bg); color: var(--text-light); }
.section-navy { background-color: var(--primary-bg-light); color: var(--text-light); }
.section-light { background-color: var(--white); color: var(--text-dark); }
.section-light p { color: #334155; }

.section-gray { background-color: var(--light-gray); color: var(--text-dark); }
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--text-light); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 18, 38, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.12);
    transition: all 0.3s ease;
    padding: 0;
    height: 64px;
}
.navbar.scrolled {
    background: rgba(9, 18, 38, 0.99);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-wrap: nowrap;
}
/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}
.navbar.scrolled .nav-brand img { height: 40px; }
.nav-brand-text h1 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
    line-height: 1.2;
    white-space: nowrap;
}
.nav-brand-text span {
    font-family: var(--font-body);
    font-size: 0.52rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    white-space: nowrap;
}
/* Nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.nav-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(226, 232, 240, 0.85);
    position: relative;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover {
    color: var(--accent-gold);
    background: rgba(255, 193, 7, 0.07);
}
.nav-link.active { color: var(--accent-gold); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
/* CTA button */
.nav-cta {
    background: var(--accent-gold);
    color: #0F172A;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
    border: 2px solid var(--accent-gold);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25);
}
/* Logout link */
.nav-logout {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F87171;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-logout:hover { color: #EF4444; background: rgba(239,68,68,0.08); }
/* Mobile Nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}
.btn-gold {
    background: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}
.btn-gold:hover::after { left: 100%; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3); }

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}
.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,255,255,0.2); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* ===== HERO SECTIONS ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-inner {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.95) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-emblem {
    width: 300px;
    height: auto;
    margin: 0 auto 2rem;
}
.hero-page {
    position: relative;
    padding: 10rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-blue) 50%, var(--primary-bg) 100%);
    overflow: hidden;
}
.hero-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.03" fill="white">BLESSED</text></svg>') repeat;
    background-size: 300px;
    animation: slideText 20s linear infinite;
}
@keyframes slideText {
    from { background-position: 0 0; }
    to { background-position: 300px 300px; }
}
.hero-page .subtitle { margin-bottom: 0.5rem; }
.hero-page h1 { margin-bottom: 1rem; }
.hero-page p { max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
    background: var(--primary-bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 193, 7, 0.2);
}
.card-light {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.card-light:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.card-icon svg { width: 28px; height: 28px; fill: var(--accent-gold); }

/* Program Cards */
.program-card {
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    cursor: pointer;
}
.program-card:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }
.program-kapistahan { background: var(--kapistahan-red); }
.program-damayan { background: var(--damayan-green); }
.program-kakampi { background: var(--kakampi-blue); }
.program-sagikapwa { background: var(--sagikapwa-teal); }

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #334155;
    border-radius: var(--border-radius-sm);
    background: var(--primary-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}
.form-control::placeholder { color: #64748B; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent-gold); }

/* Light form variant */
.form-light .form-control {
    background: var(--white);
    border-color: #E2E8F0;
    color: var(--text-dark);
}
.form-light .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-light label { color: #475569; }

/* Auth Card */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}
.auth-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    color: var(--text-dark);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}
.auth-card h2 {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}
.auth-card .subtitle {
    text-align: center;
    font-size: 0.65rem;
    margin-bottom: 2rem;
}
.auth-card .form-control {
    background: #F8FAFC;
    border-color: #E2E8F0;
    color: var(--text-dark);
}
.auth-card .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.auth-card label { color: #475569; }
.auth-card .btn-gold {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.8rem;
}
.auth-links a { color: var(--accent-blue-bright); font-weight: 600; transition: color 0.3s; }
.auth-links a:hover { color: var(--accent-gold); }
.auth-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    opacity: 0.03;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid rgba(255, 193, 7, 0.1);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }
.footer h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.footer-links a {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-light); }
.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footer-contact .icon { color: var(--accent-gold); min-width: 16px; }
.footer-newsletter p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid #334155;
}
.newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: var(--primary-bg-light);
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
}
.newsletter-form input::placeholder { color: #64748B; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 0.7rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--accent-gold-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

/* ===== FLASH MESSAGES ===== */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 400px;
    animation: slideInRight 0.5s ease forwards;
    box-shadow: var(--shadow-lg);
}
.flash-success {
    background: #065F46;
    color: #D1FAE5;
    border-left: 4px solid #10B981;
}
.flash-error {
    background: #991B1B;
    color: #FEE2E2;
    border-left: 4px solid #EF4444;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== QUOTE BOX ===== */
.quote-box {
    border-left: 4px solid var(--accent-gold);
    padding: 2rem 2.5rem;
    background: rgba(255, 193, 7, 0.03);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}
.quote-box p { color: inherit; }

/* ===== PROFILE CARD ===== */
.profile-card {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}
.profile-card .profile-photo {
    width: 200px;
    height: 240px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 193, 7, 0.2);
}
.profile-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.profile-card .role { color: var(--accent-gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; margin-bottom: 1rem; }
.profile-card .quote { font-style: italic; color: var(--text-muted); font-size: 0.9rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-bg-light) 100%);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}
.cta-banner h3 { margin-bottom: 1rem; }
.cta-banner p { max-width: 600px; margin: 0 auto 1.5rem; }

/* ===== CONTACT INFO ===== */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--primary-bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}
.contact-info-card:hover { background: var(--primary-bg-lighter); }
.contact-info-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-gold);
}
.contact-info-card .info h4 { font-family: var(--font-body); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-info-card .info p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ===== COMING SOON ===== */
.coming-soon-overlay {
    position: relative;
}
.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: var(--border-radius-sm);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}
.coming-soon-content {
    filter: blur(3px);
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

/* ===== MEMBER ID CARD ===== */
.id-card {
    width: 340px;
    height: 214px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-blue) 100%);
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
    box-shadow: var(--shadow-xl);
}
.id-card-top-bar { height: 6px; background: var(--accent-gold); }
.id-card-content { padding: 12px 16px; display: flex; gap: 12px; }
.id-card-photo {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255,193,7,0.3);
}
.id-card-info { flex: 1; }
.id-card-info .org { color: var(--accent-gold); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 4px; }
.id-card-info .name { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 2px; color: var(--text-light); }
.id-card-info .role-label { color: var(--text-muted); font-size: 0.65rem; margin-bottom: 6px; }
.id-card-info .uid { color: var(--accent-gold); font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; }
.id-card-qr { position: absolute; bottom: 30px; right: 16px; width: 60px; height: 60px; background: white; border-radius: 6px; padding: 4px; }
.id-card-qr canvas, .id-card-qr img { width: 100% !important; height: 100% !important; }
.id-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-blue);
    padding: 4px 16px;
    text-align: center;
}
.id-card-bottom span { font-size: 0.45rem; color: var(--text-muted); letter-spacing: 1px; }

/* ===== DASHBOARD ===== */
.dashboard-header {
    background: var(--primary-bg-light);
    padding: 2rem 0;
    margin-top: 70px;
}
.dashboard-header h2 { margin-bottom: 0.25rem; }
.dashboard-header p { margin: 0; }
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.stat-card {
    background: var(--primary-bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.stat-card:hover { border-color: rgba(255, 193, 7, 0.2); transform: translateY(-4px); }
.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--primary-bg-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.quick-link-card:hover {
    border-color: var(--accent-gold);
    transform: translateX(8px);
}
.quick-link-card .icon { font-size: 1.5rem; }

/* ===== ADMIN TABLE ===== */
.admin-table-wrapper { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.admin-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 2px solid #334155;
    background: var(--primary-bg);
    position: sticky;
    top: 0;
}
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-success { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.badge-info { background: rgba(37, 99, 235, 0.15); color: #2563EB; }

/* Search Bar */
.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--primary-bg);
    border: 2px solid #334155;
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-size: 0.9rem;
}
.search-bar input:focus { outline: none; border-color: var(--accent-gold); }

/* ===== VIDEO SECTION ===== */
.video-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}
.video-wrapper img { width: 100%; }
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-play-btn::after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--text-dark);
    margin-left: 4px;
}

/* ===== UPGRADE CARD ===== */
.upgrade-card {
    max-width: 500px;
    margin: 2rem auto;
    background: linear-gradient(135deg, var(--primary-bg-light), var(--accent-blue));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(255, 193, 7, 0.2);
    position: relative;
    overflow: hidden;
}
.upgrade-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    margin: 1rem 0;
}
.upgrade-price span { font-size: 1rem; color: var(--text-muted); }
.upgrade-benefits { text-align: left; margin: 1.5rem 0; }
.upgrade-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.upgrade-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-bg); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(9, 18, 38, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0.25rem;
        border-bottom: 2px solid rgba(255,193,7,0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-link { padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.8rem; width: 100%; }
    .nav-cta { margin-top: 0.5rem; text-align: center; justify-content: center; }
    .nav-logout { padding: 0.75rem 1rem; width: 100%; }
    .hero-emblem { width: 200px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 2rem 1.5rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero-page { padding: 7rem 0 3rem; }
    .section { padding: 3rem 0; }
    .contact-split { grid-template-columns: 1fr !important; }
    .nav-brand img { height: 40px; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-emblem { width: 160px; }
    .nav-brand img { height: 36px; }
    .nav-brand-text h1 { font-size: 0.78rem; }
    .id-card { width: 100%; max-width: 340px; height: auto; aspect-ratio: 340/214; }
}

/* ===== GLOW EFFECTS ===== */
.logo-glow {
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6)) drop-shadow(0 0 20px rgba(255, 193, 7, 0.4));
    transition: filter 0.4s ease;
}
.logo-glow:hover {
    filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.8)) drop-shadow(0 0 30px rgba(255, 193, 7, 0.6));
}