/* --- Wrapper & Overlay Backdrop --- */
.rbks-newsletter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background-color: rgba(0, 0, 0, 0.75);
  min-height: 100vh;
  font-family: inherit;
}

/* --- Card Container --- */
.rbks-newsletter-card {
  position: relative;
  background-color: #FFFFFF;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid #D4AF37;
}

/* --- Close Button --- */
.rbks-close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #D4AF37;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rbks-close-btn:hover {
  background-color: #D4AF37;
  color: #000000;
  transform: rotate(90deg);
}

/* --- Top Header Graphic Banner --- */
.rbks-newsletter-banner {
  background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
  padding: 1.5rem 1.25rem;
  border-bottom: 3px solid #D4AF37;
}

.rbks-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.rbks-banner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rbks-logo-symbol {
  width: 42px;
  height: 42px;
  background-color: #D4AF37;
  color: #000000;
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.rbks-logo-text {
  display: flex;
  flex-direction: column;
}

.rbks-brand-name {
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

.rbks-brand-sub {
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
}

.rbks-banner-title {
  text-align: right;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.rbks-banner-title span {
  font-size: 1.25rem;
  font-weight: 900;
  color: #D4AF37;
  letter-spacing: 1px;
  line-height: 1;
}

.rbks-banner-title small {
  font-size: 0.65rem;
  color: #FFFFFF;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 2px;
}

/* --- Middle Copy Area --- */
.rbks-newsletter-header {
  padding: 2rem 1.75rem 1rem;
  background-color: #FFFFFF;
}

.rbks-title {
  font-weight: 900;
  font-size: 1.85rem;
  color: #000000;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.rbks-gold-text {
  color: #D4AF37;
}

.rbks-subtitle {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* --- Arrow Pointer Transition --- */
.rbks-pointer-wrapper {
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  line-height: 0;
}

.rbks-pointer {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid #FFFFFF;
  position: relative;
  z-index: 2;
  margin-bottom: -18px;
}

/* --- Bottom Form Container --- */
.rbks-newsletter-form-container {
  background-color: #111111;
  padding: 2.5rem 1.75rem 1.75rem;
  border-top: 1px solid #222222;
}

.rbks-input-group {
  margin-bottom: 1.25rem;
}

.rbks-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: #1A1A1A;
  border: 1px solid #333333;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.rbks-input::placeholder {
  color: #888888;
}

.rbks-input:focus {
  outline: none;
  border-color: #D4AF37;
  background-color: #222222;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* --- Gold CTA Button --- */
.rbks-submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(145deg, #F0CA49, #C09E31);
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.rbks-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(145deg, #FFD700, #D4AF37);
}

/* --- Disclaimer/Privacy Copy --- */
.rbks-privacy-text {
  color: #777777;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0;
}