@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
  --bg: #140607;
  --panel-blue: #ecd8d8;
  --line: #c8a3a3;
  --green: #14ff00;
  --text: #101010;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(30, 8, 9, 0.82), rgba(20, 6, 7, 0.96)),
    radial-gradient(circle at top, rgba(149, 34, 34, 0.28), transparent 28%),
    var(--bg);
  color: var(--white);
  font-family: "Roboto Condensed", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.status-bar {
  background: linear-gradient(180deg, #2c2c2c, #1b1b1b);
  border-bottom: 1px solid #5b5b5b;
}

.status-inner,
.page-shell,
.site-footer {
  width: min(960px, calc(100% - 20px));
  margin: 0 auto;
}

.status-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.05rem;
}

.status-inner span {
  color: var(--green);
}

.hero-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-banner {
  background:
    radial-gradient(circle at 52% 26%, rgba(255, 180, 120, 0.24), transparent 10%),
    radial-gradient(circle at 83% 18%, rgba(190, 48, 48, 0.52), transparent 7%),
    radial-gradient(circle at 92% 18%, rgba(255, 112, 112, 0.32), transparent 6%),
    linear-gradient(90deg, rgba(27, 6, 9, 0.92), rgba(42, 9, 10, 0.6)),
    linear-gradient(115deg, #2b0c0f 0%, #140607 44%, #341012 65%, #1c0909 100%);
  min-height: 660px;
}

.inner-banner {
  background:
    linear-gradient(90deg, rgba(43, 11, 15, 0.9), rgba(86, 15, 15, 0.62)),
    linear-gradient(120deg, #481417 0%, #180708 55%, #341010 100%);
  min-height: 180px;
}

.hero-overlay {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 36px;
}

.hero-overlay.compact {
  padding-bottom: 14px;
}

.mobile-nav {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 72px;
  background: linear-gradient(180deg, rgba(96, 28, 28, 0.97), rgba(60, 14, 14, 0.97));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-box {
  width: 142px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
}

.logo-box img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 70, 70, 0.35));
}

.nav {
  display: flex;
  flex: 1;
  min-width: 0;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  min-height: 92px;
  padding: 10px 18px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

.nav a.active,
.nav a:hover {
  color: var(--white);
  background: linear-gradient(180deg, rgba(188, 74, 74, 0.96), rgba(128, 28, 28, 0.96));
}

.nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 160, 0.8), transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffd07f;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.18);
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a span:last-child {
  display: block;
  text-align: center;
  line-height: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-self: center;
  margin-right: 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 10px 14px;
  font: inherit;
}

.home-callout {
  width: min(960px, calc(100% - 20px));
  margin: 56px auto 0;
  padding: 26px 0 0;
  text-align: center;
}

.hero-logo-image {
  display: block;
  width: min(320px, 62vw);
  height: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.65));
  animation: logoFloat 4.2s ease-in-out infinite, logoGlow 2.8s ease-in-out infinite alternate;
}

.home-callout h1 {
  margin: 0;
  color: #f3f5fb;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.home-callout p {
  margin: 14px auto 22px;
  max-width: 620px;
  color: #d9c8c8;
  font-size: 1.22rem;
  text-transform: uppercase;
}

.hero-main-button,
.module-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1px solid #d28f8f;
  background: linear-gradient(180deg, #a53b3b, #6f1f1f);
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-main-button {
  min-width: 300px;
  min-height: 64px;
  font-size: 1.6rem;
}

.store-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px auto 0;
  max-width: 760px;
}

.store-button {
  min-height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #9f6464;
  background: rgba(73, 18, 18, 0.88);
  border-radius: 6px;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.page-shell {
  margin-top: 0;
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.content-grid {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #111111;
  padding: 10px;
  border: 1px solid #323232;
}

.content-main {
  display: block !important;
  flex: 1 1 auto;
  align-self: start;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
}

.content-main > .module {
  display: block !important;
  margin: 0 0 14px !important;
}

.content-main > .module:last-child {
  margin-bottom: 0 !important;
}

.module,
.side-module,
.side-banner {
  border: 1px solid #8b8b8b;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  align-self: start;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
}

.home-ranking-module {
  height: auto !important;
}

.home-ranking-module .module-body,
.home-news-module .module-body {
  background:
    linear-gradient(180deg, rgba(14, 21, 35, 0.98), rgba(10, 15, 26, 0.98)),
    #0d1420;
}

.module-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #3a3a3a;
  color: var(--white);
  border-bottom: 1px solid #a3a3a3;
}

.module-title h2,
.side-title,
.feature-panel h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.module-title h2 {
  font-size: 1.35rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c25151;
}

.module-body {
  padding: 10px;
  color: var(--text);
  background: #f7f7f7;
  min-height: 0 !important;
  height: auto !important;
}

.ranking-summary-body {
  display: block;
  overflow: visible;
  height: auto;
  min-height: 0;
}

.ranking-summary-body::after {
  content: "";
  display: block;
  clear: both;
}

.module-body > *:last-child,
.side-module > *:last-child {
  margin-bottom: 0;
}

.info-banner {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #3a3a3a;
  color: var(--white);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.feature-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-panel,
.download-card,
.rank-mini-card,
.top-rank-card {
  padding: 16px;
  background: var(--panel-blue);
  border: 1px solid var(--line);
}

.feature-panel p,
.download-card p,
.top-rank-card p,
.rank-mini-card span {
  color: #392424;
  font-size: 0.94rem;
  margin: 0;
}

.feature-panel h3 {
  font-size: 1.18rem;
}

.classic-cards,
.classic-ranking {
  display: grid;
  gap: 10px;
}

.classic-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.classic-ranking {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rank-mini-card strong,
.top-rank-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #222;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
}

.top-rank-card {
  text-align: center;
}

.top-rank-link {
  display: block;
  color: inherit;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.top-rank-link:hover {
  background: linear-gradient(180deg, rgba(176, 74, 74, 0.12), rgba(122, 28, 28, 0.14));
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(153, 44, 44, 0.25);
}

.top-rank-link.is-empty:hover {
  transform: none;
}

.top-home-card {
  padding: 10px;
  text-align: center;
}

.home-ranking-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  margin: 0;
  gap: 12px;
}

.top-rank-card-compact {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(31, 44, 71, 0.98), rgba(18, 28, 48, 0.98));
  border: 1px solid rgba(136, 156, 190, 0.35);
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.28);
  align-self: start;
  overflow: hidden;
}

.top-rank-card-compact .top-rank-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 262px;
  padding: 14px 12px 16px;
  background:
    radial-gradient(circle at top center, rgba(82, 126, 220, 0.12), transparent 34%);
  color: #eff5ff;
}

.top-rank-card-compact .top-rank-link:hover {
  background:
    radial-gradient(circle at top center, rgba(97, 143, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(40, 56, 88, 0.98), rgba(20, 31, 52, 0.98));
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(154, 187, 255, 0.22),
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.top-rank-card-compact .top-rank-link.is-empty:hover {
  transform: none;
}

.compact-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  margin-bottom: 0;
  color: #d9e8ff;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
}

.compact-head::before {
  display: none;
}

.rank-place {
  color: #f5b33d;
  font-size: 1.08rem;
  line-height: 1;
}

.rank-player-name {
  display: block;
  margin-top: 6px;
  color: #eef4ff;
  font-size: 0.96rem;
  line-height: 1.1;
  word-break: break-word;
}

.top-home-card .top-home-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #b84728;
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
}

.top-home-card .top-home-head::before {
  content: "•";
  color: #7d7d7d;
}

.top-home-card .rank-avatar {
  width: 100%;
  max-width: 88px;
  max-height: 88px;
  margin: 0 auto 8px;
}

.compact-avatar {
  width: 86px;
  max-width: 86px !important;
  min-width: 86px;
  height: 86px;
  max-height: 86px !important;
  min-height: 86px;
  margin: 0 auto !important;
  border: 2px solid rgba(160, 191, 255, 0.6);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    #16243d;
  box-shadow:
    0 0 0 3px rgba(7, 12, 22, 0.72),
    0 10px 24px rgba(0, 0, 0, 0.32);
}

.compact-avatar img {
  object-fit: cover;
}

.top-home-card strong {
  display: block;
  color: #2d1212;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.top-home-card p {
  font-size: 0.78rem;
  color: #5d2323;
}

.top-rank-card-compact strong {
  color: #ffffff;
  font-size: 0.8rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.top-rank-card-compact p {
  color: #99b3dc;
  font-size: 0.7rem;
  margin-top: auto;
}

.rank-score {
  color: #67acff;
  font-size: 0.95rem;
  font-weight: 700;
}

.darkaway-slider {
  overflow: hidden;
  border: 1px solid #a96f6f;
  background: #230a0a;
}

.darkaway-slider .swiper-slide {
  position: relative;
  min-height: 240px;
  background: #190808;
}

.darkaway-slider .swiper-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.darkaway-slide-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(18, 6, 6, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff3f3;
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.darkaway-slider .swiper-pagination-bullet {
  background: #e4b8b8;
  opacity: 0.6;
}

.darkaway-slider .swiper-pagination-bullet-active {
  background: #c25151;
  opacity: 1;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  border: 0;
  min-height: 0;
}

.news-item {
  padding: 14px 16px;
  border: 1px solid rgba(124, 149, 192, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(25, 35, 55, 0.98), rgba(16, 24, 39, 0.98));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.news-item:last-child {
  border-bottom: 1px solid rgba(124, 149, 192, 0.28);
}

.news-item a {
  color: #f0f5ff;
  font-size: 0.96rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.news-item p {
  margin: 8px 0 0;
  color: #9fb0cb;
  font-size: 0.84rem;
  line-height: 1.45;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  color: #161616;
}

.info-table th,
.info-table td {
  padding: 10px 12px;
  border: 1px solid #c9c9c9;
  vertical-align: top;
}

.info-table th {
  width: 34%;
  background: #e1e1e1;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.info-table td {
  background: #f4f4f4;
}

.rank-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-height: 168px;
  margin: 10px 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #b58383;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(180deg, #3a1212, #160808);
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 2.3rem;
}

.rank-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar {
  display: flex;
  flex-direction: column;
  flex: 0 0 270px;
  width: 270px;
  gap: 8px;
  align-items: stretch;
  align-self: start;
  min-width: 0;
  height: auto;
}

.side-title {
  padding: 14px 16px;
  background: #2f2f2f;
  color: var(--white);
  text-align: center;
  font-size: 1.35rem;
}

.side-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: #3a3a3a;
  color: var(--white);
}

.side-panel-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f0dfdf;
}

.side-panel-form label {
  display: grid;
  gap: 6px;
  color: #341616;
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.side-panel-form input {
  min-height: 40px;
}

.panel-actions {
  display: grid;
  gap: 8px;
}

.panel-actions a {
  color: #5d2323;
  font-size: 0.92rem;
}

.panel-logged-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-logged-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-left: 4px solid #b44e4e;
  background: #eedddd;
  color: #4b2b2b;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.panel-logged-list li span {
  color: #6a3a3a;
}

.panel-logged-list li strong {
  color: #2d1b1b;
  text-align: right;
}

.mini-status {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-left: 4px solid #b44e4e;
  background: #2b2b2b;
  color: #e9d9d9;
}

.side-login a {
  padding: 8px 12px;
  background: #2a2a2a;
  border: 1px solid #666;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.side-link {
  display: block;
  margin: 10px;
  padding: 12px 14px;
  background: #3b3b3b;
  color: #f3f3f3 !important;
  border-left: 4px solid #b44e4e;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.side-link:hover {
  background: #5a171c;
  color: #fff !important;
}

.side-link-danger {
  background: linear-gradient(180deg, #6b1b1b, #421010);
  color: #fff4f4 !important;
}

.user-shortcuts {
  margin-top: 16px;
}

.user-toolbar-wrap {
  margin: 4px 0 18px;
}

.user-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.user-toolbar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #c57a7a;
  border-radius: 8px;
  background: linear-gradient(180deg, #b13f3f, #7f2424);
  color: #fff !important;
  font-family: "Oswald", sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.user-toolbar-link:hover {
  background: linear-gradient(180deg, #c24a4a, #8f2929);
}

.user-account-body {
  background: #121212;
}

.account-panel-table {
  padding: 2px;
  border: 1px solid #7d7d7d;
  background: #ededed;
}

.account-summary-table {
  width: 100%;
  border-collapse: collapse;
}

.account-summary-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #d7d7d7;
  color: #323232;
  background: #ffffff;
}

.account-summary-table tr:last-child td {
  border-bottom: 0;
}

.account-summary-table td:first-child {
  width: 36%;
  color: #2f2f2f;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.side-banner {
  min-height: 180px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(57, 31, 12, 0.7), rgba(28, 15, 7, 0.92)),
    linear-gradient(140deg, #6a431e, #1d130a);
}

.donor-banner {
  background:
    linear-gradient(180deg, rgba(95, 22, 22, 0.78), rgba(49, 10, 10, 0.94)),
    linear-gradient(140deg, #6f1717, #2a0909);
}

.castle-banner strong,
.donor-banner strong {
  display: block;
  margin-bottom: 20px;
  color: #ffca59;
  font-family: "Oswald", sans-serif;
  font-size: 1.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.castle-banner span,
.donor-banner span {
  display: block;
  margin-bottom: 12px;
  color: #fff3d5;
  font-size: 0.98rem;
}

.classic-form {
  display: grid;
  gap: 12px;
}

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

.classic-form label,
.ranking-selector-box label {
  display: grid;
  gap: 6px;
  color: #222;
  font-family: "Oswald", sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
}

input,
select {
  min-height: 42px;
  border: 1px solid #8ca7c2;
  background: #eef5fd;
  padding: 0 12px;
  color: #1b1b1b;
  font: inherit;
}

.agree-line {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.agree-line input {
  min-height: auto;
}

.module-button.large {
  min-height: 60px;
  width: 100%;
  font-size: 1.6rem;
}

.download-stack {
  display: grid;
  gap: 12px;
}

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

.download-card h3 {
  margin: 0 0 8px;
  color: #6c2c2c;
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.download-meta span {
  padding: 8px 10px;
  border: 1px solid #c6aaaa;
  background: #f7eded;
  color: #6b4040;
}

.requirements-table,
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  color: #1b1b1b;
}

.requirements-table th,
.requirements-table td,
.ranking-table th,
.ranking-table td {
  border: 1px solid #9bb8d3;
  padding: 10px 12px;
  text-align: left;
}

.requirements-table th,
.ranking-table th {
  background: #8e4747;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.requirements-table td,
.ranking-table td {
  background: #efdddd;
}

.ranking-selector-box {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #b9b9b9;
  background: #d7dbe0;
}

.selector-grid {
  display: grid;
  gap: 10px;
  align-items: end;
}

.selector-top,
.selector-bottom {
  grid-template-columns: 1fr 1fr 2fr auto;
}

.selector-bottom {
  margin-top: 10px;
}

.selector-note {
  margin: 10px 0 0;
  color: #5a1d1d;
  text-align: center;
}

.selector-button {
  min-height: 38px;
  padding: 0 18px;
}

.site-footer {
  padding: 18px 0 28px;
  color: #d0e082;
  font-size: 1rem;
}

.sidebar-info-list,
.panel-logged-list,
.staff-status-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-info-list li,
.panel-logged-list li,
.staff-status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #efdddd;
  border-left: 4px solid #b44e4e;
  color: #2b1718;
}

.sidebar-info-list li span,
.panel-logged-list li span,
.staff-status-list li span {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.sidebar-info-list li strong,
.panel-logged-list li strong,
.staff-status-list li strong {
  font-size: 0.9rem;
  text-align: right;
}

.status-online {
  color: #199c39;
}

.status-offline {
  color: #c53d3d;
}

.side-link-danger {
  border-left-color: #d75858;
  background: #4c1515;
  color: #fff2f2;
}

.social-module-body {
  padding: 16px;
}

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

.social-grid .social-btn {
  width: 100%;
  height: auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #a66666;
  background: linear-gradient(180deg, #b13f3f, #7f2424);
  color: #fff7f7;
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.social-grid .social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 24px rgba(66, 12, 12, 0.28);
}

.social-grid .social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: #ffe5e5;
  flex: 0 0 auto;
}

.social-grid .social-btn span {
  line-height: 1;
}

.register-form {
  display: grid;
  gap: 12px;
}

.register-form h6 {
  margin: 10px 0 0;
  color: #6c2c2c;
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.register-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.register-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 268px;
  gap: 36px;
  align-items: start;
}

.register-label {
  color: #222;
  font-family: "Oswald", sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
  padding-top: 10px;
}

.register-control {
  width: 268px;
  min-width: 268px;
  max-width: 268px;
}

.register-input,
.register-control input,
.register-control select {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 1px solid #8ca7c2;
  background: #eef5fd;
  padding: 0 12px;
  color: #1b1b1b;
  font: inherit;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  color: #321616;
}

.terms-check input {
  width: 18px;
  height: 18px;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
  color: #1b1b1b;
}

.requirements-table th,
.requirements-table td {
  border: 1px solid #9bb8d3;
  padding: 10px 12px;
  text-align: left;
}

.requirements-table th {
  background: #8e4747;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.requirements-table td {
  background: #efdddd;
}

.ranking-link-button {
  min-height: 46px;
  font-size: 0.92rem;
  text-align: center;
}

.amw-ranking-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amw-ranking-box {
  margin-top: 10px;
}

.module-spacer {
  height: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  color: #cfcfcf;
}

.social-corners {
  position: fixed;
  inset: 280px 0 auto 0;
  pointer-events: none;
  z-index: 30;
}

.social-stack {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.social-stack.left {
  left: 18px;
}

.social-stack.right {
  right: 18px;
}

.social-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, filter 160ms ease;
  background: linear-gradient(180deg, #a53b3b, #6f1f1f);
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.social-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.015); }
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.65)); }
  100% { filter: drop-shadow(0 18px 48px rgba(167, 43, 43, 0.42)); }
}

@media (max-width: 900px) {
  .content-grid,
  .feature-panels,
  .classic-cards,
  .field-grid,
  .store-row,
  .selector-top,
  .selector-bottom,
  .download-stack.dual {
    grid-template-columns: 1fr;
  }

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

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

  .content-grid {
    gap: 14px;
  }

  .sidebar {
    order: 2;
  }

  .hero-main-button {
    min-width: 100%;
  }

  .social-corners {
    inset: 230px 0 auto 0;
  }

  .amw-ranking-links {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .status-inner {
    flex-direction: column;
    padding: 14px 0;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    min-height: 56px;
    justify-content: center;
  }

  .home-banner {
    min-height: 680px;
  }

  .home-callout {
    margin-top: 26px;
    padding-bottom: 34px;
  }

  .home-callout p {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .content-grid {
    padding: 8px;
    grid-template-columns: 1fr;
  }

  .module-body {
    overflow-x: auto;
  }

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

  .social-corners {
    position: static;
    inset: auto;
    display: flex;
    justify-content: space-between;
    width: min(960px, calc(100% - 20px));
    margin: -26px auto 16px;
  }

  .social-stack {
    position: static;
    flex-direction: row;
  }

  .social-btn {
    width: 48px;
    height: 48px;
  }

  .module-title h2 {
    font-size: 1.15rem;
  }

  .rank-avatar {
    max-height: 132px;
  }

  .register-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .register-label,
  .register-control {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .register-label {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .classic-ranking {
    grid-template-columns: 1fr;
  }

  .home-ranking-cards {
    grid-template-columns: 1fr;
  }

  .user-toolbar {
    grid-template-columns: 1fr;
  }
}
