/* RetroCube contact top bar */
.rc-topbar {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: visible;
  color: #fff;
  font-family: Poppins, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 46%),
    radial-gradient(720px 80px at 100% 0%, rgba(246, 0, 0, 0.38), transparent 60%),
    linear-gradient(100deg, #0e1218 0%, #171216 48%, #2a1014 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -1px 0 rgba(246, 0, 0, 0.55), 0 10px 28px rgba(0, 0, 0, 0.16);
}

.rc-topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 90, 0.85), transparent);
  pointer-events: none;
}

.rc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 28px;
}

.rc-topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-topbar-social li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rc-topbar-social a:hover,
.rc-topbar-social a:focus-visible {
  background: #f60000;
  border-color: #f60000;
  color: #fff !important;
  transform: translateY(-1px);
}

.rc-topbar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rc-topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a2a;
  box-shadow: 0 0 0 5px rgba(246, 0, 0, 0.18);
  flex: 0 0 auto;
}

.rc-topbar .language-btn-area {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 10px;
  padding-left: 16px;
  line-height: 1;
}

.rc-topbar .language-btn-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  margin-top: -8px;
  background: rgba(255, 255, 255, 0.28);
}

.rc-topbar .language-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto !important;
  height: 34px;
  min-width: 58px;
  margin: 0;
  padding: 0 9px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  line-height: 1;
  overflow: visible;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rc-topbar .language-btn:hover,
.rc-topbar .language-btn-area:hover .language-btn {
  background: rgba(246, 0, 0, 0.22);
  border-color: rgba(255, 90, 90, 0.55);
}

.rc-topbar .rc-lang-tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10090;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(246, 0, 0, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #1a1212;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(20, 8, 8, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.rc-topbar .rc-lang-tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 22px;
  width: 9px;
  height: 9px;
  background: #fff;
  border-top: 1px solid rgba(246, 0, 0, 0.2);
  border-left: 1px solid rgba(246, 0, 0, 0.2);
  transform: rotate(45deg);
}

.rc-topbar .language-btn-area:hover .rc-lang-tip,
.rc-topbar .language-btn:focus-visible ~ .rc-lang-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rc-topbar .language-btn-area:has(.gt_option.active) .rc-lang-tip {
  opacity: 0;
  visibility: hidden;
}

.rc-topbar .language-btn::after {
  display: none;
}

.rc-topbar .rc-earth {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #1565b8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.rc-topbar .rc-earth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  background-image: url("../images/earth-day.jpg");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 50% 100%;
  animation: rc-earth-turn 6s linear infinite;
  will-change: transform;
}

.rc-topbar .rc-earth::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 54%, rgba(4, 24, 64, 0.42) 100%);
  pointer-events: none;
}

@keyframes rc-earth-turn {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .rc-topbar .rc-earth::before {
    animation: none;
  }
}

.rc-topbar .language-caret {
  width: 11px;
  height: 8px;
  color: #fff;
  display: block;
  flex: 0 0 11px;
  transition: transform 0.2s ease;
}

.rc-topbar .language-btn-area:has(.gt_option.active) .language-caret {
  transform: rotate(180deg);
}

.rc-topbar .language-btn-area .gt_option {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  z-index: 10091;
  width: 214px;
  min-width: 214px;
  max-width: 214px;
  max-height: min(380px, calc(100vh - 80px));
  margin: 0;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(246, 0, 0, 0.08), transparent 42px),
    #fff;
  border: 1px solid rgba(246, 0, 0, 0.22);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(20, 8, 8, 0.16), inset 0 1px 0 #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 0, 0, 0.45) transparent;
}

.rc-topbar .language-btn-area .gt_option.active {
  display: block;
}

.rc-topbar .language-btn-area .gt_option::-webkit-scrollbar {
  width: 8px;
}

.rc-topbar .language-btn-area .gt_option::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

.rc-topbar .language-btn-area .gt_option::-webkit-scrollbar-thumb {
  background: rgba(246, 0, 0, 0.4);
  border: 2px solid #fff;
  border-radius: 99px;
}

.rc-topbar .language-btn-area .gt_option .carot {
  display: none;
}

.rc-topbar .language-btn-area .gt_option li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-topbar .language-btn-area .gt_option li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 1px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: #1a1212 !important;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.3;
  text-align: left;
  text-decoration: none !important;
  white-space: nowrap;
}

.rc-topbar .language-btn-area .gt_option li a img {
  width: 20px;
  height: 14px;
  max-width: 20px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(26, 18, 18, 0.08);
  flex: 0 0 auto;
}

.rc-topbar .language-btn-area .gt_option li a:hover,
.rc-topbar .language-btn-area .gt_option li a.gt_current {
  background: rgba(246, 0, 0, 0.08);
  color: #d00304 !important;
}

.rc-topbar-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 4px 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-topbar-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-topbar-list li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin: 0 6px 0 4px;
  background: rgba(255, 255, 255, 0.16);
  vertical-align: middle;
}

.rc-topbar-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.rc-topbar-list a span:last-child {
  font-variant-numeric: tabular-nums;
}

.rc-topbar-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 0, 0, 0.16);
  border: 1px solid rgba(255, 90, 90, 0.45);
  color: #ff6b6b;
  font-size: 11px;
  flex: 0 0 auto;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rc-topbar-list a:hover,
.rc-topbar-list a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.rc-topbar-list a:hover .rc-topbar-ico,
.rc-topbar-list a:focus-visible .rc-topbar-ico {
  background: #f60000;
  border-color: #f60000;
  color: #fff;
}

.rc-topbar-list a:focus-visible {
  outline: 2px solid #ff6b6b;
  outline-offset: 2px;
}

header.header-new:has(.rc-topbar) {
  z-index: 50;
  padding-top: 0 !important;
}

header.header-new.white-new:has(.rc-topbar) {
  z-index: 40;
}

header.header-new .rc-topbar + .container-fluid {
  padding-top: 6px;
  padding-bottom: 6px;
}

@media only screen and (max-width: 1100px) {
  .rc-topbar-note {
    display: none;
  }

  .rc-topbar-social {
    margin-right: auto;
  }

  .rc-topbar-inner {
    justify-content: flex-end;
    padding: 6px 16px;
  }
}

@media only screen and (max-width: 760px) {
  .rc-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 12px;
    text-align: right;
    gap: 8px 12px;
  }

  .rc-topbar-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    max-width: 100%;
    gap: 2px;
  }

  .rc-topbar-list li,
  .rc-topbar-list a {
    max-width: 100%;
  }

  .rc-topbar-list li + li::before {
    display: none;
  }

  .rc-topbar-list a {
    font-size: 12.5px;
    padding: 3px 2px 3px 4px;
  }
}
