/* ============================================
   PAGE — about, contact, account, term
   ============================================ */

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Article / Term ---- */
.article {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-gold-soft);
  border-radius: 16px;
  padding: 24px 20px;
}

.article h2 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: var(--gold-soft);
  letter-spacing: 1px;
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.article h3 {
  font-size: 14px;
  color: var(--cream);
  letter-spacing: 0.5px;
  margin: 18px 0 8px;
  font-weight: 600;
}

.article p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.article p:last-child { margin-bottom: 0; }

.article ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
}

.article ul li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.article a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.article strong { color: var(--cream); font-weight: 600; }

/* ---- Contact card ---- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-gold-soft);
  border-radius: 14px;
  padding: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1f1f24;
  border: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-body { flex: 1; }

.contact-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  color: var(--cream);
  line-height: 1.5;
  word-break: break-word;
}

.contact-value a {
  color: var(--cream);
  text-decoration: none;
}

.contact-value a:hover { color: var(--gold); }

/* ---- Form ---- */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-gold-soft);
  border-radius: 16px;
  padding: 24px 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #0c0c10;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--cream);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #4a4842;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23d4af37' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-check a {
  color: var(--gold);
  text-decoration: none;
}

.form-btn {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form-btn:active {
  transform: scale(0.98);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.14));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-note {
  font-size: 11px;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.6;
}

/* ---- Back link (top) ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 8px 0;
}

.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Success message ---- */
.form-success {
  display: none;
  background: rgba(80, 160, 90, 0.12);
  border: 1px solid rgba(80, 160, 90, 0.4);
  color: #a6d8a8;
  font-size: 13px;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.6;
}

.form-success.show { display: block; }

@media (min-width: 768px) {
  .article { padding: 32px 28px; }
  .article h2 { font-size: 20px; }
  .article p, .article ul li { font-size: 14px; }
  .form { padding: 32px 28px; }
  .form-input, .form-select, .form-textarea { font-size: 15px; }
}