/* More visible edge flames; lettering stays unobscured. */
.comeback-logo-stage .comeback-logo-fire { z-index: 2; }
.comeback-logo-stage .comeback-logo-fire i { bottom: 18%; width: 10%; height: 62%; opacity: .9; background: linear-gradient(0deg, #e8320d00, #f74915e8 24%, #ffa329ed 64%, #ffe5aab8 85%, #ffe5aa00); }
.comeback-logo-stage .comeback-logo-fire i:nth-child(1) { left: 0; height: 58%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(2) { left: 7%; height: 68%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(3) { left: 16%; bottom: 66%; height: 32%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(4) { left: 45%; bottom: 78%; height: 30%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(5) { left: 74%; bottom: 66%; height: 34%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(6) { left: 84%; height: 68%; }
.comeback-logo-stage .comeback-logo-fire i:nth-child(7) { left: 92%; height: 58%; }
.comeback-logo-stage .comeback-logo-fire::before { left: 0; right: 0; bottom: 10%; height: 60%; background: radial-gradient(ellipse, transparent 30%, #ff861b50 55%, transparent 73%); }
.comeback-logo-stage .comeback-logo-embers i { width: 4px; height: 8px; box-shadow: 0 0 5px #ffe098, 0 0 12px #ff5c18; }
/* Lightweight CSS fire: no extra image, video, or JavaScript. */
.comeback-logo-stage { isolation: isolate; }
.comeback-logo-stage .comeback-hero-logo { z-index: 1; animation: comeback-fire-glow 3.2s ease-in-out infinite; }
.comeback-logo-fire, .comeback-logo-embers { position: absolute; inset: 0; pointer-events: none; }
.comeback-logo-fire { z-index: 0; }
.comeback-logo-fire::before { content: ''; position: absolute; left: 12%; right: 12%; bottom: 18%; height: 38%; background: radial-gradient(ellipse, #ff9d2560, #e3371830 50%, transparent 72%); animation: comeback-fire-glow 3s ease-in-out infinite alternate; }
.comeback-logo-fire i { position: absolute; left: 12%; bottom: 24%; width: 8%; height: 38%; transform-origin: center bottom; background: linear-gradient(0deg, #e42e0d00, #f4481bd9 28%, #ffad32c7 66%, #ffe1a200); clip-path: polygon(48% 0, 68% 35%, 59% 49%, 83% 32%, 98% 70%, 81% 94%, 49% 100%, 15% 90%, 0 66%, 28% 33%, 25% 61%, 43% 42%); animation: comeback-flame 2.4s ease-in-out infinite alternate; }
.comeback-logo-fire i:nth-child(2) { left: 23%; height: 46%; animation-delay: -.8s; }
.comeback-logo-fire i:nth-child(3) { left: 35%; height: 51%; animation-delay: -1.6s; }
.comeback-logo-fire i:nth-child(4) { left: 47%; height: 48%; animation-delay: -.4s; }
.comeback-logo-fire i:nth-child(5) { left: 59%; height: 53%; animation-delay: -1.2s; }
.comeback-logo-fire i:nth-child(6) { left: 71%; height: 45%; animation-delay: -2s; }
.comeback-logo-fire i:nth-child(7) { left: 82%; animation-delay: -.6s; }
.comeback-logo-embers { z-index: 2; }
.comeback-logo-embers i { position: absolute; left: 15%; bottom: 22%; width: 3px; height: 5px; border-radius: 50%; background: #ffcf78; box-shadow: 0 0 6px #ff681f; opacity: 0; animation: comeback-ember 4s ease-out infinite; }
.comeback-logo-embers i:nth-child(2) { left: 29%; animation-delay: -1.7s; }
.comeback-logo-embers i:nth-child(3) { left: 42%; animation-delay: -.6s; }
.comeback-logo-embers i:nth-child(4) { left: 58%; animation-delay: -2.8s; }
.comeback-logo-embers i:nth-child(5) { left: 73%; animation-delay: -1.1s; }
.comeback-logo-embers i:nth-child(6) { left: 85%; animation-delay: -3.3s; }
@keyframes comeback-flame { 0% { transform: scale(.8,.65) rotate(-7deg); opacity: .4; } 55% { transform: scale(.95,1.12) rotate(4deg); opacity: .75; } 100% { transform: scale(.85,.9) rotate(-3deg); opacity: .5; } }
@keyframes comeback-ember { 0% { transform: translate(0,0) scale(.6); opacity: 0; } 18% { opacity: .85; } 100% { transform: translate(16px,-125px) scale(.2); opacity: 0; } }
@keyframes comeback-fire-glow { 0%,100% { filter: drop-shadow(0 4px 12px #130307) drop-shadow(0 0 7px #f5531940); } 50% { filter: drop-shadow(0 4px 12px #130307) drop-shadow(0 0 14px #ff8c326e); } }
@media (prefers-reduced-motion: reduce) { .comeback-logo-stage .comeback-hero-logo, .comeback-logo-fire::before { animation: none !important; } .comeback-logo-fire i, .comeback-logo-embers { display: none; } }
/* Warm gold accents aligned with RF Comeback branding. */
.block-right .block-bg:has(.rl-nick),
.block-right .block-bg:has(.chip-bar) {
  border: 1px solid #b8874945;
  border-top-color: #d2a36280;
  border-radius: 6px;
  background: linear-gradient(135deg, #2c171bcf, #140d12eb);
  box-shadow: inset 0 1px 0 #ffe0a609, 0 8px 24px #0003;
}
.block-right .block-bg:has(.rl-nick) .block-title,
.block-right .block-bg:has(.chip-bar) .block-title {
  color: #ffc568;
  border-bottom: 1px solid #bd92564d;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: .035em;
}
.block-right .block-bg:has(.rl-nick) .block-title span,
.block-right .block-bg:has(.chip-bar) .block-title span { color: #dec7a8; }
.block-right .block-bg:has(.rl-nick) .block-title::after,
.block-right .block-bg:has(.chip-bar) .block-title::after { color: #c99b61; }
.block-right .rl-nick { color: #f0d6ad !important; font-weight: 600; font-size: 14px; }
.block-right .rl-kd { color: #e9bd77 !important; font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.block-right .rl-kd > span { color: #bda49b !important; }
.block-right .rl-kd i { color: #806b61 !important; }
.block-right .block-bg:has(.rl-nick) td > img { width: 30px; height: 30px; object-fit: contain; opacity: .9; }
.block-right .block-bg:has(.chip-bar) td { color: #d6c5b8; font-size: 11px; line-height: 1.9; letter-spacing: .025em; }
.block-right .block-bg:has(.chip-bar) .full-right { color: #f0cd91; font-weight: 600; font-variant-numeric: tabular-nums; }
.block-right .chip-bar { height: 7px; padding: 0; margin-top: 5px; background: #080609 !important; border: 1px solid #c59a5133; border-radius: 4px; overflow: hidden; box-shadow: inset 0 1px 3px #0008; }
.block-right .chip-bar-progress { height: 100%; background: linear-gradient(90deg, #a3482d, #d68c3e 55%, #f0cd78) !important; border: 0; border-radius: 3px; box-shadow: 0 0 8px #dd9a3930; }
.tbHomeRank thead th { color: #ffc568 !important; }
#panelNews .content-title span,
#panelNews .content-title::before,
.comeback-navigation a.comeback-gamecp,
.comeback-navigation a.comeback-gamecp span { color: #ffc568 !important; }
.comeback-navigation a.comeback-gamecp:hover,
.comeback-navigation a.comeback-gamecp:focus-visible,
.comeback-navigation a.comeback-gamecp:hover span { color: #ffe3a6 !important; }
/* RF Comeback: typography, aligned columns, and docking navigation. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body, button, input, select, textarea, table {
  font-family: 'Geist', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, .block-title, .content-title, .title-text,
.tbHomeRank tr th, .comeback-slide-content h2, .comeback-navigation a,
.comeback-nav-brand, select:not(.form-control) {
  font-family: 'TikTok Sans', sans-serif !important;
}
body, html { background-color: #12080b !important; }
.wrapper {
  background: linear-gradient(180deg, transparent 230px, #12080b55 470px, #12080b 760px), url('../images/bg-header-comeback-v2.png') top center / 100% auto no-repeat, #12080b;
}
.header-bg {
  height: 440px;
  margin: 0;
  padding: 0;
  background-image: none;
}
.header-bg > header { height: 440px; }
.comeback-logo-stage {
  position: absolute;
  top: 98px;
  left: 50%;
  width: min(570px, 82vw);
  transform: translateX(-50%);
}
.comeback-logo-stage .comeback-hero-logo {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  transform: none;
  animation: comeback-fire-glow 3.2s ease-in-out infinite;
}
.comeback-logo-electric {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.electric-arc {
  stroke: #fff4cd;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 3px #ffd583) drop-shadow(0 0 7px #ff3c28);
  opacity: 0;
  animation: comeback-electric 7s ease-in-out infinite;
}
.arc-two { animation-delay: 2.3s; }
.arc-three { animation-delay: 4.4s; }
@keyframes comeback-logo-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 6px 18px #190205) drop-shadow(0 0 5px #c52e2238); }
  50% { filter: brightness(1.09) drop-shadow(0 6px 18px #190205) drop-shadow(0 0 13px #e74d3766); }
}
@keyframes comeback-electric {
  0%, 67%, 89%, 100% { opacity: 0; }
  76% { opacity: .76; }
  82% { opacity: .2; }
}
.comeback-nav-slot {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto 20px;
  z-index: 100;
}
.comeback-navigation.navigation-bg {
  width: 100%;
  height: 76px;
  max-width: none;
  padding: 0;
}
.comeback-navigation .navbar {
  min-height: 76px;
  border: 1px solid #b980433f;
  border-top-color: #d7a7648a;
  border-radius: 8px;
  background: linear-gradient(105deg, #241217c4, #130c10b8 55%, #2a1318c4);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px #0006, inset 0 1px #fff3dc0a;
}
.comeback-nav-inner { display: flex; align-items: center; width: 100%; padding: 0 22px; gap: 8px; }
.comeback-nav-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; margin-right: 28px; color: #ffe4b2; }
.comeback-nav-brand img { width: 39px; height: 45px; object-fit: contain; }
.comeback-nav-brand > span { font-size: 15px; font-weight: 800; letter-spacing: .045em; line-height: 1.25; }
.comeback-nav-brand small { display: block; margin-top: 3px; font: 500 8px/1.4 'Geist', sans-serif; letter-spacing: .19em; color: #b99b87; }
.comeback-navigation .navbar-nav { margin: 0; padding: 0; align-items: center; gap: 4px; flex-wrap: nowrap; }
.comeback-navigation .nav-item { margin: 0; padding: 0 !important; }
.comeback-navigation .nav-link {
  position: relative;
  padding: 26px 13px !important;
  color: #d5c6be !important;
  font-size: 13px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
  white-space: nowrap;
  text-shadow: none;
}
.comeback-navigation .nav-link::before { content: none; }
.comeback-navigation .nav-link:hover,
.comeback-navigation .nav-link:focus-visible,
.comeback-navigation .nav-link.is-current { color: #ffe2a4 !important; }
.comeback-navigation .nav-link.is-current::after {
  content: '';
  position: absolute;
  height: 2px;
  left: 13px;
  right: 13px;
  bottom: 15px;
  background: #dfa666;
  box-shadow: 0 0 8px #e6693c88;
}
.comeback-navigation .comeback-nav-actions { margin-left: auto; gap: 10px; }
.comeback-register, .comeback-gamecp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  white-space: nowrap;
}
.comeback-navigation .comeback-register, .comeback-navigation .comeback-gamecp { font-size: 12px; padding: 0 18px; }
.comeback-register { border: 1px solid #ad8b6847; color: #e4d5c8; }
.comeback-register::before, .comeback-register::after { content: none !important; }
.comeback-gamecp { border: 1px solid #d79c6580; color: #ffefcd; background: linear-gradient(115deg, #8c352b, #57211f); box-shadow: inset 0 1px #ffd89c24; }
.comeback-register:hover, .comeback-gamecp:hover { color: #fff7e6; border-color: #d1a272; filter: brightness(1.15); }
.comeback-navigation .dropdown-menu { background: #211216; border: 1px solid #b980434d; border-radius: 6px; }
.comeback-navigation .dropdown-item { color: #ddcec5; font-size: 13px; }
.comeback-navigation .dropdown-item:hover { background: #69322b55; color: #ffe2a4; }
.comeback-navigation.is-docked {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 48px));
}
.comeback-navigation.is-docked .navbar { border-radius: 0 0 8px 8px; background: #130c10d9; box-shadow: 0 8px 26px #0008; }
.content, .block-bg.img, .block-bg.blur {
  background: linear-gradient(135deg, #231218bd, #100b10d4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #c49b6330;
  box-shadow: 0 8px 28px #0003, inset 0 1px #ffead208;
}
.content.home > .news-more { background: #eed3bd0c; border: 1px solid #d5ad7b24; }
.content.home > .news-more:hover { background: #eed3bd18; }
.content-bg > main { width: min(1200px, calc(100% - 48px)); }
.news-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 16px;
  align-items: stretch;
  margin: 0;
}
.news-fields > .block-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: auto;
  height: auto;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.news-fields > .block-right { display: flex; flex-direction: column; gap: 14px; width: auto; height: auto; min-width: 0; }
.news-fields .mainSwiper { width: 100%; height: 228px; flex: 0 0 228px; margin: 0; border-color: #a77d513d; }
.news-fields .content.home { display: flex; flex-direction: column; flex: 1; height: auto; min-height: 300px; padding: 26px; border: 1px solid #a77d512b; }
.content.home > .content-field { flex: 1; }
.content.home > .news-more { margin-top: 24px; font-weight: 600; font-size: 12px; letter-spacing: .045em; }
.content-title { font-weight: 700; letter-spacing: .015em; font-size: 23px; }
.content-title::before { top: -1px; font-size: 21px; }
.block-title, .title-text { font-weight: 650; font-size: 16px; letter-spacing: 0; }
.tbHomeRank tr th { font-weight: 700; letter-spacing: .02em; }
.news-fields .block-right .block-bg { margin-bottom: 0; }
.news-fields .top-box { display: block; height: auto; }
.news-fields .top-logo, .news-fields .top-left { display: none; }
.news-fields .top-right { display: block; width: 100%; justify-self: stretch; align-self: stretch; }
.news-fields .server-info { width: 100%; margin-bottom: 0 !important; }
.news-fields .comeback-discord { height: 311px; }
.comeback-slide-content h2 { font-weight: 750; font-size: 32px; line-height: 1.08; letter-spacing: -.03em; }
.comeback-slide-content p { font-family: 'Geist', sans-serif; font-size: 12px; }
#panelNews, #community, #rankings { scroll-margin-top: 92px; }
.server-guide { max-width: 960px; margin: 0 auto 60px; padding: 30px 0; }
.server-guide-heading { margin-bottom: 30px; }
.server-guide-heading > span { color: #c59c70; font-size: 10px; letter-spacing: .18em; font-weight: 600; }
.server-guide-heading h1 { color: #f7e8d5; font-size: 32px; font-weight: 750; margin: 12px 0; letter-spacing: -.02em; }
.server-guide-heading p { color: #bb9681; font-size: 14px; letter-spacing: .08em; }
.rate-accordion { margin-bottom: 12px; border: 1px solid #c2986138; border-radius: 6px; background: linear-gradient(120deg, #29161aca, #130d12df); overflow: hidden; }
.rate-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; color: #ecd5b2; font: 650 15px/1.4 'TikTok Sans', sans-serif; letter-spacing: .045em; transition: background .2s; }
.rate-accordion summary::-webkit-details-marker { display: none; }
.rate-accordion summary:hover { background: #d69b5510; }
.rate-accordion summary:focus-visible { outline: 2px solid #e7b873; outline-offset: -3px; }
.rate-chevron { width: 8px; height: 8px; border-right: 2px solid #c79761; border-bottom: 2px solid #c79761; transform: rotate(45deg); transition: transform .2s; }
.rate-accordion[open] .rate-chevron { transform: rotate(225deg); }
.rate-accordion[open] summary { border-bottom: 1px solid #c2986128; }
.rate-body { padding: 12px 26px 24px; }
.server-rate-table { width: 100%; border-collapse: collapse; color: #ddd0c7; font-size: 14px; }
.server-rate-table th, .server-rate-table td { padding: 14px 16px; border-bottom: 1px solid #c298611c; }
.server-rate-table thead th { font-weight: 600; color: #ae9180; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.server-rate-table th:first-child { text-align: left; width: 60%; }
.server-rate-table tbody th { font-weight: 500; }
.server-rate-table td, .server-rate-table thead th:not(:first-child) { text-align: center; font-variant-numeric: tabular-nums; }
.server-rate-table td:last-child { color: #edc487; }
.server-rate-table tbody tr:last-child > * { border-bottom: 0; }
.server-rate-table tbody tr:hover { background: #ffffff03; }
.rate-list { margin: 0; padding: 8px 0 0 20px; color: #ddd0c7; font-size: 14px; line-height: 2.4; }
.rate-list li::marker { color: #c79761; }
.rate-schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 24px; }
.rate-schedule > div { text-align: center; padding: 22px 8px; background: #09070a55; border: 1px solid #c2986128; color: #f3d09a; font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; }
.rate-schedule span { font-size: 11px; color: #ac9181; }
.rate-empty { min-height: 65px; }
.comeback-navigation .comeback-nav-brand { margin-right: 10px; }
.comeback-navigation .nav-link { padding-left: 9px !important; padding-right: 9px !important; }
.comeback-navigation .comeback-register, .comeback-navigation .comeback-gamecp { padding: 0 12px; }
.comeback-dropdown { position: relative; }
.comeback-dropdown-trigger { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-family: 'TikTok Sans', sans-serif !important; }
.nav-chevron { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s; }
.comeback-submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 238px; margin: 0; padding: 8px; list-style: none; border: 1px solid #bd92564d; border-radius: 0 0 7px 7px; background: #1b1015f5; backdrop-filter: blur(18px); box-shadow: 0 16px 32px #0006; z-index: 120; }
.comeback-dropdown.is-open > .comeback-submenu { display: block; }
.comeback-dropdown.is-open .nav-chevron { transform: rotate(225deg); }
.comeback-submenu li { padding: 0; margin: 0; }
.comeback-submenu a, .comeback-submenu li > span { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px; color: #e0cec0; font-size: 12px; line-height: 1.5; text-transform: none; letter-spacing: 0; white-space: nowrap; border-radius: 4px; }
.comeback-submenu a:hover, .comeback-submenu a:focus-visible { color: #ffe2ac; background: #b6783f20; }
.comeback-submenu small { font-size: 9px; color: #927c6e; }
.comeback-submenu [aria-disabled] { color: #aa978a; cursor: default; }
.comeback-page-placeholder { text-align: center; padding: 65px 24px; background: linear-gradient(120deg,#29161aca,#130d12df); border: 1px solid #c2986138; border-radius: 6px; }
.placeholder-diamond { color: #c69a62; font-size: 38px; }
.comeback-page-placeholder h2 { margin: 18px 0 12px; color: #ecd5b2; font-size: 24px; letter-spacing: .08em; }
.comeback-page-placeholder p { color: #ae9789; font-size: 14px; }
.rate-section-title { margin: 16px 0 14px; padding-bottom: 14px; border-bottom: 1px solid #c2986128; color: #ecd5b2; font-size: 15px; font-weight: 650; letter-spacing: .045em; }
.comeback-announcement { position: relative; overflow: hidden; margin: 22px 0 0; border: 1px solid #c6985740; border-radius: 6px; background: #130c10; }
.comeback-announcement-art { height: 190px; background: linear-gradient(0deg, #130c10, transparent 85%), url('../images/rf-comeback-slide-war.png') center 42% / cover no-repeat; }
.comeback-announcement-copy { position: relative; padding: 0 32px 32px; margin-top: -14px; text-align: center; }
.comeback-announcement-label { color: #c4a17c; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.comeback-announcement h3 { margin: 13px 0 18px; color: #ffe2ac; font-size: 38px; font-weight: 800; letter-spacing: .035em; line-height: 1.15; }
.comeback-announcement p { margin: 0; font-size: 17px; line-height: 1.65; font-weight: 600; color: #f0e7de; }
.comeback-announcement-line { width: 64px; height: 1px; margin: 22px auto; background: #bd8855; }
.comeback-announcement .comeback-announcement-manifesto { font-size: 13px; line-height: 1.9; color: #c8b6aa; letter-spacing: .06em; }
.comeback-announcement strong { color: #e9b977; font-size: 18px; font-weight: 700; }
@media (max-width: 1100px) {
  .comeback-nav-brand { margin-right: 8px; }
  .comeback-nav-inner { padding: 0 14px; gap: 2px; }
  .comeback-navigation .nav-link { padding-left: 9px !important; padding-right: 9px !important; }
  .news-fields { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .electric-arc, .comeback-logo-stage .comeback-hero-logo { animation: none; }
}
/* Red lightning follows the logo edges; a brief pulse every three seconds. */
.comeback-logo-stage .comeback-hero-logo { animation: none; filter: drop-shadow(0 5px 16px #190205); }
.comeback-red-lightning { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; opacity: 0; stroke: #ffb0a0; stroke-width: 1.3; filter: drop-shadow(0 0 2px #ff291b) drop-shadow(0 0 5px #f20a18); animation: comeback-red-strike 3s linear infinite; }
@keyframes comeback-red-strike { 0%, 86%, 100% { opacity: 0; } 89% { opacity: .95; } 92% { opacity: .15; } 94% { opacity: .8; } 98% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .comeback-red-lightning { display: none; animation: none; } }


/* Increase the homepage slider height for better banner visibility. */
.mainSwiper { height: clamp(300px, 34vh, 360px) !important; }

/* Keep the larger slider height from being limited by its old flex basis. */
.news-fields .mainSwiper { height: clamp(300px, 34vh, 360px) !important; flex: 0 0 clamp(300px, 34vh, 360px) !important; }


/* Season 2 background artwork, cropped to keep the characters prominent. */
.wrapper {
  background: linear-gradient(rgba(18, 8, 11, .12) 0, rgba(18, 8, 11, .24) 230px, rgba(18, 8, 11, .46) 470px, rgba(18, 8, 11, .88) 760px, rgb(18, 8, 11) 940px), url("../images/bg-header-comeback-season2.png") center top / 100% auto no-repeat, rgb(18, 8, 11);
}


/* Shift the background artwork upward to reveal more of the character. */
.wrapper { background-position: 0% 0%, 50% -55px, 0% 0%; }


/* Keep the supplied slider artwork free of the old text gradient. */
.mainSwiper .comeback-image-slide::before { display: none !important; }


/* Use the supplied Coming Soon artwork on the Latest News card. */
.comeback-announcement-art {
  background-image: linear-gradient(0deg, #130c10, transparent 85%), url("../images/RF%20Comeback%20Segera%20Hadir.png");
  background-position: center, center top;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

/* Keep the Register label yellow in every interaction state. */
.comeback-navigation .nav-item.register > a.comeback-register,
.comeback-navigation .nav-item.register > a.comeback-register:hover,
.comeback-navigation .nav-item.register > a.comeback-register:focus,
.comeback-navigation .nav-item.register > a.comeback-register:focus-visible,
.comeback-navigation .nav-item.register > a.comeback-register:active,
.comeback-navigation .nav-item.register > a.comeback-register:visited {
  color: #ffd45c !important;
}

/* NPC list: match the Comeback dark red and gold theme. */
.npc-list .npc-location + .npc-location { margin-top: 26px; }
.npc-list .npc-location h2 { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 14px; color: #f3cc87; font-size: 23px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; }
.npc-list .npc-location h2 span { color: #c79761; font-size: 8px; }
.npc-list .npc-table { table-layout: fixed; border-top: 2px solid #d5a35d; }
.npc-list .npc-table th, .npc-list .npc-table td { padding: 13px 16px; border-bottom: 1px solid #c2986126; }
.npc-list .npc-table thead th { background: #b8783f14; color: #edc487; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.npc-list .npc-table th:last-child, .npc-list .npc-table td:last-child { width: 26%; text-align: center; border-left: 1px solid #c298611c; }
.npc-list .npc-table tbody th { color: #e6d7cb; font-size: 14px; font-weight: 500; text-align: left; overflow-wrap: anywhere; }
.npc-list .npc-table tbody tr:nth-child(even) { background: #a8603d09; }
.npc-list .npc-status { display: inline-block; padding: 4px 10px; border: 1px solid #d5a35d50; border-radius: 5px; background: #b87b3020; color: #f3cc87; font-size: 11px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
@media (max-width: 600px) {
  .npc-list .npc-location h2 { font-size: 20px; }
  .npc-list .npc-table th, .npc-list .npc-table td { padding: 12px 9px; }
  .npc-list .npc-table th:last-child, .npc-list .npc-table td:last-child { width: 112px; }
  .npc-list .npc-table tbody th { font-size: 12px; }
  .npc-list .npc-status { font-size: 10px; padding: 4px 8px; }
}

/* Server Rate comparison uses the NPC table styling with a green Premium column. */
.server-rate-table.server-rate-comparison { table-layout: fixed; border-top: 2px solid #d5a35d; }
.server-rate-comparison th, .server-rate-comparison td { padding: 13px 16px; border-bottom: 1px solid #c2986126; }
.server-rate-comparison th:first-child { width: 50%; }
.server-rate-comparison th:not(:first-child), .server-rate-comparison td { width: 25%; border-left: 1px solid #c298611c; text-align: center; }
.server-rate-comparison thead th { background: #b8783f14; color: #edc487; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.server-rate-comparison tbody th { color: #e6d7cb; font-size: 14px; font-weight: 500; text-align: left; }
.server-rate-comparison tbody td { color: #edc487; font-weight: 600; font-variant-numeric: tabular-nums; }
.server-rate-comparison tbody tr:nth-child(even) { background: #a8603d09; }
.server-rate-comparison thead th:nth-child(3), .server-rate-comparison tbody td:nth-child(3) { color: #89df9c; }
@media (max-width: 600px) {
  .server-rate-comparison th, .server-rate-comparison td { padding: 12px 8px; }
  .server-rate-comparison tbody th, .server-rate-comparison tbody td { font-size: 12px; }
  .server-rate-comparison thead th { font-size: 10px; letter-spacing: .06em; }
}

/* ComeBack server feature panels. */
.comeback-features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.comeback-feature-panel { min-width: 0; overflow: hidden; border: 1px solid #c2986140; border-top: 2px solid #d5a35d; border-radius: 6px; background: linear-gradient(120deg, #29161a94, #130d12dc); }
.comeback-feature-panel h3 { margin: 0; padding: 17px 18px; border-bottom: 1px solid #c2986140; background: #b8783f12; font-size: 13px; font-weight: 750; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.comeback-feature-panel.is-active h3 { color: #89df9c; }
.comeback-feature-panel.is-disabled h3 { color: #ff8873; }
.comeback-feature-panel ul { margin: 0; padding: 0; list-style: none; }
.comeback-feature-panel li { display: flex; align-items: center; box-sizing: border-box; min-height: 47px; padding: 12px 18px; border-bottom: 1px solid #c2986119; color: #ded0c6; font-size: 13px; font-weight: 500; line-height: 1.65; overflow-wrap: anywhere; }
.comeback-feature-panel li:nth-child(even) { background: #a8603d09; }
.comeback-feature-panel li:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .comeback-features-grid { grid-template-columns: 1fr; gap: 18px; }
  .comeback-feature-panel h3 { padding: 15px; }
  .comeback-feature-panel li { min-height: 44px; padding: 11px 15px; }
}

/* Unified navigation controls and official Discord panel. */
.comeback-navigation.navigation-bg { height: auto; }
.comeback-navigation .comeback-section-links { flex-direction: row; gap: 4px; }
.comeback-navigation .nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 7px 12px !important; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 5px;
  transition: color .18s, border-color .18s, background-color .18s;
}
.comeback-navigation .nav-link:hover,
.comeback-navigation .nav-link:focus-visible,
.comeback-navigation .nav-link.is-current,
.comeback-navigation .comeback-dropdown.is-open > .nav-link {
  color: #ffd45c !important; border-color: #ad8b6847; background: #120b0e60;
}
.comeback-navigation .nav-link.is-current::after { content: none; }
.comeback-navigation .nav-link:focus-visible { outline: 2px solid #d5ad64; outline-offset: 3px; }
.comeback-navigation .comeback-nav-actions { flex-direction: row; margin-left: auto; }
.comeback-navigation .comeback-submenu a.is-current { color: #ffd45c; background: #b6783f20; box-shadow: inset 0 0 0 1px #ad8b6847; }
.comeback-navigation .comeback-menu-divider { height: 1px; margin: 7px 12px; background: #bd92564d; }
.block-right .comeback-discord {
  height: auto; min-height: 0; padding: 14px; box-sizing: border-box; overflow: hidden;
  border: 1px solid #b8874945; border-top-color: #d2a36280; border-radius: 6px;
  background: linear-gradient(135deg, #2c171bcf, #140d12eb);
  box-shadow: inset 0 1px 0 #ffe0a609, 0 8px 24px #0003;
}
.block-right .comeback-discord > .block-title {
  color: #ffc568; border-bottom: 1px solid #bd92564d;
  padding-bottom: 12px; margin-bottom: 14px; font-size: 14px; letter-spacing: .035em;
}
.block-right .comeback-discord > .block-title span { color: #dec7a8; }
.block-right .comeback-discord > .block-title::after { color: #c99b61; }
.comeback-discord-embed { overflow: hidden; border: 1px solid #bd92564d; border-radius: 6px; background: #1e1f22; }
.comeback-discord-embed iframe { display: block; width: 100%; max-width: 100%; height: 500px; border: 0; }
@media (max-width: 880px) {
  .comeback-nav-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px 14px; }
  .comeback-navigation .comeback-nav-brand { grid-column: 1; grid-row: 1; margin-right: 0; }
  .comeback-navigation .comeback-nav-actions { grid-column: 2; grid-row: 1; }
  .comeback-navigation .comeback-section-links { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
@media (max-width: 760px) {
  .news-fields { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 520px) {
  .comeback-nav-slot, .comeback-navigation.is-docked { width: calc(100% - 24px); }
  .comeback-nav-inner { padding: 12px; }
  .comeback-nav-brand { gap: 8px; }
  .comeback-nav-brand img { width: 32px; height: 38px; }
  .comeback-nav-brand > span { font-size: 13px; }
  .comeback-nav-brand small { font-size: 7px; }
  .comeback-navigation .comeback-section-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 4px; }
  .comeback-navigation .comeback-section-links > li { min-width: 0; }
  .comeback-navigation .nav-link { width: 100%; padding: 7px 6px !important; font-size: 12px; gap: 5px; }
  .comeback-navigation .comeback-section-links > .comeback-dropdown:nth-child(3) > .comeback-submenu { left: auto; right: 0; }
}
