*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  color: #1a1a1a;
  background: #1a1a1a;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  z-index: 0;
}

.bg-desktop {
  display: none;
  background-image: url("assets/bg-desktop.png");
}

.bg-mobile {
  display: block;
  background-image: url("assets/bg-mobile.png");
}

@media (min-width: 768px) {
  .bg-desktop { display: block; }
  .bg-mobile { display: none; }
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Disclaimer bar */
.disclaimer-bar {
  position: relative;
  z-index: 10;
  background: #b91c1c;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.disclaimer-bar strong {
  font-weight: 700;
}

/* Page layout */
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.brand-tag {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 16px;
}

.header-nav a:hover {
  text-decoration: underline;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 80px;
}

.card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  margin-bottom: 24px;
}

.features li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.9rem;
  color: #333;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c2410c;
  font-weight: 700;
}

.affiliate-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.affiliate-box h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 8px;
}

.affiliate-box p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #475569;
}

.cta-note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
  text-align: center;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-cta {
  display: block;
  width: 100%;
  background: #c2410c;
  color: #fff;
}

.btn-cta:hover {
  background: #9a3412;
}

.fine-print {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

.footer {
  text-align: center;
  padding: 20px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-disclaimer {
  margin-top: 8px;
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 16px 20px;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.45;
  min-width: 200px;
}

.cookie-banner a {
  color: #c2410c;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-reject {
  background: #f2f2f2;
  color: #333;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-reject:hover {
  background: #e5e5e5;
}

.btn-accept {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-accept:hover {
  background: #333;
}

.cookie-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.cookie-close:hover {
  background: #f0f0f0;
  color: #333;
}

/* Legal pages */
body.legal-page {
  background: #f8fafc;
}

.legal-page .disclaimer-bar {
  position: sticky;
  top: 0;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.legal-header a {
  color: #c2410c;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-header a:hover {
  text-decoration: underline;
}

.legal-header h1 {
  font-size: 2rem;
  margin: 16px 0 8px;
}

.legal-updated {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: #1e293b;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content a {
  color: #c2410c;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 12px 0 20px;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}

.cookie-table th {
  background: #f1f5f9;
  font-weight: 600;
}

.footer-legal {
  color: #64748b;
  padding-top: 32px;
}

.footer-legal a {
  color: #c2410c;
}

@media (max-width: 600px) {
  .header-nav a {
    margin-left: 0;
    margin-right: 12px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}
