/* Product design refinement — hierarchy, rhythm, accessibility, consistency */
:root {
  --cyan:#42d9c6;
  --cyan-strong:#27c5b3;
  --cyan-soft:rgba(66,217,198,.10);
  --cyan-line:rgba(66,217,198,.30);
  --white:#f4f8f7;
  --muted:#9aadaa;
  --surface:#081012;
  --surface-2:#0c1517;
  --surface-3:#111c1e;
  --line:rgba(222,255,251,.12);
  --radius-xs:6px;
  --radius-sm:8px;
  --radius-md:10px;
  --radius-lg:12px;
}

body {
  font-size: 15px;
  line-height: 1.6;
  background-image: none;
}
body::before {
  display: none !important;
}
button,a,input { font:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:3px;
}

/* Header: one clear brand row, no ornamental emphasis */
.site-header { min-height:68px; }
.header-inner {
  min-height:68px;
  padding:10px 32px;
}
.brand-icon {
  width:40px;
  height:40px;
  border-radius:9px;
  box-shadow:none;
}
.brand-text h1 {
  font-size:1rem;
  font-weight:700;
  letter-spacing:.01em;
}
.brand-subtitle {
  margin-top:2px;
  font-size:.625rem;
  letter-spacing:.14em;
}
.lang-selector { border-radius:9px; }
.lang-btn {
  min-width:40px;
  min-height:38px;
}

/* Hero: reduced vertical footprint; content is visible sooner */
.hero-section {
  min-height:340px;
  padding:54px 32px 44px;
  gap:14px;
}
.hero-section::before,
.hero-section::after { display:none; }
.hero-title-row {
  align-items:flex-end;
  gap:32px;
}
.hero-title {
  max-width:820px;
  font-size:clamp(3rem,4.6vw,4.75rem);
  line-height:.98;
  letter-spacing:-.055em;
}
.hero-desc {
  max-width:700px;
  color:#b0c0be;
  font-size:1rem;
  line-height:1.65;
}
.hero-stats {
  min-height:44px;
  padding:10px 14px;
  border-radius:8px;
  background:rgba(4,12,13,.58);
  color:#8fa19f;
}

/* Controls: stable three-column alignment */
.controls-section {
  top:68px;
  padding:12px 32px;
}
.controls-inner {
  display:grid;
  grid-template-columns:minmax(320px,1fr) auto auto;
  align-items:center;
  gap:20px;
}
.search-box-wrapper {
  width:100%;
  max-width:520px;
}
.search-input {
  min-height:44px;
  border-radius:8px;
  padding-top:10px;
  padding-bottom:10px;
}
.filter-group { gap:8px; flex-wrap:nowrap; }
.filter-btn,.view-btn {
  min-height:40px;
  padding:7px 13px;
  border-radius:7px;
  white-space:nowrap;
}
.view-modes {
  border-radius:9px;
  padding:2px;
}

/* Main layout: less width competition and more consistent vertical rhythm */
.main-wrapper {
  grid-template-columns:240px minmax(0,1fr);
  gap:24px;
  margin-top:28px;
}
.quick-jump-aside {
  top:140px;
  padding:14px;
  border-radius:10px;
  background:rgba(7,14,16,.90);
  box-shadow:none;
}
.quick-jump-header {
  padding-bottom:12px;
  margin-bottom:8px;
}
.quick-jump-header h3 {
  font-size:.75rem;
  letter-spacing:.08em;
}
.quick-jump-link {
  min-height:40px;
  padding:8px;
  border-radius:6px;
}
.quick-jump-num {
  width:27px;
  font-size:.72rem;
}
.quick-jump-name { font-size:.79rem; }

/* Cards: quieter container, clearer internal hierarchy */
.boss-grid { gap:24px; }
.boss-card {
  border-radius:12px;
  background:rgba(7,15,17,.94);
  box-shadow:0 14px 42px rgba(0,0,0,.24);
}
.boss-card::before {
  width:2px;
  box-shadow:none;
}
.boss-card:hover {
  transform:none;
  border-color:rgba(66,217,198,.27);
  box-shadow:0 18px 50px rgba(0,0,0,.30);
}
.boss-card-header {
  min-height:72px;
  padding:16px 20px;
  background:rgba(66,217,198,.035);
}
.boss-title-group { min-width:0; }
.boss-id-badge {
  padding:5px 9px;
  border-radius:6px;
}
.boss-name {
  font-size:1.25rem;
  line-height:1.25;
}
.boss-header-meta { gap:8px; }
.threat-badge,.bot-info-link {
  min-height:34px;
  padding:6px 11px;
  border-radius:6px;
}
.boss-card-body {
  grid-template-columns:210px minmax(0,1fr);
  gap:22px;
  padding:20px;
}
.boss-portrait-frame {
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.30);
}
.boss-card:hover .boss-portrait-img {
  transform:none;
  filter:none;
}
.portrait-label { font-size:.75rem; }
.boss-tactical-content { gap:12px; }

.loadout-box {
  padding:15px 17px;
  border-radius:8px;
}
.loadout-title {
  margin-bottom:6px;
  font-size:.72rem;
  letter-spacing:.10em;
}
.loadout-summary-text {
  margin-bottom:11px;
  font-size:.9rem;
  line-height:1.5;
}
.loadout-chips { gap:7px; }
.loadout-chip {
  min-height:31px;
  padding:5px 9px;
  border-radius:6px;
}

.tactical-warning-banner {
  min-height:56px;
  padding:11px 14px;
  border-radius:8px;
  font-size:.87rem;
}
.tactical-warning-banner::after { display:none; }
.warning-icon {
  width:32px;
  height:32px;
  border-radius:7px;
}

.tactics-list { gap:9px; }
.tactic-row {
  grid-template-columns:46px minmax(0,1fr);
  min-height:76px;
  gap:13px;
  padding:12px 14px;
  border-radius:8px;
}
.tactic-row:hover {
  transform:none;
  background:rgba(255,255,255,.035);
}
.tactic-icon-box {
  width:44px;
  height:44px;
  border-radius:8px;
}
.tactic-title {
  font-size:.93rem;
  line-height:1.35;
}
.tactic-text {
  color:#c5d1cf;
  font-size:.875rem;
  line-height:1.5;
}
.timer-start-btn { border-radius:6px; }

.combos-container,.variants-container { border-radius:8px; }
.combo-card,.variant-card { border-radius:7px; }

/* Table and footer */
.compact-table-wrap { border-radius:10px; }
.compact-table th { font-size:.72rem; letter-spacing:.04em; }
.site-footer { margin-top:40px; padding:40px 24px; }
.footer-inner { gap:8px; }
.footer-title { font-size:1rem; }
.footer-text { font-size:.82rem; }

@media (max-width:1100px) {
  .main-wrapper { grid-template-columns:1fr; }
  .quick-jump-aside { display:none; }
  .controls-inner {
    grid-template-columns:minmax(280px,1fr) auto;
  }
  .view-modes { grid-column:2; }
  .filter-group { grid-column:1 / -1; grid-row:2; }
}

@media (max-width:768px) {
  body {
    background-size:100% 600px,100% 600px,auto 600px;
  }
  .header-inner { padding:10px 18px; }
  .hero-section {
    min-height:350px;
    padding:42px 20px 34px;
  }
  .hero-title-row {
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }
  .hero-title {
    font-size:clamp(2.65rem,13vw,3.5rem);
    letter-spacing:-.05em;
  }
  .hero-desc {
    font-size:.95rem;
    line-height:1.65;
  }
  .hero-stats { width:100%; }
  .controls-section { padding:12px 18px; }
  .controls-inner {
    display:flex;
    align-items:center;
    gap:10px;
  }
  .search-box-wrapper { min-width:100%; }
  .filter-group {
    width:100%;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .view-modes { margin-left:auto; }
  .main-wrapper {
    padding:0 18px;
    margin-top:22px;
  }
  .boss-card-header { padding:15px; }
  .boss-title-group { align-items:flex-start; }
  .boss-name { font-size:1.1rem; }
  .boss-card-body {
    grid-template-columns:1fr;
    padding:15px;
  }
  .boss-portraits-wrap {
    width:100%;
    max-width:250px;
    margin:0 auto;
  }
}

@media (max-width:480px) {
  .hero-section { min-height:330px; }
  .hero-title { font-size:2.6rem; }
  .boss-header-meta { width:100%; }
  .threat-badge { max-width:100%; }
  .tactic-row { align-items:start; }
}