/* ===================================================================
   FREE FIRE GUILD NAME STUDIO — DEDICATED STYLESHEET
   Pure Product Focus: Tactical Gaming, Guild Identity Builder,
   Matching Tags, Squad Previews, and 3-Candidate Comparison Board
   =================================================================== */

.guild-studio-wrapper {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------
   1. PRIMARY GENERATOR HERO & SLEEK HIGHLIGHTS
   ------------------------------------------------------------- */
.guild-hero-section {
  text-align: center;
  padding: 1.5rem 0 1.25rem;
  position: relative;
}

.guild-hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15) 0%, rgba(255, 170, 0, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffaa00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ffaa00;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffaa00;
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #ffaa00; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #ff5722; }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #ffaa00; }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-med);
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.hero-feature-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 0.5rem;
  max-width: 800px;
}

.hero-feat-pill {
  background: rgba(22, 26, 36, 0.85);
  border: 1px solid rgba(255, 170, 0, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffc107;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-feat-pill:hover {
  border-color: #ffaa00;
  background: rgba(255, 170, 0, 0.15);
  transform: translateY(-1px);
  color: #fff;
}

/* -------------------------------------------------------------
   2. GENERATOR CONTROL BOX
   ------------------------------------------------------------- */
.guild-control-card {
  background: linear-gradient(180deg, rgba(22, 26, 36, 0.97) 0%, rgba(15, 18, 26, 0.99) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 840px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 87, 34, 0.08);
  position: relative;
  overflow: hidden;
}

.guild-control-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fire-gradient);
}

.generator-inputs-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

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

.filter-group-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guild-keyword-input {
  width: 100%;
  height: 50px;
  padding: 0 1.15rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.guild-keyword-input:focus {
  border-color: var(--fire-primary);
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.35);
  background: #141824;
}

/* Team Type Selector */
.control-sub-section {
  margin-bottom: 1.25rem;
}

.guild-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .guild-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-team-type-chip {
  padding: 0.65rem 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-med);
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: var(--transition-fast);
}

.btn-team-type-chip:hover {
  border-color: rgba(255, 87, 34, 0.4);
  color: var(--text-pure);
}

.btn-team-type-chip.active {
  border-color: var(--fire-primary);
  background: rgba(255, 87, 34, 0.16);
  color: #ffaa00;
  box-shadow: 0 0 12px rgba(255, 87, 34, 0.25);
}

/* Style Selector Grid */
.guild-styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
}

@media (max-width: 768px) {
  .guild-styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .guild-styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-style-pill {
  padding: 0.55rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  cursor: pointer;
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-style-pill:hover {
  border-color: rgba(255, 87, 34, 0.4);
  background: var(--bg-card);
}

.btn-style-pill.active {
  border-color: var(--fire-primary);
  background: rgba(255, 87, 34, 0.18);
  color: #ffaa00;
  box-shadow: 0 0 12px rgba(255, 87, 34, 0.25);
}

/* Decoration Level Selector */
.segmented-chips {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.btn-segmented-chip {
  flex: 1;
  padding: 0.5rem 0.45rem;
  border: none;
  background: transparent;
  border-radius: 4px;
  color: var(--text-med);
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-segmented-chip.active {
  background: rgba(255, 87, 34, 0.22);
  color: #ffaa00;
}

/* Primary Action Buttons */
.generator-cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-huge-generate {
  flex: 3;
  height: 56px;
  background: var(--fire-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.45);
  transition: var(--transition-fast);
}

.btn-huge-generate:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.6);
}

.btn-surprise-generate {
  flex: 1;
  height: 56px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 170, 0, 0.35);
  border-radius: var(--radius-md);
  color: #ffaa00;
  font-family: var(--font-gaming);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.btn-surprise-generate:hover {
  background: rgba(255, 170, 0, 0.15);
  border-color: #ffaa00;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   3. WORD LOCK STUDIO WORKBENCH
   ------------------------------------------------------------- */
.word-lock-workbench {
  background: var(--bg-card);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin: 0 auto 2.5rem;
  max-width: 840px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.word-lock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-family: var(--font-gaming);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffaa00;
}

.word-lock-chips {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 600px) {
  .word-lock-chips {
    flex-direction: column;
    align-items: stretch;
  }
}

.word-lock-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.word-lock-card.locked {
  border-color: #ffaa00;
  background: rgba(255, 170, 0, 0.12);
}

.btn-lock-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4px 10px;
  color: var(--text-med);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-lock-toggle.active {
  background: #ffaa00;
  color: #000;
  border-color: #ffaa00;
}

/* -------------------------------------------------------------
   4. GUILD RESULTS GRID & COMPLETE IDENTITY CARDS
   ------------------------------------------------------------- */
.results-header-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.results-count-title {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
}

.guild-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .guild-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1120px) {
  .guild-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guild-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.guild-result-card:hover {
  border-color: rgba(255, 87, 34, 0.45);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 87, 34, 0.12);
}

.guild-result-card.card-refreshed {
  animation: pulse-refresh 0.6s ease-out;
}

@keyframes pulse-refresh {
  0% { transform: scale(0.97); border-color: #ffaa00; }
  50% { transform: scale(1.02); border-color: #ff5722; }
  100% { transform: scale(1); }
}

.card-identity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.guild-name-heading {
  font-family: var(--font-gaming);
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
  margin-bottom: 0.25rem;
}

.card-char-counter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
}

.char-count-pill {
  color: var(--text-muted);
  font-weight: 600;
}

.char-status-badge {
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.char-status-badge.status-plain {
  background: rgba(0, 200, 83, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.char-status-badge.status-styled {
  background: rgba(255, 170, 0, 0.15);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.35);
}

/* Tag Badge */
.guild-tag-badge {
  font-family: var(--font-gaming);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffaa00;
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.35);
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.guild-tag-badge:hover {
  background: #ffaa00;
  color: #000;
}

/* Identity Specs Box */
.identity-specs-box {
  background: rgba(10, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  gap: 0.4rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 58px;
}

.spec-value {
  flex: 1;
  color: var(--text-high);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-value.tag-highlight {
  font-family: var(--font-gaming);
  font-weight: 800;
  color: #ffaa00;
}

.spec-value.member-preview-text {
  font-family: var(--font-gaming);
  color: #fff;
  font-weight: 700;
}

.spec-value.styled-option-text {
  color: #ffc107;
}

.spec-value.fallback-text {
  font-family: monospace;
  color: var(--text-med);
  font-size: 0.75rem;
}

.btn-micro-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-micro-copy:hover {
  background: rgba(255, 87, 34, 0.2);
  color: #ffaa00;
  border-color: rgba(255, 87, 34, 0.4);
}

/* Derivation Bar */
.card-derivation-bar {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  padding: 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Copy Action */
.btn-guild-copy-main {
  width: 100%;
  height: 42px;
  background: var(--fire-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-gaming);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
  transition: var(--transition-fast);
  margin-bottom: 0.55rem;
}

.btn-guild-copy-main:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-guild-copy-main.copied {
  background: #00c853 !important;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4) !important;
}

/* Card Bottom Actions Row */
.guild-card-actions-row {
  display: flex;
  gap: 0.35rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.55rem;
}

.btn-card-icon-action {
  flex: 1;
  padding: 0.35rem 0.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-med);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.btn-card-icon-action:hover {
  border-color: rgba(255, 87, 34, 0.4);
  color: var(--text-pure);
}

.btn-card-icon-action.shortlisted {
  color: #ffaa00;
  border-color: #ffaa00;
  background: rgba(255, 170, 0, 0.12);
}

.btn-card-icon-action.compared {
  color: #00e676;
  border-color: #00e676;
  background: rgba(0, 230, 118, 0.12);
}

/* -------------------------------------------------------------
   5. 3-CANDIDATE COMPARISON BOARD (H2)
   ------------------------------------------------------------- */
.comparison-section-box {
  background: linear-gradient(180deg, #171c26 0%, #11141c 100%);
  border: 1.5px solid rgba(255, 170, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3rem auto;
  max-width: 960px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

.comparison-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(10, 12, 18, 0.85);
}

.comparison-identity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.comparison-identity-table th,
.comparison-identity-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.comp-col-attr {
  width: 18%;
  color: var(--text-muted);
  font-family: var(--font-gaming);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.comp-col-item {
  width: 27%;
  position: relative;
  vertical-align: top;
}

.comp-header-title {
  font-size: 0.72rem;
  color: #ffaa00;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.comp-name-caps {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.btn-comp-remove {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-comp-remove:hover {
  color: #ff5252;
}

.attr-label {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.attr-val-name {
  font-family: var(--font-gaming);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}

.comp-tag-pill {
  display: inline-block;
  font-family: var(--font-gaming);
  font-weight: 800;
  color: #ffaa00;
  background: rgba(255, 170, 0, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.attr-val-member {
  font-family: var(--font-gaming);
  color: #fff;
  font-weight: 700;
}

.attr-val-fallback code {
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 3px;
  color: #00e676;
}

.btn-comp-copy {
  width: 100%;
  height: 38px;
  background: var(--fire-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-gaming);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-comp-copy:hover {
  filter: brightness(1.1);
}

.comparison-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(255, 170, 0, 0.3);
  border-radius: var(--radius-md);
  background: rgba(10, 12, 18, 0.5);
}

/* -------------------------------------------------------------
   6. SQUAD IDENTITY SANDBOX
   ------------------------------------------------------------- */
.guild-identity-sandbox {
  background: linear-gradient(180deg, #161b25 0%, #10131b 100%);
  border: 1.5px solid rgba(255, 170, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3rem auto;
  max-width: 860px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sandbox-guild-banner {
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.guild-crest-badge {
  width: 64px;
  height: 64px;
  background: rgba(255, 170, 0, 0.15);
  border: 2px solid #ffaa00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 16px rgba(255, 170, 0, 0.3);
}

.sandbox-guild-name {
  font-family: var(--font-gaming);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}

.sandbox-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.squad-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .squad-roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.squad-member-plate {
  background: rgba(10, 12, 18, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.member-ign {
  font-family: var(--font-gaming);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  word-break: break-all;
}

.member-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.custom-player-ign-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.custom-player-ign-wrap input {
  height: 40px;
  padding: 0 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-gaming);
  font-weight: 700;
  outline: none;
}

/* -------------------------------------------------------------
   7. VISUAL CALLOUT CARDS & WORKFLOW DIAGRAMS (SECTION 21)
   ------------------------------------------------------------- */
.visual-workflow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 170, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.workflow-step-card {
  flex: 1;
  min-width: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.workflow-step-num {
  font-size: 0.7rem;
  color: #ffaa00;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-step-name {
  font-family: var(--font-gaming);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.15rem;
}

.workflow-arrow {
  color: var(--text-muted);
  font-weight: 800;
  font-size: 1.1rem;
}

.visual-identity-card {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.08) 0%, rgba(22, 26, 36, 0.95) 100%);
  border: 1.5px solid rgba(255, 170, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.identity-card-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .identity-card-demo-grid {
    grid-template-columns: 1fr;
  }
}

.demo-spec-item {
  background: rgba(10, 12, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.demo-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.demo-spec-val {
  font-family: var(--font-gaming);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

/* -------------------------------------------------------------
   8. EDUCATIONAL ARTICLE & SEO CONTENT SECTION
   ------------------------------------------------------------- */
.guild-article-content {
  max-width: 860px;
  margin: 3.5rem auto 2rem;
  line-height: 1.7;
  color: var(--text-high);
}

.guild-article-content h2 {
  font-family: var(--font-gaming);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.02em;
}

.guild-article-content h3 {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffaa00;
  margin: 1.75rem 0 0.65rem;
}

.guild-article-content p {
  font-size: 1rem;
  color: var(--text-med);
  margin-bottom: 1.15rem;
}

.guild-article-content strong {
  color: var(--text-pure);
}

.guild-article-content ul,
.guild-article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.guild-article-content li {
  margin-bottom: 0.5rem;
  color: var(--text-med);
}

.guild-article-content blockquote {
  border-left: 3px solid #ffaa00;
  background: rgba(255, 170, 0, 0.08);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-high);
}

/* Step Card Flow in Article */
.article-step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--fire-primary);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1rem;
}

.article-step-title {
  font-family: var(--font-gaming);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

/* Static Example Comparison Table in Article */
.article-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(15, 18, 26, 0.9);
}

.article-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-data-table th,
.article-data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.article-data-table th {
  background: rgba(22, 26, 36, 0.95);
  font-family: var(--font-gaming);
  color: #ffaa00;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.article-data-table code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 3px;
  color: #00e676;
}

/* Article FAQ Cards */
.article-faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.article-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.article-faq-question {
  font-family: var(--font-gaming);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-faq-question::before {
  content: 'Q:';
  color: #ffaa00;
  font-size: 1.1rem;
}

.article-faq-answer {
  font-size: 0.95rem;
  color: var(--text-med);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   9. SHORTLIST DRAWER
   ------------------------------------------------------------- */
.shortlist-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #11141c;
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shortlist-drawer.open {
  right: 0;
}

.shortlist-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shortlist-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shortlist-item-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.shortlist-actions-bar {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.75rem;
}
