:root {
  --bg: #050508;
  --bg2: #09090f;
  --bg3: #0f0f1a;
  --gold: #c8a84b;
  --gold2: #f0d070;
  --gold-dim: rgba(200, 168, 75, 0.12);
  --cyan: #00e5ff;
  --orange: #f59e0b;
  --red: #ff3b5c;
  --green: #00ff88;
  --text: #e8e4d8;
  --text-dim: #7a7068;
  --border: rgba(200, 168, 75, 0.18);
  --border2: rgba(200, 168, 75, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 75, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 8, 0.7);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: -1px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--text-dim);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

/* ── BREADCRUMB ── */
.breadcrumb-container {
  margin-top: 110px;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  list-style: none;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold2);
}

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
  color: var(--text-dim);
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb li.active {
  color: var(--text);
}

/* ── CONTAINER & LAYOUT ── */
.main-container {
  max-width: 1200px;
  margin: 40px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

@media (max-width: 960px) {
  .main-container {
    grid-template-columns: 1fr;
  }
}

/* ── DETAIL CONTENT ── */
.ea-content {
  background: rgba(9, 9, 15, 0.6);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.ea-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 24px;
}

.ea-badge-version {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: var(--gold-dim);
  color: var(--gold2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ea-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.ea-title span {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ea-tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--gold2);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

p {
  margin-bottom: 20px;
  color: #c8c4b8;
}

ul.features-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul.features-list li {
  position: relative;
  padding-left: 28px;
  color: #c8c4b8;
}

ul.features-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}

ul.features-list li strong {
  color: var(--text);
}

/* ── SIDEBAR ── */
.ea-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.sidebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border2);
  padding-bottom: 12px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border2);
  font-size: 0.9rem;
}

.spec-table td:first-child {
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
}

.spec-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

.btn-sidebar-cta {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.btn-sidebar-cta:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border2);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
