html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.font-merriweather {
  font-family: 'Merriweather', serif;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ATM Card Premium Style */
.atm-card {
  width: 17rem; /* dikecilkan dari 20rem */
  max-width: 100%;
  aspect-ratio: 1.586;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #2A2A2A 0%, #1C1C1C 60%, #111111 100%);
  border: 1px solid rgba(169, 156, 134, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  color: #fff;
}
.atm-card::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(rgba(255,255,255,0.03) 0%, transparent 100%);
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 1;
}
.atm-card:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(1deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6), 0 0 20px rgba(169, 156, 134, 0.2);
  border-color: rgba(169, 156, 134, 0.6);
}
.atm-card > * {
  position: relative;
  z-index: 2;
}
.atm-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.6rem;
}
.atm-top h3 {
  font-size: 0.95rem;
  font-family: monospace;
  font-weight: 600;
  color: #A99C86;
  letter-spacing: 1px;
  text-shadow: none;
  margin: 0;
  text-transform: uppercase;
}
.atm-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.atm-chip {
  width: 2.8rem;
  height: 2rem;
  background: linear-gradient(135deg, #CDBA96 0%, #A99C86 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  overflow: hidden;
}
.atm-chip::before {
  content: "";
  position: absolute;
  width: 100%; height: 100%;
  background: 
    linear-gradient(transparent 45%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.2) 55%, transparent 55%),
    linear-gradient(90deg, transparent 30%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.2) 35%, transparent 35%, transparent 65%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.2) 70%, transparent 70%);
  z-index: 1;
}
.atm-chip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 4px;
  z-index: 2;
}
.bank-logo {
  height: 2rem;
  width: 4.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  background: transparent;
}
.bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.atm-number {
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.salin-btn {
  background: transparent;
  color: #A99C86;
  border: 1px solid #A99C86;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  width: max-content;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}
.salin-btn:hover {
  background: #A99C86;
  color: #1a1a1a;
}
.atm-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.atas-nama-label {
  font-size: 0.7rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
}
