
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__signin,
.header__signup {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 22px;
  height: 40px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  /* font-family: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif; */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  outline: none;
  overflow: hidden;
  transition:
    transform 120ms ease,
    box-shadow 200ms ease;
}

.header__signin::before,
.header__signup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.13) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform 550ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

.header__signin:hover::before,
.header__signup:hover::before {
  transform: translateX(100%);
}

.header__signin {
  background: rgba(12, 10, 8, 0.65);
  color: #c9b98a;
  border: 1px solid rgba(181, 155, 92, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(201, 185, 138, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header__signin::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 185, 138, 0.5) 40%,
    rgba(201, 185, 138, 0.5) 60%,
    transparent
  );
  pointer-events: none;
}

.header__signin svg.svg-icon {
  width: 14px;
  height: 14px;
  fill: #c9b98a;
  opacity: 0.8;
  flex-shrink: 0;
  transition: opacity 200ms ease;
}

.header__signin span {
  position: relative;
  z-index: 1;
}

.header__signin:hover {
  background: rgba(20, 17, 12, 0.8);
  color: #e2d4a8;
  border-color: rgba(201, 185, 138, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(201, 185, 138, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(181, 155, 92, 0.18);
  transform: translateY(-1px);
}

.header__signin:hover svg.svg-icon {
  opacity: 1;
}

.header__signin:active {
  transform: translateY(0px);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.4);
}


.header__signup {
  background: linear-gradient(
    160deg,
    #c8a84b 0%,
    #e8cc72 22%,
    #f5df8c 42%,
    #dab84a 65%,
    #b8922e 85%,
    #c8a84b 100%
  );
  background-size: 200% 200%;
  animation: goldShift 5s ease infinite;
  color: #1a1200;
  border: 1px solid #9a7520;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 3px 14px rgba(180, 130, 20, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 0 rgba(255, 245, 180, 0.4);
}

@keyframes goldShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Engraved bottom edge */
.header__signup::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.3) 70%,
    transparent
  );
  pointer-events: none;
}

.header__signup:hover {
  background: linear-gradient(
    160deg,
    #d4b455 0%,
    #f5dc7e 20%,
    #fff0a0 42%,
    #e8c455 62%,
    #c49a38 85%,
    #d4b455 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 5px 22px rgba(200, 155, 30, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(220, 175, 50, 0.2);
  transform: translateY(-1px);
  color: #0e0a00;
}

.header__signup:active {
  transform: translateY(0px);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.35);
}


@keyframes casinoPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 14px rgba(180,130,20,.35), 0 0 0px rgba(220,175,50,0); }
  50%       { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 14px rgba(180,130,20,.35), 0 0 22px rgba(220,175,50,.35); }
}

@media (max-width: 768px) {
  .header__signin,
  .header__signup {
    padding: 0px 12px !important;
  }

  .header__signin {
    margin-left: 0px !important;
  }  
}
