/* =========================================================
   OKFIQ — Link Page
   Dark theme + static gold glow borders
   ========================================================= */

:root {
  --bg: #0a0806;
  --card-bg: #0d0b08;
  --btn-bg: #0f0d0a;
  --gold: #f0c04a;
  --gold-bright: #ffd76a;
  --gold-dim: #b8892a;
  --text: #f5efe0;
  --text-dim: #b3aa96;
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 480px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 192, 74, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(240, 192, 74, 0.05), transparent);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 16px 48px;
  line-height: 1.4;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Logo ---------- */
.logo-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.logo-wrap img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* ---------- Outer glow card ---------- */
.card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(240, 192, 74, 0.45);
  border-radius: 20px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(240, 192, 74, 0.08),
    0 0 18px rgba(240, 192, 74, 0.35),
    0 0 40px rgba(240, 192, 74, 0.12);
}

/* ---------- Banner image ---------- */
.banner {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(240, 192, 74, 0.25);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Tagline ---------- */
.tagline {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 14px;
  background: var(--btn-bg);
  border: 1px solid rgba(240, 192, 74, 0.55);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(240, 192, 74, 0.06),
    0 0 10px rgba(240, 192, 74, 0.45),
    0 0 22px rgba(240, 192, 74, 0.18);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: #14110c;
  box-shadow:
    0 0 0 1px rgba(240, 192, 74, 0.1),
    0 0 14px rgba(240, 192, 74, 0.65),
    0 0 32px rgba(240, 192, 74, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--gold-bright);
}

.btn-primary {
  background: linear-gradient(180deg, #171209, var(--btn-bg));
  font-size: 15px;
  padding: 17px 14px;
}

.btn-primary span {
  color: var(--gold-bright);
}

/* ---------- Footer note bar ---------- */
.info-bar {
  width: 100%;
  margin-top: 12px;
  padding: 13px 14px;
  background: var(--btn-bg);
  border: 1px solid rgba(240, 192, 74, 0.35);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  box-shadow:
    0 0 8px rgba(240, 192, 74, 0.25),
    0 0 18px rgba(240, 192, 74, 0.1);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------- Focus visibility for accessibility ---------- */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 380px) {
  .links-row {
    gap: 10px;
  }
  .btn {
    font-size: 13px;
    padding: 14px 10px;
  }
}