: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 {
/* per-card accent colors (override with classes below) */
--a1: rgba(7, 110, 170, 0.78); 
--a2: rgba(16, 43, 85, 0.65); 


display: block;
text-decoration: none;
color: inherit;
border-radius: 24px;
overflow: hidden;
position: relative;
border: 1px solid var(--border);
box-shadow: var(--shadow);
transform: translateZ(0);
transition: transform 170ms ease, border-color 170ms ease;
min-height: 280px;
}

.cc:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.22);
}

.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.05);
}

/* glossy sheen */
.cc::after {
content: "";
position: absolute;
inset: -40% -10%;
background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 65%
);
transform: rotate(10deg);
opacity: 0.75;
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); }






.video-btn {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background: #1a73e8;
  color: #fff;
  margin-bottom: 20px;
   font-family: Arial;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


.download-btn {
  text-decoration: none;
}

.download-btn:hover,
.download-btn:focus {
  text-decoration: none;
}

.resources {
  margin-top: 150px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(8, 0, 0, 0.148);
  color:rgba(8, 0, 0, 0.658) ;
left: 16px;
right: 16px;
max-width: 1000px;
margin-inline: auto;
}

.resources details {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 12px;
}

.resources summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-weight: 600;
}

/* Hide default marker */
.resources summary::-webkit-details-marker { display: none; }

.resources .chev {
  transition: transform 160ms ease;
  opacity: 0.8;
}
.resources details[open] .chev {
  transform: rotate(180deg);
}

.resources .btn-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 4px;
}

/* Card-style resource buttons */
  .resources .action-btn,
  .resources a.action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 16px;
  border-radius: 16px;

  background:
      linear-gradient(
      180deg,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0.02)
      );

  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 8px 18px rgba(0,0,0,0.05);

  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;

  cursor: pointer;
  transition:
      transform 140ms ease,
      box-shadow 140ms ease,
      background 140ms ease,
      border-color 140ms ease;
  }



  
.resources .action-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

.resources .action-btn:focus-visible {
  outline: 3px solid rgba(100, 150, 255, 0.55);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}
.lightbox__panel {
  width: min(960px, 100%);
  background: #0b0b0b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}
.lightbox__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
}
.lightbox__title {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.95;
}
.lightbox__close {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: inherit;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.10);
}
.lightbox__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stack buttons on small screens */
@media (max-width: 720px) {
  .resources .btn-row {
    grid-template-columns: 1fr;
  }
}