/* GARUDA99 — versi kartu sederhana.
   WARNA, LEBAR KARTU, dan efek dapat diubah melalui variabel berikut. */
:root {
  --page-bg: #150306;
  --card-bg: #090909;
  --red: #ff2f3d;
  --red-hover: #ff4d59;
  --text: #f5e9e6;
  --muted: #aa8b90;
  --line: #392025;
  --card-width: 352px;
  --card-radius: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  color-scheme: dark;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 15% 5%, #540e1a66 0, transparent 55%),
    radial-gradient(ellipse at 88% 95%, #3c081555 0, transparent 52%),
    var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
a,
summary {
  touch-action: manipulation;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #fbd98e;
  outline-offset: 5px;
}

::selection {
  color: #fff;
  background: #b32235;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 16px;
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff0d5;
  color: #19050a;
  font-size: 13px;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px 18px;
}

.access-card {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--card-width));
  min-width: 0;
  border: 1px solid var(--red);
  border-radius: var(--card-radius);
  padding: 20px 15px 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 20px 90px #00000030, 0 0 35px #df142508;
  animation: card-enter 500ms ease-out both;
}

.card-header {
  padding: 5px 10px 23px;
  text-align: center;
}

.brand-heading {
  margin: 0;
  line-height: 1;
}

.brand-logo {
  width: 216px;
  height: 60px;
  margin: 0 auto;
  object-fit: contain;
}

.brand-caption {
  margin: 7px 0 0;
  color: #ae9191;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 2px;
}

.banner-frame {
  border: 1px solid #7c292f;
  border-radius: 19px;
  overflow: hidden;
  background: #25080d;
  box-shadow: inset 0 0 0 1px #ffffff04;
}

.brand-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 220ms ease;
}

.banner-frame:hover .brand-banner {
  filter: brightness(1.04);
}

.account-actions {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  scroll-margin-top: 22px;
}

.account-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.account-button:hover {
  transform: translateY(-2px);
}

.account-button:active {
  transform: translateY(0);
}

.button-login {
  color: #ff6671;
  background: #0b090a;
}

.button-login:hover {
  color: #ffb0b6;
  background: #2b0b11;
  box-shadow: 0 4px 17px #ff26371c;
}

.button-register {
  color: #180407;
  background: var(--red);
  box-shadow: 0 6px 25px #ed1d2d26;
}

.button-register:hover {
  background: var(--red-hover);
  box-shadow: 0 8px 28px #ed1d2d45;
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
}

.contact-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #50242b;
  border-radius: 50%;
  background: #120d0f;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: #241216;
  border-color: #a23947;
}

.contact-icon {
  display: block;
  width: 27px;
  height: 27px;
}

.access-information {
  margin: 14px 4px 0;
  color: #b69da2;
}

.access-information summary {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-inline: auto;
  list-style: none;
  gap: 5px;
  cursor: pointer;
  font-size: 10px;
  line-height: 1.5;
}

.access-information summary::-webkit-details-marker {
  display: none;
}

.access-information summary:hover {
  color: #eedfda;
}

.access-information summary svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.access-information[open] summary svg {
  transform: rotate(180deg);
}

.information-body {
  margin-top: 9px;
  border-top: 1px solid var(--line);
  padding: 5px 2px 0;
  font-size: 11px;
  line-height: 1.8;
  text-align: left;
}

.information-body p {
  margin: 9px 0;
}

.card-footer {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding: 14px 2px 0;
  text-align: center;
}

.card-footer p {
  margin: 0;
  color: #c1a2a7;
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: .6px;
}

.link-notice {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  border: 1px solid #8f3748;
  border-radius: 12px;
  padding: 13px 18px;
  color: #f8eaec;
  background: #2e0c14;
  box-shadow: 0 8px 35px #0006;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
  .page-shell { padding: 22px 16px; }
  .access-card { padding: 18px 14px 17px; }
  .card-header { padding-bottom: 19px; }
  .brand-logo { width: 207px; height: 57px; }
}

@media (max-width: 330px) {
  .page-shell { padding-inline: 12px; }
  .access-card { border-radius: 22px; padding-inline: 12px; }
  .brand-logo { width: 187px; height: 53px; }
  .brand-caption { font-size: 7px; letter-spacing: 1.5px; }
  .account-actions { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .account-button:hover, .contact-button:hover { transform: none; }
}
