:root {
  --bg: #07111f;
  --panel: #111b2c;
  --panel-2: #17263c;
  --text: #f8fbff;
  --muted: #b8c7d9;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #1f6fd1;
  --sky: #aee8ff;
  --gold: #f4bd3f;
  --red: #e44242;
  --green: #20b36b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 7%;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.94);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand small {
  display: block;
  color: var(--muted);
}
.logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  color: #06101e;
  font-weight: 900;
}
.image-logo {
  overflow: hidden;
  background: #ffffff;
}
.image-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 900;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--sky); }
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 72px 7%;
  background:
    linear-gradient(130deg, rgba(7, 17, 31, 0.98), rgba(9, 43, 83, 0.78)),
    radial-gradient(circle at 80% 40%, rgba(174, 232, 255, 0.22), transparent 34%);
}
.hero-copy { max-width: 780px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 12px;
}
p {
  color: var(--muted);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.btn.primary {
  background: var(--gold);
  color: #08111f;
}
.btn.ghost {
  border-color: var(--line);
  background: #0a1525;
  color: var(--text);
}
.btn.full { width: 100%; }
.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.password-row input { min-width: 0; }
.date-select-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 8px;
}
.icon-btn {
  min-width: 74px;
  padding-inline: 14px;
}
.hero-stage {
  display: grid;
  place-items: center;
}
.hero-stage img {
  width: min(100%, 560px);
  border-radius: 20px;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.24));
}
.hero-stage .hero-logo {
  width: min(72vw, 420px);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.section { padding: 72px 7%; }
.muted-section { background: #0b1728; }
.gallery-feature {
  background: #081321;
}
.section-head { max-width: 820px; margin-bottom: 28px; }
.info-grid,
.form-layout,
.form-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr); align-items: start; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-full { grid-column: 1 / -1; }
.info-card,
.form-card,
.notice,
.profile-summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), #0b1422);
  padding: 24px;
}
.form-intro {
  max-width: 760px;
  margin-bottom: 22px;
}
.form-section-title {
  margin: 22px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-section-title:first-of-type {
  margin-top: 0;
}
label {
  display: block;
  margin-bottom: 7px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
}
.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(174, 232, 255, 0.07);
  color: var(--text);
  font-size: 13px;
}
.checkbox-group input {
  width: auto;
  min-height: auto;
  margin: 0;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
  color: var(--text);
}
textarea { min-height: 96px; resize: vertical; }
.status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
}
.field-help {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.notice {
  position: sticky;
  top: 104px;
}
.profile-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-photo {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #07111f;
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  gap: 10px;
  align-items: center;
  margin: 16px 0;
}
.master-list {
  display: grid;
  gap: 12px;
}
.master-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a1525;
}
.master-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.detail-grid span {
  display: grid;
  gap: 3px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.detail-grid b {
  color: var(--sky);
  font-size: 12px;
  text-transform: uppercase;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.paid { color: #8ef0bc; font-weight: 900; }
.pending { color: #ffd56b; font-weight: 900; }
.danger { color: var(--red); font-weight: 900; }
.admin-action-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.62);
}
.admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}
.admin-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111f;
}
.admin-stats strong {
  display: block;
  font-size: 34px;
}
.admin-stats span {
  color: var(--muted);
  font-weight: 900;
}
.position-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.position-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(174, 232, 255, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}
.objective-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.objective-list h3 {
  margin: 0;
  color: var(--gold);
  font-size: 16px;
}
.objective-list p {
  margin-bottom: 4px;
}
.objective-list span {
  display: block;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(174, 232, 255, 0.07);
  color: var(--text);
  font-weight: 800;
}
.public-member-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.profile-photo.small {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}
.profile-photo.placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--sky);
  font-weight: 900;
}
.detail-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-data-grid,
.payment-bank-card,
.bank-detail-grid,
.size-guide-grid {
  display: grid;
  gap: 14px;
}
.profile-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-data-grid span {
  display: grid;
  gap: 4px;
}
.footer {
  padding: 30px 7%;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 860px) {
  .hero,
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .toolbar,
  .master-row,
  .detail-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .profile-summary-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .notice {
    position: static;
  }
  .nav {
    padding: 14px 5%;
  }
}
