/* ============================================
   FlatMMO Home - Clean Dark Theme
   ============================================ */

:root {
  --brand: #00d4aa;
  --brand-dark: #00b895;
  
  --bg: #0a0e1a;
  --surface: #1a1f2e;
  --elevated: #252a3a;
  
  --text: #ffffff;
  --text-light: #b8c5d6;
  --text-muted: #8b9cb8;
  
  --border: #2d3441;
  
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Base
   ============================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation styles moved to nav-styles.css
   ============================================ */

/* ============================================
   Main Content
   ============================================ */

.main {
  min-height: calc(100vh - 64px);
  padding: 4rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Hero
   ============================================ */

.title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
  text-align: center;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.5;
  text-align: center;
}

/* ============================================
   Search
   ============================================ */

.search-form {
  max-width: 700px;
  margin: 0 auto 1rem;
  display: flex;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--brand), #0099cc);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

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

.add-character-btn {
  background: var(--elevated);
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 120px;
}

.add-character-btn:hover:not(:disabled) {
  background: var(--border);
  color: var(--text);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.add-character-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ============================================
   Default Player Section
   ============================================ */

.default-player-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.default-player-header {
  margin-bottom: 0.75rem;
}

.default-player-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  text-align: center;
}

.btn-secondary {
  background: var(--elevated);
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--border);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.default-player-content {
  min-height: 60px;
}

.no-default {
  text-align: center;
  padding: 0.75rem;
  color: var(--text-muted);
}

.no-default-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.no-default p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

.no-default-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.default-player-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.default-player-avatar {
  width: 40px;
  height: 40px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.default-player-details {
  flex: 1;
}

.default-player-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.default-player-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-primary {
  background: var(--brand);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

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

/* ============================================
   Content Sections
   ============================================ */

.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.info-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-card ul {
  color: var(--text-light);
  padding-left: 1.5rem;
}

.info-card li {
  margin-bottom: 0.5rem;
}

.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
}

.artifacts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.artifacts-table th {
  background: var(--elevated);
  color: var(--text);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.artifacts-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

.artifacts-table tr:hover {
  background: rgba(37, 42, 58, 0.5);
}

.artifacts-table tr:last-child td {
  border-bottom: none;
}

.artifacts-table strong {
  color: var(--text);
  font-weight: 600;
}

.artifact-image {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
}

.artifact-image img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.artifact-placeholder {
  font-size: 2rem;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

/* ============================================
   Quest List Styles
   ============================================ */

.quest-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quest-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.quest-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-primary);
}

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

.quest-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.quest-rewards {
  background: var(--brand-primary);
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.quest-details {
  color: var(--text-light);
  line-height: 1.6;
}

.quest-details p {
  margin-bottom: 0.5rem;
}

.quest-details strong {
  color: var(--text);
  font-weight: 600;
}

.quest-rewards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.reward-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.skill-requirement {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--elevated);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  justify-content: center;
}

.quest-category .skill-requirement .skill-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  margin: 0;
  display: inline-flex;
  background: none;
  border-radius: 0;
  position: static;
  overflow: visible;
  transition: none;
}

.rewards-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  text-align: right;
}

.item-needed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--elevated);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  justify-content: center;
}

.item-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.monster-needed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--elevated);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  justify-content: center;
}

.monster-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* ============================================
   Quest Tabs
   ============================================ */

.quest-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.quest-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--elevated);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
  justify-content: center;
}

.quest-tab:hover {
  background: var(--surface);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quest-tab.active {
  background: var(--brand-primary);
  color: white;
  border: 2px solid var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 212, 170, 0.2);
}

.tab-icon {
  font-size: 1.2rem;
}

.tab-text {
  font-weight: 600;
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.quest-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.quick-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.quick-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.quick-link:hover {
  color: var(--brand-dark);
}

/* ============================================
   Features
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}

.feature-link:hover {
  text-decoration: none;
  color: inherit;
}

.feature {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

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

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   Player Profile
   ============================================ */

.player-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.player-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.player-info {
  flex: 1;
}

.player-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand);
}

.player-stats {
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.stat-level {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.stat-xp {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   Skills Grid
   ============================================ */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
  border-color: var(--brand);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--elevated);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
}

.skill-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.skill-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* ============================================
   Enhanced Skills Page
   ============================================ */

.skills-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--elevated) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.skills-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 170, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.skill-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 200px;
  margin: 0 auto;
}

.showcase-skill {
  width: 80px;
  height: 80px;
  background: var(--elevated);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.showcase-skill.animate {
  opacity: 1;
  transform: translateY(0);
}

.showcase-skill:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.showcase-skill img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.skills-categories {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-align: center;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.category-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
  transition: left 0.5s;
}

.category-tab:hover::before {
  left: 100%;
}

.category-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.category-tab.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.skill-level {
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 170, 0.2);
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Skill Detail Page
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

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

.breadcrumb-link:hover {
  color: var(--brand-dark);
}

.breadcrumb-separator {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-light);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--elevated) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.skill-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 170, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.skill-icon-large {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--elevated);
  border-radius: var(--radius);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid var(--brand);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
}

.skill-icon-large img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.skill-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.skill-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
}

.skill-content {
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}

.main-content {
  min-height: 400px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 2rem;
}

.skill-section {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.skill-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
  border-color: var(--brand);
}

.skill-section:hover::before {
  transform: scaleX(1);
}

/* Section-specific styling */
.training-section::before {
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.rewards-section::before {
  background: linear-gradient(90deg, #4ecdc4, #6dd5ed);
}

.tips-section::before {
  background: linear-gradient(90deg, #ffe66d, #ffd93d);
}

.related-section::before {
  background: linear-gradient(90deg, #a8e6cf, #88d8a3);
}

.weapons-section::before {
  background: linear-gradient(90deg, #ff8a80, #ffab91);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.scroll-to-armor-btn {
  margin-left: auto;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-to-armor-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.section-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.skill-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.training-methods,
.skill-rewards,
.skill-tips,
.related-skills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-item,
.reward-item,
.tip-item,
.related-skill-item {
  padding: 1rem;
  background: var(--elevated);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.method-item::before,
.reward-item::before,
.tip-item::before,
.related-skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  transition: width 0.3s ease;
}

.method-item:hover,
.reward-item:hover,
.tip-item:hover,
.related-skill-item:hover {
  background: rgba(0, 212, 170, 0.05);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.1);
}

.method-item:hover::before,
.reward-item:hover::before,
.tip-item:hover::before,
.related-skill-item:hover::before {
  width: 8px;
}

/* Section-specific item styling */
.training-section .method-item {
  border-left-color: #ff6b6b;
}

.training-section .method-item::before {
  background: #ff6b6b;
}

.rewards-section .reward-item {
  border-left-color: #4ecdc4;
}

.rewards-section .reward-item::before {
  background: #4ecdc4;
}

.tips-section .tip-item {
  border-left-color: #ffe66d;
}

.tips-section .tip-item::before {
  background: #ffe66d;
}

.related-section .related-skill-item {
  border-left-color: #a8e6cf;
}

.related-section .related-skill-item::before {
  background: #a8e6cf;
}

/* ============================================
   Best in Slot Search
   ============================================ */

.bis-section::before {
  background: linear-gradient(90deg, #9c27b0, #ba68c8);
}

.bis-search {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bis-form {
  display: flex;
  gap: 0.5rem;
}

.bis-input {
  flex: 1;
  padding: 0.75rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
}

.bis-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2);
}

.bis-button {
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bis-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.bis-results {
  min-height: 100px;
}

.bis-placeholder,
.bis-loading,
.bis-error {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding: 1rem;
}

.bis-loading {
  color: var(--brand);
}

.bis-error {
  color: #ff6b6b;
}

.bis-player {
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.5rem;
  text-align: center;
}

.bis-level {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: center;
}

.bis-recommendations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bis-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: var(--elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.bis-item:hover {
  border-color: var(--brand);
  transform: translateX(2px);
}

.bis-item-image {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(156, 39, 176, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(156, 39, 176, 0.2);
  flex-shrink: 0;
  overflow: hidden;
}

.bis-item-image img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.bis-item-content {
  flex: 1;
}

.bis-item-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.bis-item-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ============================================
   Weapon Information
   ============================================ */

.weapon-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 200px;
}

.weapon-category {
  background: var(--elevated);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.weapon-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.1);
  border-color: var(--brand);
}

.weapon-type-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--brand);
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand);
  position: relative;
}

.weapon-type-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--brand);
}

.weapon-table {
  display: grid;
  gap: 0.75rem;
}

/* Melee weapons - 4 columns */
.weapon-table[data-columns="4"] {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

/* Archery bows - 3 columns */
.weapon-table[data-columns="3"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Archery arrows - 3 columns */
.weapon-table[data-columns="3-arrows"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Magic staves - 3 columns */
.weapon-table[data-columns="3-staves"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Magic orbs - 2 columns */
.weapon-table[data-columns="2"] {
  grid-template-columns: 2fr 1fr;
}

/* Magic armor - 3 columns */
.weapon-table[data-columns="3-armor"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Necklaces - 3 columns */
.weapon-table[data-columns="3-necklaces"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Bones - 3 columns */
.weapon-table[data-columns="3-bones"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Abilities - 3 columns */
.weapon-table[data-columns="3-abilities"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Pickaxes - 3 columns */
.weapon-table[data-columns="3-pickaxes"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Ores - 3 columns */
.weapon-table[data-columns="3-ores"] {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Gems - 3 columns */
.weapon-table[data-columns="3-gems"] {
  grid-template-columns: 2fr 1fr 2fr;
}

/* Fishing Tools - 4 columns */
.weapon-table[data-columns="4-tools"] {
  grid-template-columns: 2fr 2fr 1fr 2fr;
}

/* Fishing Fish - 6 columns */
.weapon-table[data-columns="6-fish"] {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 2fr;
}

.weapon-header {
  display: contents;
  font-weight: 600;
  color: var(--text);
}

.weapon-header span {
  padding: 1rem;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.weapon-row {
  display: contents;
}

.weapon-row span {
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.weapon-row:hover span {
  background: rgba(0, 212, 170, 0.05);
  border-color: var(--brand);
}

.weapon-name {
  text-align: left !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weapon-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

.recipe-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Crafting-specific styles */
.crafting-section {
  margin-bottom: 2rem;
}

.crafting-section h3 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.recipe-subcategory {
  margin-bottom: 1rem;
}

.recipe-subcategory h5 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Enchantment-specific styles */
.enchantment-section {
  margin-bottom: 2rem;
}

.enchantment-section h3 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.special-note {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: var(--background-light);
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Fishing-specific styles - minimal styling */
.fishing-section {
  margin-bottom: 2rem;
}

.fishing-section h3 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.bait-info {
  background-color: var(--background-light);
  padding: 1rem;
  border-radius: 8px;
}

.weapon-damage {
  color: var(--brand);
  font-weight: 600;
}

.weapon-accuracy {
  color: var(--text-light);
}

.weapon-bonus {
  color: var(--accent);
  font-weight: 600;
}

.weapon-defense {
  color: var(--brand);
  font-weight: 600;
}

.weapon-magicAttack {
  color: var(--accent);
  font-weight: 600;
}

.weapon-xp {
  color: var(--brand);
  font-weight: 600;
}

.weapon-wp {
  color: var(--accent);
  font-weight: 600;
}

.weapon-speed {
  color: var(--brand);
  font-weight: 600;
}

.weapon-rarity {
  color: var(--accent);
  font-weight: 600;
}

.weapon-info {
  color: var(--text-light);
  font-style: italic;
}

.weapon-level {
  color: var(--text-light);
  font-style: italic;
}

.no-weapons {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding: 2rem;
}

.back-to-skills {
  text-align: center;
  margin-top: 2rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--elevated);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  /* Navigation responsive styles moved to nav-styles.css */
  
  .main {
    padding: 2rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .search-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .add-character-btn {
    min-width: auto;
    width: 100%;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Default Player Section Mobile */
  .default-player-section {
    padding: 0.75rem;
    max-width: 100%;
  }

  .default-player-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .default-player-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Artifact table mobile styles */
  .artifacts-table {
    font-size: 0.8rem;
  }

  .artifacts-table th,
  .artifacts-table td {
    padding: 0.5rem;
  }

  .artifact-image {
    width: 50px;
    padding: 0.25rem;
  }

  .artifact-image img {
    width: 40px;
    height: 40px;
  }

  .artifact-placeholder {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
  }

  /* Quest list mobile styles */
  .quest-item {
    padding: 1rem;
  }

  .quest-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .quest-header h3 {
    font-size: 1.125rem;
  }

  .quest-rewards {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .quest-details {
    font-size: 0.9rem;
  }

  .quest-rewards {
    align-items: flex-start;
    gap: 0.25rem;
  }

  .reward-item {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .reward-icon {
    width: 16px;
    height: 16px;
  }

  .skill-requirement {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    margin-right: 0.25rem;
  }

  .skill-icon {
    width: 14px;
    height: 14px;
  }

  .rewards-label {
    font-size: 0.8rem;
    text-align: left;
  }

  .item-needed {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    margin-right: 0.25rem;
  }

  .monster-needed {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    margin-right: 0.25rem;
  }

  .quest-category .skill-requirement .skill-icon {
    width: 20px;
    height: 20px;
  }

  .item-icon {
    width: 20px;
    height: 20px;
  }

  .quest-tabs {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .quest-tab {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    min-width: 100px;
  }

  .tab-icon {
    font-size: 1.1rem;
  }

  .tab-count {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
  }
  
  /* Player Profile Mobile Styles */
  .player-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .player-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .meta-item {
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .skills-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-stats {
    gap: 1rem;
    justify-content: center;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .skill-showcase {
    max-width: 160px;
    margin: 0 auto;
  }
  
  .showcase-skill {
    width: 60px;
    height: 60px;
  }
  
  .showcase-skill img {
    width: 36px;
    height: 36px;
  }
  
  .skills-categories {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .category-tabs {
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .category-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: auto;
    flex: 1;
    max-width: 120px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .skill-card {
    padding: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .skill-icon {
    width: 56px;
    height: 56px;
  }
  
  .skill-icon img {
    width: 40px;
    height: 40px;
  }
  
  .skill-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .skill-description {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
  
  .skill-level {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .skill-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .skill-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .skill-icon-large img {
    width: 64px;
    height: 64px;
  }
  
  .skill-meta {
    gap: 1rem;
  }
  
  .meta-item {
    padding: 0.5rem 0.75rem;
  }
  
  .skill-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sidebar {
    position: static;
    order: -1;
  }
  
  .skill-section {
    padding: 1.5rem;
  }
  
  .section-header {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .section-icon {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
  
  .method-item,
  .reward-item,
  .tip-item,
  .related-skill-item {
    padding: 0.875rem;
    font-size: 0.8rem;
  }
  
  .bis-search {
    flex-direction: column;
  }
  
  .bis-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .bis-input {
    width: 100%;
  }
  
  .bis-button {
    width: 100%;
    justify-content: center;
  }
  
  .bis-recommendations {
    gap: 0.5rem;
  }
  
  .bis-item {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .bis-item-image {
    width: 32px;
    height: 32px;
    margin: 0 auto;
  }
  
  .bis-item-image img {
    width: 24px;
    height: 24px;
  }
  
  .weapon-category {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .weapon-table {
    display: table;
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    overflow-x: hidden;
    table-layout: fixed;
  }
  
  .weapon-header {
    display: table-header-group;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
  }
  
  .weapon-header span {
    display: table-cell;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--brand);
    text-align: center;
    vertical-align: middle;
  }
  
  .weapon-row {
    display: table-row;
    border-bottom: 1px solid var(--border);
  }
  
  .weapon-row span {
    display: table-cell;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    vertical-align: middle;
    text-align: left;
  }
  
  .weapon-name {
    font-weight: 600;
    color: var(--brand);
    width: 50%;
    text-align: left;
    padding-right: 0.5rem;
  }
  
  .weapon-name::before {
    content: "";
  }
  
  .weapon-damage {
    width: 25%;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 0.25rem;
  }
  
  .weapon-damage::before {
    content: "";
  }
  
  .weapon-accuracy {
    width: 25%;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 0.25rem;
  }
  
  .weapon-accuracy::before {
    content: "";
  }
  
  .weapon-level {
    width: 25%;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 0.25rem;
  }
  
  .weapon-level::before {
    content: "";
  }
  
  .weapon-speed {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-speed::before {
    content: "";
  }
  
  .weapon-defense {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-defense::before {
    content: "";
  }
  
  .weapon-rarity {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-rarity::before {
    content: "";
  }
  
  .weapon-info {
    width: 40%;
    text-align: left;
    font-weight: 500;
  }
  
  .weapon-info::before {
    content: "";
  }
  
  .weapon-bonus {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-bonus::before {
    content: "";
  }
  
  .weapon-magicAttack {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-magicAttack::before {
    content: "";
  }
  
  .weapon-xp {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-xp::before {
    content: "";
  }
  
  .weapon-wp {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-wp::before {
    content: "";
  }
  
  .weapon-cost {
    width: 20%;
    text-align: center;
    font-weight: 500;
  }
  
  .weapon-cost::before {
    content: "";
  }
  
  .weapon-effect {
    width: 40%;
    text-align: left;
    font-weight: 500;
  }
  
  .weapon-effect::before {
    content: "";
  }
  
  .quick-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Additional mobile improvements for skill detail pages */
  .skill-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .skill-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }
  
  .skill-icon-large img {
    width: 80px;
    height: 80px;
  }
  
  .skill-info {
    text-align: center;
  }
  
  .skill-meta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
  }
  
  .meta-item {
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.9rem;
  }
  
  .skill-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sidebar {
    position: static;
    order: -1;
  }
  
  .skill-section {
    padding: 1.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
  }
  
  .section-icon {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
  
  .method-item,
  .reward-item,
  .tip-item,
  .related-skill-item {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .bis-search {
    flex-direction: column;
    gap: 1rem;
  }
  
  .bis-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .bis-input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .bis-button {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }
  
  .bis-recommendations {
    gap: 0.75rem;
  }
  
  .bis-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .bis-item-image {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  
  .bis-item-image img {
    width: 32px;
    height: 32px;
  }
  
  .bis-item-info {
    text-align: center;
  }
  
  .bis-item-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .bis-item-level {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .main {
    padding: 1.5rem 0;
  }
  
  .title {
    font-size: 1.75rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .skills-hero {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .stat-item {
    padding: 0.75rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-width: 120px;
  }
  
  .skill-showcase {
    max-width: 140px;
  }
  
  .showcase-skill {
    width: 50px;
    height: 50px;
  }
  
  .showcase-skill img {
    width: 30px;
    height: 30px;
  }
  
  .category-tabs {
    gap: 0.25rem;
  }
  
  .category-tab {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
    max-width: 100px;
  }
  
  .skills-grid {
    gap: 0.75rem;
  }
  
  .skill-card {
    padding: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .skill-icon {
    width: 48px;
    height: 48px;
  }
  
  .skill-icon img {
    width: 32px;
    height: 32px;
  }
  
  .skill-name {
    font-size: 0.9rem;
  }
  
  .skill-description {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .skill-level {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Skill Detail Page Mobile Styles */
  .skill-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
  
  .skill-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .skill-icon-large img {
    width: 60px;
    height: 60px;
  }
  
  .skill-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .meta-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .skill-section {
    padding: 1rem;
  }
  
  .section-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .section-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  
  .method-item,
  .reward-item,
  .tip-item,
  .related-skill-item {
    padding: 0.75rem;
    font-size: 0.75rem;
  }
  
  .bis-item {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .bis-item-image {
    width: 28px;
    height: 28px;
  }
  
  .bis-item-image img {
    width: 20px;
    height: 20px;
  }
  
  .weapon-category {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .weapon-table {
    gap: 0.25rem;
  }
  
  .weapon-row {
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
  
  .weapon-row span {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .breadcrumb {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }
  
  .breadcrumb-separator {
    margin: 0 0.25rem;
  }
  
  /* Enhanced mobile styles for individual skill pages */
  .skill-header {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  
  .skill-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .skill-icon-large img {
    width: 60px;
    height: 60px;
  }
  
  .skill-meta {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .meta-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: 100px;
  }
  
  .skill-section {
    padding: 1rem;
  }
  
  .section-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
  }
  
  .section-icon {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }
  
  .method-item,
  .reward-item,
  .tip-item,
  .related-skill-item {
    padding: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .bis-search {
    gap: 0.75rem;
  }
  
  .bis-form {
    gap: 0.5rem;
  }
  
  .bis-input {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .bis-button {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .bis-recommendations {
    gap: 0.5rem;
  }
  
  .bis-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .bis-item-image {
    width: 32px;
    height: 32px;
  }
  
  .bis-item-image img {
    width: 24px;
    height: 24px;
  }
  
  .bis-item-name {
    font-size: 0.9rem;
  }
  
  .bis-item-level {
    font-size: 0.75rem;
  }
  
  .weapon-category {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .weapon-table {
    display: table;
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    overflow-x: hidden;
    table-layout: fixed;
  }
  
  .weapon-header {
    display: table-header-group;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
  }
  
  .weapon-header span {
    display: table-cell;
    padding: 0.5rem 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--brand);
    text-align: center;
    vertical-align: middle;
  }
  
  .weapon-row {
    display: table-row;
    border-bottom: 1px solid var(--border);
  }
  
  .weapon-row span {
    display: table-cell;
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
    vertical-align: middle;
    text-align: left;
  }
  
  .weapon-name {
    font-weight: 600;
    color: var(--brand);
    width: 55%;
    font-size: 0.75rem;
    padding-right: 0.25rem;
  }
  
  .weapon-name::before {
    content: "";
  }
  
  .weapon-damage {
    width: 22.5%;
    text-align: center;
    padding: 0.5rem 0.125rem;
    font-size: 0.7rem;
  }
  
  .weapon-damage::before {
    content: "";
  }
  
  .weapon-accuracy {
    width: 22.5%;
    text-align: center;
    padding: 0.5rem 0.125rem;
    font-size: 0.7rem;
  }
  
  .weapon-accuracy::before {
    content: "";
  }
  
  .weapon-level {
    width: 22.5%;
    text-align: center;
    padding: 0.5rem 0.125rem;
    font-size: 0.7rem;
  }
  
  .weapon-level::before {
    content: "";
  }
  
  .weapon-speed {
    width: 18%;
    text-align: center;
  }
  
  .weapon-speed::before {
    content: "";
  }
  
  .weapon-rarity {
    width: 18%;
    text-align: center;
  }
  
  .weapon-rarity::before {
    content: "";
  }
  
  .weapon-info {
    width: 45%;
    text-align: left;
  }
  
  .weapon-info::before {
    content: "";
  }
  
  .weapon-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
  }
  
  .recipe-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
  }
  
  .breadcrumb {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }
  
  .breadcrumb-link {
    padding: 0.25rem 0.5rem;
  }
  
  .breadcrumb-current {
    padding: 0.25rem 0.5rem;
  }
  
  .breadcrumb-separator {
    margin: 0 0.25rem;
  }
  
  /* Improve mobile navigation for skill pages */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .brand {
    font-size: 1.25rem;
  }
  
  .nav-links.mobile-open {
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Improve mobile scrolling and touch interactions */
  .main {
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
  }
  
  /* Ensure all interactive elements are touch-friendly */
  .skill-card,
  .method-item,
  .reward-item,
  .tip-item,
  .related-skill-item,
  .bis-item,
  .weapon-row,
  .meta-item {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Improve mobile form interactions */
  .bis-input,
  .search-input {
    -webkit-appearance: none;
    border-radius: var(--radius);
  }
  
  .bis-button,
  .search-btn {
    -webkit-appearance: none;
    border-radius: var(--radius);
  }
  
  /* Additional mobile improvements for weapon tables */
  .weapon-category {
    overflow-x: hidden;
  }
  
  .weapon-category h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  /* Ensure no horizontal scrolling on mobile */
  .main,
  .container,
  .skill-section,
  .weapon-category {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Improve weapon table mobile layout */
  .weapon-table {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    table-layout: fixed;
  }
  
  .weapon-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .weapon-row span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  /* Ensure weapon names don't overflow */
  .weapon-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Ensure all weapon table elements fit within screen */
  .weapon-category {
    padding: 1rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .weapon-table {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
  }
  
  /* Ensure weapon icons are properly sized on mobile */
  .weapon-icon {
    vertical-align: middle;
    display: inline-block;
  }
  
  .recipe-icon {
    vertical-align: middle;
    display: inline-block;
  }
  
  /* Improve mobile touch targets */
  .weapon-row {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}

/* ============================================
   Forging-specific styles
   ============================================ */

.forging-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.forging-section h3 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.training-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.method-card {
  padding: 1rem;
  background: var(--elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.method-card h4 {
  color: var(--brand);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.method-card p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.method-card strong {
  color: var(--text);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.location-card {
  padding: 1rem;
  background: var(--elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.location-card h4 {
  color: var(--brand);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.location-card p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.location-card ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.location-card li {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.recipes-container {
  margin-top: 1rem;
}

.recipe-category {
  margin-bottom: 2rem;
}

.recipe-category h4 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.recipe-table {
  background: var(--elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.recipe-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 2fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--brand);
}

.recipe-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 2fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.recipe-row:last-child {
  border-bottom: none;
}

.recipe-row:hover {
  background: var(--surface);
}

.recipe-name {
  font-weight: 500;
  color: var(--text);
}

.recipe-level {
  color: var(--brand);
  font-weight: 500;
}

.recipe-xp {
  color: var(--text-light);
}

.recipe-materials {
  color: var(--text-light);
  font-size: 0.9rem;
}

.recipe-description {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Mobile responsiveness for forging */
@media (max-width: 768px) {
  .training-methods,
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .recipe-header,
  .recipe-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .recipe-header span,
  .recipe-row span {
    padding: 0.25rem 0;
  }
  
  .recipe-header span:before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--brand);
  }
  
  .recipe-row span:before {
    content: attr(data-label) ": ";
    font-weight: 500;
    color: var(--text-light);
  }
}

/* Quest Guide Modal Styles */
.quest-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.quest-modal-content {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  margin: 1% auto;
  padding: 0;
  border: 3px solid var(--brand-primary);
  border-radius: 20px;
  width: 92%;
  max-width: 900px;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-80px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quest-modal-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #00b894 50%, var(--brand-primary) 100%);
  color: white;
  padding: 2rem;
  border-radius: 17px 17px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.quest-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.quest-modal-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.quest-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.quest-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1) rotate(90deg);
}

.quest-modal-body {
  padding: 2.5rem;
  background: linear-gradient(180deg, #1e1e1e 0%, #2a2a2a 100%);
}

.quest-guide-section {
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(145deg, #252525 0%, #1f1f1f 100%);
  border-radius: 15px;
  border-left: 5px solid var(--brand-primary);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.quest-guide-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

.quest-guide-section h3 {
  color: var(--brand-primary);
  margin: 0 0 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.quest-guide-section p {
  margin: 1rem 0;
  line-height: 1.7;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.quest-guide-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  counter-reset: step-counter;
}

.quest-guide-steps li {
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin: 1rem 0;
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-primary);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.quest-guide-steps li:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.quest-guide-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand-primary) 0%, #00b894 100%);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.quest-guide-steps li {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.quest-guide-image {
  text-align: center;
  margin: 2rem 0;
}

.quest-guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.quest-guide-image-caption {
  font-size: 1rem;
  color: #b0b0b0;
  margin-top: 1rem;
  font-style: italic;
}

.quest-rewards-section {
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.15) 0%, rgba(0, 212, 170, 0.05) 100%);
  border-left-color: var(--brand-primary);
}

.quest-rewards-section h3 {
  color: var(--brand-primary);
}

.quest-reward-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1.25rem;
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.quest-reward-item:hover {
  background: linear-gradient(145deg, #333333 0%, #252525 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.quest-reward-item img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quest-reward-item span {
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Mobile responsive for quest modal */
@media (max-width: 768px) {
  .quest-modal-content {
    width: 96%;
    margin: 2% auto;
    max-height: 96vh;
    border-radius: 15px;
  }

  .quest-modal-header {
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
  }

  .quest-modal-title {
    font-size: 1.6rem;
  }

  .quest-modal-close {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

  .quest-modal-body {
    padding: 1.5rem;
  }

  .quest-guide-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  .quest-guide-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .quest-guide-section p {
    font-size: 1rem;
  }

  .quest-guide-steps li {
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    margin: 0.75rem 0;
    border-radius: 10px;
  }

  .quest-guide-steps li::before {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    left: 1.25rem;
  }

  .quest-guide-steps li {
    font-size: 1rem;
  }

  .quest-reward-item {
    padding: 1rem;
    gap: 0.75rem;
  }

  .quest-reward-item img {
    width: 28px;
    height: 28px;
  }

  .quest-reward-item span {
    font-size: 1rem;
  }
}
