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

:root {
  --bg: #FFF1F2;
  --surface: #FFFFFF;
  --text: #3F1D22;
  --muted: #9F5F68;
  --primary: #FB7185;
  --secondary: #FDBA74;
  --accent: #34D399;
  --border: rgba(63, 29, 34, 0.12);
  --nav-bg: #0a0a0a;
  --brass: #B8860B;
  --copper: #CD7F32;
  --paper: #F5E6D3;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

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

.disclosure-banner {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 16px;
  font-family: var(--font-system);
  line-height: 1.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 1px 6px var(--primary);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: #e8e8e8;
  font-family: var(--font-system);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-desktop a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary), 0 0 12px var(--primary);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 4px var(--primary);
  transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: #e8e8e8;
  font-family: var(--font-system);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
}

.nav-mobile a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary), 0 0 12px var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.hero-left {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid var(--brass);
  border-radius: 50%;
  top: 20px;
  right: 20px;
  opacity: 0.3;
  animation: gear-spin 12s linear infinite;
}

.hero-left::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px dashed var(--copper);
  border-radius: 50%;
  bottom: 30px;
  left: 30px;
  opacity: 0.4;
  animation: gear-spin 8s linear infinite reverse;
}

@keyframes gear-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--surface);
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 0 rgba(63, 29, 34, 0.2);
}

.hero-right {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-left: 2px solid var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  text-align: center;
  max-width: 420px;
}

.offers-section {
  padding: 64px 24px;
  background:
    linear-gradient(rgba(63, 29, 34, 0.85), rgba(63, 29, 34, 0.88)),
    linear-gradient(135deg, #2a1520 0%, #1a0a0e 100%);
  position: relative;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(184, 134, 11, 0.03) 20px,
    rgba(184, 134, 11, 0.03) 21px
  );
  pointer-events: none;
}

.offers-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offers-title {
  text-align: center;
  font-size: 2rem;
  color: var(--surface);
  font-variant: small-caps;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(251, 113, 133, 0.25);
}

.offer-card-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo {
  width: 180px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-bonus {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.35;
}

.offer-terms {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-system);
}

.offer-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  font-family: var(--font-system);
}

.offer-cta {
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #10b981 100%);
  color: #fff;
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
  transition: opacity 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-cta:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4);
  color: #fff;
}

.info-section {
  padding: 56px 24px;
  position: relative;
}

.info-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.info-section:nth-child(odd) {
  background: var(--surface);
}

.info-section:nth-child(even) {
  background: var(--bg);
}

.info-title {
  font-size: 1.75rem;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.info-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--copper));
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.layout-split-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.layout-split-reverse .info-visual {
  order: -1;
}

.layout-card {
  background: var(--paper);
  border: 2px solid var(--brass);
  border-radius: 4px;
  padding: 32px;
  box-shadow: inset 0 0 30px rgba(184, 134, 11, 0.08), 4px 4px 0 var(--copper);
}

.layout-card p {
  font-size: 1rem;
}

.layout-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.layout-centered .info-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.layout-banner {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.layout-banner-text {
  flex: 1;
  padding: 28px;
  background: var(--surface);
  border-left: 4px solid var(--primary);
}

.layout-banner-visual {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.layout-stack-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.layout-stack-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brass), var(--copper));
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  font-family: var(--font-system);
}

.layout-aside {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.layout-aside-sidebar {
  background: linear-gradient(180deg, var(--nav-bg) 0%, #1a1a1a 100%);
  padding: 24px;
  border: 1px solid var(--brass);
  border-radius: 4px;
}

.layout-aside-sidebar p {
  color: #ccc;
  font-size: 0.85rem;
  font-family: var(--font-system);
}

.layout-columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.layout-col-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}

.layout-col-item h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-variant: small-caps;
}

.layout-col-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

.layout-frame {
  position: relative;
  padding: 24px;
}

.layout-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--brass);
  border-image: linear-gradient(135deg, var(--brass), var(--copper), var(--brass)) 1;
  pointer-events: none;
}

.layout-zigzag {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.layout-quote {
  border-left: 4px solid var(--secondary);
  padding: 24px 32px;
  background: rgba(253, 186, 116, 0.12);
  font-style: italic;
  margin-top: 20px;
}

.decor-img-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border: 3px solid var(--brass);
  box-shadow: 4px 4px 0 var(--copper);
  margin: 0 auto;
}

.decor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 320px;
}

.decor-img-clip {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.decor-img-round {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--copper);
}

.decor-img-tilt {
  transform: rotate(-2deg);
}

.decor-bg-panel {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  border-radius: 4px;
  position: relative;
}

.decor-bg-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 241, 242, 0.92), rgba(255, 241, 242, 0.6));
}

.decor-bg-content {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.site-footer {
  background: var(--nav-bg);
  color: #ccc;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--primary);
  box-shadow: 0 -1px 6px rgba(251, 113, 133, 0.3);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 40px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: #aaa;
  font-family: var(--font-system);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badges a {
  display: block;
}

.footer-badges img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-au-disclosure {
  margin-top: 24px;
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  font-family: var(--font-system);
  max-width: 900px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #666;
  font-family: var(--font-system);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border: 2px solid var(--brass);
  border-radius: 8px;
  padding: 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(251, 113, 133, 0.2), inset 0 0 20px rgba(184, 134, 11, 0.05);
}

.modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-variant: small-caps;
}

.modal-box p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), #e11d48);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-system);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  padding: 12px 28px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-system);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-top: 1px solid var(--primary);
  box-shadow: 0 -2px 12px rgba(251, 113, 133, 0.2);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  color: #ccc;
  font-family: var(--font-system);
  font-size: 0.85rem;
  max-width: 640px;
}

.legal-page {
  padding: 48px 24px 64px;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 40px;
  border: 2px solid var(--border);
  border-top: 4px solid var(--brass);
}

.legal-inner h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-variant: small-caps;
}

.legal-inner h2 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-inner h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.legal-inner p {
  margin-bottom: 14px;
  color: var(--text);
}

.legal-inner ul {
  margin: 0 0 14px 24px;
}

.legal-inner li {
  margin-bottom: 6px;
}

.legal-inner code {
  background: var(--bg);
  padding: 2px 6px;
  font-size: 0.9em;
  border-radius: 3px;
}

.contact-form {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-form h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-system);
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-system);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-family: var(--font-system);
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 24px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-system);
}

.form-success.hidden {
  display: none;
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.redirect-box {
  text-align: center;
  max-width: 480px;
  background: var(--surface);
  padding: 48px 36px;
  border: 2px solid var(--brass);
  border-radius: 8px;
}

.redirect-box h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.redirect-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 24px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.redirect-ad {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 20px;
  font-family: var(--font-system);
}

.redirect-ad a {
  color: var(--primary);
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

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

  .hero-right {
    border-left: none;
    border-top: 2px solid var(--accent);
  }

  .layout-split,
  .layout-split-reverse,
  .layout-aside,
  .layout-zigzag,
  .layout-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .layout-split-reverse .info-visual {
    order: 0;
  }

  .layout-aside {
    grid-template-columns: 1fr;
  }

  .layout-banner-visual {
    flex: none;
    width: 100%;
  }

  .layout-columns-3 {
    grid-template-columns: 1fr;
  }

  .layout-stack-row {
    flex-direction: column;
  }

  .decor-img-wrap {
    max-width: 100%;
  }

  .legal-inner {
    padding: 24px;
  }

  .offer-logo {
    width: 160px;
    height: 50px;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

@media (max-width: 375px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .decor-img-wrap {
    max-width: 100%;
    max-height: 240px;
  }

  .decor-img-wrap img {
    max-width: 100%;
    max-height: 240px;
    object-fit: cover;
  }

  .decor-img-tilt {
    transform: none;
  }

  .decor-bg-panel {
    max-width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }

  .layout-banner-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-banner-visual .decor-img-wrap {
    max-width: 100%;
    max-height: 220px;
  }

  .offer-logo {
    width: 150px;
    height: 46px;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}
