/* ============================================= */
/* index.css — Page-specific styles for the homepage */
/* Body padding + sidebar layout live in partials/header.php */
/* ============================================= */

/* ============================================= */
/* FULL-WIDTH SECTIONS                           */
/* Every section spans the full page width.      */
/* Only the inner content is centered.           */
/* ============================================= */
html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body > section,
body > main > section,
body > footer,
body > header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Inner content stays centered and capped */
.section-container,
.hero-content,
.welcome-content,
.agent-inner,
.result-pins-inner,
.footer-content {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ============================================= */
/* RESET                                         */
/* ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1115;
    color: #e5e7eb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4,
.hero-title, .agent-title, .result-title, .welcome-title,
.product-title, .modal-title, .section-title, .pricing-title, .reseller-title {
    font-family: 'Montserrat', 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    margin: 0;
}

/* ============================================= */
/* CSS VARIABLES                                 */
/* ============================================= */
:root {
    --gold: #FF8C00;
    --gold-light: #FFD700;
    --gold-pale: #fff8ee;
    --green: #2e7d32;
    --green-light: #e8f5e9;
    --text: #1a1a2e;
    --muted: #6b7280;
    --border: #f0ebe3;
    --surface: #faf9f8;
}

/* ============================================= */
/* HERO SECTION — full width                     */
/* ============================================= */
.hero-section {
    background: linear-gradient(135deg, #16181f 0%, #0f1115 100%);
    width: 100%;
    padding: 3rem 0;
    margin: 0;
    box-sizing: border-box;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .hero-grid { flex-direction: row; align-items: center; gap: 3rem; }
    .hero-text, .hero-carousel { flex: 1; }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

.hero-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-badge {
    background: #1a1d24;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #FFD700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,215,0,0.1);
}

.hours-alert {
    background: #1a1d24;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.8rem;
    color: #cbd5e1;
    border: 1px solid #23262f;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hours-alert i { color: #FFD700; }
.hours-alert strong { color: #f1f5f9; }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: white;
    animation: pulse 1.5s infinite;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #FF8C00;
    color: #FF8C00;
}

.btn-outline-light:hover {
    background: #FF8C00;
    color: white;
}

@keyframes pulse {
    0%,100% { transform: scale(1); box-shadow: 0 2px 5px rgba(255,140,0,0.3); }
    50%     { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,140,0,0.5); }
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero-carousel { height: 350px; }
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-slide.active { opacity: 1; }
.slide-mtn        { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/Mtn as design.jpg'); }
.slide-telecel    { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/telecel.png'); }
.slide-airteltigo { background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)), url('/images/Airtel.png'); }

.slide-content {
    background: rgba(0,0,0,0.5);
    width: 100%;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.slide-content p {
    font-size: 0.85rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .slide-content h3 { font-size: 1.8rem; }
    .slide-content p  { font-size: 0.9rem; }
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: white;
    width: 24px;
    border-radius: 10px;
}

/* ============================================= */
/* GENERIC SECTION HELPERS                       */
/* ============================================= */
/* ============================================== */
/* ============================================== */
/* ANIMATED GRADIENT — Welcome title               */
/* Matches Quick Purchase title on buy-data.php    */
/* Placed LAST for highest priority                */
/* ============================================== */
.welcome-title.animated-gradient {
    background: linear-gradient(135deg, #8B0000, #800020, #FFFFFF, #0066CC, #FFD700) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: welcomeGradientFlow 3s ease infinite !important;
    color: transparent !important;
    text-shadow: none !important;
    font-weight: 800;
}

@keyframes welcomeGradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ============================================= */
/* WELCOME (logged-in) — full width              */
/* ============================================= */


.welcome-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(26,26,46,0.9);
}

.wallet-highlight {
    background: rgba(255,255,255,0.25);
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    margin: 0.5rem 0;
    font-weight: 600;
    color: #1a1a2e;
    backdrop-filter: blur(5px);
}

.nav-guide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-guide-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 0.8rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.nav-guide-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.3);
}

.nav-guide-item strong { color: #1a1a2e; }

/* ============================================= */
/* AGENT SECTION — full width                    */
/* ============================================= */
.agent-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b00 55%, #3a2200 100%);
    width: 100%;
    padding: 4rem 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.agent-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,215,0,0.12) 0%, transparent 55%),
                radial-gradient(ellipse at 10% 80%, rgba(255,140,0,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.agent-inner {
    position: relative;
    z-index: 1;
}

.agent-unlocked-banner {
    background: rgba(46,125,50,0.2);
    border: 1px solid rgba(129,199,132,0.4);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.agent-unlocked-banner i  { font-size: 2rem; color: #81c784; }
.agent-unlocked-banner h4 { color: #a5d6a7; font-size: 1rem; margin-bottom: 0.2rem; }
.agent-unlocked-banner p  { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.agent-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .agent-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.agent-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: #FFD700;
    padding: 0.3rem 0.9rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.agent-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.agent-title span {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agent-subtitle { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 0.4rem; }

.agent-pay-pill {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 3px 15px rgba(255,140,0,0.3);
}

.agent-pay-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,140,0,0.5);
}

/* Network tabs + price table */
.network-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.net-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.net-tab img { height: 20px; width: auto; object-fit: contain; }

.net-tab.active {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.4);
    color: #FFD700;
}

.net-tab:hover:not(.active) {
    background: rgba(255,255,255,0.12);
    color: white;
    transform: translateY(-2px);
}

.price-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.price-table thead tr {
    background: rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 2;
}

.price-table thead th {
    padding: 1rem;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-table thead th.center { text-align: center; }
.price-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.price-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.price-table tbody td { padding: 1rem; color: rgba(255,255,255,0.85); }
.price-table tbody td.center { text-align: center; }

.bundle-cell { display: flex; align-items: center; gap: 0.8rem; }
.bundle-cell img { height: 30px; width: auto; object-fit: contain; border-radius: 4px; }
.bundle-name { font-weight: 600; color: white; font-size: 0.9rem; }
.bundle-desc { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

.user-price-cell  { color: rgba(255,255,255,0.5); }
.agent-price-cell { color: #81c784; font-weight: 700; }

.blurred-cell {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    color: rgba(255,255,255,0.3);
}

.save-badge {
    background: rgba(46,125,50,0.25);
    color: #a5d6a7;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.network-panel { display: none; }
.network-panel.active { display: block; }

/* ============================================= */
/* RESULT PINS SECTION — full width              */
/* ============================================= */
.result-pins-section {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #2d1b00 100%);
    width: 100%;
    padding: 4rem 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    scroll-margin-top: 20px;
}

.result-pins-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/WAEC.png') repeat;
    background-size: 150px;
    opacity: 0.04;
    pointer-events: none;
    animation: watermarkFloat 60s linear infinite;
}

@keyframes watermarkFloat {
    0%   { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.result-pins-inner {
    position: relative;
    z-index: 1;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: #FFD700;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.result-title span {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Product cards */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .products-grid { flex-direction: row; gap: 2rem; }
}

.product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    backdrop-filter: blur(10px);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.3);
    border-color: rgba(255,215,0,0.3);
}

.product-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #CE1126 0%, #CE1126 33%, #FCD116 33%, #FCD116 66%, #006B3F 66%, #006B3F 100%);
    border-image-slice: 1;
}

.product-icon  { font-size: 3rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.product-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.product-price { font-size: 2rem; font-weight: 800; position: relative; z-index: 1; }

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.8rem;
    position: relative;
    z-index: 1;
}

.stock-available { background: rgba(46,125,50,0.8); color: #a5d6a7; }
.stock-out       { background: rgba(220,53,69,0.8); color: #ffcdd2; }

.btn-purchase {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #CE1126 0%, #CE1126 33%, #FCD116 33%, #FCD116 66%, #006B3F 66%, #006B3F 100%);
    background-size: 300% 100%;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background-position: 100% 0;
}

.btn-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.usage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.product-body { padding: 1.5rem; position: relative; z-index: 1; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }

.feature-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: #81c784; width: 18px; font-size: 0.8rem; }

/* ============================================= */
/* GUEST SECTIONS — full width                   */
/* ============================================= */
.auth-section        { width: 100%; padding: 4rem 0; background: #14161c; box-sizing: border-box; margin: 0; }
.howitworks-section  { width: 100%; padding: 4rem 0; background: #0f1115; box-sizing: border-box; margin: 0; }

.cta-section {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    width: 100%;
    padding: 4rem 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    color: white;
}

/* ============================================= */
/* NETWORKS SECTION — full width                 */
/* ============================================= */
.networks-section {
    width: 100%;
    padding: 4rem 0;
    background: #14161c;
    box-sizing: border-box;
    margin: 0;
}

.networks-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .networks-grid {
        flex-direction: row;
        max-width: 900px;
        gap: 2rem;
    }
}

.network-card {
    background: #1a1d24;
    border: 1px solid #23262f;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    transition: transform 0.3s;
}

.network-card:hover { transform: translateY(-5px); }
.network-card h4 { font-size: 1.1rem; margin-bottom: 0.3rem; color: #f1f5f9; }
.network-card p  { color: #9ca3af; font-size: 0.8rem; margin-bottom: 0.6rem; }

.network-badge {
    background: #1e3a1e;
    color: #86efac;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

.info-alert {
    background: #2a230a;
    color: #FDE68A;
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    border: 1px solid #3a2f0a;
    font-size: 0.85rem;
}

.info-alert i { color: #FFD700; }
.info-alert a { color: #FFD700; }

/* ============================================= */
/* FOOTER — full width                           */
/* ============================================= */
.footer {
    background: #0d0f14;
    width: 100%;
    border-top: 1px solid #1f2937;
    padding: 2rem 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    color: #9ca3af;
}

.footer-content { font-size: 0.75rem; }
.footer-links   { margin-top: 0.8rem; }

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 0.8rem;
    font-size: 0.75rem;
}

.footer-links a:hover { color: #FF8C00; }

/* ============================================= */
/* MODALS                                        */
/* ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
    background: linear-gradient(160deg, #1a1a2e, #2d1b00);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: all 0.35s cubic-bezier(.175,.885,.32,1.275);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.modal-icon {
    font-size: 2.5rem;
    color: #FFD700;
    display: block;
    margin-bottom: 0.8rem;
    animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50%     { transform: translateY(-6px) rotate(3deg); }
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-align: center;
}

.modal-title span {
    background: linear-gradient(90deg,#FFD700,#FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-summary {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: #FF8C00;
}

.modal-pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.modal-pay-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,140,0,0.45); }
.modal-pay-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.modal-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: 1rem;
}

.pin-display {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.pin-code {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #FFD700;
}

.result-info {
    background: rgba(46,125,50,0.2);
    border-radius: 12px;
    padding: 0.8rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #a5d6a7;
}

.waec-link {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
}

.login-prompt {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    color: #FDE68A;
    font-size: 0.85rem;
}

.login-prompt a { color: #FFD700; font-weight: bold; }

/* ============================================= */
/* TOAST                                         */
/* ============================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    background: #1a1a2e;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    max-width: 90vw;
}

.toast.show    { transform: translateY(0); opacity: 1; }
.toast.success { background: #1b5e20; }
.toast.error   { background: #b71c1c; }

/* ============================================= */
/* SPINNER                                       */
/* ============================================= */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
    color: #FF8C00;
}

@keyframes spinner { to { transform: rotate(360deg); } }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================= */
/* LIGHT MODE OVERRIDES                          */
/* ============================================= */
html:not(.dark-mode) body {
    background: #faf9f8;
    color: #1a1a2e;
}

html:not(.dark-mode) .hero-section {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

html:not(.dark-mode) .hero-description { color: #555; }
html:not(.dark-mode) .feature-badge     { background: #fff; color: #FF8C00; border-color: #ffe4b3; }
html:not(.dark-mode) .hours-alert       { background: #f0f0f0; color: #666; border-color: #e0e0e0; }
html:not(.dark-mode) .section-title     { color: #333; }
html:not(.dark-mode) .section-subtitle  { color: #666; }
html:not(.dark-mode) .auth-section      { background: #fff; }
html:not(.dark-mode) .howitworks-section{ background: #faf9f8; }
html:not(.dark-mode) .networks-section  { background: #fff; }
html:not(.dark-mode) .network-card      { background: #faf9f8; border-color: #f0ebe3; }
html:not(.dark-mode) .network-card h4   { color: #333; }
html:not(.dark-mode) .network-card p    { color: #666; }
html:not(.dark-mode) .network-badge     { background: #e8f5e9; color: #2e7d32; }
html:not(.dark-mode) .info-alert        { background: #fff3cd; color: #856404; border-color: #ffe69c; }
html:not(.dark-mode) .info-alert i      { color: #856404; }
html:not(.dark-mode) .footer            { background: #fff; border-top-color: #e8e8e8; color: #666; }
html:not(.dark-mode) .footer-content    { color: #666; }
html:not(.dark-mode) .footer-links a    { color: #666; }