/* =========================================================
   ROCKETBOOKEEPERS HEADER BACKGROUND
   ========================================================= */

.rbk-top-header {
  width: 100%;
  position: relative;
  overflow: hidden;

  padding: 1.5rem;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(212, 175, 55, 0.16) 0%,
      transparent 48%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(212, 175, 55, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f7f7f7 50%,
      #fdfaf0 100%
    );

  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}


/* Decorative gold circles */

.rbk-top-header::before,
.rbk-top-header::after {
  content: "";
  position: absolute;

  width: 280px;
  height: 280px;

  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 50%;

  pointer-events: none;
}


.rbk-top-header::before {
  top: -180px;
  left: -100px;
}


.rbk-top-header::after {
  right: -120px;
  bottom: -200px;

  width: 350px;
  height: 350px;
}


/* Keep your content above the decorative background */

.rbk-header-items {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;

  gap: 0.75rem;

  max-width: 1600px;
  margin: 0 auto;
}

.rbk-header-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  min-height: 64px;
  padding: 0.7rem 1rem;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;

  color: #080808;
  text-decoration: none;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.03);

  cursor: pointer;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}


.rbk-header-item:hover {
  background: #ffffff;

  border-color: #D4AF37;

  transform: translateY(-4px);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.09),
    0 0 0 1px rgba(212, 175, 55, 0.08);
}
/* =========================================================
   HEADER ITEMS
   ========================================================= */

.rbk-header-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  gap: 0.75rem;
  max-width: 1600px;
  margin: 0 auto;
}


/* =========================================================
   INDIVIDUAL ITEM
   ========================================================= */

.rbk-header-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  min-height: 64px;
  padding: 0.7rem 1rem;

  background-color: #ffffff;
  border: 1px solid #ececec;
  border-radius: 8px;

  color: #080808;
  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}


.rbk-header-item:hover {
  color: #080808;
  border-color: #D4AF37;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   BUTTON RESET
   ========================================================= */

button.rbk-header-item {
  width: 100%;
  font: inherit;
  text-align: left;
  appearance: none;
}


/* =========================================================
   ICON
   ========================================================= */

.rbk-icon-circle {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #080808;
  border-radius: 50%;

  transition: all 0.3s ease;
}


.rbk-icon-circle svg {
  width: 19px;
  height: 19px;
}


.rbk-header-item:hover .rbk-icon-circle {
  border-color: #D4AF37;
  color: #D4AF37;
  transform: scale(1.08);
}


/* =========================================================
   TEXT
   ========================================================= */

.rbk-contact-text {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;

  transition: color 0.3s ease;
}


.rbk-header-item:hover .rbk-contact-text {
  color: #D4AF37;
}


/* =========================================================
   FILE RETURNS CTA
   ========================================================= */

.rbk-file-returns {
  background-color: #D4AF37;
  border-color: #D4AF37;
}


.rbk-file-returns:hover {
  background-color: #080808;
  border-color: #080808;
  color: #ffffff;
}


.rbk-file-returns .rbk-icon-circle {
  border-color: #080808;
}


.rbk-file-returns:hover .rbk-icon-circle {
  border-color: #D4AF37;
  color: #D4AF37;
}


.rbk-file-returns:hover .rbk-contact-text {
  color: #D4AF37;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

  .rbk-header-items {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   MOBILE
   EXACTLY 2 ITEMS PER ROW
   ========================================================= */

@media (max-width: 767px) {

  .rbk-top-header {
    padding: 0.75rem;
  }

  .rbk-header-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .rbk-header-item {
    min-height: 58px;
    padding: 0.65rem 0.5rem;
    gap: 0.45rem;
  }

  .rbk-icon-circle {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .rbk-icon-circle svg {
    width: 16px;
    height: 16px;
  }

  .rbk-contact-text {
    font-size: 0.78rem;
    text-align: left;
  }

}


/* =========================================================
   VERY SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 380px) {

  .rbk-header-item {
    padding: 0.55rem 0.35rem;
  }

  .rbk-contact-text {
    font-size: 0.72rem;
  }

  .rbk-icon-circle {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

}