/* ==========================================================================
   Help Madhes - Modern Global Design System
   Brand Colors: Royal Navy, Madhesi Saffron Gold, Crimson Accent, Forest Emerald
   ========================================================================== */

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

:root {
    --primary: #0a1931;
    --primary-light: #152c52;
    --primary-dark: #050e1d;
    --secondary: #f59e0b;
    --secondary-hover: #d97706;
    --secondary-light: #fef3c7;
    --accent: #dc2626;
    --accent-light: #fee2e2;
    --success: #059669;
    --success-light: #d1fae5;
    --info: #0284c7;
    --info-light: #e0f2fe;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0b1528;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border-color: #e2e8f0;
    --border-dark: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --font-heading: 'Outfit', 'Mukta', sans-serif;
    --font-body: 'Inter', 'Mukta', sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
    padding-top: 68px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.top-bar {
    background: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.top-bar a:hover {
    color: var(--secondary);
}

.site-header {
    background: var(--bg-card);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-symbol-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-img {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary), #d97706);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.brand-text .brand-title, .brand-text h1 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.15;
}

.brand-text .brand-sub, .brand-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

/* ==========================================================================
   Central Press Notice Bar
   ========================================================================== */
.central-press-notice-bar {
    background: linear-gradient(90deg, #b45309 0%, #dc2626 50%, #991b1b 100%);
    color: #ffffff;
    padding: 0.45rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1010;
}

.notice-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.notice-live-chip {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(254, 240, 138, 0.4);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-beacon {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: beaconPulse 1.8s infinite;
}

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

.notice-message-text {
    color: #ffffff;
    font-weight: 600;
}

.notice-action-link {
    color: #fef08a;
    text-decoration: underline;
    font-weight: 800;
    font-size: 0.8rem;
    margin-left: 4px;
    transition: color 0.2s;
}

.notice-action-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   Header Direct Navigation (Only 2-3 links visible, super clean & fresh)
   ========================================================================== */
.header-direct-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-direct-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-direct-link:hover {
    color: var(--secondary-hover);
    background: rgba(245, 158, 11, 0.08);
}

.nav-direct-link.active {
    color: #0B3D91;
    background: rgba(11, 61, 145, 0.08);
    font-weight: 800;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-donate-btn {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    font-weight: 800;
    border-radius: 20px;
    padding: 0.4rem 1.1rem;
}

.header-login-link {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}

.header-login-link:hover {
    color: var(--secondary-hover);
}

/* Master Menu Button (Circular 3-bars icon only) */
.btn-master-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0a1931;
    color: #ffffff;
    border: 1.5px solid rgba(251, 191, 36, 0.45);
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(10, 25, 49, 0.2);
}

.btn-master-menu:hover {
    background: #152642;
    border-color: #fbbf24;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.menu-icon-bars {
    font-size: 1.25rem;
    line-height: 1;
    color: #fbbf24;
    display: block;
}

/* ==========================================================================
   Master Right-Side Slide-Out Drawer
   ========================================================================== */
.master-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 25, 49, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.master-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.master-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #0a1931;
    color: #e2e8f0;
    z-index: 2100;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.master-nav-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-logo-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.drawer-logo-img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.drawer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.drawer-subtitle {
    font-size: 0.72rem;
    color: #fbbf24;
    font-weight: 600;
    display: block;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background: #dc2626;
    color: #fff;
}

.drawer-content-scroll {
    padding: 1.1rem 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 191, 36, 0.3) transparent;
}

/* User Account & Register Box */
.drawer-account-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(11, 61, 145, 0.25) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.4);
    border-radius: 14px;
    padding: 1.1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.drawer-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0B3D91;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 2px solid #fbbf24;
    flex-shrink: 0;
}

.drawer-user-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.2;
}

.drawer-user-role {
    font-size: 0.72rem;
    color: #fbbf24;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 3px;
}

/* Clean Normal Navigation Links */
.drawer-clean-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-clean-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.drawer-clean-link .link-icon {
    font-size: 1.2rem;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.drawer-clean-link:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    transform: translateX(4px);
}

.drawer-clean-link.active {
    background: #0B3D91;
    border-color: #fbbf24;
    color: #fbbf24;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.35);
}

.drawer-clean-link.donate-highlight {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    font-weight: 700;
    margin-top: 0.5rem;
}

.drawer-clean-link.donate-highlight:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #ef4444;
}

.drawer-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #d97706);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: var(--text-white);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--secondary-light); color: var(--secondary-hover); }
.badge-danger { background: var(--accent-light); color: var(--accent); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-primary { background: #e0e7ff; color: #4338ca; }
.badge-dark { background: #e2e8f0; color: #334155; }

/* ==========================================================================
   Hero Section & Smart Interactive Banner
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #071326 0%, #0d2346 50%, #16386d 100%);
    color: #fff;
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(16, 185, 129, 0.08) 40%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

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

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

.hero-title {
    font-size: 3.1rem;
    color: #fff;
    margin-bottom: 1.1rem;
    line-height: 1.18;
    font-weight: 800;
}

.hero-title span {
    color: var(--secondary);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 1.8rem;
    max-width: 580px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
}

.stat-item h3 {
    font-size: 1.85rem;
    color: #fbbf24;
    margin-bottom: 0.15rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Smart Interactive Hero Showcase Card */
.smart-hero-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 158, 11, 0.12);
    position: relative;
    overflow: hidden;
}

.smart-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #10b981, #3b82f6, #f59e0b);
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.smart-tabs-nav {
    display: flex;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 5px;
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.smart-tabs-nav::-webkit-scrollbar {
    display: none;
}

.smart-tab-btn {
    flex: 1;
    min-width: max-content;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.smart-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.smart-tab-btn.active {
    background: linear-gradient(135deg, var(--secondary), #d97706);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.smart-tab-content {
    display: none;
    animation: fadeInTab 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Interactive Mini ID Card */
.hologram-id-preview {
    background: linear-gradient(135deg, #0a1931 0%, #102a54 60%, #1e3a8a 100%);
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.hologram-id-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    transform: rotate(25deg);
    pointer-events: none;
    animation: holoShine 6s infinite;
}

@keyframes holoShine {
    0% { transform: translateX(-100%) rotate(25deg); }
    30%, 100% { transform: translateX(100%) rotate(25deg); }
}

/* Anthem / Theme Song Player Card */
.anthem-preview-box {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1.5px solid rgba(124, 179, 66, 0.5);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
}

.anthem-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 32px;
    margin: 0.8rem 0;
}

.anthem-bar {
    width: 4px;
    background: #7CB342;
    border-radius: 4px;
    animation: waveBounce 1.2s ease-in-out infinite alternate;
}

.anthem-bar:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.anthem-bar:nth-child(3) { animation-delay: 0.4s; height: 28px; background: #fbbf24; }
.anthem-bar:nth-child(4) { animation-delay: 0.1s; height: 22px; }
.anthem-bar:nth-child(5) { animation-delay: 0.5s; height: 32px; background: #60a5fa; }
.anthem-bar:nth-child(6) { animation-delay: 0.3s; height: 16px; }
.anthem-bar:nth-child(7) { animation-delay: 0.6s; height: 26px; background: #7CB342; }

@keyframes waveBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* ==========================================================================
   Auth System (Login & Registration Page Modern Layout)
   ========================================================================== */

.auth-page-wrapper {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
}

.auth-showcase-panel {
    background: linear-gradient(145deg, #0B3D91 0%, #061c47 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(11, 61, 145, 0.35);
}

.auth-form-panel {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-mobile-header {
    display: none;
}

.password-field-group {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748b;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
}

.password-toggle-btn:hover {
    color: var(--primary);
}

/* Quick Demo Login Pills */
.quick-login-box {
    margin-top: 1.5rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 0.9rem;
    font-size: 0.8rem;
    color: #475569;
}

.quick-demo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.6rem;
}

.quick-role-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quick-role-pill:hover {
    background: var(--secondary-light);
    border-color: var(--secondary);
    color: var(--secondary-hover);
    transform: translateY(-1px);
}

/* Registration Steps Progress Bar */
.auth-steps-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    border: 1px solid transparent;
}

.step-indicator.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.step-indicator.completed {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.step-indicator.active .step-number {
    background: #2563eb;
}

.step-indicator.completed .step-number {
    background: #059669;
}

/* ==========================================================================
   Page Grid Layout Classes
   ========================================================================== */

.developer-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.project-feature-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.project-feature-card.is-even {
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}

/* ==========================================================================
   COMPACT SLEEK VIDEO HERO BANNER (Modern Cinema Widescreen Strip)
   ========================================================================== */

/* ==========================================================================
   DYNAMIC MULTI-SLIDE HERO BANNER CAROUSEL (eCommerce / Promo Slider)
   ========================================================================== */

.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #06142c;
    aspect-ratio: 16 / 7;
    min-height: 380px;
    max-height: 520px;
}

@media (min-width: 992px) {
    .hero-slider-container {
        aspect-ratio: 16 / 7;
        min-height: 420px;
        max-height: 540px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 220px !important;
        max-height: 290px !important;
    }
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Align actions and content toward bottom */
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    z-index: 1;
    padding: 1.25rem 1rem;
}

@media (min-width: 992px) {
    .hero-slide-item {
        padding: 2.25rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide-item {
        padding: 0.4rem 0.5rem;
    }
}

.hero-slide-item.active {
    position: absolute;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

/* Crisp Direct Slide Image (Preserves full wallpaper, 1080x340 fit, never cuts off from top) */
.hero-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
}

/* Dedicated Official Graphic Banner Contain Mode (Preserves 100% of emblem and flags) */
.hero-slide-item.slide-graphic-banner {
    background: #ffffff !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.hero-slide-img.hero-slide-img-contain {
    object-fit: contain !important;
    object-position: center center !important;
    background: #ffffff !important;
    width: 100% !important;
    height: 100% !important;
}

.banner-actions-float {
    display: inline-flex !important;
    gap: 0.6rem !important;
    background: rgba(10, 25, 49, 0.8) !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
    backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.4) !important;
    margin-bottom: 0.25rem !important;
}

.hero-banner-content {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    padding-bottom: 0.25rem !important;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 100% crystal clear top so wallpaper artwork/logos are completely visible; gentle bottom scrim only */
    background: linear-gradient(180deg, rgba(6, 20, 44, 0.0) 0%, rgba(6, 20, 44, 0.0) 50%, rgba(6, 20, 44, 0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    opacity: 0.85;
    filter: brightness(0.95) contrast(1.05);
    pointer-events: none;
}

/* Full-bleed YouTube Video Player (Clean playback, native controls) */
.hero-youtube-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.hero-youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

.hero-video-overlay {
    display: none;
}

/* Hero Slide Play Button Overlay (Non-Intrusive, Click to Watch Video Story) */
.hero-slide-play-trigger {
    position: absolute;
    bottom: 22px;
    right: 24px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 25, 49, 0.88);
    border: 1.5px solid #fbbf24;
    padding: 7px 18px 7px 10px;
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.hero-slide-play-trigger:hover {
    transform: scale(1.05);
    background: rgba(11, 61, 145, 0.95);
    border-color: #f59e0b;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}
.hero-play-icon-pulse {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
}
.hero-play-label {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #fbbf24;
}
@media (max-width: 640px) {
    .hero-slide-play-trigger {
        bottom: 12px;
        right: 12px;
        padding: 5px 12px 5px 8px;
    }
    .hero-play-label {
        font-size: 0.72rem;
    }
}

/* Discreet Mini Floating Sound Toggle Button */
.hero-sound-btn-mini {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 20;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 25, 49, 0.8);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-sound-btn-mini:hover {
    transform: scale(1.1);
    background: rgba(10, 25, 49, 0.95);
    border-color: #fbbf24;
}

.hero-video-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-video-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

/* Slider Progress Bar */
.hero-slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #7CB342);
    z-index: 10;
    width: 0%;
    transition: width 0.1s linear;
}

/* Navigation Chevrons */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(6, 20, 44, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.hero-slider-nav:hover {
    background: #0B3D91;
    border-color: #fbbf24;
    color: #fbbf24;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 12px;
}

.hero-slider-next {
    right: 12px;
}

@media (max-width: 576px) {
    .hero-slider-nav {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    .hero-slider-prev { left: 4px; }
    .hero-slider-next { right: 4px; }
}

/* Pagination Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 8;
}

.hero-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot.active {
    width: 24px;
    background: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.hero-ambient-controls {
    position: absolute;
    bottom: 10px;
    right: 14px;
    z-index: 9;
    display: flex;
    gap: 5px;
}

.btn-video-ctrl {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.btn-video-ctrl:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: #fbbf24;
    color: #fbbf24;
}

/* Compact Stats Strip Under Banner (Sleek, low-profile mini strip) */
.hero-compact-stats-strip {
    background: #081d3e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.32rem 0.5rem;
    color: #fff;
}

.hero-compact-stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.compact-stat-item {
    flex: 1;
    padding: 1px 4px;
    min-width: 0;
}

.compact-stat-item h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.15;
    white-space: nowrap;
}

.compact-stat-item p {
    margin: 0;
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

/* ==========================================================================
   SMART INTERACTIVE ACTION LEVEL HUB (Below Video Banner)
   ========================================================================== */

/* ==========================================================================
   NATIVE MOBILE APP-STYLE QUICK ACTION GRID (Touch-Friendly & Clean)
   ========================================================================== */
.app-action-section {
    padding: 1.25rem 0 1.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.app-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.app-action-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.app-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
    border-color: #0B3D91;
    text-decoration: none;
    color: #0B3D91;
}

.app-action-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.app-action-card:hover .app-action-icon-wrap {
    transform: scale(1.08);
}

.app-action-card.donate-act .app-action-icon-wrap { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.app-action-card.member-act .app-action-icon-wrap { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.app-action-card.verify-act .app-action-icon-wrap { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.app-action-card.team-act .app-action-icon-wrap { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }

.app-action-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
}

.app-action-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.app-action-sub {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
}

.app-action-arrow {
    margin-left: auto;
    font-size: 1rem;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.app-action-card:hover .app-action-arrow {
    transform: translateX(4px);
    color: #0B3D91;
}

@media (max-width: 991px) {
    .app-action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .app-action-card {
        padding: 0.85rem 0.75rem;
    }
    .app-action-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .app-action-title {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .app-action-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .app-action-card {
        padding: 0.75rem 0.6rem;
        gap: 0.5rem;
    }
    .app-action-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: 9px;
    }
    .app-action-title {
        font-size: 0.82rem;
    }
    .app-action-sub {
        font-size: 0.68rem;
    }
    .app-action-arrow {
        display: none;
    }
}

.action-levels-section {
    padding: 1.8rem 0 2.2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #e2e8f0;
}

/* 4-Column Smart Action Level Grid - Compact & Proportionate */
.action-levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.level-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px -2px rgba(11, 61, 145, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.15rem 1.05rem 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Glow Color Line on each card */
.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0B3D91;
    transition: height 0.25s ease;
}

.level-card.level-card-1::before { background: linear-gradient(90deg, #ef4444, #f59e0b); }
.level-card.level-card-2::before { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.level-card.level-card-3::before { background: linear-gradient(90deg, #059669, #10b981); }
.level-card.level-card-4::before { background: linear-gradient(90deg, #d97706, #fbbf24); }

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px -4px rgba(11, 61, 145, 0.14);
}

.level-card:hover::before {
    height: 5px;
}

.level-card.level-card-1:hover { border-color: #f87171; box-shadow: 0 12px 28px -4px rgba(239, 68, 68, 0.18); }
.level-card.level-card-2:hover { border-color: #60a5fa; box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.18); }
.level-card.level-card-3:hover { border-color: #34d399; box-shadow: 0 12px 28px -4px rgba(5, 150, 105, 0.18); }
.level-card.level-card-4:hover { border-color: #fbbf24; box-shadow: 0 12px 28px -4px rgba(217, 119, 6, 0.18); }

/* Watermark Number */
.level-watermark {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(15, 23, 42, 0.04);
    pointer-events: none;
    user-select: none;
    font-family: monospace;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #eff6ff;
    color: #0B3D91;
    border-radius: 14px;
    padding: 2px 7px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    border: 1px solid #bfdbfe;
    margin-bottom: 0.45rem;
}

.level-badge.primary { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.level-badge.success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.level-badge.warning { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.level-badge.danger  { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.level-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.level-card-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0a1931;
    margin: 0 0 0.15rem;
}

.level-card-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
    margin-bottom: 0.55rem;
}

/* Interactive Amount Selectors in Level 1 */
.smart-amount-pills {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.smart-amount-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.smart-amount-pill:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.smart-amount-pill.active {
    background: #ef4444;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* 3-Step Micro Onboarding in Level 2 */
.smart-steps-mini {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 7px;
    margin-bottom: 0.55rem;
}

.smart-step-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #334155;
    font-weight: 600;
}

.smart-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Real-Time Autofill Chip in Level 3 */
.smart-sample-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #ecfdf5;
    border: 1px dashed #059669;
    color: #065f46;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.67rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 0.55rem;
    transition: all 0.2s ease;
}

.smart-sample-chip:hover {
    background: #059669;
    color: #ffffff;
}

/* Country Chapter Chips in Level 4 */
.smart-country-grid {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.smart-country-chip {
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #92400e;
    cursor: default;
    transition: all 0.2s ease;
}

.smart-country-chip:hover {
    background: #fef3c7;
    border-color: #f59e0b;
}

/* Quick QR Modal Box */
.quick-qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 20, 44, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.quick-qr-modal-overlay.active {
    display: flex;
}

.quick-qr-modal-box {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: modalPopIn 0.3s ease;
    border: 2px solid #fbbf24;
    text-align: center;
}

/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 20, 44, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1.5rem;
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal-box {
    background: #0a1931;
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 20px;
    width: 100%;
    max-width: 820px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.video-modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
}

.video-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.video-modal-body {
    padding: 1.5rem;
}

.video-player-frame {
    width: 100%;
    height: 380px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-lyrics-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(124, 179, 66, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

/* ==========================================================================
   Section Common
   ========================================================================== */

.section {
    padding: 4.5rem 0;
}

.section-bg-alt {
    background-color: #f1f5f9;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-hover);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Campaigns & Cards
   ========================================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.campaign-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Top of photo is NEVER cut off */
    transition: transform 0.4s ease;
}

.campaign-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 25, 49, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.card-title a:hover {
    color: var(--secondary-hover);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Progress bar */
.progress-wrap {
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.progress-bar-bg {
    width: 100%;
    height: 9px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #f59e0b, #10b981);
    border-radius: var(--radius-full);
    transition: width 0.8s ease-in-out;
}

.card-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Teams Showcase
   ========================================================================== */

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.team-flag {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.team-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.team-leader {
    color: var(--secondary-hover);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.team-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.team-meta {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Donation Page & Form
   ========================================================================== */

.donate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.bank-info-box {
    background: linear-gradient(145deg, #0a1931, #132b50);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-xl);
}

.bank-info-box h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 0.75rem;
}

.bank-detail-item {
    margin-bottom: 1rem;
}

.bank-detail-item label {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.bank-detail-item .value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fef08a;
    font-family: monospace;
}

.qr-codes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.qr-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.qr-card img, .qr-placeholder {
    width: 130px;
    height: 130px;
    margin: 0 auto 0.5rem;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.form-label span.req {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: var(--success-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error, .alert-danger {
    background-color: var(--accent-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: var(--secondary-light);
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: var(--info-light);
    color: #075985;
    border: 1px solid #bae6fd;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #071326;
    color: #94a3b8;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE APP BOTTOM NAVIGATION BAR (Fixed Touch Tab Bar)
   ========================================================================== */
.mobile-bottom-nav {
    display: none; /* Hidden on Desktop / Tablet */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 25, 49, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
    z-index: 1999;
    padding: 0 0.5rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
    justify-content: space-around;
    align-items: center;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }
    body {
        padding-bottom: 68px !important; /* Space for fixed bottom bar */
    }
}

/* ==========================================================================
   DESKTOP-ONLY DEVELOPER ATTRIBUTION & CLUTTER (HIDDEN ON MOBILE, TABLET & APK APP)
   ========================================================================== */
.desktop-only-dev-credit {
    display: inline-flex;
}

@media (max-width: 991px) {
    .desktop-only-dev-credit,
    .desktop-only-footer-col,
    .dev-attribution-badge,
    .developer-credit-box {
        display: none !important;
        visibility: hidden !important;
    }
}

body.is-app-mode .desktop-only-dev-credit,
body.is-app-mode .desktop-only-footer-col,
body.is-app-mode .dev-attribution-badge,
body.is-app-mode .developer-credit-box,
body.is-app-mode .site-footer {
    display: none !important;
    visibility: hidden !important;
}

@media all and (display-mode: standalone) {
    .desktop-only-dev-credit,
    .desktop-only-footer-col,
    .dev-attribution-badge,
    .developer-credit-box,
    .site-footer {
        display: none !important;
        visibility: hidden !important;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 0 4px;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #fbbf24;
    text-decoration: none;
}

.mobile-nav-icon {
    font-size: 1.35rem;
    line-height: 1.2;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.15);
}

.mobile-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* Elevated Center Heart Donate FAB */
.mobile-nav-item.mobile-nav-donate {
    overflow: visible;
    position: relative;
    margin-top: -16px;
}

.donate-fab-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.55), 0 0 0 4px #0a1931;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
}

.mobile-nav-item.mobile-nav-donate:active .donate-fab-circle {
    transform: scale(0.92);
}

.donate-fab-icon {
    font-size: 1.45rem;
    animation: pulseHeart 2s infinite ease-in-out;
}

@keyframes pulseHeart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.mobile-nav-item.mobile-nav-donate .donate-label {
    color: #fbbf24;
    font-weight: 800;
    font-size: 0.72rem;
    margin-top: 3px;
}

/* ==========================================================================
   Responsive Breakpoints
   All responsive overrides are managed in /assets/css/responsive.css
   (Mobile-first, 3 breakpoints: <767px | 768-1024px | 1025px+)
   ========================================================================== */
