/* Navigation */
.site-nav {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #f0d68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-search {
  flex: 1 1 280px;
  margin: 0 16px;
  max-width: 380px;
  position: relative;
}

.nav-search-input {
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(200, 170, 110, 0.22);
  border-radius: 7px;
  color: var(--text-primary);
  font: inherit;
  height: 36px;
  outline: none;
  padding: 0 12px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  width: 100%;
}

.nav-search-input:focus {
  background: rgba(10, 14, 20, 0.9);
  border-color: rgba(200, 170, 110, 0.54);
}

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

.nav-search-results {
  background: rgba(17, 24, 32, 0.98);
  border: 1px solid rgba(200, 170, 110, 0.22);
  border-radius: 7px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  display: none;
  left: 0;
  max-height: min(360px, calc(100vh - 78px));
  overflow: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 220;
}

.nav-search.open .nav-search-results {
  display: block;
}

.nav-search-result {
  align-items: center;
  border-radius: 6px;
  color: var(--text-primary);
  display: flex;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
}

.nav-search-result:hover,
.nav-search-result.active {
  background: rgba(200, 170, 110, 0.12);
}

.nav-search-result img {
  border-radius: 5px;
  display: block;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.nav-search-result-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.nav-search-result-meta {
  color: var(--text-muted);
  display: block;
  font-size: 0.72rem;
  margin-top: 2px;
}

.nav-search-empty {
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 10px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 4px;
}

.language-switcher {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.language-option {
  align-items: center;
  background: rgba(10, 14, 20, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-secondary);
  display: inline-flex;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.language-option:hover,
.language-option.active {
  border-color: rgba(200, 170, 110, 0.34);
  background: rgba(200, 170, 110, 0.12);
  color: var(--text-primary);
}

.patch-switcher {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  margin-left: 10px;
  min-height: 40px;
  padding-left: 10px;
  position: relative;
}

.patch-switcher-button,
.server-switcher-button {
  align-items: center;
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(200, 170, 110, 0.26);
  border-radius: 999px;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  min-width: 78px;
  padding: 0 13px;
  transform: translateY(1px);
}

.patch-switcher-button:hover,
.patch-switcher.open .patch-switcher-button,
.server-switcher-button:hover,
.server-switcher.open .server-switcher-button {
  background: rgba(200, 170, 110, 0.14);
  border-color: rgba(200, 170, 110, 0.5);
}

.patch-switcher-label {
  color: var(--text-secondary);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(1px);
}

.patch-switcher-button strong,
.server-switcher-button strong {
  color: var(--gold);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.patch-switcher-caret,
.server-switcher-caret {
  color: var(--text-secondary);
  display: inline-flex;
  font-size: 0.78rem;
  line-height: 1;
}

.patch-popover {
  background:
    radial-gradient(circle at top right, rgba(200, 170, 110, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.98), rgba(9, 13, 19, 0.98));
  border: 1px solid rgba(200, 170, 110, 0.24);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  display: none;
  min-width: 204px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 120;
}

.patch-switcher.open .patch-popover {
  display: block;
}

.patch-popover-heading {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.patch-popover-heading strong {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.patch-popover-heading span {
  color: var(--text-secondary);
  font-size: 0.7rem;
}

.patch-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 86px);
  justify-content: center;
}

.patch-option {
  align-items: center;
  background: rgba(10, 14, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 46px;
  padding: 6px 7px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.patch-option:hover,
.patch-option.active {
  border-color: rgba(200, 170, 110, 0.34);
  background: rgba(200, 170, 110, 0.12);
  color: var(--text-primary);
}

.patch-option-code {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  min-width: 38px;
}

.patch-option-name {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-switcher {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  margin-left: 10px;
  min-height: 40px;
  padding-left: 10px;
  position: relative;
}

.server-switcher-label {
  color: var(--text-secondary);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(1px);
}

.server-popover {
  background:
    radial-gradient(circle at top right, rgba(200, 170, 110, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.98), rgba(9, 13, 19, 0.98));
  border: 1px solid rgba(200, 170, 110, 0.24);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  display: none;
  min-width: 430px;
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 120;
}

.server-switcher.open .server-popover {
  display: block;
}

.server-popover-heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.server-popover-heading strong {
  color: var(--text-primary);
  font-size: 0.98rem;
}

.server-popover-heading span {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.server-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.server-option {
  align-items: center;
  background: rgba(10, 14, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  display: grid;
  gap: 2px 9px;
  grid-template-columns: auto 1fr auto;
  min-height: 48px;
  padding: 8px 10px;
  text-align: left;
}

.server-option-featured {
  background:
    radial-gradient(circle at top left, rgba(200, 170, 110, 0.22), transparent 48%),
    rgba(10, 14, 20, 0.78);
  border-color: rgba(200, 170, 110, 0.34);
  grid-column: 1 / -1;
}

.server-option-featured .server-option-code {
  font-size: 0.92rem;
}

.server-option-featured .server-option-name {
  font-size: 0.86rem;
}

.server-option:not(:disabled):hover,
.server-option.active {
  background: rgba(200, 170, 110, 0.13);
  border-color: rgba(200, 170, 110, 0.42);
}

.server-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.server-option-code {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.server-option-name {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-option-status {
  color: var(--text-secondary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.server-option.active .server-option-status {
  color: var(--green);
}

.rank-switcher {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  margin-left: 10px;
  min-height: 40px;
  padding-left: 10px;
  position: relative;
}

.rank-switcher-button {
  align-items: center;
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(200, 170, 110, 0.26);
  border-radius: 999px;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  min-width: 88px;
  padding: 0 13px;
  transform: translateY(1px);
}

.rank-switcher-button:hover,
.rank-switcher.open .rank-switcher-button {
  background: rgba(200, 170, 110, 0.14);
  border-color: rgba(200, 170, 110, 0.5);
}

.rank-switcher-button strong {
  color: var(--gold);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.rank-switcher-caret {
  color: var(--text-secondary);
  display: inline-flex;
  font-size: 0.78rem;
  line-height: 1;
}

.rank-popover {
  background:
    radial-gradient(circle at top right, rgba(200, 170, 110, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.98), rgba(9, 13, 19, 0.98));
  border: 1px solid rgba(200, 170, 110, 0.24);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  display: none;
  min-width: 360px;
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 120;
}

.rank-switcher.open .rank-popover {
  display: block;
}

.rank-popover-heading {
  align-items: baseline;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rank-popover-heading strong {
  color: var(--text-primary);
  font-size: 0.98rem;
}

.rank-popover-heading span {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.rank-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-grid-full {
  grid-column: 1 / -1;
}

.rank-option {
  align-items: center;
  background: rgba(10, 14, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left-width: 3px;
  border-radius: 10px;
  color: var(--text-primary);
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr;
  min-height: 38px;
  padding: 6px 10px;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.rank-option:hover,
.rank-option.active {
  border-color: rgba(200, 170, 110, 0.34);
  background: rgba(200, 170, 110, 0.12);
  color: var(--text-primary);
}

.rank-option-name {
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.rank-option[data-tier="ALL"]            { border-left-color: rgba(200, 170, 110, 0.6); }
.rank-option[data-tier="CHALLENGER"]     { border-left-color: #f4f1c1; }
.rank-option[data-tier="GRANDMASTER"],
.rank-option[data-tier="GRANDMASTER_PLUS"] { border-left-color: #e84057; }
.rank-option[data-tier="MASTER"],
.rank-option[data-tier="MASTER_PLUS"]    { border-left-color: #b974ec; }
.rank-option[data-tier="DIAMOND"],
.rank-option[data-tier="DIAMOND_PLUS"]   { border-left-color: #5b8ef2; }
.rank-option[data-tier="EMERALD"],
.rank-option[data-tier="EMERALD_PLUS"]   { border-left-color: #1bbf6c; }
.rank-option[data-tier="PLATINUM"],
.rank-option[data-tier="PLATINUM_PLUS"]  { border-left-color: #4ec9c2; }
.rank-option[data-tier="GOLD"],
.rank-option[data-tier="GOLD_PLUS"]      { border-left-color: #d6a23c; }
.rank-option[data-tier="SILVER"]         { border-left-color: #aab8c2; }
.rank-option[data-tier="BRONZE"]         { border-left-color: #b3753a; }
.rank-option[data-tier="IRON"]           { border-left-color: #6e6e7e; }
.rank-option[data-tier="UNRANKED"]       { border-left-color: rgba(255,255,255,0.12); }

.language-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.language-short {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-link.active {
  color: var(--gold);
  background: var(--bg-card);
}

/* Blog Layout */
.blog-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold), #f0d68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.blog-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(10, 203, 230, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.blog-card-tag.tier-list {
  color: var(--gold);
  background: rgba(200, 170, 110, 0.15);
}

.blog-card-tag.guide {
  color: var(--green);
  background: rgba(46, 204, 113, 0.1);
}

.blog-card-tag.strategy {
  color: var(--orange);
  background: rgba(243, 156, 18, 0.1);
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.blog-card-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Article Layout */
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.article-back:hover {
  color: var(--gold);
}

.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(10, 203, 230, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-tag.tier-list {
  color: var(--gold);
  background: rgba(200, 170, 110, 0.15);
}

.article-tag.guide {
  color: var(--green);
  background: rgba(46, 204, 113, 0.1);
}

.article-tag.strategy {
  color: var(--orange);
  background: rgba(243, 156, 18, 0.1);
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-content h2 {
  font-size: 1.4rem;
  color: var(--gold);
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.article-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.article-content ul,
.article-content ol {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 0.95rem;
}

.article-content li {
  margin-bottom: 6px;
}

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

.article-content blockquote {
  border-left: 3px solid var(--gold-dim);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-style: italic;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.tier-table th {
  background: var(--bg-card);
  color: var(--gold);
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.tier-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.tier-table tr:nth-child(even) td {
  background: var(--bg-card);
}

.tier-s { color: #ff7675; font-weight: 700; }
.tier-a { color: var(--orange); font-weight: 700; }
.tier-b { color: var(--gold); font-weight: 700; }
.tier-c { color: var(--text-secondary); font-weight: 600; }

/* CTA Banner */
.article-cta {
  background: linear-gradient(135deg, var(--bg-card), rgba(120, 90, 40, 0.2));
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}

.article-cta h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--bg-dark);
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-wordmark:hover {
  color: var(--gold);
}

.footer-tagline {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 360px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: baseline;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.footer-copyright {
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.footer-disclaimer {
  flex: 1;
  min-width: 280px;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 40px 20px 24px;
    margin-top: 56px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    margin-top: 32px;
    flex-direction: column;
    gap: 12px;
  }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--gold-dim);
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  min-width: 240px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-inner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gold-dim);
  transition: opacity 0.2s;
}

.cookie-buttons button:hover {
  opacity: 0.85;
}

#cookie-accept {
  background: var(--bg-card);
  color: var(--gold);
}

#cookie-essential {
  background: var(--bg-card);
  color: var(--gold);
}

#cookie-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

#cookie-settings:hover {
  color: var(--gold);
}

/* Author byline */
.article-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.article-author strong {
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .nav-inner {
    gap: 10px;
    height: auto;
    min-height: 56px;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-search {
    flex-basis: 100%;
    margin: 0;
    max-width: none;
    order: 3;
  }

  .language-switcher {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .nav-inner {
    position: relative;
  }

  .patch-switcher,
  .server-switcher,
  .rank-switcher {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    position: static;
  }

  .patch-popover,
  .server-popover,
  .rank-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    bottom: auto;
    min-width: 0;
    max-width: none;
    max-height: min(70vh, 540px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .patch-popover-heading,
  .server-popover-heading,
  .rank-popover-heading {
    position: sticky;
    top: -14px;
    margin: -14px -14px 12px;
    padding: 14px 14px 12px;
    background: linear-gradient(180deg, rgba(17, 24, 32, 0.98), rgba(17, 24, 32, 0.92));
    border-bottom: 1px solid rgba(200, 170, 110, 0.18);
    z-index: 1;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }

  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 1.5rem;
  }
  .nav-logo {
    font-size: 0.9rem;
  }
}

/* Landing Page */
body.home-page {
  background-color: #000;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
    url('https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/assets/leagueclient/gamemodeassets/swiftplay/bg.jpg');
  background-position: center, center top;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

@media (max-width: 768px) {
  body.home-page {
    background-attachment: scroll, scroll;
    background-size: auto, 200% auto;
    background-position: center, center top;
  }
}

body.home-page .site-nav,
body.home-page .site-footer {
  background: #000;
}

.landing-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.landing-wordmark {
  text-align: center;
  padding: 88px 20px 56px;
}

.wordmark-text {
  font-size: clamp(3rem, 9.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding-bottom: 0.1em;
  margin: 0;
  background: linear-gradient(135deg, #f3e1b5 0%, var(--gold) 45%, #d6b873 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wordmark-rule {
  width: clamp(80px, 14vw, 140px);
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
}

.landing-tiles {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  justify-content: center;
  gap: 64px;
  margin: 0 auto 100px;
}

.landing-tile {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
}

.landing-tile-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.landing-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.25s ease, transform 0.5s ease;
}

.landing-tile:hover .landing-tile-image img {
  filter: brightness(1);
  transform: scale(1.04);
}

.landing-tile-label {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

@media (max-width: 920px) {
  .landing-hero {
    margin: 36px auto 44px;
    padding: 56px 22px 60px;
  }
  .landing-tiles {
    grid-template-columns: repeat(3, minmax(0, 113px));
    gap: 28px;
    margin-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 44px 18px 48px;
  }
  .landing-cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .landing-cta-primary,
  .landing-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
