:root {
  --bb-bg: #070707;
  --bb-yellow: #ffd51f;
  --bb-text: #ffffff;
  --bb-yellow-border: rgba(255,213,31,.48);
}

html { background: var(--bb-bg); }

body.beerbattls-newsletter-v6 {
  margin: 0 !important;
  min-height: 100vh;
  color: var(--bb-text);
  background:
    radial-gradient(circle at 4% 96%, rgba(255,213,31,.09), transparent 25%),
    radial-gradient(circle at 96% 22%, rgba(255,213,31,.07), transparent 24%),
    var(--bb-bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.beerbattls-newsletter-v6 * { box-sizing: border-box; }
body.beerbattls-newsletter-v6 a { color: inherit; }

.bb-newsletter-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bb-newsletter-header {
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
  padding: 26px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bb-brand { display: inline-flex; }

.bb-brand img {
  display: block;
  width: 230px;
  max-width: 58vw;
  height: auto;
  object-fit: contain;
}

.bb-newsletter-main {
  width: min(1420px, calc(100% - 64px));
  margin: auto;
  padding: 34px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(430px, .75fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
}

.bb-newsletter-copy { max-width: 780px; }

.bb-eyebrow,
.bb-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255,213,31,.7);
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.bb-newsletter-copy h1 {
  margin: 24px 0 20px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif;
  font-weight: 900;
  line-height: .91;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.bb-newsletter-copy h1 span,
.bb-newsletter-copy h1 strong {
  display: block;
  white-space: nowrap;
}

.bb-newsletter-copy h1 span {
  color: #fff;
  font-size: clamp(66px, 5.3vw, 98px);
  font-weight: inherit;
}

.bb-newsletter-copy h1 strong {
  color: var(--bb-yellow);
  font-size: clamp(82px, 6.9vw, 126px);
  font-weight: inherit;
}

.bb-lead {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.42;
  font-weight: 500;
}

.bb-newsletter-card {
  width: 100%;
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid var(--bb-yellow-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(20,20,20,.985), rgba(8,8,8,.995));
  box-shadow: 0 32px 92px rgba(0,0,0,.62), 0 0 55px rgba(255,213,31,.055);
}

.bb-card-kicker { margin-bottom: 28px; }

.bb-newsletter-content,
.bb-newsletter-content .tnp,
.bb-newsletter-content .tnp-subscription,
.bb-newsletter-content form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.bb-newsletter-content .tnp-field { margin: 0 0 16px !important; }

.bb-newsletter-content .tnp-field label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #f5f5f5 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

.bb-newsletter-content input[type='text'],
.bb-newsletter-content input[type='email'],
.bb-newsletter-content .tnp-email,
.bb-newsletter-content .tnp-name,
.bb-newsletter-content .tnp-surname {
  display: block !important;
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255,255,255,.19) !important;
  border-radius: 8px !important;
  outline: 0 !important;
  color: #fff !important;
  background: #121212 !important;
  box-shadow: none !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
}

.bb-newsletter-content input[type='text']:focus,
.bb-newsletter-content input[type='email']:focus {
  border-color: var(--bb-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255,213,31,.09) !important;
}

.bb-newsletter-content input::placeholder {
  color: #888 !important;
  opacity: 1 !important;
}

.bb-newsletter-content input[type='checkbox'] {
  width: 20px !important;
  height: 20px !important;
  min-height: 0 !important;
  margin: 0 10px 0 0 !important;
  accent-color: var(--bb-yellow);
  vertical-align: middle;
}

.bb-newsletter-content .tnp-field-privacy label,
.bb-newsletter-content .tnp-privacy-field label,
.bb-newsletter-content label:has(input[type='checkbox']) {
  color: #d5d5d5 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.bb-newsletter-content a {
  color: var(--bb-yellow) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-newsletter-content input[type='submit'],
.bb-newsletter-content button[type='submit'],
.bb-newsletter-content .tnp-submit,
.bb-newsletter-content .tnp-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 70px !important;
  min-height: 70px !important;
  margin: 20px 0 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  color: #090909 !important;
  background: linear-gradient(90deg, #ffcb17, #ffe349) !important;
  box-shadow: 0 0 30px rgba(255,213,31,.20) !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .015em !important;
  text-transform: uppercase !important;
}

.bb-newsletter-content input[type='submit']:hover,
.bb-newsletter-content button[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(255,213,31,.27) !important;
}

.bb-privacy-note {
  margin: 22px 0 0;
  color: #929292;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.bb-newsletter-content .tnp-message,
.bb-newsletter-content .tnp-error,
.bb-newsletter-content .newsletter-error,
.bb-newsletter-content [class*='error'] {
  padding: 14px !important;
  border: 1px solid rgba(255,213,31,.32) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #151515 !important;
}

.bb-success {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 8px;
}

.bb-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border: 2px solid var(--bb-yellow);
  border-radius: 50%;
  color: #070707;
  background: var(--bb-yellow);
  box-shadow: 0 0 34px rgba(255,213,31,.22);
  font-size: 38px;
  font-weight: 900;
}

.bb-success-kicker {
  margin-bottom: 10px;
  color: var(--bb-yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bb-success h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
}

.bb-success p {
  max-width: 430px;
  margin: 0;
  color: #cfcfcf;
  font-size: 16px;
  line-height: 1.55;
}

.admin-bar .bb-newsletter-shell { min-height: calc(100vh - 32px); }

@media (max-width: 1120px) {
  .bb-newsletter-main {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 46px;
    padding-top: 48px;
  }

  .bb-newsletter-copy h1 span,
  .bb-newsletter-copy h1 strong { white-space: normal; }
}

@media (max-width: 720px) {
  .bb-newsletter-header,
  .bb-newsletter-main { width: min(100% - 34px, 720px); }

  .bb-newsletter-header { padding-top: 20px; }
  .bb-brand img { width: 205px; }
  .bb-newsletter-main { padding: 30px 0 52px; }

  .bb-newsletter-copy h1 span { font-size: clamp(52px, 14vw, 74px); }
  .bb-newsletter-copy h1 strong { font-size: clamp(66px, 17vw, 90px); }
  .bb-lead { font-size: 19px; }
  .bb-newsletter-card { padding: 24px 18px; border-radius: 17px; }
  .bb-success { min-height: 280px; }
}
