/* ===========================================================
   BonusMantra - Modern Fast UI Theme (2025 Edition)
   Clean, light, and extremely smooth for maximum engagement
   =========================================================== */

:root {
    --brand-primary: #0056FF;
    --brand-primary-dark: #003BB3;
    --brand-gradient-start: #4e54c8;
    --brand-gradient-end: #8f94fb;
    --accent-yellow: #FFC107;
    --accent-gold: #FDD54F;
    --text-dark: #0F172A;
    --text-muted: #5D6A85;
    --text-light: #FFFFFF;
    --background-light: #F4F7FE;
    --background-card: #FFFFFF;
    --background-dark: #0D1117;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 12px 32px rgba(0, 0, 0, 0.15);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

body {
    margin: 0;
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    background: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 17px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

h1 { font-size: 48px !important; }
h2 { font-size: 32px !important; }
h3 { font-size: 26px !important; }
h4 { font-size: 22px !important; }

small, .text-small { font-size: 14px; }

/* ===================== HEADER ====================== */

header {
    background: var(--brand-primary);
    padding: 12px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-btn {
    background: var(--accent-yellow);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.nav-mobile a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.mobile-btn {
    background: var(--accent-yellow);
    padding: 10px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: block;
    }
    .nav-mobile {
        display: none;
    }
    .tools-section {
        padding: 60px 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .tool-card {
        padding: 24px;
    }
    .best-bonus-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 18px;
    }
    .bb-text {
        white-space: normal;
    }
    .best-bonus-cards {
        padding: 0 18px 50px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 80px;
    }
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav a {
    color: var(--text-light);
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.25s ease;
}

nav a:hover {
    opacity: 0.85;
    color: var(--accent-gold);
    transform: translateY(-1px);
}

/* ===================== PAGE SECTIONS ====================== */

.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 45px 20px;
}

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

.btn {
    background: var(--accent-yellow);
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: 0.25s ease;
    font-size: 15px;
}

.btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* Capsule-style buttons if needed */
.btn-round {
    border-radius: 50px;
}

/* ===================== OUTPUT BOXES ====================== */

.output-box {
    background: var(--background-card);
    padding: 22px;
    margin-top: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    animation: fadeIn 0.3s ease;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.helper {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ===================== CARDS (Used in tools & referral pages) ====================== */

.card, .referral-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
}

.card:hover, .referral-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.card h3, .referral-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--brand-primary);
}

/* ===================== GRID SYSTEM ====================== */

.grid,
.tools-grid,
.referral-grid {
    display: grid;
    gap: 24px;
}

/* Dynamic responsive cards */
.tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.referral-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===================== LINKS ====================== */

a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    color: var(--brand-primary-dark);
    text-decoration: underline;
}

/* ===================== FOOTER ====================== */

footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 15px 12px;
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* ===================== RESPONSIVE FIXES ====================== */

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    h1 { font-size: 32px !important; }
    h2 { font-size: 26px !important; }
    h3 { font-size: 22px !important; }
    h4 { font-size: 20px !important; }
    header {
        padding: 12px 16px;
    }
    nav a {
        margin-left: 12px;
        font-size: 14px;
    }
    .section {
        padding: 30px 16px;
    }

    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: block;
    }
    .nav-mobile {
        display: none;
    }
}


/* --- BonusMantra extras --- */

.hero {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 48px !important;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--accent-yellow);
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: inline-block;
}
.btn-secondary {
    background: rgba(255,255,255,0.2);
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(3px);
}

.tools-section {
    padding: 80px 24px;
    background: var(--background-light);
}

.tools-section .container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: auto;
}

.tool-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--text-dark);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.tool-icon {
    height: 60px;
    width: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 26px;
}

.tool-icon.blue { background: #4e54c8; }
.tool-icon.green { background: #00C853; }
.tool-icon.purple { background: #9C27B0; }
.tool-icon.yellow { background: #FFC107; }
.tool-icon.orange { background: #FF7043; }
.tool-icon.red { background: #D32F2F; }

.tool-card h3 {
    font-size: 20px;
    font-weight: 600;
}

.tool-card p {
    font-size: 15px;
    color: var(--text-muted);
}

.best-bonus {
    background: #020617;
    color: #E5E7EB;
    padding: 0 0 70px 0;
}
.best-bonus-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 16px;
    background: #0B1120;
    color: #E5E7EB;
    font-size: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}
.bb-label {
    background: #F97316;
    color: #111827;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}
.bb-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bb-cta {
    background: #FACC15;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.best-bonus-cards {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}
.offer-card {
    background: radial-gradient(circle at top left, #1F2937, #020617);
    border-radius: 20px;
    padding: 24px 22px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.5);
    position: relative;
    overflow: hidden;
}
.offer-tag {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #F97316;
    color: #111827;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.offer-tag-green { background: #22C55E; }
.offer-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #F9FAFB;
}
.offer-card p {
    font-size: 14px;
    color: #CBD5F5;
    margin-bottom: 10px;
}
.offer-card ul {
    padding-left: 18px;
    margin: 0 0 16px 0;
    color: #9CA3AF;
    font-size: 13px;
}
.offer-card li { margin-bottom: 4px; }
.offer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.offer-badge {
    font-size: 13px;
    background: rgba(56, 189, 248, 0.2);
    border-radius: 999px;
    padding: 6px 10px;
    color: #E0F2FE;
}
.offer-btn {
    background: #FACC15;
    color: #111827;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.offer-btn.secondary {
    background: #38BDF8;
    color: #0F172A;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
bottom:0;left:0;width:100%;height:68px;position:fixed;background:#ffffff;border-top:1px solid rgba(0,0,0,0.12);display:none;justify-content:space-around;align-items:center;z-index:9999;}
.mb-item {flex-direction:column;text-decoration:none;color:#374151;font-size:12px;display:flex;align-items:center;gap:4px;}
.mb-item i {font-size:18px;}
.mb-center-btn {position:relative;top:-22px;text-align:center;text-decoration:none;}
.mb-center-icon {height:52px;width:52px;background:#FACC15;border-radius:50%;box-shadow:0 6px 18px rgba(0,0,0,0.25);display:flex;justify-content:center;align-items:center;}
.mb-center-icon i {color:#111827;font-size:22px;font-weight:bold;}
.mb-center-btn span {font-size:12px;color:#111827;margin-top:-10px;display:block;}

.install-app-btn {
    background: #0056FF;
    color: #FFF;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    margin: 20px auto;
    display: none;
    font-size: 16px;
    font-weight: 600;
}


.site-footer {
    background: #020617;
    color: #9CA3AF;
    padding: 50px 24px 20px;
    margin-top: 0;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-logo {
    height: 30px;
    width: auto;
}
.logo img,
.logo-img {
    max-height: 32px;
    width: auto;
}
.footer-brand span {
    font-size: 18px;
    font-weight: 600;
    color: #E5E7EB;
}
.footer-text {
    font-size: 14px;
    color: #9CA3AF;
    max-width: 320px;
}
.footer-col h4 {
    color: #E5E7EB;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 6px;
    transition: 0.2s;
}
.footer-col a:hover {
    color: #FACC15;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6B7280;
}
.footer-social {
    display: flex;
    gap: 14px;
}
.footer-social a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 13px;
}
.footer-social a:hover {
    color: #FACC15;
}
.card {
    background: var(--background-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: 0.2s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}
.card a.btn-link {
    background: var(--brand-primary);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
}

/* Sticky "Best Bonus Today" bar */
.sticky-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--background-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 14px;
    z-index: 999;
}
.sticky-bar a {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.sticky-bar .close-stick {
    margin-left: 12px;
    cursor: pointer;
    font-weight: bold;
}
.helper {
    color: var(--text-muted);
    line-height: 1.7;
}
.table-simple {
    width: 100%;
    border-collapse: collapse;
}
.table-simple th,
.table-simple td {
    border: 1px solid #ddd;
    padding: 8px;
}
.table-simple th {
    background: #f0f0f0;
    text-align: left;
}

