/* ═══════════════════════════════════════════════
   Opulse Landing Page — style.css
   Aligned with TMA design system
   ═══════════════════════════════════════════════ */

:root {
  --bg-deep:        #0f1115;
  --bg-surface:     #1a1d24;
  --bg-elevated:    #1f2330;
  --text-primary:   #e4e4e7;
  --text-secondary: #a8a8aa;
  --text-muted:     #6b7280;
  --accent-gold:    #d4af37;
  --accent-gold-dark: #8e7326;
  --accent-green:   #10b981;
  --border-subtle:  rgba(255, 255, 255, 0.05);
  --border-default: rgba(212, 175, 55, 0.2);
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
  --transition:     0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: #0f1115;
  background-image: radial-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  background-attachment: fixed;
  color: #e4e4e7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

body > * { max-width: 860px; padding-left: 1.5rem; padding-right: 1.5rem; }

nav {
  position: sticky; top: 0; z-index: 100;
  max-width: 100%; width: 100%; margin: 0;
  padding: 0.875rem 2rem;
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center; letter-spacing: 0.05em;
}
nav a { color: #6b7280; text-decoration: none; font-size: 0.875rem; padding: 0.25rem 0.5rem; border-radius: 8px; transition: color 0.3s ease, background 0.3s ease; }
nav a:hover, nav a[aria-current="page"] { color: #d4af37; background: rgba(212,175,55,0.1); }

h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  background: linear-gradient(135deg, #8e7326, #d4af37, #f0c448);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin: 3rem auto 1.5rem; padding-top: 1rem;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem); font-weight: 600; color: #e4e4e7;
  margin: 3rem auto 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

h3 { font-size: 1.125rem; font-weight: 600; color: #d4af37; margin: 2rem auto 0.75rem; }

p { color: #a8a8aa; margin: 0 auto 1rem; }

ul, ol { padding-left: 0; padding-right: 0; list-style: none; margin: 0 auto 1.5rem; }

ul li, ol li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  margin-bottom: 0.5rem;
  background: rgba(26,29,36,0.7);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; color: #a8a8aa;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
ul li::before {
  content: '◆'; position: absolute; left: 1rem;
  color: #d4af37; font-size: 0.45rem; top: 50%; transform: translateY(-50%);
}
ol { counter-reset: item; }
ol li { counter-increment: item; }
ol li::before {
  content: counter(item); position: absolute; left: 1rem;
  color: #d4af37; font-size: 0.75rem; font-weight: 700; top: 50%; transform: translateY(-50%);
}
ul li:hover, ol li:hover { border-color: rgba(212,175,55,0.3); transform: translateX(3px); }
ul li strong, ol li strong { color: #e4e4e7; display: block; margin-bottom: 0.125rem; }

table {
  width: 100%; border-collapse: collapse; margin: 1.5rem auto;
  background: rgba(26,29,36,0.7); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2); backdrop-filter: blur(10px);
}
thead tr { background: linear-gradient(135deg, #8e7326, #d4af37); }
thead th { padding: 0.875rem 1.25rem; text-align: left; font-size: 0.875rem; font-weight: 600; color: #0f1115; letter-spacing: 0.04em; }
tbody tr { border-top: 1px solid rgba(255,255,255,0.05); transition: background 0.3s ease; }
tbody tr:hover { background: rgba(212,175,55,0.05); }
tbody td { padding: 0.875rem 1.25rem; color: #a8a8aa; font-size: 0.9375rem; }

blockquote {
  margin: 1.25rem auto;
  padding: 1.25rem 1.5rem;
  background: rgba(212,175,55,0.06);
  border-left: 3px solid #d4af37;
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(10px);
}
blockquote p { color: #e4e4e7; font-size: 1.0625rem; font-style: italic; margin: 0; }

em { color: #6b7280; font-style: italic; font-size: 0.9375rem; }

div:last-of-type {
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: rgba(26,29,36,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px; backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: 0 0 40px rgba(212,175,55,0.08);
}
div:last-of-type p { color: #e4e4e7; font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
div:last-of-type a {
  display: inline-block; margin-top: 1rem; padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, #8e7326, #d4af37);
  color: #0f1115; font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 12px; letter-spacing: 0.03em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
div:last-of-type a:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,175,55,0.5); }

@media (max-width: 600px) {
  body > * { padding-left: 1rem; padding-right: 1rem; }
  nav { padding: 0.75rem 1rem; }
}
