/* =======================================================================
   968Forums.com - Shared Styles
   ======================================================================= */

:root {
  --navy-dark: #0d1f2d;
  --navy: #1a3550;
  --navy-light: #2a4d6e;
  --gold: #d4a84b;
  --gold-light: #f0c96e;
  --cream: #f5f0e8;
  --white: #ffffff;
  --gray-100: #f7f7f5;
  --gray-200: #e8e6e1;
  --gray-400: #999;
  --gray-600: #555;
  --gray-800: #2a2a2a;
  --text: #333;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- HEADER ---------- */
.site-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-inner img { max-height: 120px; width: auto; }

/* ---------- NAVIGATION ---------- */
.site-nav {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.nav-inner a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 14px 22px;
  transition: all 0.2s;
  position: relative;
}
.nav-inner a:hover, .nav-inner a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 22px; right: 22px;
  height: 2px;
  background: var(--gold);
}

/* ---------- PAGE CONTENT ---------- */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.content-card {
  background: var(--white);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  animation: fadeInUp 0.5s ease both;
}

.content-card-header {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  padding: 12px 20px;
}

.content-card-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.content-card-body {
  padding: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

.content-card-body p { margin-bottom: 16px; }
.content-card-body p:last-child { margin-bottom: 0; }
.content-card-body strong { color: var(--gray-800); }

.content-card-body a {
  color: var(--navy-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-card-body a:hover { color: var(--gold); }

.content-card-body ul {
  margin: 12px 0;
  padding-left: 20px;
}
.content-card-body li { margin-bottom: 8px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  line-height: 1.6;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  text-align: center;
}
.footer-inner p { margin-bottom: 8px; }
.footer-inner p:last-child { margin-bottom: 0; }
.footer-inner strong { color: rgba(255,255,255,0.6); }
.footer-inner a { color: rgba(255,255,255,0.5); }
.footer-inner a:hover { color: var(--gold); }

/* ---------- DONATE PAGE ---------- */
.donate-tier {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
}

.donate-tier h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.donate-tier ul { margin: 8px 0 0; padding-left: 20px; font-size: 14px; }
.donate-tier li { margin-bottom: 4px; }

.donate-swag {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.donate-swag img { height: 120px; width: auto; }

.paypal-btn { display: inline-block; }
.paypal-btn input[type="image"] { vertical-align: middle; }

/* ---------- LINKS PAGE ---------- */
.links-section { margin-bottom: 24px; }

.links-section h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 12px;
}

.links-section a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  text-decoration: none;
}
.links-section a:hover { text-decoration: underline; }

/* ---------- STORE PAGE ---------- */
.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px 0;
}
.store-grid a { display: block; transition: transform 0.2s; text-decoration: none; }
.store-grid a:hover { transform: scale(1.03); }
.store-grid img { height: 160px; width: auto; border-radius: 4px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; }
  .nav-inner a { padding: 10px 14px; font-size: 12px; }
}

@media (max-width: 600px) {
  .header-inner img { max-height: 80px; }
  .nav-inner a { padding: 8px 10px; font-size: 11px; letter-spacing: 1px; }
  .content-card-body { padding: 16px; }
  .donate-swag img { height: 80px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
