/*
Theme Name: ArcheAge S Fan Hub
Theme URI: https://archeageii.com/
Author: ArcheAge S Fan Hub
Description: A dark, single-page informational fan theme for ArcheAge S: Strait of Freedom. No navigation menu; designed to grow as official information is released.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: archeage-s-fan
*/

:root {
  --bg: #06171c;
  --bg-deep: #031015;
  --panel: rgba(7, 27, 33, 0.78);
  --panel-strong: #0a2229;
  --text: #e7e4da;
  --muted: #b4bbb8;
  --gold: #c8924b;
  --gold-soft: #e1b66f;
  --line: rgba(200, 146, 75, 0.32);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(19, 61, 67, .18), transparent 36rem),
    linear-gradient(180deg, #071b21 0%, var(--bg) 32%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body.admin-bar .aa-hero { min-height: calc(78vh - 32px); }
a { color: var(--gold-soft); text-decoration: none; }
a:hover, a:focus { color: #f2d096; }
img { max-width: 100%; height: auto; display: block; }

.aa-site { overflow: hidden; }
.aa-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.aa-section { padding: 82px 0; border-top: 1px solid rgba(200,146,75,.12); }
.aa-section:first-of-type { border-top: 0; }

.aa-eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 700;
}
.aa-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: .015em;
  color: #f1eadb;
  text-wrap: balance;
}
.aa-title-small {
  margin: 0 0 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--gold-soft);
  font-weight: 500;
  letter-spacing: .03em;
}
.aa-lead { color: #d5dad6; font-size: 1.08rem; max-width: 760px; }

/* Hero */
.aa-hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(1,10,13,.30), rgba(2,17,21,.70) 70%, var(--bg) 100%),
    url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center top;
  isolation: isolate;
}
.aa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(1,10,13,.38), transparent 32%, transparent 72%, rgba(1,10,13,.18));
}
.aa-hero-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  padding: 92px 0 120px;
}
.aa-brand { margin: 0 0 58px; }
.aa-brand-main {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  letter-spacing: .015em;
  line-height: .95;
  color: #f4efe4;
}
.aa-brand-main em { color: var(--gold); font-style: normal; }
.aa-brand-sub {
  display: inline-block;
  margin-top: 12px;
  color: #e9e4d9;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .95rem;
}
.aa-hero .aa-title { text-shadow: 0 3px 24px rgba(0,0,0,.7); }
.aa-hero-copy {
  margin: 30px auto 0;
  max-width: 700px;
  font-size: 1.08rem;
  color: #e1e4df;
  text-shadow: 0 2px 16px rgba(0,0,0,.78);
}
.aa-divider {
  width: 120px;
  height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Confirmed details */
.aa-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.aa-card {
  min-height: 205px;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(12,39,46,.82), rgba(5,24,30,.76));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  border-radius: 3px;
}
.aa-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border: 1px solid rgba(200,146,75,.42);
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  transform: rotate(45deg);
}
.aa-card-icon span { transform: rotate(-45deg); }
.aa-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #f1eadf;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.aa-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.aa-ref { color: var(--gold-soft); font-size: .78em; vertical-align: super; }

/* Status */
.aa-status-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.aa-status-copy p { color: #cbd1ce; }
.aa-status-highlight { color: var(--gold-soft) !important; font-family: Georgia, serif; font-size: 1.13rem; }
.aa-map-frame {
  position: relative;
  border: 1px solid rgba(200,146,75,.48);
  padding: 7px;
  background: #0b2228;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.aa-map-frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.78) brightness(.78); }
.aa-map-label {
  position: absolute;
  left: 18px;
  bottom: 17px;
  padding: 8px 11px;
  background: rgba(1,13,16,.86);
  border: 1px solid rgba(200,146,75,.32);
  color: #d8c19c;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* References */
.aa-reference-list { display: grid; gap: 14px; }
.aa-reference {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(200,146,75,.18);
}
.aa-reference-num { color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.15rem; }
.aa-reference strong { display: block; margin-bottom: 4px; color: #ece8de; font-weight: 600; }
.aa-reference span { color: #aeb6b3; font-size: .92rem; }
.aa-reference a { white-space: nowrap; font-size: .9rem; }
.aa-note {
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid rgba(200,146,75,.35);
  background: rgba(8,31,37,.75);
  color: #d8d7cd;
}

/* Optional WordPress page content */
.aa-extra-content { margin-top: 42px; color: #c9cfcc; }
.aa-extra-content > *:first-child { margin-top: 0; }
.aa-extra-content h2, .aa-extra-content h3 { font-family: Georgia, serif; color: var(--gold-soft); }

/* Footer */
.aa-footer {
  padding: 36px 0 46px;
  border-top: 1px solid rgba(200,146,75,.22);
  background: rgba(2,14,18,.7);
}
.aa-footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 46px;
  align-items: center;
}
.aa-footer-logo { font-family: Georgia, serif; font-size: 1.5rem; color: #eee8dc; }
.aa-footer-logo em { color: var(--gold); font-style: normal; }
.aa-footer p { margin: 0; max-width: 760px; color: #929e9a; font-size: .83rem; }

.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 900px) {
  .aa-section { padding: 64px 0; }
  .aa-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .aa-status-grid { grid-template-columns: 1fr; gap: 34px; }
  .aa-reference { grid-template-columns: 38px 1fr; }
  .aa-reference a { grid-column: 2; white-space: normal; }
}
@media (max-width: 620px) {
  .aa-wrap { width: min(100% - 28px, var(--max)); }
  .aa-hero-inner { width: min(100% - 28px, 920px); padding: 64px 0 92px; }
  .aa-brand { margin-bottom: 44px; }
  .aa-cards { grid-template-columns: 1fr; }
  .aa-card { min-height: 0; }
  .aa-footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
