/* ======================================================
   P.V.T. & T. Plas — Link Hub
   ธีมเดียวกับหน้าลงทะเบียน
   Navy Premium + Glass Card
====================================================== */

:root {
  --navy: #0f1670;
  --ink: #04113b;

  --accent-1: #0c2bb8;
  --accent-2: #2d60ee;
  --accent-grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));

  --gold: #c46a03;

  --text: #232A3B;
  --muted: #7C8496;
  --muted-soft: #ADB3C2;

  --line: #E9ECF4;
  --field-tint: #F3F5FB;
  --card-bg: rgba(255, 255, 255, 0.88);

  --card-pad-x: 26px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans Thai", "Kanit", sans-serif;
  background: #EEF1F8;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      560px 420px at 12% 8%,
      rgba(13, 47, 87, 0.16),
      transparent 70%
    ),
    radial-gradient(
      520px 460px at 88% 18%,
      rgba(23, 79, 134, 0.14),
      transparent 70%
    ),
    radial-gradient(
      600px 480px at 50% 100%,
      rgba(211, 166, 76, 0.14),
      transparent 70%
    );
}

.profile-card {
  width: min(100%, 408px);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 40px 80px -40px rgba(20, 43, 82, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.brand-header {
  width: 100%;
  min-height: 130px;
  padding: 28px 20px 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      #002077 0%,
      #0034a5 52%,
      #0072e4 100%
    );
}

.brand-mark {
  width: 100%;
  max-width: 260px;
  height: 86px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.card-body {
  padding: 24px var(--card-pad-x) 28px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-family: "Kanit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Kanit", sans-serif;
  font-size: clamp(27px, 7vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tagline {
  max-width: 330px;
  margin: 10px auto 24px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-button {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 43, 82, 0.04);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 47, 87, 0.25);
  box-shadow: 0 14px 30px -18px rgba(20, 43, 82, 0.25);
}

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

.link-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: var(--accent-grad);
}

.link-icon .material-symbols-outlined {
  font-size: 22px;
}

.link-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.link-title {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.link-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.link-arrow {
  color: var(--muted-soft);
  font-size: 18px;
}

.contact-card {
  margin-top: 18px;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  border: 1px solid rgba(211, 166, 76, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(211, 166, 76, 0.10),
      rgba(255, 255, 255, 0.92)
    );
}

.contact-label,
.contact-text {
  margin: 0;
}

.contact-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.contact-text {
  margin-top: 3px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.contact-button {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  background: var(--accent-grad);
  box-shadow: 0 14px 28px -14px rgba(13, 47, 87, 0.5);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -14px rgba(13, 47, 87, 0.56);
}

.contact-button .material-symbols-outlined {
  font-size: 22px;
}

footer {
  margin-top: 22px;
  color: var(--muted-soft);
  font-size: 11px;
}

.footer-dot {
  margin: 0 5px;
}

@media (max-width: 380px) {
  .profile-card {
    border-radius: 22px;
  }

  .card-body {
    --card-pad-x: 18px;
    padding-bottom: 22px;
  }

  .brand-header {
    min-height: 120px;
    padding: 24px 18px 20px;
  }

  .brand-mark {
    height: 78px;
  }

  .link-button {
    grid-template-columns: 44px 1fr 18px;
    gap: 12px;
    padding-right: 14px;
    padding-left: 12px; 
  }

  .link-icon {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 720px) {
  .page-shell {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .card-body {
    --card-pad-x: 32px;
    padding-bottom: 32px;
  }
}