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

:root {
  --primary:       #0B2D6B;
  --primary-dark:  #071E4A;
  --primary-light: #1A4D9E;
  --accent:        #1E7FD4;
  --accent-light:  #4BA3F0;
  --accent-gold:   #F5A623;
  --text-dark:     #1A1A2E;
  --text-gray:     #4A5568;
  --text-light:    #718096;
  --bg-light:      #F7F9FC;
  --border:        #E2E8F0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.15);
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px;
}
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; }

/* ── NAVBAR ── */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--primary-dark); box-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent-light); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 8px 14px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 6px; transition: all .2s; white-space: nowrap; cursor: pointer; background: none; border: none; font-family: inherit; }
.nav-link i { font-size: 10px; opacity: .7; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 12px; min-width: 230px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s; border: 1px solid var(--border); max-height: calc(100vh - 80px); overflow-y: auto; z-index: 100; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--text-dark); text-decoration: none; font-size: 14px; border-radius: var(--r-sm); transition: background .15s; }
.dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.dropdown a i { width: 18px; color: var(--accent); font-size: 13px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-outline { padding: 8px 18px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; background: transparent; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-primary { padding: 8px 18px; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

/* ── REWARDS SUB-NAV ── */
.rewards-subnav { background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.rewards-subnav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.rewards-subnav-inner::-webkit-scrollbar { display: none; }
.rsnav-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--text-gray); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; }
.rsnav-tab:hover { color: var(--primary); }
.rsnav-tab.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 700; }
.rsnav-thumb { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; background-size: cover; background-position: center; opacity: .8; transition: opacity .2s; }
.rsnav-tab:hover .rsnav-thumb { opacity: 1; }
.rsnav-tab.active .rsnav-thumb { opacity: 1; box-shadow: 0 0 0 2px rgba(30,127,212,.5); }
.rnt-calc     { background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=56&q=80&fit=crop'); }
.rnt-partners { background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=56&q=80&fit=crop'); }
.rnt-cashback { background-image: url('https://images.unsplash.com/photo-1579621970795-87facc2f976d?w=56&q=80&fit=crop'); }
.rnt-travel   { background-image: url('https://images.unsplash.com/photo-1529699211952-734e80c4d42b?w=56&q=80&fit=crop'); }
.rnt-maximize { background-image: url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?w=56&q=80&fit=crop'); }
.rnt-balance  { background-image: url('https://images.unsplash.com/photo-1580519542036-c47de6196ba5?w=56&q=80&fit=crop'); }

/* ── USER NAV ── */
.user-nav { position: relative; }
.user-btn { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22); border-radius: 100px; cursor: pointer; transition: all .2s; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; }
.user-btn:hover { background: rgba(255,255,255,.18); }
.user-avatar-sm { width: 30px; height: 30px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.user-btn .fa-chevron-down { font-size: 10px; opacity: .65; }
.user-dropdown { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 226px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s; z-index: 2000; }
.user-nav.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-header { padding: 10px 12px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.user-dropdown-name { font-size: 15px; font-weight: 700; }
.user-dropdown-email { font-size: 12px; color: var(--text-gray); margin-top: 2px; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--text-dark); text-decoration: none; font-size: 14px; border-radius: var(--r-sm); transition: background .15s; }
.user-dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.user-dropdown a i { width: 16px; color: var(--accent); font-size: 13px; }
.user-dropdown-divider { height: 1px; background: var(--border); margin: 8px 0; }
.user-signout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; color: #DC2626; background: none; border: none; font-size: 14px; cursor: pointer; border-radius: var(--r-sm); transition: background .15s; font-family: inherit; }
.user-signout:hover { background: #FEF2F2; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; background: none; border: none; cursor: pointer; gap: 5px; padding: 6px; border-radius: 6px; transition: background .2s; margin-left: auto; flex-shrink: 0; }
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBILE NAV ── */
.nav-links.mobile-open { display: flex !important; flex-direction: column; align-items: flex-start; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary-dark); padding: 12px 16px 20px; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,.3); z-index: 999; max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-links.mobile-open .nav-link { width: 100%; padding: 12px 16px; }
.nav-links.mobile-open .nav-item { width: 100%; }
.nav-links.mobile-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); margin-top: 4px; }
.nav-links.mobile-open .dropdown a { color: rgba(255,255,255,.75); }
.nav-links.mobile-open .dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-links.mobile-open .dropdown a i { color: var(--accent-light); }

/* ── FOOTER ── */
footer { background: var(--primary-dark); color: rgba(255,255,255,.65); padding: 60px 24px 28px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,.5); }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }
.foot-links { display: flex; gap: 20px; }

/* ── SKIP LINK ── */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm); font-size: 14px; font-weight: 700; text-decoration: none; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }

/* ── ADVERTISER DISCLOSURE BAR ── */
.adv-bar { background: #FFFBEB; border-bottom: 1px solid #FDE68A; padding: 10px 24px; }
.adv-bar-inner { max-width: 1280px; margin: 0 auto; font-size: 13px; color: #78350F; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adv-bar-inner i { color: #D97706; flex-shrink: 0; }
.adv-bar-inner a { color: #92400E; font-weight: 700; text-decoration: underline; }
.adv-bar-inner a:hover { color: #78350F; }

/* ── COOKIE BANNER ── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,.15); padding: 16px 24px; z-index: 2000; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,.3); animation: slideUp .35s ease; }
.cookie-banner.hidden { display: none; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,.8); flex: 1; min-width: 200px; line-height: 1.5; margin: 0; }
.cookie-banner p a { color: var(--accent-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { padding: 9px 20px; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; font-family: inherit; }
.cookie-accept:hover { background: var(--accent-light); }
.cookie-decline { padding: 9px 16px; background: transparent; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; font-family: inherit; }
.cookie-decline:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; background: var(--primary); color: #fff; border: none; border-radius: 50%; font-size: 17px; cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 999; }
.scroll-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }
.reveal-d7 { transition-delay: .56s; }

/* ── SECTION UTILITIES ── */
.section { padding: 76px 24px; }
.section-alt { background: var(--bg-light); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--text-dark); letter-spacing: -.5px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--text-gray); margin-top: 10px; }
.section-hd { margin-bottom: 44px; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-primary, .nav-actions .btn-outline { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .navbar { position: relative; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 52px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 640px) {
  .logo-text { display: none; }
  .nav-inner { gap: 8px; padding: 0 16px; }
}
