/* ==========================================================================
   PoE2 Companion — Public Website Styles
   Faithful to Path of Exile 2 Dark Gothic Design System (docs/DESIGN_SYSTEM.md)
   Strict 2px border radius, aged bronze, warm parchment, and stone surfaces.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=JetBrains+Mono:wght@500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface & Background */
  --poe2-bg-deep: #0a0807;
  --poe2-bg-surface: #12100e;
  --poe2-bg-card: #15110d;
  --poe2-bg-card-hover: #1c1611;
  --poe2-bg-input: #0d0a08;
  --poe2-bg-elevated: #1a1510;

  /* Borders & Highlights */
  --poe2-border-strong: #5a4428;
  --poe2-border-highlight: #8e6f42;
  --poe2-border-groove: #2e2318;
  --poe2-border-subtle: #3d2f1f;
  --poe2-border-accent: #c9a961;

  /* Gold Palette */
  --poe2-gold-primary: #c9a961;
  --poe2-gold-bright: #ffd54f;
  --poe2-gold-secondary: #8c734b;
  --poe2-gold-glow: rgba(201, 169, 97, 0.25);

  /* Text Colors */
  --poe2-text-bright: #ede2cd;
  --poe2-text-muted: #8c8273;
  --poe2-text-subtle: #5a5347;

  /* Status Colors */
  --poe2-cyan-telemetry: #2ed8ff;
  --poe2-green-active: #44dd88;
  --poe2-red-danger: #ef5350;

  /* Strict Geometry */
  --poe2-radius: 2px;

  /* Fonts */
  --poe2-font-title: 'Cinzel', 'Noto Sans Thai', 'Leelawadee UI', serif;
  --poe2-font-ui: 'Outfit', 'Noto Sans Thai', 'Leelawadee UI', sans-serif;
  --poe2-font-mono: 'JetBrains Mono', 'Noto Sans Thai', 'Leelawadee UI', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--poe2-bg-deep);
  color: var(--poe2-text-bright);
  font-family: var(--poe2-font-ui);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 169, 97, 0.08), transparent 70%),
    radial-gradient(circle at 10% 30%, rgba(90, 68, 40, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, var(--poe2-bg-deep) 0%, #0d0a08 50%, var(--poe2-bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--poe2-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--poe2-border-strong);
  border-radius: var(--poe2-radius);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--poe2-gold-secondary);
}

/* Typography Helpers */
h1, h2, h3, h4, .font-title {
  font-family: var(--poe2-font-title);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

p {
  line-height: 1.6;
  color: var(--poe2-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header standard */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-family: var(--poe2-font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--poe2-gold-primary);
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--poe2-border-strong);
  border-radius: var(--poe2-radius);
  padding: 4px 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--poe2-text-bright);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--poe2-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 7, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--poe2-border-groove);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.nav-poe-emblem {
  color: var(--poe2-gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 213, 79, 0.4);
  transition: transform 0.2s ease, text-shadow 0.2s ease;
  display: inline-block;
}

.nav-brand:hover .nav-poe-emblem {
  transform: scale(1.15);
  text-shadow: 0 0 14px rgba(255, 213, 79, 0.7);
}

.nav-brand-text {
  font-family: var(--poe2-font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--poe2-gold-primary);
  letter-spacing: 0.08em;
  transition: color 0.15s ease;
}

.nav-brand:hover .nav-brand-text {
  color: var(--poe2-gold-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--poe2-font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--poe2-text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--poe2-gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #1d1813 0%, #110e0b 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  color: var(--poe2-gold-primary);
  font-family: var(--poe2-font-title), var(--poe2-font-ui), sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.15s ease;
  user-select: none;
  line-height: 1;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
  background: linear-gradient(180deg, #282019 0%, #16120e 100%);
  border-color: var(--poe2-gold-primary);
  color: var(--poe2-gold-bright);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.35);
}

.lang-dropdown-btn:focus-visible {
  outline: none;
  border-color: var(--poe2-gold-bright);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.5);
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.lang-arrow-icon {
  width: 9px;
  height: 6px;
  color: var(--poe2-gold-primary);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
  flex-shrink: 0;
}

.lang-dropdown-btn:hover .lang-arrow-icon,
.lang-dropdown.open .lang-arrow-icon {
  color: var(--poe2-gold-bright);
}

.lang-dropdown.open .lang-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Popup */
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 164px;
  background: linear-gradient(180deg, #18130e 0%, #0f0c09 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 2px solid var(--poe2-gold-primary);
  border-radius: var(--poe2-radius);
  box-shadow: inset 0 0 0 1px var(--poe2-border-groove), 0 10px 28px rgba(0, 0, 0, 0.92), 0 0 16px rgba(201, 169, 97, 0.15);
  padding: 4px 0;
  margin: 0;
  list-style: none;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  font-family: var(--poe2-font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--poe2-text-bright);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  user-select: none;
  border-left: 2px solid transparent;
  outline: none;
}

.lang-item:not(:last-child) {
  border-bottom: 1px solid rgba(46, 35, 24, 0.6);
}

.lang-item:hover,
.lang-item:focus {
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.15) 0%, rgba(90, 68, 40, 0.05) 100%);
  color: var(--poe2-gold-bright);
  border-left-color: var(--poe2-gold-primary);
}

.lang-item.active {
  background: rgba(201, 169, 97, 0.08);
  color: var(--poe2-gold-bright);
  font-weight: 600;
  border-left-color: var(--poe2-gold-primary);
}

.lang-item-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-item-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-item-name {
  line-height: 1.2;
}

.lang-item-check {
  font-size: 0.68rem;
  color: var(--poe2-gold-primary);
  opacity: 0;
  transition: opacity 0.15s ease;
  margin-left: 8px;
}

.lang-item.active .lang-item-check {
  opacity: 1;
  text-shadow: 0 0 6px rgba(201, 169, 97, 0.5);
}

.lang-item:hover .lang-item-check {
  color: var(--poe2-gold-bright);
}

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

/* Discord Nav Button */
.btn-nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #1d1813 0%, #110e0b 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  color: var(--poe2-text-bright);
  font-family: var(--poe2-font-title);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-nav-discord:hover {
  background: linear-gradient(180deg, #282019 0%, #16120e 100%);
  border-color: #5865f2;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
}

.nav-discord-icon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  display: block;
}

/* Compact Nav Button */
.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #2b2219 0%, #1a140e 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  color: var(--poe2-gold-primary);
  font-family: var(--poe2-font-title);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.15s ease;
}

.btn-nav-download:hover {
  background: linear-gradient(180deg, #382c20 0%, #221a12 100%);
  border-color: var(--poe2-gold-primary);
  color: var(--poe2-gold-bright);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-logo-box {
  display: inline-block;
  margin-bottom: 24px;
  cursor: pointer;
  text-decoration: none;
}

.hero-logo-box:focus-visible {
  outline: 2px solid var(--poe2-gold-primary);
  outline-offset: 6px;
  border-radius: var(--poe2-radius);
}

.hero-main-logo {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.9));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-logo-box:hover .hero-main-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 18px rgba(201, 169, 97, 0.25));
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--poe2-text-bright);
  max-width: 860px;
  margin: 0 auto 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--poe2-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Primary Large Download Button */
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #3a2d1f 0%, #1f1710 100%);
  border: 1px solid var(--poe2-border-highlight);
  border-top: 1px solid var(--poe2-gold-primary);
  border-radius: var(--poe2-radius);
  color: var(--poe2-gold-bright);
  font-family: var(--poe2-font-title);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.8);
  transition: all 0.2s ease;
}

.btn-primary-lg:hover {
  background: linear-gradient(180deg, #4d3c2a 0%, #291f15 100%);
  border-color: var(--poe2-gold-bright);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-version-pill {
  font-family: var(--poe2-font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--poe2-border-strong);
  border-radius: var(--poe2-radius);
  padding: 2px 6px;
  color: var(--poe2-gold-primary);
}

/* Secondary Button */
.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 17, 13, 0.8);
  border: 1px solid var(--poe2-border-subtle);
  border-radius: var(--poe2-radius);
  color: var(--poe2-text-bright);
  font-family: var(--poe2-font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary-lg:hover {
  background: rgba(30, 24, 18, 0.9);
  border-color: var(--poe2-border-highlight);
  color: var(--poe2-gold-primary);
}

/* Discord Hero CTA Button */
.btn-discord-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #201a14 0%, #13100c 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  color: var(--poe2-text-bright);
  font-family: var(--poe2-font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.7);
}

.btn-discord-hero:hover {
  background: linear-gradient(180deg, #2c231b 0%, #18130e 100%);
  border-color: #5865f2;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.discord-hero-icon {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  display: block;
}

.hero-meta {
  font-size: 0.76rem;
  color: var(--poe2-text-subtle);
  font-family: var(--poe2-font-mono);
  margin-bottom: 32px;
}

/* Hero Preview Showcase */
.hero-preview-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px;
  background: radial-gradient(circle at center, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
}

.hero-preview-frame {
  position: relative;
  background: var(--poe2-bg-surface);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  box-shadow: inset 0 0 0 1px var(--poe2-border-groove), 0 8px 32px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-preview-img,
.hero-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: transparent;
}

.overlay-preview-slot {
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

/* ==========================================================================
   Video Loading Indicator (Staggered 3-Emblem Bounce)
   ========================================================================== */
.video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 7, 0.65);
  backdrop-filter: blur(4px);
  z-index: 5;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.video-loaded .video-loader {
  opacity: 0;
  visibility: hidden;
}

.video-loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loader-emblem {
  color: var(--poe2-gold-bright);
  font-size: 1.4rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 213, 79, 0.6);
  animation: emblemBounce 1s infinite ease-in-out both;
  display: inline-block;
  user-select: none;
}

.loader-emblem:nth-child(1) {
  animation-delay: -0.3s;
}

.loader-emblem:nth-child(2) {
  animation-delay: -0.15s;
}

.loader-emblem:nth-child(3) {
  animation-delay: 0s;
}

@keyframes emblemBounce {
  0%, 80%, 100% {
    transform: translateY(0) scale(0.85);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-10px) scale(1.15);
    opacity: 1;
    text-shadow: 0 0 16px rgba(255, 213, 79, 0.95);
  }
}



/* ==========================================================================
   Automation Section (Spotlight)
   ========================================================================== */
.automation-section {
  padding: 80px 0;
  border-top: 1px solid var(--poe2-border-groove);
  background: radial-gradient(circle at 50% 30%, rgba(201, 169, 97, 0.03) 0%, transparent 60%);
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

/* Standard Gothic Card (.panel-card matching DESIGN_SYSTEM.md) */
.panel-card {
  background: var(--poe2-bg-surface);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  box-shadow: inset 0 0 0 1px var(--poe2-border-groove), 0 4px 14px rgba(0, 0, 0, 0.7);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.panel-card:hover {
  background: var(--poe2-bg-card-hover);
  border-color: var(--poe2-gold-secondary);
  border-top-color: var(--poe2-gold-primary);
  box-shadow: inset 0 0 0 1px var(--poe2-border-strong), 0 6px 20px rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.card-header {
  border-bottom: 1px solid var(--poe2-border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header-icon {
  font-size: 1.25rem;
  color: var(--poe2-gold-primary);
}

.card-title {
  font-family: var(--poe2-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--poe2-gold-primary);
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--poe2-text-bright);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Visual Preview Slot inside Card */
.card-preview-slot {
  margin-bottom: 20px;
  border: 1px solid var(--poe2-border-subtle);
  border-radius: var(--poe2-radius);
  background: var(--poe2-bg-input);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-preview-img,
.card-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback Mockup UI (renders when image is loading or placeholder) */
.preview-mockup {
  width: 100%;
  height: 100%;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at center, #1b1612 0%, #0d0a08 100%);
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--poe2-border-groove);
  border-radius: var(--poe2-radius);
  font-size: 0.75rem;
}

.mockup-label {
  color: var(--poe2-text-muted);
}

.mockup-val {
  font-family: var(--poe2-font-mono);
  color: var(--poe2-gold-bright);
  font-weight: 600;
}

.mockup-badge-active {
  color: var(--poe2-green-active);
  font-family: var(--poe2-font-mono);
  font-size: 0.7rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag-badge {
  font-family: var(--poe2-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--poe2-gold-secondary);
  background: rgba(140, 115, 75, 0.08);
  border: 1px solid var(--poe2-border-subtle);
  border-radius: var(--poe2-radius);
  padding: 2px 8px;
}

/* ==========================================================================
   In-Game Overlays Section
   ========================================================================== */
.overlays-section {
  padding: 80px 0;
  border-top: 1px solid var(--poe2-border-groove);
}

.overlays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overlay-feature-card {
  background: var(--poe2-bg-surface);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  box-shadow: inset 0 0 0 1px var(--poe2-border-groove), 0 3px 10px rgba(0, 0, 0, 0.6);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.overlay-feature-card:hover {
  background: var(--poe2-bg-card-hover);
  border-color: var(--poe2-gold-secondary);
  transform: translateY(-2px);
}

.overlay-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.overlay-card-title {
  font-family: var(--poe2-font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--poe2-gold-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.overlay-card-desc {
  font-size: 0.85rem;
  color: var(--poe2-text-bright);
  line-height: 1.5;
}



/* ==========================================================================
   Quick Start / How It Works
   ========================================================================== */
.how-section {
  padding: 80px 0;
  border-top: 1px solid var(--poe2-border-groove);
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.02) 0%, transparent 60%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--poe2-bg-surface);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  padding: 24px;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--poe2-border-groove);
}

.step-num {
  font-family: var(--poe2-font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--poe2-gold-primary);
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--poe2-font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--poe2-text-bright);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--poe2-text-muted);
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.cta-section {
  padding: 80px 0;
  border-top: 1px solid var(--poe2-border-groove);
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
}

.cta-title {
  font-size: 2.2rem;
  color: var(--poe2-text-bright);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--poe2-text-muted);
  margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--poe2-border-groove);
  padding: 40px 0;
  background: #090706;
  font-size: 0.78rem;
  color: var(--poe2-text-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--poe2-gold-primary);
  font-family: var(--poe2-font-title);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  background: rgba(22, 17, 13, 0.7);
  transition: all 0.15s ease;
  text-decoration: none;
}

.footer-discord-link:hover {
  border-color: #5865f2;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}

.footer-discord-icon {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  display: block;
}

.footer-disclaimer {
  max-width: 720px;
  line-height: 1.6;
  color: var(--poe2-text-subtle);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--poe2-font-mono);
  font-size: 0.72rem;
}

/* ==========================================================================
   Access Plans / Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  background: 
    radial-gradient(ellipse 60% 40% at 50% 20%, rgba(201, 169, 97, 0.05), transparent 70%),
    linear-gradient(180deg, var(--poe2-bg-deep) 0%, rgba(18, 14, 11, 0.6) 50%, var(--poe2-bg-deep) 100%);
  border-top: 1px solid var(--poe2-border-groove);
  border-bottom: 1px solid var(--poe2-border-groove);
}

.pricing-community-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: 
    linear-gradient(135deg, rgba(26, 21, 16, 0.95) 0%, rgba(18, 14, 11, 0.95) 100%);
  border: 1px solid var(--poe2-border-strong);
  border-top: 2px solid var(--poe2-gold-primary);
  border-radius: var(--poe2-radius);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.community-banner-tag {
  font-family: var(--poe2-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--poe2-gold-bright);
  margin-bottom: 4px;
}

.community-banner-heading {
  font-family: var(--poe2-font-title);
  font-size: 1.15rem;
  color: var(--poe2-text-bright);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.community-banner-text {
  font-size: 0.9rem;
  color: var(--poe2-text-muted);
  line-height: 1.4;
}

.btn-discord-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #3a2d1f 0%, #1f1710 100%);
  border: 1px solid var(--poe2-border-highlight);
  border-top: 1px solid var(--poe2-gold-primary);
  border-radius: var(--poe2-radius);
  color: var(--poe2-gold-bright);
  font-family: var(--poe2-font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.btn-discord-banner:hover {
  background: linear-gradient(180deg, #4d3c2a 0%, #2b2016 100%);
  border-color: var(--poe2-gold-bright);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(201, 169, 97, 0.4);
  transform: translateY(-2px);
}

.discord-banner-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.pricing-plans-wrapper {
  position: relative;
  border-radius: var(--poe2-radius);
}

.pricing-plans-wrapper.has-free-event .pricing-grid {
  filter: blur(5px) opacity(0.25);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.free-event-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 7, 0.72);
  backdrop-filter: blur(4px);
  z-index: 10;
  padding: 24px;
  animation: fadeInOverlay 0.35s ease forwards;
}

.free-event-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(30, 24, 18, 0.98) 0%, rgba(14, 11, 9, 0.98) 100%);
  border: 1px solid var(--poe2-border-highlight);
  border-top: 2px solid var(--poe2-gold-primary);
  border-radius: var(--poe2-radius);
  padding: 36px 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(201, 169, 97, 0.15);
  max-width: 540px;
  width: 100%;
}

.free-event-emblem {
  font-size: 2.2rem;
  color: var(--poe2-gold-bright);
  text-shadow: 0 0 16px rgba(255, 213, 79, 0.75);
  margin-bottom: 12px;
  line-height: 1;
}

.free-event-title {
  font-family: var(--poe2-font-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--poe2-gold-bright);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.free-event-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--poe2-border-subtle);
  border-radius: var(--poe2-radius);
  padding: 10px 18px;
  font-size: 1rem;
  color: var(--poe2-text-bright);
  flex-wrap: wrap;
}

.free-event-timer-label {
  color: var(--poe2-text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.free-event-countdown {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--poe2-gold-primary);
  text-shadow: 0 0 10px rgba(255, 213, 79, 0.35);
  letter-spacing: 0.04em;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pricing-card {
  position: relative;
  background: var(--poe2-bg-card);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--poe2-gold-secondary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.pricing-card-highlight {
  border-color: var(--poe2-gold-primary);
  border-top: 2px solid var(--poe2-gold-bright);
  background: linear-gradient(180deg, rgba(28, 22, 17, 0.95) 0%, var(--poe2-bg-card) 100%);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.15);
}

.pricing-card-highlight:hover {
  border-color: var(--poe2-gold-bright);
  box-shadow: 0 0 25px rgba(201, 169, 97, 0.25);
}

.plan-best-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--poe2-gold-bright);
  color: #000000;
  font-family: var(--poe2-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 10px;
  border-radius: var(--poe2-radius);
  white-space: nowrap;
}

.plan-header {
  border-bottom: 1px solid var(--poe2-border-groove);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-name {
  font-family: var(--poe2-font-title);
  font-size: 0.95rem;
  color: var(--poe2-text-bright);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

.plan-discount-badge {
  background: rgba(239, 83, 80, 0.15);
  border: 1px solid #ef5350;
  color: #ff8a80;
  font-family: var(--poe2-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--poe2-radius);
  white-space: nowrap;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-family: var(--poe2-font-mono);
  font-size: 1.1rem;
  color: var(--poe2-gold-primary);
  font-weight: 600;
}

.plan-price {
  font-family: var(--poe2-font-title);
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.plan-crypto {
  font-family: var(--poe2-font-mono);
  font-size: 0.75rem;
  color: var(--poe2-text-muted);
  letter-spacing: 0.05em;
  margin-left: 4px;
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--poe2-text-bright);
}

.plan-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.perk-check {
  color: var(--poe2-gold-primary);
  font-weight: bold;
  font-size: 0.85rem;
  line-height: 1.2;
}

.btn-plan-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--poe2-font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--poe2-gold-primary);
  background: rgba(30, 24, 18, 0.8);
  border: 1px solid var(--poe2-border-strong);
  border-top: 1px solid var(--poe2-border-highlight);
  border-radius: var(--poe2-radius);
  text-decoration: none;
  transition: all 0.15s ease;
  margin-top: auto;
}

.btn-plan-action:hover {
  background: var(--poe2-gold-primary);
  color: #0a0807;
  border-color: var(--poe2-gold-bright);
  box-shadow: 0 0 14px rgba(201, 169, 97, 0.35);
}

.pricing-card-highlight .btn-plan-action {
  background: linear-gradient(180deg, var(--poe2-gold-primary) 0%, #a08240 100%);
  color: #0a0807;
  border-color: var(--poe2-gold-bright);
}

.pricing-card-highlight .btn-plan-action:hover {
  background: var(--poe2-gold-bright);
  box-shadow: 0 0 16px rgba(255, 213, 79, 0.5);
}

.plan-btn-arrow {
  transition: transform 0.15s ease;
}

.btn-plan-action:hover .plan-btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .automation-grid,
  .overlays-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-nav .nav-links {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .pricing-community-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pricing-grid,
  .automation-grid,
  .overlays-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 6px;
  }
  .lang-dropdown-btn {
    padding: 6px 8px;
  }
  .btn-nav-discord {
    padding: 6px 8px;
  }
  .btn-nav-download {
    padding: 6px 10px;
  }
  .nav-brand-text {
    font-size: 0.82rem;
  }
}
