:root {
--bg: #0b1220;
--text: rgba(255, 255, 255, 0.92);
--muted: rgba(255, 255, 255, 0.72);
--border: rgba(255, 255, 255, 0.14);
--shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
--r: 20px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }


.page {
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 44px 18px;
}

.shell {
width: min(1450px, 100%);
}

header {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-bottom: 18px;
}

.title {
margin: 0;
font-size: 40px;
font-weight: 780;
letter-spacing: -0.02em;
}
.subtitle {
margin: 6px 0 0;
font-size: 20px;
}

.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 30px;
}
@media (max-width: 760px) {
.grid { grid-template-columns: 1fr; }
}

/* ---- credit card ---- */
.cc {
  /* More opaque card colors */
  --a1: rgba(7, 110, 170, 0.96);
  --a2: rgba(16, 43, 85, 0.96);

  display: block;
  text-decoration: none;
  color: inherit;

  border-radius: 24px;
  overflow: hidden;
  position: relative;

  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Same kind of shadow as wallet cards */
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.15);

  transform: translateZ(0);

  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;

  min-height: 280px;

  opacity: 1;
}

.cc:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 255, 255, 0.28);

  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.26),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.cc:focus-visible {
outline: 3px solid rgba(56, 189, 248, 0.65);
outline-offset: 4px;
}

/* card face */
.cc::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      600px 320px at 15% 15%,
      rgba(255, 255, 255, 0.10),
      transparent 55%
    ),
    radial-gradient(
      700px 380px at 85% 35%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      var(--a1),
      var(--a2)
    );

  filter: saturate(1.08);

  opacity: 1;
}

/* glossy sheen */
.cc::after {
  content: "";
  position: absolute;
  inset: -40% -10%;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(255, 255, 255, 0.05) 52%,
    transparent 65%
  );

  transform: rotate(10deg);

  opacity: 0.45;
  pointer-events: none;
}

/* inner layout */
.cc-inner {
position: relative;
z-index: 1;
padding: 18px 18px 16px;
display: grid;
gap: 14px;
}

.cc-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}

.cc-name {
margin: 0;
font-size: 30px;
font-weight: 800;
letter-spacing: -0.01em;
color: rgba(255, 255, 255, 0.92);
}

.cc-sub {
margin: 6px 0 0;
color: rgba(255, 255, 255, 0.78);
font-size: 20px;
line-height: 1.25;
}

.cc-brand .dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.85);
box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.cc-mid {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
}

.chip {
width: 56px;
height: 42px;
border-radius: 10px;
background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.18));
border: 1px solid rgba(255,255,255,0.35);
position: relative;
overflow: hidden;
transform: translateX(10px);
}
.chip:before, .chip:after {
content: "";
position: absolute;
inset: 0;
background:
    linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.10) 25%, rgba(0,0,0,0.10) 28%, transparent 28%),
    linear-gradient(0deg, transparent 35%, rgba(0,0,0,0.10) 35%, rgba(0,0,0,0.10) 38%, transparent 38%);
opacity: 0.7;
}
.chip:after {
inset: 8px 0;
opacity: 0.55;
}

.icon {
width: 44px;
height: 44px;
border-radius: 999px;
display: grid;
place-items: center;
background: rgba(0,0,0,0.18);
border: 1px solid rgba(255,255,255,0.18);
font-size: 22px;
}

.cc-number {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
letter-spacing: 0.18em;
font-size: 20px;
color: rgba(255, 255, 255, 0.92);
text-shadow: 0 1px 0 rgba(0,0,0,0.20);
}

.cc-bottom {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 10px;
margin-top: 2px;
}

.cc-lower {
transform: translateY(10px);
}

.meta {
display: grid;
gap: 4px;
font-size: 11px;
color: rgba(255, 255, 255, 0.78);
letter-spacing: 0.08em;
text-transform: uppercase;
}

.meta strong {
font-size: 13px;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.92);
text-transform: none;
}

.disabled {
cursor: not-allowed;
opacity: 0.72;
}
.disabled:hover { transform: none; }

/* per-card accents */
.tbd { --a1: rgba(148, 163, 184, 0.55); --a2: rgba(71, 85, 105, 0.55); }

/* =========================================
   AUTO LEATHER WALLET
   ========================================= */

.auto-wallet-card {
  min-height: 280px;
  padding: 0;

  background: transparent;

  border: none;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.28);

  overflow: hidden;
}

/*
  Disable the normal credit-card face
  for the Auto wallet only.
*/
.auto-wallet-card::before,
.auto-wallet-card::after {
  display: none;
}


/* Main wallet container */
.wallet-shell {
  position: relative;

  width: 100%;
  height: 280px;

  border-radius: 24px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255,255,255,0.05) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(0,0,0,0.05) 0 1px,
      transparent 2px
    ),
    linear-gradient(
      145deg,
      #a86b39 0%,
      #855028 45%,
      #643919 100%
    );

  background-size:
    8px 8px,
    11px 11px,
    100% 100%;

  border: 2px solid #593217;

  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.12),
    inset 0 -8px 15px rgba(0,0,0,0.18);
}


/* =========================================
   CARDS PEEKING OUT
   ========================================= */

.wallet-insert {
  position: absolute;

  left: 10%;
  width: 80%;
  height: 125px;

  border-radius: 13px 13px 8px 8px;

  padding: 13px 16px;

  color: rgba(255,255,255,0.92);
  text-decoration: none;

  font-size: 18px;
  font-weight: 700;

  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 4px 10px rgba(0,0,0,0.22);

  transition:
    transform 180ms ease,
    top 180ms ease;
}


/* Back card */
.wallet-insert-1 {
  top: 20px;

  background:
    linear-gradient(
      135deg,
      #58a97c,
      #276948
    );

  z-index: 1;
}


/* Middle card */
.wallet-insert-2 {
  top: 55px;

  background:
    linear-gradient(
      135deg,
      #e78c1f,
      #bd530e
    );

  z-index: 2;
}


/* Front card */
.wallet-insert-3 {
  top: 92px;

  background:
    linear-gradient(
      135deg,
      #31658f,
      #193653
    );

  z-index: 3;
}


/* =========================================
   LEATHER SLOT DIVIDERS
   ========================================= */

.wallet-insert-1::after,
.wallet-insert-2::after {
  content: "";

  position: absolute;

  left: -8%;
  right: -8%;
  bottom: -10px;

  height: 18px;

  border-top:
    2px solid rgba(67, 35, 15, 0.55);

  box-shadow:
    0 -1px 0 rgba(255,255,255,0.08);
}


/* =========================================
   FRONT LEATHER POCKET
   ========================================= */

.wallet-front {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 145px;

  z-index: 10;

  padding:
    28px 24px
    20px;

  background:
    radial-gradient(
      circle at 25% 35%,
      rgba(255,255,255,0.035) 0 1px,
      transparent 2px
    ),
    linear-gradient(
      145deg,
      #9a5c2f,
      #75421f 55%,
      #603416
    );

  background-size:
    9px 9px,
    100% 100%;

  border-top:
    2px solid rgba(72, 38, 16, 0.55);

  box-shadow:
    0 -5px 12px rgba(0,0,0,0.16),
    inset 0 2px 2px rgba(255,255,255,0.07);
}


/* =========================================
   STITCHING
   ========================================= */

.wallet-front::after {
  content: "";

  position: absolute;

  inset:
    10px
    11px
    11px;

  border:
    1.5px dashed
    rgba(226, 179, 126, 0.5);

  border-radius:
    0 0
    15px 15px;

  pointer-events: none;
}


/*
  Stitching around outside of wallet
*/
.wallet-shell::after {
  content: "";

  position: absolute;

  inset: 9px;

  border:
    1.5px dashed
    rgba(228, 180, 125, 0.45);

  border-radius: 17px;

  z-index: 20;

  pointer-events: none;
}


/* =========================================
   WALLET TEXT
   ========================================= */

.wallet-heading {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 30;

  margin: 0;

  color: #fff4e7;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;

  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* =========================================
   HOVER
   ========================================= */

.auto-wallet-card:hover {
  transform: translateY(-4px);
}


.auto-wallet-card:hover .wallet-insert-1 {
  transform:
    translateY(-4px);
}


.auto-wallet-card:hover .wallet-insert-2 {
  transform:
    translateY(-7px);
}


.auto-wallet-card:hover .wallet-insert-3 {
  transform:
    translateY(-10px);
}


/* =========================================================
   Single-card wallets
   ========================================================= */

.accounting-wallet-insert,
.veterinary-wallet-insert,
.healthcare-wallet-insert,
.dental-wallet-insert,
.saas-wallet-insert {
  top: 20px;
  z-index: 3;

  background:
    linear-gradient(
      135deg,
      #31658f,
      #193653
    );
}


/* Lift the card slightly when hovering over its wallet */

.auto-wallet-card:hover .accounting-wallet-insert,
.auto-wallet-card:hover .veterinary-wallet-insert,
.auto-wallet-card:hover .healthcare-wallet-insert,
.auto-wallet-card:hover .dental-wallet-insert,
.auto-wallet-card:hover .saas-wallet-insert {
  transform: translateY(-10px);
}