/*!***********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/index.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-base: #030712;
  --bg-surface: #0b0f19;
  --bg-card: #111827;
  --bg-input: #0f172a;
  
  --text-main: #f0f9ff;
  --text-dim: #7dd3fc;
  --text-muted: #475569;

  --neon-accent: #06b6d4;
  --neon-accent-rgb: 6, 182, 212;
  --neon-blue: #38bdf8;
  --neon-green: #10b981;
  --neon-danger: #ef4444;
  --neon-warn: #f59e0b;

  --border-color: rgba(6, 182, 212, 0.15);
  --border-focus: rgba(6, 182, 212, 0.5);
  --glow-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  --glass-bg: rgba(17, 24, 39, 0.4);
  --glass-blur: blur(12px);

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;

  font-family: var(--font-sans);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border: 2px solid var(--bg-base);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-accent);
}

/* App Layout */
.app-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: 
    radial-gradient(at 10% 20%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(56, 189, 248, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background-color: rgba(11, 15, 25, 0.85);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  color: var(--neon-accent);
  filter: drop-shadow(0 0 8px var(--neon-accent));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #fff 30%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.navbar-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.navbar-link:hover {
  color: #fff;
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--border-color);
}

/* Navbar Tab Navigation */
.navbar-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.3rem;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-tab:hover {
  color: #fff;
  background: rgba(6, 182, 212, 0.08);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(56, 189, 248, 0.15) 100%);
  color: #fff;
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}


.app-main {
  flex: 1 1;
  padding: 2.5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.app-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

/* Common Components */
.card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--glow-shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-accent), #0284c7);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-dim);
}

.btn-accent {
  background: linear-gradient(135deg, var(--neon-blue), #0891b2);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--neon-danger);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-icon {
  gap: 0.4rem;
}

.cursor-pointer {
  cursor: pointer;
}

/* Forms CSS */
.form-layout {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.form-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
}

.form-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  border-left: 3px solid var(--neon-accent);
  padding-left: 0.75rem;
  letter-spacing: 0.5px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-header-row .section-title {
  margin-bottom: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
  outline: none;
}

.form-textarea {
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0.75rem;
}

/* Custom Toggle Switch */
.toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle-container input {
  display: none;
}

.toggle-slider {
  width: 44px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  left: 2px;
  top: 2px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-container input:checked + .toggle-slider {
  background-color: var(--neon-accent);
  border-color: var(--neon-accent);
}

.toggle-container input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Material Autocomplete Dropdown */
.material-autocomplete {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: 10px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.autocomplete-item:hover {
  background-color: rgba(6, 182, 212, 0.15);
  color: #fff;
}

.dropdown-icon {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.autocomplete-no-results {
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Lore & Enchants Row Styles */
.lore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.lore-item-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-delete:hover {
  background: var(--neon-danger);
  color: #fff;
}

.enchant-row,
.nbt-row {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.enchant-level-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.level-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.level-input {
  max-width: 80px;
}

.nbt-row {
  grid-template-columns: 1fr 1fr auto;
}

/* Raw JSON Editor */
.json-editor-wrapper {
  display: flex;
  flex-direction: column;
  height: 550px;
}

.json-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.75rem;
}

.toolbar-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.toolbar-actions {
  display: flex;
  gap: 0.5rem;
}

.json-textarea {
  flex: 1 1;
  background-color: #0c0615;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #22c55e;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 1rem;
  line-height: 1.5;
  resize: none;
}

.json-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
  outline: none;
}

/* Dashboard List Style */
.dashboard-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 992px) {
  .dashboard-intro {
    flex-direction: column;
    align-items: stretch;
  }
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 40%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.dashboard-header-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Filter bar controls */
.filter-bar {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.search-wrapper {
  position: relative;
  flex: 1 1;
  max-width: 450px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  padding-left: 2.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  height: 42px;
  width: 100%;
}

.search-input:focus {
  border-color: var(--border-focus);
  outline: none;
}

.filter-selects {
  display: flex;
  gap: 1rem;
}

@media (max-width: 576px) {
  .filter-selects {
    flex-direction: column;
  }
}

.filter-group {
  position: relative;
  display: flex;
  align-items: center;
}

.select-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  font-size: 0.9rem;
  height: 42px;
  cursor: pointer;
  outline: none;
}

.filter-select:focus {
  border-color: var(--border-focus);
}

/* Status Banner alerts */
.status-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.status-banner.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
}

.status-banner.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.banner-icon {
  display: flex;
  align-items: center;
}

.banner-text {
  font-size: 0.9rem;
  flex: 1 1;
}

.banner-close {
  background: transparent;
  border: none;
  color: currentColor;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Item Dashboard Grid List */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 2rem;
}

.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-top {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-icon-wrapper {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-identity {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-display-name {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-item-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1;
  margin-bottom: 1.25rem;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.card-label {
  color: var(--text-dim);
}

.card-value {
  font-weight: 600;
  color: #fff;
}

.type-badge {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.material-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--text-dim);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  margin-top: auto;
}

.text-dim {
  color: var(--text-dim);
}
.font-sm {
  font-size: 0.8rem;
}

/* Hover Minecraft Tooltip absolute popover */
.hover-tooltip-target {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  animation: tooltipFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-card:hover .hover-tooltip-target {
  display: block;
}

@keyframes tooltipFade {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Empty State Dashboard style */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.empty-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.empty-desc {
  color: var(--text-dim);
  max-width: 450px;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.empty-buttons {
  display: flex;
  gap: 1rem;
}

/* Workspace layout in editor */
.editor-workspace {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 2.5rem;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 992px) {
  .editor-workspace {
    grid-template-columns: 1fr;
  }
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  gap: 2rem;
}

@media (max-width: 576px) {
  .editor-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.editor-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editor-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.editor-top-buttons {
  display: flex;
  gap: 0.75rem;
}

.editor-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.editor-tabs {
  display: flex;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.25rem;
}

.tab-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  background-color: var(--neon-accent);
  color: #fff;
}

.preview-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.preview-title-row {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: -0.75rem;
}

.preview-container {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Validation Log Panel */
.validation-panel {
  padding: 1.25rem;
  background-color: rgba(12, 6, 21, 0.6) !important;
}

.validation-title {
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.validation-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.validation-error-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fca5a5;
  background-color: rgba(239, 68, 68, 0.05);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border-left: 3px solid var(--neon-danger);
}

.validation-success-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.validation-success-text code {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin: 0 0.25rem;
}

/* --- MINECRAFT TOOLTIP RENDER ENGINE --- */
.mc-tooltip-container {
  font-family: var(--font-mono);
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-tooltip-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
}

.mc-tooltip-icon-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mc-tooltip-mat-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.mc-tooltip-id-name {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mc-tooltip-box {
  background-color: #100010;
  border: 2px solid #2d0a63;
  box-shadow: 0 0 0 2px #100010, 0 10px 30px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  padding: 10px 14px;
  width: max-content;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-tooltip-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
  word-break: break-all;
}

.mc-tooltip-enchantments {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-tooltip-description {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-tooltip-extra-lore {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-tooltip-spacer {
  height: 6px;
}

.mc-tooltip-line {
  line-height: 1.4;
  font-size: 0.85rem;
}

/* Obfuscated (scrambling) span */
.mc-obfuscated {
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.mc-segment {
  white-space: pre-wrap;
}

/* Helper styles for Minecraft tags */
.minecraft-text {
  font-family: var(--font-mono);
  text-shadow: 1px 1px 0px rgba(0,0,0,0.4);
}

/* ================================================ */
/* QUEST CREATOR STYLES                             */
/* ================================================ */

/* Quest variables */
:root {
  --neon-gems: #22c55e;
  --neon-xp: #a3e635;
  --neon-items: #a855f7;
}

/* Quest Grid */
.quest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-top: 0;
}

/* Quest Card */
.quest-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quest-card:hover {
  transform: translateY(-3px);
}

.quest-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.quest-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.quest-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.quest-parts-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  width: -moz-fit-content;
  width: fit-content;
}

.quest-time-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.quest-card-body {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quest-description {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.quest-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.rewards-summary {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.reward-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reward-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.reward-gems {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-gems);
}

.reward-xp {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-xp);
}

.reward-item-badge-container {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reward-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.reward-item-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--neon-items);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

.quest-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1 1;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.5rem 1rem 0.5rem 2.75rem;
  font-size: 0.9rem;
  height: 42px;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.filter-selects {
  display: flex;
  gap: 1rem;
}

.filter-group {
  position: relative;
  display: flex;
  align-items: center;
}

.select-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  font-size: 0.9rem;
  height: 42px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-family: var(--font-sans);
}

.filter-select:focus {
  border-color: var(--border-focus);
}

.filter-select option {
  background: var(--bg-surface);
  color: #fff;
}

/* Quest Editor specific */
.json-editor-wrapper {
  display: flex;
  flex-direction: column;
}

.json-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin: -1.5rem -1.5rem 1rem;
}

.toolbar-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.toolbar-actions {
  display: flex;
  gap: 0.5rem;
}

.json-textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 1rem;
  resize: vertical;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s ease;
}

.json-textarea:focus {
  border-color: var(--border-focus);
}

/* Quest Timeline */
.quest-parts-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 2px dashed rgba(6, 182, 212, 0.2);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
}

.timeline-part {
  position: relative;
}

.timeline-part::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 6px - 1px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--neon-accent);
  box-shadow: 0 0 8px var(--neon-accent);
}

.part-desc-mc {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.part-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  background: rgba(255,255,255,0.01);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
}

.objective-item {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

/* Nested cards in editors */
.nested-row-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.nested-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.nested-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.nested-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: all 0.2s ease;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--neon-danger);
  color: #fff;
}

/* Dashboard styles shared */
.dashboard-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 30%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.dashboard-subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.dashboard-header-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* Section headers */
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Form grids */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

@media (max-width: 576px) {
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .quest-grid {
    grid-template-columns: 1fr;
  }
  .filter-selects {
    flex-direction: column;
  }
  .part-details-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-intro {
    flex-direction: column;
  }
}

.editor-right-preview {
  min-width: 0;
}

/* Custom NPC transitions and animations */
.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   LOGIN PAGE PREMIUM GLOW STYLING
   ========================================== */
.login-root {
  min-height: 100vh;
  width: 100%;
  background-color: #08090c;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-main);
  padding: 2rem 1rem;
}

/* Ambient lighting */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.ambient-glow.top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--neon-accent) 0%, transparent 70%);
}

.ambient-glow.bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
}

.login-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  animation: loginFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loginFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-logo-glow {
  position: relative;
  margin-bottom: 1.25rem;
}

.login-logo-glow::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--neon-accent);
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.3;
  z-index: -1;
}

.login-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.login-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-title span {
  color: var(--neon-accent);
  -webkit-text-fill-color: initial;
}

.login-subtitle {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Glassmorphic Login Card */
.login-card {
  background: rgba(13, 15, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-accent), var(--neon-blue), transparent);
}

.login-card-inner {
  padding: 2.5rem 2.25rem;
}

.login-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.login-card-title .title-icon {
  color: var(--neon-accent);
}

/* Error Banner */
.login-error-banner {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fca5a5;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  animation: errorShake 0.4s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.login-error-banner .error-icon {
  color: #ef4444;
  flex-shrink: 0;
}

/* Form Styling */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-form .form-group {
  margin-bottom: 0;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 0.875rem;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.3s ease;
}

.input-with-icon .form-input {
  padding-left: 2.5rem !important;
}

.input-with-icon .form-input:focus + .input-icon {
  color: var(--neon-accent);
}

.login-btn {
  width: 100%;
  height: 46px;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--neon-accent) 0%, #7e22ce 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.login-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}

.login-btn:active:not(:disabled) {
  transform: translateY(0);
}

.login-btn:disabled {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.login-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.login-footer code {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--neon-blue);
  font-family: var(--font-mono);
}

/* Spinner indicator */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   LANDING PAGE & SCHOOL WIKI STYLES
   ========================================================================== */

.landing-container {
  min-height: 100vh;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(126, 34, 206, 0.05) 0px, transparent 70%);
  background-attachment: fixed;
  font-family: var(--font-sans);
  color: var(--text-main);
  position: relative;
}

/* Hero Section */
.hero-sec {
  padding: 8rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  color: var(--neon-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-title-main {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.15));
}

.hero-subtitle-main {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Features Grid */
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.feature-glass-card {
  background: rgba(11, 15, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.06), 0 0 1px rgba(6, 182, 212, 0.2);
}

.feature-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-glass-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-accent);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-glass-card:hover .feature-icon-wrapper {
  background: var(--neon-accent);
  color: #030712;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Sections */
.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.85rem;
  color: var(--neon-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title-landing {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Interactive Tabs for School Tutorial */
.tutorial-tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-nav-btn {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 1.75rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tab-nav-btn:hover {
  border-color: rgba(6, 182, 212, 0.3);
  color: #fff;
}

.tab-nav-btn.active {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--neon-accent);
  color: var(--neon-accent);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.12);
}

.tutorial-showcase-card {
  background: rgba(11, 15, 25, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 3.5rem;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-gap: 4rem;
  gap: 4rem;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 968px) {
  .tutorial-showcase-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
}

.tutorial-badge-step {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--neon-accent);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tutorial-step-headline {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.tutorial-step-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tutorial-points-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tutorial-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.tutorial-point-item svg {
  color: var(--neon-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tutorial-visual-block {
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  font-family: var(--font-mono);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.tutorial-visual-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

/* Category Selector for Enchants */
.enchants-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-pill-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-pill-btn:hover {
  border-color: rgba(6, 182, 212, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, var(--neon-accent) 0%, var(--neon-blue) 100%);
  border-color: transparent;
  color: #030712;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* Enchants Cards Grid */
.enchants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.enchant-card {
  background: rgba(11, 15, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.enchant-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: 0 15px 35px var(--card-shadow-hover);
}

/* Custom properties per Rarity */
.enchant-card.rarity-common {
  --card-border-hover: rgba(148, 163, 184, 0.25);
  --card-shadow-hover: rgba(148, 163, 184, 0.05);
}
.enchant-card.rarity-rare {
  --card-border-hover: rgba(56, 189, 248, 0.35);
  --card-shadow-hover: rgba(56, 189, 248, 0.08);
}
.enchant-card.rarity-epic {
  --card-border-hover: rgba(168, 85, 247, 0.35);
  --card-shadow-hover: rgba(168, 85, 247, 0.08);
}
.enchant-card.rarity-legendary {
  --card-border-hover: rgba(245, 158, 11, 0.4);
  --card-shadow-hover: rgba(245, 158, 11, 0.1);
}
.enchant-card.rarity-cosmic {
  --card-border-hover: rgba(236, 72, 153, 0.4);
  --card-shadow-hover: rgba(236, 72, 153, 0.12);
}

.enchant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.enchant-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.enchant-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.enchant-max-level {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Glow Badges for Rarity */
.rarity-badge-wiki {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.rarity-badge-wiki.common {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.25);
}
.rarity-badge-wiki.rare {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}
.rarity-badge-wiki.epic {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}
.rarity-badge-wiki.legendary {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}
.rarity-badge-wiki.cosmic {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
}

.enchant-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* In-game Lore Preview */
.lore-preview-box {
  background: #09090e;
  border: 1px solid #1c1c28;
  border-radius: 10px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.45;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lore-preview-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.lore-line-item {
  display: block;
  white-space: pre-wrap;
}

/* Sub-CTA section */
.bottom-cta-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(126, 34, 206, 0.06) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.bottom-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bottom-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.bottom-cta-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Tooltip Notification for Clipboard */
.clipboard-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid var(--neon-accent);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3), 0 0 15px rgba(6, 182, 212, 0.2);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 1000;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

