/* ── AFK Tavern — Design Tokens ── */
:root {
  --wood-950: #0f0a06;
  --wood-900: #1a1209;
  --wood-800: #2a1c0f;
  --wood-700: #3d2a16;
  --wood-600: #5c3f22;
  --wood-500: #7a5530;

  --amber-500: #e8a045;
  --amber-400: #f0b85c;
  --amber-300: #f5cc7a;
  --ember-500: #c45c2a;
  --ember-400: #e07030;

  --gold-start: #fff8e7;
  --gold-mid: #e8c56a;
  --gold-end: #b8862b;

  --text-primary: #f5ebe0;
  --text-secondary: #c9b8a4;
  --text-muted: #8a7560;

  --discord: #5865f2;
  --discord-hover: #4752c4;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-warm: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 60px rgba(196, 92, 42, 0.08);
  --shadow-glow: 0 0 40px rgba(232, 160, 69, 0.15);

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --header-h: 72px;
  --announcement-h: 0px;
}

body.has-announcement {
  --announcement-h: 48px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announcement-h));
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--wood-950);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber-400);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--amber-300);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ── Ambient background ── */
.ember-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 100%, rgba(196, 92, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(232, 160, 69, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--wood-950) 0%, var(--wood-900) 40%, var(--wood-950) 100%);
}

.ember-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Typography ── */
.gold-text {
  background: linear-gradient(180deg, var(--gold-start) 0%, var(--gold-mid) 45%, var(--gold-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--ember-500) 100%);
  color: var(--wood-950);
  box-shadow: 0 4px 16px rgba(196, 92, 42, 0.35);
}

.btn-primary:hover {
  color: var(--wood-950);
  box-shadow: 0 6px 24px rgba(196, 92, 42, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--amber-300);
  border: 1.5px solid var(--wood-500);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--amber-500);
  background: rgba(232, 160, 69, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--wood-600);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-discord {
  background: var(--discord);
  color: #fff;
}

.btn-discord:hover {
  background: var(--discord-hover);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-copy.copied {
  background: #2d6a3e;
  color: #fff;
}

/* ── Header ── */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: linear-gradient(90deg, var(--wood-800) 0%, var(--wood-700) 50%, var(--wood-800) 100%);
  border-bottom: 1px solid rgba(184, 134, 43, 0.35);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  min-height: var(--announcement-h);
  position: relative;
}

.announcement-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.announcement-link {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber-400);
  white-space: nowrap;
}

.announcement-dismiss {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.announcement-dismiss:hover {
  color: var(--text-primary);
}

.site-header {
  position: fixed;
  top: var(--announcement-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 10, 6, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 85, 48, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-logo:hover .nav-logo-text {
  filter: brightness(1.15);
}

.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 52px;
  max-height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius-sm);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links a:not(.btn):hover {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--announcement-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow--left {
  width: 400px;
  height: 400px;
  background: rgba(196, 92, 42, 0.18);
  bottom: 10%;
  left: -10%;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-glow--right {
  width: 300px;
  height: 300px;
  background: rgba(232, 160, 69, 0.1);
  top: 20%;
  right: -5%;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-400);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-warm), var(--shadow-glow);
  border: 2px solid rgba(184, 134, 43, 0.3);
}

.hero-logo {
  width: 100%;
  max-width: 520px;
}

.lantern {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe4a0 0%, #e8a045 60%, transparent 100%);
  box-shadow: 0 0 20px 8px rgba(232, 160, 69, 0.5);
  animation: flicker 3s ease-in-out infinite;
}

.lantern--tl { top: 8%; left: 12%; animation-delay: 0s; }
.lantern--tr { top: 8%; right: 12%; animation-delay: 1.5s; }

@keyframes flicker {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
  75% { opacity: 0.7; }
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
}

.section--dark {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 18, 9, 0.6) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-400);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: 1px solid rgba(122, 85, 48, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(232, 160, 69, 0.35);
  box-shadow: var(--shadow-glow);
}

.feature-card:focus-visible {
  outline: 2px solid var(--amber-400);
  outline-offset: 3px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--amber-300);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Server cards ── */
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.server-card {
  background: var(--wood-800);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s;
}

.server-card:hover {
  border-color: rgba(232, 160, 69, 0.4);
}

.server-card--coming {
  border-style: dashed;
  opacity: 0.85;
}

.server-card-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.server-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.server-install-link {
  color: var(--amber-400);
  font-weight: 600;
  font-size: 0.8125rem;
}

.server-install-link:hover {
  color: var(--amber-300);
}

.server-player-count {
  color: var(--amber-400);
  font-weight: 600;
  font-size: 0.8125rem;
}

.server-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.server-icon--more {
  background: linear-gradient(135deg, var(--wood-600) 0%, var(--wood-500) 100%);
  position: relative;
}

.server-icon--more::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-300);
}

.server-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.server-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.server-badge--online {
  background: rgba(45, 106, 62, 0.3);
  color: #6fcf85;
}

.server-badge--soon {
  background: rgba(232, 160, 69, 0.15);
  color: var(--amber-400);
}

.server-badge--offline {
  background: rgba(120, 60, 60, 0.3);
  color: #e88;
}

.server-load-placeholder,
.server-load-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.server-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.5;
}

.server-details {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.server-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(122, 85, 48, 0.2);
}

.server-details dt {
  color: var(--text-muted);
  font-weight: 500;
}

.server-details dd {
  color: var(--text-primary);
  text-align: right;
}

.server-details code {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.75rem;
  color: var(--amber-400);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  word-break: break-all;
}

.server-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.server-actions--stack {
  flex-direction: column;
}

.server-actions--stack .btn {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.server-mods {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 85, 48, 0.25);
}

.server-mods-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-300);
  margin-bottom: 0.35rem;
}

.server-mods-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mod-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

.mod-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(122, 85, 48, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.mod-list a:hover {
  border-color: rgba(232, 160, 69, 0.4);
  background: rgba(232, 160, 69, 0.06);
  color: var(--amber-300);
}

.mod-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.mod-tag {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(122, 85, 48, 0.35);
  color: var(--text-secondary);
}

.mod-tag--overhaul {
  background: rgba(196, 92, 42, 0.25);
  color: var(--amber-400);
}

@media (max-width: 640px) {
  .mod-list {
    grid-template-columns: 1fr;
  }
}

/* ── Streams ── */
.stream-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.stream-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stream-main-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.stream-channel-name {
  font-family: var(--font-display);
  color: #bf94ff;
  font-weight: 600;
}

.stream-live-badge,
.stream-offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stream-live-badge {
  color: #6fcf85;
}

.stream-offline-badge {
  color: var(--text-muted);
}

.twitch-embed-wrap {
  background: #000;
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.twitch-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-offline-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 85, 48, 0.35);
  aspect-ratio: 16 / 9;
  text-decoration: none;
  color: inherit;
}

.stream-offline-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.stream-offline-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.stream-offline-overlay p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.stream-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
}

.stream-placeholder {
  background: var(--wood-800);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stream-placeholder:hover {
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: 0 0 40px rgba(145, 70, 255, 0.12);
  color: inherit;
}

.stream-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(196, 92, 42, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    );
}

.stream-placeholder-inner {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.play-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(232, 160, 69, 0.12);
  border: 2px solid rgba(232, 160, 69, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--amber-400);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stream-placeholder:hover .play-ring {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(232, 160, 69, 0.2);
}

.stream-channel {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #bf94ff;
  margin-bottom: 1.25rem;
}

.stream-follow {
  width: 100%;
  margin-top: 1.5rem;
}

.stream-sidebar {
  background: linear-gradient(145deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: 1px solid rgba(122, 85, 48, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.stream-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--amber-300);
  margin-bottom: 1.25rem;
}

.stream-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stream-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stream-list .stream-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-400);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.stream-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood-500);
  flex-shrink: 0;
}

.stream-live-badge .stream-dot--live {
  background: #e74c3c;
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.stream-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 85, 48, 0.2);
}

/* ── CTA ── */
.section--cta {
  padding: 5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--wood-800) 0%, var(--wood-700) 100%);
  border: 1px solid rgba(184, 134, 43, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-warm);
}

.cta-content {
  max-width: 520px;
}

.cta-content .section-title {
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--text-secondary);
}

.cta-content a:not(.btn) {
  color: var(--amber-400);
  font-weight: 600;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(122, 85, 48, 0.25);
  padding: 2.5rem 0;
  background: rgba(15, 10, 6, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img,
.footer-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius-sm);
  opacity: 0.9;
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
  font-size: 0.9375rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(122, 85, 48, 0.3);
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  color: var(--amber-300);
  border-color: rgba(232, 160, 69, 0.4);
  background: rgba(232, 160, 69, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 85, 48, 0.15);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--wood-700);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 160, 69, 0.3);
  box-shadow: var(--shadow-warm);
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .server-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stream-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-logo img {
    height: 40px;
    max-width: 40px;
    object-fit: contain;
    object-position: left center;
  }

  .nav-logo-text {
    font-size: 1.0625rem;
    letter-spacing: 0.04em;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-h) + var(--announcement-h));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 10, 6, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(122, 85, 48, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li:last-child {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(122, 85, 48, 0.15);
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(122, 85, 48, 0.15);
  }

  .nav-links .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .nav-links .btn svg {
    flex-shrink: 0;
    display: block;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    max-width: 360px;
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ── Install guide page ── */
.guide-page {
  padding-top: calc(var(--header-h) + var(--announcement-h));
}

.guide-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.guide-hero-inner {
  max-width: 640px;
}

.guide-back {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.guide-back:hover {
  color: var(--amber-400);
}

.guide-logo {
  margin: 0 auto 1.25rem;
  max-width: 200px;
  height: auto;
}

.guide-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.guide-intro {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.guide-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.guide-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.guide-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--wood-950);
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--ember-500) 100%);
  border-radius: 50%;
}

.guide-step-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber-300);
  margin-bottom: 0.75rem;
}

.guide-step-body p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.guide-step-body p:last-child {
  margin-bottom: 0;
}

.guide-step-body code {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.875em;
  color: var(--amber-400);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.guide-warning,
.guide-tip {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.guide-warning {
  background: rgba(196, 92, 42, 0.12);
  border: 1px solid rgba(196, 92, 42, 0.35);
  color: var(--text-secondary);
}

.guide-warning strong,
.guide-tip strong {
  color: var(--amber-300);
}

.guide-tip {
  background: rgba(45, 106, 62, 0.1);
  border: 1px solid rgba(45, 106, 62, 0.3);
  color: var(--text-secondary);
}

.mod-list--guide {
  margin-top: 0.5rem;
}

.server-details--inline {
  margin-bottom: 1rem;
}

.guide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.guide-sidebar-card {
  background: var(--wood-800);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.guide-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-300);
  margin-bottom: 0.75rem;
}

.guide-sidebar-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.guide-sidebar-desc {
  margin-bottom: 1rem;
}

.guide-sidebar-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
}

.folder-tree {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(122, 85, 48, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  white-space: pre;
}

.folder-tree .folder {
  color: var(--amber-400);
}

.folder-tree .folder-note {
  color: var(--text-muted);
}

.nav-links a[aria-current="page"] {
  color: var(--amber-400);
}

.server-mods-note a {
  color: var(--amber-400);
  font-weight: 600;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }
}

/* ── Rules page ── */
.rules-section {
  padding-top: 0;
  padding-bottom: 4rem;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
}

.rules-panel {
  background: var(--wood-800);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}

.rules-panel-head {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(122, 85, 48, 0.25);
  background: linear-gradient(180deg, rgba(232, 160, 69, 0.06) 0%, transparent 100%);
}

.rules-panel-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 0.75rem;
}

.rules-panel-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52ch;
}

.rules-scope {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.rules-scope li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-300);
  background: rgba(232, 160, 69, 0.1);
  border: 1px solid rgba(232, 160, 69, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.rules-list {
  list-style: none;
  counter-reset: rules;
}

.rule-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1.375rem 2rem;
  border-bottom: 1px solid rgba(122, 85, 48, 0.2);
  align-items: start;
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--wood-950);
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--ember-500) 100%);
  border-radius: 50%;
  margin-top: 0.125rem;
}

.rule-body h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0;
}

.rule-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  padding-left: 0.875rem;
  border-left: 2px solid rgba(232, 160, 69, 0.35);
}

.rules-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.rules-sidebar-card {
  background: var(--wood-800);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.rules-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--amber-300);
  margin-bottom: 0.75rem;
}

.rules-sidebar-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.rules-sidebar-card p + p {
  margin-top: 0.75rem;
}

.rules-sidebar-note {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

.rules-staff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rules-staff-list li {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.625rem 0.875rem;
  background: rgba(232, 160, 69, 0.08);
  border: 1px solid rgba(232, 160, 69, 0.18);
  border-radius: var(--radius-sm);
}

.rules-sidebar-card--discord {
  border-color: rgba(88, 101, 242, 0.35);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.08) 0%, var(--wood-800) 100%);
}

@media (max-width: 900px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .rules-panel-head,
  .rule-item {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .rule-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.875rem 1rem;
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
  }

  .rule-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
  }

  .rule-body h3 {
    font-size: 1rem;
  }

  .rules-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .announcement-inner {
    flex-direction: column;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  body.has-announcement {
    --announcement-h: 72px;
  }
}

/* ── Shop page ── */
.shop-section {
  padding-top: 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.shop-toolbar {
  margin-bottom: 1.75rem;
}

.shop-toolbar-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.shop-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(122, 85, 48, 0.35);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.shop-filter:hover {
  color: var(--text-primary);
  border-color: rgba(232, 160, 69, 0.4);
}

.shop-filter--active {
  color: var(--wood-950);
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--ember-500) 100%);
  border-color: transparent;
}

.shop-filter-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.shop-product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: 1px solid rgba(122, 85, 48, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  min-height: 100%;
}

.shop-product-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.shop-product-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.shop-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.shop-product-server {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber-300);
}

.shop-product-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-product-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.shop-product-desc {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.shop-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(122, 85, 48, 0.2);
}

.shop-product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-400);
}

.shop-product-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  opacity: 0.85;
  cursor: not-allowed;
}

.shop-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(122, 85, 48, 0.35);
  border-radius: var(--radius-lg);
}

.shop-steps {
  margin: 0 0 1rem 1.125rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.shop-steps li + li {
  margin-top: 0.35rem;
}

.shop-disabled {
  text-align: center;
  padding: 4rem 1rem;
}

.shop-disabled .btn {
  margin-top: 1.5rem;
}

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

  .shop-sidebar {
    order: -1;
  }
}

@media (max-width: 640px) {
  .shop-product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-product-btn {
    width: 100%;
  }
}

.shop-status-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.shop-status-banner--success {
  color: #d4f5dc;
  background: rgba(34, 120, 60, 0.25);
  border: 1px solid rgba(72, 180, 100, 0.45);
}

.shop-status-banner--info {
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(122, 85, 48, 0.35);
}

body.shop-modal-open {
  overflow: hidden;
}

.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.shop-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shop-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 3, 0.72);
}

.shop-modal-dialog {
  position: relative;
  width: min(100%, 440px);
  background: linear-gradient(160deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: 1px solid rgba(122, 85, 48, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.shop-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.shop-modal-close:hover {
  color: var(--text-primary);
}

.shop-modal-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 0.35rem;
  padding-right: 2rem;
}

.shop-modal-summary {
  color: var(--amber-400);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.shop-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shop-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.shop-optional {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.shop-field input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(122, 85, 48, 0.45);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
  font: inherit;
}

.shop-field input:focus {
  outline: 2px solid rgba(232, 160, 69, 0.45);
  outline-offset: 1px;
}

.shop-field-help {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.shop-modal-error {
  color: #ffb4b4;
  font-size: 0.875rem;
  line-height: 1.45;
}

.shop-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

@media (max-width: 480px) {
  .shop-modal-actions {
    flex-direction: column-reverse;
  }

  .shop-modal-actions .btn {
    width: 100%;
  }
}

/* ── Order confirmation page ── */
.confirmation-hero {
  max-width: 720px;
}

.confirmation-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wood-950);
  background: linear-gradient(180deg, #8fd4a0 0%, #3d9e58 100%);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(61, 158, 88, 0.35);
}

.confirmation-pending,
.confirmation-invalid {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.confirmation-invalid {
  color: #ffb4b4;
}

.confirmation-section {
  padding-top: 0;
}

.confirmation-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.confirmation-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.confirmation-card {
  background: linear-gradient(145deg, var(--wood-800) 0%, var(--wood-900) 100%);
  border: 1px solid rgba(122, 85, 48, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.confirmation-card h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--amber-300);
  margin-bottom: 0.875rem;
}

.confirmation-order-list {
  display: grid;
  gap: 0.875rem;
}

.confirmation-order-list div {
  display: grid;
  gap: 0.25rem;
}

.confirmation-order-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.confirmation-order-list dd {
  color: var(--text-primary);
  font-size: 1rem;
}

.confirmation-ref {
  font-size: 0.8125rem;
  word-break: break-all;
  color: var(--amber-400);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.confirmation-bullets {
  margin: 0 0 1rem 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.confirmation-bullets li + li {
  margin-top: 0.5rem;
}

.confirmation-note,
.confirmation-fallback {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.confirmation-terms {
  margin: 0 0 0 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.confirmation-terms li + li {
  margin-top: 0.5rem;
}

.confirmation-second-link {
  margin-top: 0.625rem;
}

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