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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #020617;
  color: #F8FAFC;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 100px;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4 {
  font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

a {
  color: #BEF264;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #84CC16;
}

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

.disclosure-banner {
  display: block;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 8px auto;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  color: #84CC16;
  background: rgba(132, 204, 22, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.3);
  border-radius: 4px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #020617;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.navbar-logo img {
  height: 34px;
  width: auto;
}

.nav-drawer-wrap {
  display: contents;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: #BEF264;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: block;
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 3px;
  background: #84CC16;
  width: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: calc(100% - 20px);
}

.site-footer {
  background: #0F172A;
  border-top: 2px solid rgba(190, 242, 100, 0.2);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.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: 36px;
  width: auto;
  margin-bottom: 12px;
}

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

.footer-links a {
  color: #64748B;
  font-size: 13px;
}

.footer-links a:hover {
  color: #BEF264;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

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

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

.footer-disclosure {
  font-size: 11px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-notice {
  font-size: 11px;
  color: #64748B;
  line-height: 1.6;
  border-top: 1px solid rgba(190, 242, 100, 0.15);
  padding-top: 16px;
}

.footer-notice strong {
  display: block;
  color: #94A3B8;
  font-size: 12px;
  margin: 12px 0 6px;
}

.footer-notice p {
  margin-bottom: 6px;
}

.cookie-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #0F172A;
  border-top: 2px solid rgba(190, 242, 100, 0.3);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 0 #84CC16;
}

.cookie-banner p {
  font-size: 13px;
  color: #94A3B8;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: #BEF264;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-btn-accept {
  background: #BEF264;
  color: #020617;
  box-shadow: 3px 3px 0 #84CC16;
}

.cookie-btn-reject {
  background: transparent;
  color: #F8FAFC;
  border: 1px solid rgba(190, 242, 100, 0.3);
}

.cookie-banner:has(.cookie-check:checked) {
  display: none;
}

.page-content {
  padding: 48px 24px 72px;
  background: #020617;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #BEF264;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #84CC16;
}

.page-content h2 {
  font-size: 1.25rem;
  color: #F8FAFC;
  margin: 28px 0 12px;
}

.page-content h3 {
  font-size: 1rem;
  color: #BEF264;
  margin: 16px 0 8px;
}

.page-content p {
  color: #94A3B8;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-content ul {
  color: #94A3B8;
  margin: 0 0 14px 20px;
  font-size: 0.95rem;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content a {
  color: #BEF264;
}

.error-page {
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  color: #BEF264;
  text-shadow: 4px 4px 0 #ff00ff, 8px 8px 0 #00ffff;
  margin-bottom: 16px;
}

.error-page p {
  color: #64748B;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.error-link {
  display: inline-block;
  background: #BEF264;
  color: #020617;
  padding: 14px 28px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #84CC16;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.error-link:hover {
  color: #020617;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #84CC16;
}

.contact-form-wrapper {
  margin-top: 32px;
  padding: 32px;
  background: #0F172A;
  border: 2px solid rgba(190, 242, 100, 0.2);
  box-shadow: 4px 4px 0 rgba(132, 204, 22, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(190, 242, 100, 0.2);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #F8FAFC;
  background: #020617;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #BEF264;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  display: none;
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-field input:user-invalid:not(:focus):not(:placeholder-shown) ~ .field-error,
.form-field input:user-invalid:focus ~ .field-error {
  display: block;
}

.form-submit {
  background: #BEF264;
  color: #020617;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 #84CC16;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  align-self: flex-start;
}

.form-submit:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #84CC16;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success:target {
  display: block;
}

.contact-form-wrapper:has(#mensagem-enviada:target) .contact-form {
  display: none;
}

.form-success p {
  font-size: 1.1rem;
  color: #BEF264;
}

.offer-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.offer-card-logo {
  width: 280px;
  height: 120px;
  background: #f5f5f5;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  flex-shrink: 0;
}

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

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

.offer-card-name {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-style: italic;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-bonus {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 4px;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
}

.offer-terms {
  font-size: 0.7rem;
  color: #888888;
  display: block;
}

.offer-description {
  font-size: 0.75rem;
  color: #888888;
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}

a.offer-cta {
  display: inline-block;
  background: #FF4D4D;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: auto;
  align-self: flex-start;
}

a.offer-cta:hover {
  background: #FF8080;
  color: #ffffff;
}

@media (max-width: 900px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    background: #0F172A;
    flex-direction: column;
    align-items: stretch;
    padding: 72px 0 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 2px solid rgba(190, 242, 100, 0.2);
    box-shadow: -4px 0 0 #84CC16;
  }

  .nav-drawer-wrap:has(.nav-toggle:checked) .nav-links {
    transform: translateX(0);
  }

  .nav-drawer-wrap:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-drawer-wrap:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(3) {
    opacity: 0;
  }

  .nav-drawer-wrap:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a {
    padding: 14px 24px;
    border-left: 3px solid transparent;
  }

  .nav-links a:hover,
  .nav-drawer-wrap:has(.nav-toggle:checked) .nav-links a:focus {
    border-left-color: #84CC16;
    background: rgba(132, 204, 22, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .offer-card-logo {
    width: 240px;
    height: 100px;
  }

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

  .offer-bonus {
    font-size: 0.85rem;
  }
}
