/* Daily Rewards Hub — Blue trust and safety theme */

:root {
  --primary: #0B72B9;
  --primary-dark: #002D4F;
  --primary-deep: #061F38;
  --primary-light: #4BA3E3;
  --accent: #A7D8FF;
  --accent-bg: #F2F8FF;
  --accent-border: #D7EAFB;
  --surface: #FFFFFF;
  --surface-soft: #F8FBFF;
  --text: #1D2B3A;
  --text-light: #5F7185;
  --white: #FFFFFF;
  --link: #0B72B9;
  --link-hover: #004D82;
  --footer-bg: #062743;
  --hero-gradient: linear-gradient(135deg, #062743 0%, #073B63 45%, #0B72B9 100%);
  --card-gradient: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%);
  --shadow: 0 12px 30px rgba(6, 39, 67, 0.08);
  --shadow-lg: 0 22px 60px rgba(6, 39, 67, 0.16);
  --radius: 18px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(75, 163, 227, 0.10), transparent 30%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 34%, #F7FBFF 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 234, 251, 0.9);
  box-shadow: 0 6px 24px rgba(6, 39, 67, 0.06);
  backdrop-filter: blur(14px);
  padding: 12px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(11, 114, 185, 0.18);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #E8F4FF;
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px rgba(75, 163, 227, 0.18);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  color: var(--white);
  padding: 82px 24px 76px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(167, 216, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 216, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(75, 163, 227, 0.36), transparent 65%);
}

.hero h1,
.hero p,
.hero-badge {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.045em;
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero p {
  font-size: 18px;
  opacity: 0.86;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Main content */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px 56px;
}

/* Sections */
.section {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 28px;
}

.section h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  letter-spacing: -0.02em;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section p {
  margin-bottom: 14px;
}

.section ul, .section ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.section li {
  margin-bottom: 9px;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 18px;
}

.card {
  background: var(--card-gradient);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(6, 39, 67, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 163, 227, 0.56);
  box-shadow: 0 16px 34px rgba(6, 39, 67, 0.11);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #E8F4FF;
  color: var(--primary);
  font-size: 22px;
}

.card h3 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding: 14px 16px;
  border: 1px solid var(--accent-border);
  background: var(--surface-soft);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E8F4FF;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text);
}

/* Disclaimer */
.disclaimer {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F8FF 100%);
  border: 1px solid var(--accent-border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 32px 0;
  text-align: left;
  box-shadow: var(--shadow);
}

.disclaimer p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.disclaimer strong {
  color: var(--primary-dark);
}

/* Legal page styles */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 24px 56px;
}

.legal-content h2 {
  font-size: 21px;
  color: var(--primary-dark);
  margin-top: 34px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-border);
}

.legal-content h3 {
  font-size: 16px;
  color: var(--primary);
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  margin-bottom: 11px;
}

.legal-content ul {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  margin-bottom: 7px;
}

/* Contact page */
.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 24px 56px;
}

.contact-email {
  background: var(--hero-gradient);
  border: 1px solid rgba(167, 216, 255, 0.24);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.contact-email p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.contact-email a {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.contact-email a:hover {
  color: var(--accent);
}

.contact-info-box {
  background: var(--card-gradient);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.contact-info-box h2 {
  position: relative;
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.contact-info-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-info-box p {
  font-size: 15px;
  margin-bottom: 10px;
}

.online-only-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 24px;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 30px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  opacity: 0.82;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.72;
}

/* Responsive */
@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    padding: 14px 16px;
    gap: 10px;
  }

  .nav-links {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 13px;
    padding: 7px 11px;
  }

  .hero {
    padding: 56px 18px 52px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 22px;
  }

  .container,
  .legal-content,
  .contact-section {
    padding: 28px 16px 42px;
  }

  .contact-email a {
    font-size: 18px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  z-index: 1000;
  animation: slideUp 0.4s ease-out;
}

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

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-content p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-content a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

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

.cookie-btn-accept:hover {
  background: var(--link-hover);
}

.cookie-btn-decline {
  background: var(--accent-bg);
  color: var(--primary-dark);
}

.cookie-btn-decline:hover {
  background: var(--accent-border);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

