.landing-top,
.topbar {
  box-sizing: border-box;
  width: 100%;
  height: 78px;
  min-height: 78px;
  margin: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  min-height: 100px;
  margin: 0;
  padding: 32px clamp(18px, 5vw, 74px) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-direction: row;
}

.landing-top .logo-anim,
.topbar .logo-anim {
  width: 190px;
  height: 34px;
}

.site-header .brand,
.topbar .brand {
  box-sizing: border-box;
  width: 190px;
  height: 34px;
  flex: 0 0 190px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 22.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-dice {
  color: #00ff80;
}

.brand-cad {
  color: #ffffff;
}

.brand .logo-anim {
  display: block;
  width: 190px;
  height: 34px;
  overflow: visible;
}

.brand .logo-fill-dice {
  fill: #00ff80;
  opacity: 1;
}

.brand .logo-fill-cad {
  fill: #ffffff;
  opacity: 1;
  transform: none;
}

.landing-actions,
.topbar .actions,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-top .landing-actions .btn,
.topbar .actions .btn,
.site-header .site-nav .nav-link,
.site-header .site-nav .button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbf8;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.landing-top .landing-actions .btn:last-child,
.topbar .actions .btn:last-child,
.site-header .site-nav .button:last-child {
  border-color: #dcfce7;
  background: #dcfce7;
  color: #062015;
  box-shadow: 0 18px 40px rgba(20, 184, 106, 0.22);
}

.landing-top .landing-actions .btn:hover,
.topbar .actions .btn:hover,
.site-header .site-nav .nav-link:hover,
.site-header .site-nav .button:hover,
.site-header .site-nav .nav-link[aria-current="page"] {
  transform: translateY(-2px);
  border-color: rgba(220, 252, 231, 0.5);
  background: rgba(220, 252, 231, 0.15);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.landing-top .landing-actions .btn:last-child:hover,
.topbar .actions .btn:last-child:hover,
.site-header .site-nav .button:last-child:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #062015;
}

@media (max-width: 820px) {
  .landing-top,
  .topbar {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-header {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 32px clamp(18px, 5vw, 74px) 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .landing-actions,
  .topbar .actions,
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .landing-top .landing-actions .btn,
  .topbar .actions .btn,
  .site-header .site-nav .nav-link,
  .site-header .site-nav .button {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .topbar {
    margin-top: 4px;
  }

  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }
}
