/* ==========================================================================
   SERVICES.CSS - DEDUPLICATED & CONSOLIDATED STYLESHEET
   ========================================================================== */

/* ==========================================================================
   RIVAL LORDS - Services & Lord Farming Stylesheet
   ========================================================================== */

/* Service Page Main Content Layout & Padding */
body[data-page="services"] #main-content {
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}

/* Service Back to Home Button */
.service-back-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.35rem;
  background: rgba(14, 9, 30, 0.85);
  border: 1px solid rgba(0, 245, 212, 0.4);
  border-radius: var(--radius-full);
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 245, 212, 0.15);
}

.service-back-btn:hover {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.22), rgba(168, 85, 247, 0.3));
  border-color: var(--cyan-accent);
  color: #ffffff;
  transform: translateX(-5px);
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.45);
}

.service-back-btn svg {
  transition: transform 0.3s ease;
}

.service-back-btn:hover svg {
  transform: translateX(-4px);
}

/* Service Page Hero Header */
.service-hero-section {
  padding-top: 1rem;
  padding-bottom: 2.25rem;
  text-align: center;
  position: relative;
}

.service-hero-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.service-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 0 35px rgba(168, 85, 247, 0.35);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff7cd 0%, #ffc800 50%, #d49000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 200, 0, 0.45));
}

.service-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.7;
}

.service-feature-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(14, 9, 30, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Role Filter Bar & Search Container */
.lord-controls-section {
  margin-bottom: 3rem;
}

.lord-controls-wrapper {
  background: rgba(14, 9, 30, 0.85);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-purple-glow);
}

.role-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.role-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-tab-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  transition: transform 0.25s ease;
}

.role-tab-btn .role-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.role-tab-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-primary);
  color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.role-tab-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(126, 34, 206, 0.6));
  border-color: var(--purple-bright);
  color: #ffffff;
  box-shadow: 0 0 20px var(--purple-glow);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(255, 200, 0, 0.22));
  border-color: #ffc800;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.3);
}

.role-tab-btn.active .role-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Search Bar */
.hero-search-wrapper {
  position: relative;
  min-width: 280px;
}

.hero-search-input {
  width: 100%;
  padding: 0.75rem 1.25rem 0.75rem 2.8rem;
  background: rgba(7, 4, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  outline: none;
  transition: all 0.3s ease;
}

.hero-search-input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.hero-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Hero Cards Grid */
.heroes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.85rem;
  max-height: 520px;
  overflow-y: auto;
  padding: 0.65rem 0.45rem;
  scroll-behavior: smooth;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 0.95rem;
  max-height: 650px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem 0.8rem 0.75rem 0.4rem;
  margin-top: 0.5rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-primary) rgba(7, 4, 18, 0.5);
}

.hero-card {
  background: linear-gradient(145deg, rgba(35, 112, 155, 0.85), rgba(28, 95, 133, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 183, 3, 0.4);
  border-radius: 14px;
  padding: 0.65rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 3, 0.95);
  background: linear-gradient(145deg, rgba(43, 130, 179, 0.95), rgba(35, 112, 155, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 183, 3, 0.5), inset 0 0 10px rgba(255, 183, 3, 0.2);
}

.hero-card.selected-hero {
  border-color: var(--cyan-primary) !important;
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.22), rgba(0, 245, 212, 0.22)) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45), inset 0 0 15px rgba(0, 240, 255, 0.2) !important;
  transform: translateY(-2px);
}

.hero-card.selected-hero::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background-color: var(--cyan-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305030c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.9), 0 3px 8px rgba(0, 0, 0, 0.7);
  animation: selectedBadgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background-color: var(--cyan-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305030c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.9), 0 3px 8px rgba(0, 0, 0, 0.7);
  animation: selectedBadgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.hero-portrait-frame {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 0.45rem auto;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.25rem auto;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #070410;
}

/* Split Layout for Lord Farming Configurator */
.farming-split-layout {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

/* Left Column: Main Configurator Panel */
.main-config-panel {
  background: rgba(14, 9, 28, 0.92);
  border: 1.5px solid var(--border-glow);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--shadow-purple-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.panel-section-title .title-icon {
  font-size: 1.4rem;
}

/* Role Filter Tabs (Design Reference Style) */
.role-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  background: rgba(7, 4, 16, 0.7);
  padding: 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.role-tab-btn:hover img {
  transform: scale(1.15);
}

.role-tab-btn.active img {
  filter: drop-shadow(0 0 8px #ffc800);
}

.heroes-grid::-webkit-scrollbar {
  width: 7px;
}

.heroes-grid::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.heroes-grid::-webkit-scrollbar-track {
  background: rgba(7, 4, 18, 0.5);
  border-radius: 10px;
}

.heroes-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple-primary), var(--gold-primary));
  border-radius: 10px;
  border: 1px solid rgba(7, 4, 18, 0.8);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.heroes-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--purple-bright), var(--gold-bright));
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
}

/* Interactive Cards Click Pass-Through Fix */
.hero-card > *,
.pack-item-card > *,
.tier-btn > *,
.div-btn > *,
.days-pill-btn > *,
.role-tab-btn > *,
.tab-nav-btn > * {
  pointer-events: none;
}

.hero-card::before,
.hero-card::after,
.pack-item-card::before,
.pack-item-card::after {
  pointer-events: none;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
  pointer-events: none;
}

.hero-card:hover::before {
  left: 150%;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
  line-height: 1.15;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.hero-role-badge img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  width: 13px;
  height: 13px;
  object-fit: contain;
}

/* Section 2: Mastery Rank Timeline Grid */
.mastery-timeline-container {
  background: rgba(7, 4, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.mastery-stepper-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-stepper-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stepper-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
}

/* Right Panel Rank Selectors (Unified Single Card) */
.right-selectors-box {
  background: rgba(14, 9, 32, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(168, 85, 247, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.unified-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.selector-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  display: block;
  margin-bottom: 0.6rem;
}

.progression-diff-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan-primary), var(--gold-primary));
  color: #030814;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
  animation: pulseGlow 2s infinite;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--cyan-accent);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.rank-sublabel {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a78bfa;
  display: block;
  margin-bottom: 0.35rem;
}

.unified-rank-group {
  position: relative;
}

.stepper-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.85rem 0;
  position: relative;
}

.stepper-divider::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.25), transparent);
  z-index: 1;
}

.stepper-arrow-badge {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 9, 32, 0.95);
  border: 1px solid var(--cyan-accent);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  animation: floatArrow 1.8s ease-in-out infinite;
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.stepper-rank-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, rgba(15, 8, 30, 0.9), rgba(8, 4, 18, 0.95));
  border: 1px solid rgba(0, 245, 212, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 245, 212, 0.1);
  border-radius: 12px;
  flex: 1;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: linear-gradient(135deg, rgba(20, 13, 40, 0.9), rgba(10, 6, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  flex: 1;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stepper-rank-info:hover {
  border-color: var(--cyan-accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 212, 0.3), inset 0 0 20px rgba(0, 245, 212, 0.2);
  transform: scale(1.02);
}

.stepper-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.4));
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.stepper-val-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.03em;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 15, 45, 0.6), rgba(10, 7, 25, 0.8));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 245, 212, 0.4);
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(0, 245, 212, 0.1);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-step:hover {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.8), rgba(168, 85, 247, 0.8));
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 245, 212, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-4px) scale(1.1);
  background: var(--cyan-accent);
  color: #05030c;
  border-color: var(--cyan-accent);
  box-shadow: 0 0 16px var(--cyan-accent);
  transform: translateY(-2px);
  background: var(--cyan-accent);
  color: #05030c;
  border-color: var(--cyan-accent);
  box-shadow: 0 0 12px var(--cyan-accent);
}

.btn-step:active {
  transform: translateY(2px) scale(0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
}

/* Range Slider Styling */
.range-slider-wrapper {
  margin-top: 0.6rem;
  width: 100%;
}

.rank-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rank-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-accent);
  border: 2px solid #070412;
  box-shadow: 0 0 10px var(--cyan-accent);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.rank-range-slider.target-slider::-webkit-slider-thumb {
  background: linear-gradient(135deg, #ffea79, #ffc800);
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.8);
}

.rank-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Milestone Fast Selector Pills */
.milestones-quick-selector {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px stroke rgba(255, 255, 255, 0.08);
}

.milestones-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.milestones-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.milestones-pills-row::-webkit-scrollbar {
  width: 4px;
}

.milestones-pills-row::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 4px;
}

.milestone-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.milestone-pill-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.milestone-pill-btn:hover {
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--cyan-accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.milestone-pill-btn.active {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.25), rgba(168, 85, 247, 0.3));
  border-color: var(--gold-bright);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.3);
}

/* Progression Summary Card Enhancements */
.progression-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mastery-progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.85rem;
}

.mastery-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-accent), var(--purple-primary), var(--gold-bright));
  box-shadow: 0 0 12px var(--cyan-accent);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rank Nodes Timeline Grid */
.rank-nodes-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 0.85rem;
  align-items: center;
  justify-items: center;
}

.rank-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.rank-node-item:hover {
  transform: translateY(-3px);
}

.rank-node-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 10, 28, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  position: relative;
  transition: all 0.3s ease;
}

.rank-node-circle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.rank-node-item.node-active .rank-node-circle {
  border-color: #ffc800;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(168, 85, 247, 0.3));
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.rank-node-lvl {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.rank-node-item.node-active .rank-node-lvl {
  background: #ffc800;
  color: #05030c;
  font-weight: 900;
}

.rank-node-title {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.rank-node-item.node-active .rank-node-title {
  color: #ffffff;
}

/* Right Column: Sticky Summary Panel (Reference Design Match) */
.farming-right-col {
  position: sticky;
  top: 100px;
  z-index: 50;
}

.summary-sticky-card {
  background: rgba(12, 8, 26, 0.96);
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(168, 85, 247, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.summary-sticky-card:hover {
  border-color: rgba(0, 245, 212, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 245, 212, 0.2);
}

.summary-hero-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(6, 4, 15, 0.85);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.summary-avatar-frame {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--gold-primary) 100%);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
  flex-shrink: 0;
}

.summary-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.summary-subtitle {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  display: block;
  text-transform: uppercase;
}

.summary-hero-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0.1rem 0 0.25rem 0;
  letter-spacing: 0.02em;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.summary-mvp-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05030c;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.mvp-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Portrait Frame (Larger Icons) */
.hero-portrait-frame {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 0.45rem auto;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Total Price Box (Always Centered in Middle) */
.summary-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 1.1rem;
  background: rgba(14, 9, 32, 0.85);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 245, 212, 0.08);
}

.price-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(255, 200, 0, 0.6);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: #ffc800;
  background: linear-gradient(135deg, #ffc800, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

/* Mastery Rank Selectors Box */
.right-selectors-box {
  background: rgba(6, 4, 15, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.stepper-val-badge.badge-gold {
  color: #ffc800;
  text-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
}

/* Icon-based Progression Summary Card */
.summary-progression-card {
  background: rgba(6, 4, 15, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.progression-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.progression-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(14, 9, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
}

.progression-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progression-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4));
}

.progression-info {
  display: flex;
  flex-direction: column;
}

.progression-sub {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.progression-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

.progression-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  filter: drop-shadow(0 0 5px var(--cyan-accent));
}

.detail-value.text-gold {
  color: #ffc800;
  text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.btn-cart-buy {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #ffea79 0%, #ffc800 50%, #d49000 100%);
  border: none;
  border-radius: 14px;
  color: #05030c;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 0 25px rgba(255, 200, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--gold-primary) 100%);
  border: none;
  color: #030814;
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-cart-buy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-cart-buy:hover::before {
  left: 100%;
}

.btn-cart-buy:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(255, 200, 0, 0.65);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 200, 0, 0.6);
  color: #000000;
}

.btn-cart-buy:active {
  transform: translateY(0) scale(0.98);
}

.detail-value.text-cyan {
  color: var(--cyan-accent);
}

.summary-addons-box {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.addon-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.addon-toggle input {
  accent-color: var(--purple-primary);
  width: 15px;
  height: 15px;
}

/* Total Price Section */
.summary-price-box {
  margin-bottom: 1.25rem;
  text-align: right;
}

.summary-guarantee-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.summary-hero-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-bright);
  box-shadow: 0 0 15px var(--purple-glow);
}

/* MVP Video Box */
.summary-mvp-box {
  margin-bottom: 1.35rem;
  background: rgba(7, 4, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mvp-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple-bright);
  padding: 0.45rem 0.85rem;
  background: rgba(168, 85, 247, 0.12);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.mvp-video-container {
  width: 100%;
  height: 180px;
  background: #05030c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.summary-mvp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rank Steppers */
.stepper-control-group {
  margin-bottom: 1.25rem;
}

.stepper-select-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.btn-step.step-fast-down,
.btn-step.step-fast-up {
  color: var(--gold-bright);
  font-size: 0.85rem;
}

.btn-step.step-fast-down:hover,
.btn-step.step-fast-up:hover {
  background: var(--gold-bright);
  color: #05030c;
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
}

.stepper-rank-display {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(7, 4, 16, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
}

.stepper-rank-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stepper-rank-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.hidden-select {
  display: none;
}

.hero-card:hover .hero-portrait-frame {
  transform: scale(1.06);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}

.role-badge-duelist {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.role-badge-vanguard {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}

.role-badge-strategist {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
}

.btn-select-hero {
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--purple-primary);
  color: var(--purple-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-card:hover .btn-select-hero {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--purple-glow);
}

/* Proficiency Ranks Section */
.ranks-showcase-section {
  margin-top: 5rem;
}

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

.rank-showcase-card {
  background: rgba(14, 9, 30, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.85rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.rank-showcase-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-4px);
}

.rank-showcase-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

.rank-showcase-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  text-transform: uppercase;
}

/* Lord Farming Configurator Modal */
.farming-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 3, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.farming-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.farming-modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(16, 9, 34, 0.97);
  border: 1.5px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--shadow-purple-glow);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.farming-modal-overlay.active .farming-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
}

.modal-hero-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-hero-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-primary);
  box-shadow: 0 0 15px var(--purple-glow);
}

.modal-hero-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

/* Config Selector Groups */
.config-group {
  margin-bottom: 1.5rem;
}

.config-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.config-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.config-select {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(7, 4, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.config-select:focus {
  border-color: var(--purple-primary);
}

.config-rank-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Checkbox options */
.config-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  transition: all 0.2s ease;
}

.config-checkbox-label:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--purple-glow);
}

.config-checkbox-label input[type="checkbox"] {
  accent-color: var(--purple-primary);
  width: 17px;
  height: 17px;
}

/* Modal Price & Order Action */
.modal-price-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-price-display {
  display: flex;
  flex-direction: column;
}

.modal-price-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 0 12px var(--gold-glow);
  line-height: 1;
}

.modal-price-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* =========================================
   MOBILE & TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1100px) {
  /* The split layout collapses to single column, already exists around line 319, but reinforcing here */
  .farming-split-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .summary-sticky-card {
    position: static; /* Disable sticky on tablet/mobile */
    width: 100%;
  }
}

/* ==========================================================================
   RANK BOOST CONFIGURATOR STYLES
   ========================================================================== */
.rank-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.rank-selection-card {
  background: rgba(14, 9, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}

.rank-selection-card.start-card {
  border-color: rgba(168, 85, 247, 0.4);
}

.rank-selection-card.target-card {
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}

.rank-box-header {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.rank-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rank-tiers-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tier-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.7rem 0.35rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.tier-btn:hover:not(.disabled-tier) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.tier-btn.active-start {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(14, 9, 32, 0.95));
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
}

.tier-btn.active-target {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(14, 9, 32, 0.95));
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.45);
}

.tier-btn.disabled-tier {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(1);
}

.tier-emblem-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  transition: transform 0.2s ease;
}

.tier-btn:hover .tier-emblem-img {
  transform: scale(1.1);
}

.tier-btn-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.divisions-row {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.div-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.div-btn:hover:not(.disabled-div) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.div-btn.selected-div-start {
  background: var(--purple-primary);
  color: #fff;
  border-color: var(--purple-bright);
  box-shadow: 0 0 15px var(--purple-glow);
}

.div-btn.selected-div-target {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px var(--gold-glow);
}

.div-btn.disabled-div {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.order-summary-bottom-card {
  background: rgba(14, 9, 32, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: 22px;
  padding: 1.75rem 2rem;
  max-width: 650px;
  margin: 2.25rem auto 4rem auto;
  text-align: center;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.22);
  backdrop-filter: blur(20px);
}

.days-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.days-pill-btn:hover,
.days-pill-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Server Booster Discount Tag - Premium Cosmic Style */
.booster-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(244, 127, 255, 0.22), rgba(168, 85, 247, 0.35));
  border: 1px solid rgba(244, 127, 255, 0.65);
  color: #f7a8ff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(244, 127, 255, 0.45);
  margin-top: 0.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: boosterPulse 2.5s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booster-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(244, 127, 255, 0.25);
  border: 1px solid rgba(244, 127, 255, 0.7);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(244, 127, 255, 0.6);
  flex-shrink: 0;
}

/* ==========================================================================
   LATTICES & SKINS CONFIGURATOR STYLES
   ========================================================================== */
.lattices-split-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.main-config-panel {
  background: rgba(14, 9, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.tab-nav-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.tab-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-nav-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.2));
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.tab-text-short {
  display: none;
}

.catalog-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.catalog-cards-grid[data-cols="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.pack-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pack-item-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.pack-item-card.active-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(14, 9, 32, 0.95));
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.pack-img-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pack-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.pack-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pack-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 0 12px var(--gold-glow);
}

.summary-sidebar-card {
  background: rgba(14, 9, 32, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.selected-pack-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-thumb {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.uid-group {
  margin-bottom: 1.25rem;
}

.uid-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.uid-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.uid-input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.qty-controls-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (min-width: 992px) {
  .lord-controls-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 1100px) {
  .farming-split-layout {
    grid-template-columns: 1fr;
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(0, 245, 212, 0.4); }
  50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.7); }
  100% { box-shadow: 0 0 15px rgba(0, 245, 212, 0.4); }
}

@keyframes floatArrow {
  0%, 100% {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
  }
  50% {
    transform: translateY(4px);
    box-shadow: 0 0 18px rgba(0, 245, 212, 0.7);
  }
}

@media (max-width: 480px) {
  .service-hero-subtitle {
    display: none;
  }
}

@media (max-width: 850px) {
  .rank-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .rank-tiers-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .service-hero-title {
    font-size: 2.5rem;
  }
  
  .service-hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .role-filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .role-tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  
  .heroes-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
  }
  
  .steppers-dual-grid {
    grid-template-columns: 1fr !important; /* Stack start/target selectors */
    gap: 1.5rem !important;
  }
}

@media (max-width: 600px) {
  .service-hero-section {
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
  }

  .service-hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
  }
  
  .service-hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 0 0.5rem;
    margin-bottom: 0.4rem;
  }
  
  .role-filter-tabs {
    gap: 0.5rem;
  }

  .role-tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    font-size: 0.75rem;
    padding: 0.5rem 0.4rem;
  }
  
  .role-tab-btn span {
    font-size: 0.75rem;
  }

  .role-tab-btn img {
    width: 14px;
    height: 14px;
  }
  
  .heroes-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
  }
  
  .hero-card {
    border-radius: 8px;
    padding: 0.6rem 0.4rem;
  }
  
  .hero-card:hover {
    transform: translateY(-2px);
  }
  
  .summary-hero-box {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .summary-avatar-frame {
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }
  
  .mvp-video-player {
    border-radius: 10px;
    /* ensure video fits small screens */
    width: 100%;
    height: auto;
  }
  
  .stepper-row {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  
  .btn-step {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  .summary-price-box {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .btn-cart-buy {
    font-size: 1rem;
    padding: 0.85rem;
    width: 100%;
  }
  
  .lattice-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .farming-modal-card {
    padding: 1.5rem;
    width: 95%;
  }
  
  .modal-hero-header {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-price-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@keyframes boosterPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(244, 127, 255, 0.3); }
  50% { box-shadow: 0 0 22px rgba(244, 127, 255, 0.6); }
}

@media (max-width: 1024px) {
  .lattices-split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tab-text-full {
    display: none;
  }
  .tab-text-short {
    display: inline;
  }
}

@media (max-width: 768px) {
  .catalog-cards-grid,
  .catalog-cards-grid[data-cols="2"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .catalog-cards-grid,
  .catalog-cards-grid[data-cols="2"] {
    grid-template-columns: 1fr;
  }
}

