@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #050404;
  --bg-alt: #120808;
  --panel: rgba(15, 10, 11, 0.86);
  --panel-strong: rgba(24, 13, 14, 0.96);
  --line: rgba(244, 211, 160, 0.16);
  --line-strong: rgba(255, 237, 220, 0.34);
  --gold: #f4d6a2;
  --gold-soft: #fff7eb;
  --amber: #c27a45;
  --red: #8f1a18;
  --red-soft: #df6a57;
  --text: #fbf6f1;
  --muted: #d0beb5;
  --shadow: rgba(0, 0, 0, 0.72);
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cinzel", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 1180px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  letter-spacing: 0;
}

body {
  overflow-x: auto;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.fas,
.far,
.fab {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.fa-user-shield,
.fa-shield-alt {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.fa-id-badge,
.fa-id-card {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M8 17c1-2 7-2 8 0'/%3E%3C/svg%3E");
}

.fa-envelope {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.fa-coins,
.fa-money-bill-wave {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6'/%3E%3Cpath d='M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E");
}

.fa-users {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.fa-cog,
.fa-cogs {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5A3.5 3.5 0 1 0 12 8a3.5 3.5 0 0 0 0 7.5Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21a2 2 0 1 1-4 0v-.09A1.7 1.7 0 0 0 8.6 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1H4a2 2 0 1 1 0-4h.09A1.7 1.7 0 0 0 4.6 8.6a1.7 1.7 0 0 0-.34-1.88l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V3a2 2 0 1 1 4 0v.09A1.7 1.7 0 0 0 15.4 4.6a1.7 1.7 0 0 0 1.88-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.22.36.56.64.96.8H20a2 2 0 1 1 0 4h-.09a1.7 1.7 0 0 0-.51 1.2Z'/%3E%3C/svg%3E");
}

.fa-key {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15 2 4 4'/%3E%3C/svg%3E");
}

.fa-warehouse {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'/%3E%3Cpath d='M7 21v-8h10v8'/%3E%3Cpath d='M9 17h6'/%3E%3Cpath d='M9 13h6'/%3E%3C/svg%3E");
}

.fa-sign-out-alt {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

button,
input,
textarea,
select {
  font: inherit;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.pt-3 {
  padding-top: 16px !important;
}

.pt-4 {
  padding-top: 50px !important;
}

.mt-1 {
  margin-top: 4px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ms-auto {
  margin-left: auto !important;
}

.container {
  width: 1280px !important;
  max-width: 1280px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.main-wrap {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(920px 540px at 80% 14%, rgba(143, 26, 24, 0.28), transparent 70%),
    radial-gradient(760px 460px at 18% 2%, rgba(244, 211, 160, 0.08), transparent 72%),
    linear-gradient(180deg, #090607 0%, #050404 44%, #020101 100%);
}

.offcanvas-menu,
.offcanvas-overlay,
.offcanvas-open,
.lan-select,
.hero-background-video,
.border-img,
.s-box-header .bg-img {
  display: none !important;
}

.header-section {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 128px;
  background: transparent !important;
  border-bottom: 0 !important;
}

.header-section-inner {
  height: 128px;
  display: flex;
  align-items: center;
}

.main-menu {
  display: block !important;
  width: 100%;
}

.main-menu > ul {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu .menu-left > ul,
.main-menu .menu-right > ul {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #f4ece4;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-menu a:hover {
  color: #fff7ea;
  text-shadow: 0 0 18px rgba(143, 26, 24, 0.34), 0 2px 10px rgba(0, 0, 0, 0.75);
}

.menu-logo {
  display: flex;
  justify-content: center;
}

.header-logo {
  width: 285px;
  display: block;
  transform: translateY(2px);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.78));
}

.header-logo img {
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background:
    radial-gradient(780px 360px at 50% 52%, rgba(143, 26, 24, 0.22), transparent 78%),
    linear-gradient(180deg, #090607 0%, #050404 100%);
  border-bottom: 1px solid rgba(255, 224, 215, 0.14);
}

.hero-section > .hero-section {
  min-height: inherit;
  background: transparent;
  border: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-section::before {
  background:
    linear-gradient(180deg, rgba(3, 2, 2, 0.08) 0%, rgba(3, 2, 2, 0.2) 28%, rgba(5, 3, 3, 0.92) 100%),
    radial-gradient(780px 360px at 50% 52%, rgba(143, 26, 24, 0.2), transparent 78%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 36%, rgba(0, 0, 0, 0.24));
}

.hero-section::after {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 26%, transparent 86%);
}

.hero-section .container,
.hero-section-inner {
  position: relative;
  z-index: 2;
}

.hero-section-inner {
  min-height: 820px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 96px;
}

.hero-logo-main {
  width: min(620px, 54vw);
  margin: 0 200px 100px;
  /* margin: 0 auto 100px; */
  transform: translateX(-115px);
  filter:
    drop-shadow(0 26px 38px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 30px rgba(143, 26, 24, 0.18));
}

.hero-logo-main img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cont1 {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
}

.hero-cont1 .single-cont {
  width: 232px;
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    rgba(13, 8, 8, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 193, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 42px rgba(143, 26, 24, 0.12);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-cont1 .image {
  width: 64px;
  height: 64px;
  margin-right: 16px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border: 1px solid rgba(244, 211, 160, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.24)),
    rgba(40, 12, 14, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 22px rgba(0, 0, 0, 0.28);
  filter: drop-shadow(0 0 18px rgba(143, 26, 24, 0.16));
}

.hero-cont1 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    contrast(1.04)
    brightness(1.02)
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.12));
}

.hero-cont1 h4 {
  margin: 0 0 4px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.hero-cont1 h3 {
  margin: 0;
  color: #f4e0c5;
  font-size: 13px;
  font-weight: 700;
}

.section-wrapper1 {
  position: relative;
  padding: 0 0 96px;
  background:
    radial-gradient(900px 580px at 50% -80px, rgba(143, 26, 24, 0.16), transparent 72%),
    linear-gradient(180deg, #060505 0%, #0b0708 48%, #030202 100%);
}

.section-wrapper1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.section-wrapper1-inner,
.main-section,
.main-section-inner {
  position: relative;
}

.main-section-inner {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 616px) 300px;
  gap: 28px;
  justify-content: center;
  align-items: start;
  margin-top: -58px;
}

.m-sidebar,
.m-main-part {
  width: auto !important;
  margin: 0 !important;
  z-index: 2;
}

.s-box,
.m-box,
.xy-news-part,
.content-xy .page-intro,
.content-xy table,
.content-xy .table,
.jumbotron,
.alert {
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.08), transparent 42%),
    var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 193, 0.08),
    0 22px 56px var(--shadow) !important;
  backdrop-filter: blur(10px);
}

.s-box {
  min-height: 300px;
  height: auto !important;
  margin: 0 0 28px !important;
  padding: 58px 22px 26px !important;
}

.s-box-header {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: auto;
  margin: 0;
  display: block;
  text-align: center;
}

.s-box-header h3,
.xy-news-header h3,
.page-hd h1,
.page-hd h2,
.pre-social {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  text-shadow: 0 0 16px rgba(143, 26, 24, 0.18);
}

.s-box-header::after,
.xy-news-header::after,
.page-hd::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  opacity: 0.7;
}

.s-box-form {
  padding: 0 !important;
}

.single-input-x {
  margin: 0 0 12px;
}

.single-input-x-input-outer {
  position: relative;
}

.single-input-x-input-outer .icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  pointer-events: none;
}

.single-input-x-input-outer:has(input[type="password"]) .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

.single-input-x-input-outer .icon img {
  display: none;
}

.single-input-x-input,
.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 42px;
  color: var(--text) !important;
  background-color: rgba(10, 7, 7, 0.74) !important;
  border: 1px solid rgba(244, 211, 160, 0.2) !important;
  border-radius: 10px !important;
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 18px 18px !important;
}

.form-control[type="email"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") !important;
}

.form-control[type="password"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") !important;
}

.form-control#token,
.form-control#social_id {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f0c87d' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15 2 4 4'/%3E%3C/svg%3E") !important;
}

.single-input-x-input:focus,
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--line-strong) !important;
  box-shadow: 0 0 0 3px rgba(244, 211, 160, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

::placeholder {
  color: rgba(244, 231, 220, 0.55);
}

.bt-row {
  margin-top: 12px;
}

.form-fgt,
.form-fgt a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.form-fgt a:hover {
  color: #fff7ea !important;
  text-shadow: 0 0 18px rgba(143, 26, 24, 0.34), 0 2px 10px rgba(0, 0, 0, 0.75);
}

.captcha,
.g-recaptcha-wrap {
  width: 100%;
  max-width: 304px;
  min-height: 78px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  line-height: 0;
}

.captcha .g-recaptcha,
.g-recaptcha-wrap .g-recaptcha {
  width: 304px;
  height: 78px;
  transform: scale(0.82);
  transform-origin: 50% 0;
  display: block;
}

.default-button,
.btn.btn-new,
button,
input[type="submit"] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  color: #fff6ee !important;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #5a1719 0%, #2a0b0c 100%) !important;
  border: 1px solid rgba(244, 211, 160, 0.42) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 219, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.34),
    0 14px 28px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(143, 26, 24, 0.08);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.default-button:hover,
.btn.btn-new:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  color: #fffaf5 !important;
  border-color: rgba(255, 238, 220, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 219, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 18px 34px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(143, 26, 24, 0.16);
  filter: saturate(1.06) brightness(1.04);
}

.default-button:active,
.btn.btn-new:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 244, 203, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.default-button:focus-visible,
.btn.btn-new:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.xy-nh-ul a:focus-visible,
.pagination a:focus-visible,
.bt-button-sde a:focus-visible,
.table-user a:focus-visible,
#btnTopo:focus-visible {
  outline: 2px solid rgba(244, 211, 160, 0.46);
  outline-offset: 2px;
}

.default-button::before,
.btn.btn-new::before,
.bt-button-sde a::before,
.xy-nh-ul a::before,
.pagination a::before,
.table-user a::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 52%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.default-button > *,
.btn.btn-new > *,
.bt-button-sde a > *,
.xy-nh-ul a > *,
.pagination a > *,
.table-user a > * {
  position: relative;
  z-index: 1;
}

.xy-news-part {
  min-height: 440px;
  padding: 0 0 28px !important;
  overflow: hidden;
}

.xy-news-header,
.page-hd {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 !important;
  padding: 22px 26px !important;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.xy-nh-ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xy-nh-ul a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  color: #f3e9de;
  border: 1px solid rgba(244, 211, 160, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    rgba(24, 12, 13, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.xy-nh-ul a.active,
.xy-nh-ul a:hover {
  color: #fffaf5;
  border-color: rgba(255, 238, 220, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    rgba(64, 16, 17, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36),
    0 10px 18px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(143, 26, 24, 0.12);
}

.content-xy {
  padding: 26px !important;
}

.content-xy .page-intro {
  margin: 0 0 14px !important;
  padding: 18px 20px !important;
}

.content-xy .page-intro h3 {
  margin: 0 0 8px !important;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.content-xy .page-intro p {
  margin: 0 !important;
  line-height: 1.55;
}

.content-xy .page-intro + div {
  margin-top: 0;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.1), transparent 42%),
    rgba(10, 6, 7, 0.74);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 243, 193, 0.08), 0 18px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 22px;
  border-bottom: 1px solid rgba(244, 211, 160, 0.12);
}

.news-card-title {
  margin: 0 !important;
  padding-left: 2px;
  color: var(--gold-soft) !important;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.news-card-meta span {
  padding: 4px 8px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.news-card-body {
  padding: 18px 20px 20px;
}

.news-card-body p {
  margin: 0;
}

.news-card-actions {
  display: flex;
  justify-content: left;
  margin-top: 16px;
}

.content-xy .xy-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  background: rgba(14, 8, 9, 0.68);
  border: 1px solid rgba(244, 211, 160, 0.16);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
}

.content-xy .xy-title h3,
.content-xy .xy-title h4,
.content-xy h1,
.content-xy h2,
.content-xy h3 {
  color: var(--gold-soft);
}

.content-xy p,
.xy-text-cont p,
.content-xy li,
.content-xy td,
.content-xy th {
  color: #f4e5d7 !important;
  font-size: 15px;
  line-height: 1.65;
}

.content-xy a {
  color: var(--gold-soft);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.content-xy table,
.table-st1 table,
.server-statistics-table table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  overflow: hidden;
}

.content-xy form > table,
.content-xy form > .table {
  border-spacing: 0 !important;
}

.content-xy form > table tr > *,
.content-xy form > .table tr > * {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.content-xy form > table tr:first-child > *:first-child,
.content-xy form > .table tr:first-child > *:first-child {
  border-top-left-radius: 13px;
}

.content-xy form > table tr:first-child > *:last-child,
.content-xy form > .table tr:first-child > *:last-child {
  border-top-right-radius: 13px;
}

.content-xy form > table tr:last-child > *:first-child,
.content-xy form > .table tr:last-child > *:first-child {
  border-bottom-left-radius: 13px;
}

.content-xy form > table tr:last-child > *:last-child,
.content-xy form > .table tr:last-child > *:last-child {
  border-bottom-right-radius: 13px;
}

.content-xy th,
.content-xy td,
.table-st1 td,
.table-st1 th,
.server-statistics-table td {
  padding: 12px 14px !important;
  background: rgba(6, 4, 4, 0.52) !important;
  border: 0 !important;
  vertical-align: middle !important;
}

.content-xy thead tr > *,
.content-xy tbody tr:not(:last-child) > * {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}


/* .content-xy thead th, */
/* .content-xy table tr:first-child th, */
/* .content-xy table tr:first-child td, */
/* .table-st1 table tr:first-child td, */
/* .table-st1 table tr:first-child th { */
  /* color: #fff3c8 !important; */
  /* background: */
    /* linear-gradient(135deg, rgba(255, 240, 168, 0.96), rgba(255, 189, 50, 0.88) 46%, rgba(185, 70, 16, 0.9)) !important; */
  /* font-family: var(--font-display); */
  /* font-size: 12px !important; */
  /* font-weight: 800 !important; */
  /* text-transform: uppercase; */
  /* letter-spacing: 1px; */
  /* text-shadow: none; */
/* } */

.content-xy tbody tr > *,
.table-st1 table tr > *,
.server-statistics-table tr > * {
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.content-xy tbody tr:nth-child(even) > *,
.table-st1 table tr:nth-child(even) > *,
.server-statistics-table tr:nth-child(even) > * {
  background: rgba(13, 8, 9, 0.72) !important;
}

.content-xy tbody tr:hover > *,
.table-st1 table tr:hover > *,
.server-statistics-table tr:hover > * {
  color: #fff8f3 !important;
  background: rgba(143, 26, 24, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(244, 211, 160, 0.12);
}

.table-st1 a:not(.default-button):hover,
.content-xy a:not(.default-button):not(.btn):hover,
.footer-section a:hover {
  color: #fff7ea !important;
  text-shadow: 0 0 18px rgba(143, 26, 24, 0.34), 0 2px 10px rgba(0, 0, 0, 0.75);
}

label,
.label,
.acc-stat .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--gold-soft) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.content-xy table label {
  min-width: 150px;
}

input[disabled],
input[readonly],
.form-control:disabled,
.form-control[readonly] {
  color: rgba(255, 244, 227, 0.72) !important;
  background: rgba(143, 26, 24, 0.06) !important;
  cursor: not-allowed;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: var(--red-soft);
}

label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #f4e5d7 !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
}

.alert {
  position: relative;
  margin: 0 0 18px !important;
  padding: 16px 18px 16px 48px !important;
  overflow: hidden;
  line-height: 1.55;
}

.alert::before {
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1b0904;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.alert-info {
  border-color: rgba(244, 211, 160, 0.24) !important;
}

.alert-success {
  border-color: rgba(124, 255, 151, 0.34) !important;
  background:
    linear-gradient(135deg, rgba(124, 255, 151, 0.11), transparent 46%),
    var(--panel) !important;
}

.alert-success::before {
  content: "+";
  background: #7cff97;
}

.alert-danger {
  border-color: rgba(255, 83, 48, 0.38) !important;
  background:
    linear-gradient(135deg, rgba(255, 83, 48, 0.12), transparent 46%),
    var(--panel) !important;
}

.alert-danger::before {
  content: "x";
  color: #fff;
  background: #d63b18;
}

.ranking-pagination,
#pagination_container,
#guild_pagination_container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.table-user a {
  display: block;
  margin-bottom: 8px;
  color: #f4e5d7 !important;
  border: 1px solid rgba(244, 211, 160, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    rgba(16, 8, 9, 0.76);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  position: relative;
}

.table-user a:hover {
  color: #fff7ea !important;
  border-color: rgba(244, 211, 160, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 40%),
    rgba(52, 18, 18, 0.92);
}

.table-user .single-row,
.table-user .column {
  background: transparent !important;
}

.table-user .column {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.table-user i {
  color: var(--gold);
}

.s-box-s2 {
  padding: 58px 18px 20px !important;
}

.s-box-s2 .table-st1 {
  margin-top: 2px;
}

.s-box-s2 .table-st1 table {
  width: 100%;
  table-layout: fixed !important;
  border-spacing: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(9, 5, 6, 0.48);
}

.s-box-s2 .table-st1 table tr > *,
.s-box-s2 .table-st1 table tr:hover > *,
.s-box-s2 .table-st1 table tr:nth-child(even) > *,
.s-box-s2 .table-st1 table tr:nth-child(odd) > * {
  box-shadow: none !important;
}

.s-box-s2 .table-st1 table tbody > tr:first-child > td {
  /* height: 48px; */
  /* padding: 0 12px !important; */
  /* background: */
    /* linear-gradient(90deg, #ffe791 0%, #ffbd32 48%, #d85a0f 100%) !important; */
  color: #fff7ea !important;
  font-family: var(--font-display);
  font-size: 10px !important;
  line-height: 1.15;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  text-align: left;
  white-space: normal;
}

.s-box-s2 .table-st1 table tbody > tr:first-child > td:first-child {
  width: 42px;
  text-align: center !important;
  border-radius: 12px 0 0 0;
}

.s-box-s2 .table-st1 table tbody > tr:first-child > td:nth-child(2) {
  width: 122px;
}

.s-box-s2 .table-st1 table tbody > tr:first-child > td:last-child {
  width: 82px;
  text-align: center !important;
  border-radius: 0 12px 0 0;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child) > td {
  /* height: 54px; */
  padding: 8px 10px !important;
  color: #f4e5d7 !important;
  background: rgba(13, 8, 9, 0.68) !important;
  border-bottom: 1px solid rgba(244, 211, 160, 0.05) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.28;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child):nth-child(odd) > td {
  background: rgba(24, 12, 13, 0.8) !important;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child):hover > td {
  background: rgba(143, 26, 24, 0.14) !important;
  color: #fffaf5 !important;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child) > td:first-child {
  width: 42px;
  color: var(--gold-soft) !important;
  text-align: center !important;
  font-family: var(--font-display);
  font-size: 14px !important;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child) > td:nth-child(2) {
  width: 122px;
  max-width: 122px;
  overflow-wrap: anywhere;
}

.s-box-s2 .table-st1 table tbody > tr:not(:first-child) > td:last-child {
  width: 82px;
  /* text-align: left !important; */
  text-align: center !important;
  color: #f4e5d7 !important;
}

.s-box-s2 .table-st1 table tbody > tr:last-child > td:first-child {
  border-radius: 0 0 0 12px;
}

.s-box-s2 .table-st1 table tbody > tr:last-child > td:last-child {
  border-radius: 0 0 12px 0;
}

.bt-button-sde {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.bt-button-sde a {
  min-width: 96px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff5ea !important;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #431012 0%, #250708 100%);
  border: 1px solid rgba(244, 211, 160, 0.34);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 12px 20px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.bt-button-sde a:hover {
  color: #fffaf5 !important;
  border-color: rgba(255, 238, 220, 0.62);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 14px 24px rgba(0, 0, 0, 0.38);
}

.acc-profile-card,
.acc-actions-card,
.acc-stat,
.acc-action {
  border-color: var(--line) !important;
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.08), transparent 42%),
    rgba(13, 8, 9, 0.74) !important;
  box-shadow: inset 0 1px 0 rgba(255, 243, 193, 0.08), 0 18px 44px rgba(0, 0, 0, 0.42) !important;
}

.acc-action {
  color: #f4e5d7 !important;
}

.acc-action:hover {
  color: var(--gold-soft) !important;
  border-color: var(--line-strong) !important;
  transform: translateY(-2px);
}

.acc-stat .value,
.acc-username,
.acc-section-title {
  color: var(--gold-soft) !important;
  font-family: var(--font-display);
}

.center,
td.center,
th.center {
  text-align: center !important;
}

.right,
td.right,
th.right {
  text-align: right !important;
}

.left,
td.left,
th.left {
  text-align: left !important;
}

.m-slider,
.m-slide,
.m-slide .m-box {
  display: none !important;
}

.pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0 0;
}

.pagination .buttons,
.pagination ul {
  display: flex;
  gap: 8px;
}

.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 211, 160, 0.18);
  border-radius: 999px;
  color: #f3e7d9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%),
    rgba(18, 10, 10, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 10px 18px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.pagination span,
.pagination a:hover {
  color: #fffaf5;
  border-color: rgba(255, 238, 220, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #5a1719 0%, #25090b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 12px 22px rgba(0, 0, 0, 0.24);
}

.footer-top,
.footer-bottom {
  background:
    linear-gradient(180deg, rgba(143, 26, 24, 0.06), transparent 40%),
    #060505 !important;
  border-top: 1px solid rgba(244, 211, 160, 0.14);
}

.footer-bottom {
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
}

.footer-b-left {
  width: 100%;
  text-align: center;
}

.footer-p {
  margin: 0;
}

#btnTopo {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 50 !important;
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  color: #fff6ee !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #3a0d10 0%, #1a090a 100%) !important;
  border: 1px solid rgba(244, 211, 160, 0.42) !important;
  border-radius: 50% !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 203, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36),
    0 14px 34px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(143, 26, 24, 0.16);
  font-size: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

#btnTopo.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#btnTopo:hover {
  border-color: rgba(255, 238, 220, 0.64) !important;
  filter: saturate(1.04) brightness(1.04);
}

#btnTopo::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff6ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M6.5 10.5 12 5l5.5 5.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transform: translateY(-1px);
}

#btnTopo::after {
  content: none;
}

#discord4 {
  position: fixed;
  right: -180px;
  bottom: 92px;
  z-index: 45;
  display: block !important;
  transition: right 0.25s ease, filter 0.25s ease;
}

#discord4:hover {
  right: 0;
  filter: brightness(1.08) drop-shadow(0 0 16px rgba(143, 26, 24, 0.18));
}

.seo-hero-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* New header / hero redesign */
.header-section {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: 20px;
  height: auto;
  background: transparent !important;
  border: 0 !important;
}

.header-section .container {
  width: 1280px !important;
  max-width: 1280px !important;
}

.header-section-inner {
  height: auto;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 112px;
  padding: 14px 18px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%),
    rgba(10, 7, 8, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(143, 26, 24, 0.08);
  backdrop-filter: blur(16px);
}

.header-brand {
  min-width: 112px;
  height: 66px;
  display: inline-flex;
  gap: 0;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.16));
  border: 1px solid rgba(244, 211, 160, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(0, 0, 0, 0.3);
}

.header-brand-text {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff6ee;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.main-menu-mobile {
  display: none !important;
}

.header-menu-toggle {
  display: none;
}

.header-menu-panel {
  display: contents;
}

.header-menu-toggle {
  position: relative;
  gap: 10px;
  width: auto;
  min-width: 58px;
  padding: 0 18px 0 14px;
}

.header-menu-toggle-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18)),
    rgba(28, 13, 14, 0.86);
  border: 1px solid rgba(244, 211, 160, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.24);
}

.header-menu-toggle-icon span {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff7eb, #f4d6a2 55%, #d9a86a);
  box-shadow: 0 0 10px rgba(244, 211, 160, 0.25);
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
  transform: translateX(-50%);
}

.header-menu-toggle-icon span:nth-child(1) {
  top: 8px;
}

.header-menu-toggle-icon span:nth-child(2) {
  top: 13px;
}

.header-menu-toggle-icon span:nth-child(3) {
  top: 18px;
}

.header-shell.is-menu-open .header-menu-toggle-icon span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.header-shell.is-menu-open .header-menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.header-shell.is-menu-open .header-menu-toggle-icon span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header-menu-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-menu > ul {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-menu .menu-links {
  display: flex !important;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-menu a {
  min-height: 44px;
  padding: 0 16px;
  color: #f8f1ea;
  font-size: 12px;
  letter-spacing: 1.4px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-menu a:hover {
  color: #fffaf5;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 211, 160, 0.16);
  box-shadow: 0 0 0 1px rgba(143, 26, 24, 0.08);
  text-shadow: none;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 18% 10%, rgba(143, 26, 24, 0.22), transparent 64%),
    radial-gradient(900px 560px at 82% 16%, rgba(244, 211, 160, 0.08), transparent 66%),
    linear-gradient(180deg, #090607 0%, #050404 58%, #040303 100%);
  border-bottom: 1px solid rgba(244, 211, 160, 0.12);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 2, 2, 0.08) 0%, rgba(4, 2, 2, 0.16) 24%, rgba(4, 2, 2, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, transparent 34%, transparent 66%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-section .container,
.hero-section-inner {
  position: relative;
  z-index: 2;
}

.hero-section-inner {
  min-height: 980px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding-top: 138px;
  padding-bottom: 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-brand-panel {
  border: 1px solid rgba(244, 211, 160, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 30%),
    rgba(14, 8, 9, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 60px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 34px 34px 30px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff7ea;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: rgba(143, 26, 24, 0.16);
  border: 1px solid rgba(244, 211, 160, 0.18);
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #fff7f1;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0.2px;
  text-wrap: balance;
  text-shadow: 0 22px 38px rgba(0, 0, 0, 0.5);
}

.hero-copy p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(244, 231, 220, 0.88);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: #fff7ea !important;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(244, 211, 160, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-link:hover {
  border-color: rgba(255, 238, 220, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 36%),
    rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #f5e7d8;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 26px;
}

.hero-brand-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  border-radius: 24px;
  border: 1px solid rgba(244, 211, 160, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.1), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(143, 26, 24, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.22));
}

.hero-brand-frame img {
  width: min(100%, 340px);
  filter:
    drop-shadow(0 28px 44px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 24px rgba(143, 26, 24, 0.22));
}

.hero-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #f4e5d7;
  text-align: center;
}

.hero-brand-copy span {
  color: #fff6ee;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero-brand-copy strong {
  font-size: 15px;
  font-weight: 700;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 108px;
  padding: 18px 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 38%),
    rgba(13, 8, 9, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.42);
}

.hero-stat-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.22)),
    rgba(40, 12, 14, 0.76);
}

.hero-stat-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.hero-stat-copy h4 {
  margin: 0 0 4px;
  color: #fff8f2;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.hero-stat-copy h3 {
  margin: 0;
  color: #f3e4d4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1400px) {
  .hero-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .header-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .main-menu > ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section-inner {
    padding-top: 138px;
  }

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

@media (max-width: 720px) {
  .hero-section {
    min-height: auto;
  }

  .hero-section-inner {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 34px;
  }

  .hero-brand-panel {
    padding: 18px;
  }

  .hero-brand-frame {
    min-height: 240px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Simplified hero: centered logo, no two-column layout */
.hero-layout {
  display: block !important;
}

.hero-copy,
.hero-brand-panel,
.hero-kicker,
.hero-actions,
.hero-badges {
  display: none !important;
}

.hero-center {
  display: flex;
  flex: 1;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.hero-logo-main {
  width: min(560px, 78vw);
  margin: 0 auto;
  transform: none;
}

.hero-section-inner {
  align-items: center;
}

.hero-stats-grid {
  width: 100%;
}

/* Home restyle: glass first, 3-column layout preserved */
.section-wrapper1 {
  padding-top: 8px;
  background:
    radial-gradient(1100px 620px at 50% -60px, rgba(143, 26, 24, 0.16), transparent 68%),
    radial-gradient(800px 420px at 12% 18%, rgba(244, 211, 160, 0.05), transparent 60%),
    linear-gradient(180deg, #080506 0%, #050404 44%, #020101 100%);
}

.section-wrapper1::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.main-section-inner {
  grid-template-columns: 282px minmax(0, 1fr) 282px !important;
  gap: 22px !important;
  justify-content: center;
  align-items: start;
  margin-top: -54px !important;
}

.m-sidebar {
  position: sticky;
  top: 126px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: start;
}

.m-sidebar-left {
  transform: none;
}

.m-sidebar-right {
  transform: none;
}

.m-main-part {
  padding-top: 0;
}

.s-box,
.m-box,
.xy-news-part,
.content-xy .page-intro,
.content-xy table,
.content-xy .table,
.jumbotron,
.alert {
  border-radius: 24px !important;
  border: 1px solid rgba(244, 211, 160, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 32%),
    rgba(13, 8, 9, 0.8) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 58px rgba(0, 0, 0, 0.44) !important;
  backdrop-filter: blur(14px);
}

.s-box {
  margin: 0 !important;
  padding: 62px 20px 22px !important;
  overflow: hidden;
}

.s-box:hover,
.xy-news-part:hover {
  border-color: rgba(244, 211, 160, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 68px rgba(0, 0, 0, 0.5) !important;
}

.s-box-header {
  top: 20px;
  left: 18px;
  right: 18px;
  padding-bottom: 6px;
}

.s-box-header h3,
.xy-news-header h3,
.page-hd h1,
.page-hd h2,
.pre-social {
  font-size: 15px;
  letter-spacing: 2px;
  color: #fff6ee;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.xy-news-part {
  min-height: 620px;
  padding: 0 0 24px !important;
}

.xy-news-header,
.page-hd {
  margin: 0 !important;
  padding: 24px 28px 20px !important;
  text-align: center;
  border-bottom: 1px solid rgba(244, 211, 160, 0.14);
}

.page-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 36%),
    rgba(13, 8, 9, 0.42);
  border-radius: 22px 22px 0 0;
}

.page-hd::after,
.xy-news-header::after,
.s-box-header::after {
  opacity: 0.5;
  background: linear-gradient(90deg, rgba(244, 211, 160, 0.2), rgba(255, 255, 255, 0.45), rgba(244, 211, 160, 0.2));
}

.content-xy {
  padding: 24px !important;
}

.content-xy .page-intro {
  margin: 0 0 18px !important;
  padding: 22px 24px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.1), transparent 42%),
    rgba(18, 10, 11, 0.76) !important;
  border: 1px solid rgba(244, 211, 160, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.36) !important;
}

.content-xy .page-intro h3 {
  color: #fff8f2 !important;
  letter-spacing: 1px;
}

.content-xy .page-hd,
.content-xy .xy-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.content-xy .xy-title {
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(244, 211, 160, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 40%),
    rgba(13, 8, 9, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 46px rgba(0, 0, 0, 0.4);
}

.content-xy .xy-title h3,
.content-xy .xy-title h4 {
  margin: 0;
}

.content-xy .news-card,
.content-xy .table-st1 table,
.content-xy .server-statistics-table table,
.content-xy form > table,
.content-xy form > .table {
  border-radius: 18px;
  border: 1px solid rgba(244, 211, 160, 0.12);
  background:
    linear-gradient(135deg, rgba(143, 26, 24, 0.08), transparent 42%),
    rgba(13, 8, 9, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 48px rgba(0, 0, 0, 0.4);
}

.content-xy .news-card-header,
.content-xy .news-card-body,
.content-xy form > table tr > *,
.content-xy form > .table tr > * {
  border-color: rgba(244, 211, 160, 0.12) !important;
}

.content-xy .news-card-header {
  padding-left: 22px;
  padding-right: 18px;
}

.content-xy .page-intro p,
.content-xy p,
.content-xy li,
.content-xy td,
.content-xy th {
  color: #f4e5d7 !important;
}

.s-box-form {
  margin-top: 4px;
}

.single-input-x-input,
.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  height: 46px;
  border-radius: 12px !important;
}

.m-sidebar-left .s-box:first-child .s-box-form {
  padding-top: 4px !important;
}

.m-sidebar-right .s-box:first-child {
  transform: none;
}

.m-sidebar-right .s-box:last-child {
  transform: none;
}

@media (max-width: 1024px) {
  .page-hd {
    border-radius: 20px;
  }

  .content-xy {
    padding: 20px !important;
  }
}

.m-sidebar-right .s-box + .s-box {
  margin-top: 0 !important;
}

.table-user a {
  border-radius: 14px;
}

.table-st1 table,
.server-statistics-table table {
  border-radius: 16px;
}

.s-box-s2 {
  padding: 62px 18px 20px !important;
}

.xy-news-part .content-xy {
  padding-top: 22px !important;
}

@media (max-width: 1400px) {
  .main-section-inner {
    grid-template-columns: 260px minmax(0, 1fr) 260px !important;
  }
}

@media (max-width: 1199px) {
  .header-shell {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 16px;
    justify-items: center;
    text-align: center;
  }

  .main-menu-desktop {
    display: none !important;
  }

  .main-menu-mobile {
    display: grid !important;
    width: 100%;
  }

  .main-menu-mobile > ul,
  .main-menu-mobile .menu-mobile {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .main-menu-mobile a {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 1px;
  }

}

@media (max-width: 1024px) {
  .main-section-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 0 !important;
  }

  .m-sidebar {
    position: static;
    transform: none !important;
  }
}

@media (max-width: 1199px) {
  .container,
  .header-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px;
    padding: 16px;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    color: #fff7eb;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(244, 211, 160, 0.18);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 36%),
      rgba(20, 10, 11, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 12px 26px rgba(0, 0, 0, 0.28);
  }

  .main-menu-desktop {
    display: none !important;
  }

  .main-menu-mobile {
    display: block !important;
    width: 100%;
  }

  .header-menu-panel {
    display: none;
    width: 100%;
    padding-top: 2px;
    grid-column: 1 / -1;
  }

  .header-shell.is-menu-open .header-menu-panel {
    display: block;
  }

  .header-shell.is-menu-open .main-menu-mobile {
    padding: 12px;
    border: 1px solid rgba(244, 211, 160, 0.14);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 30%),
      rgba(13, 8, 9, 0.8);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 20px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
  }

  .main-menu-mobile .menu-mobile {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .main-menu-mobile a {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .header-brand {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 56px;
    justify-self: stretch;
  }

  .header-menu-toggle {
    justify-self: end;
  }

}

@media (max-width: 720px) {
  .content-xy {
    padding: 18px !important;
  }

  .xy-news-header,
  .page-hd {
    padding: 18px !important;
  }

  .s-box,
  .s-box-s2 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .main-menu-mobile .menu-mobile {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    min-width: 0;
  }

  body {
    overflow-x: hidden;
  }

  .container,
  .header-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px;
    padding: 16px;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .header-brand {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 56px;
  }

  .header-brand-text {
    font-size: 12px;
  }

  .main-menu-desktop {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section-inner {
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 44px;
  }

  .hero-logo-main {
    width: min(520px, 82vw);
  }

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

  .section-wrapper1 {
    padding-top: 18px;
  }

  .main-section-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: -26px !important;
  }

  .m-sidebar {
    position: static;
    transform: none !important;
  }

  .m-main-part {
    padding-top: 0;
  }

  .s-box,
  .m-box,
  .xy-news-part,
  .content-xy .page-intro,
  .content-xy table,
  .content-xy .table,
  .jumbotron,
  .alert {
    border-radius: 20px !important;
  }

  .content-xy {
    padding: 22px !important;
  }

  .xy-news-header,
  .page-hd {
    padding: 20px 22px 18px !important;
  }

  .content-xy .page-intro {
    padding: 20px 22px !important;
  }

  .content-xy .xy-title {
    padding: 16px 18px;
  }

  .content-xy .news-card-header {
    padding-left: 22px;
    padding-right: 18px;
  }

  .content-xy .news-card-body {
    padding: 18px 20px 20px;
  }
}

@media (max-width: 720px) {
  .header-shell {
    padding: 12px;
  }

  .header-brand {
    max-width: 100%;
    height: 52px;
  }

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

  .hero-section-inner {
    padding-top: 132px;
    padding-bottom: 36px;
  }

  .hero-logo-main {
    width: min(420px, 90vw);
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .main-section-inner {
    gap: 16px !important;
    margin-top: -18px !important;
  }

  .content-xy {
    padding: 18px !important;
  }

  .xy-news-header,
  .page-hd {
    padding: 18px !important;
  }

  .content-xy .page-intro {
    padding: 18px !important;
  }

  .content-xy .xy-title {
    padding: 14px 16px;
  }

  .content-xy .news-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 18px;
    padding-right: 16px;
  }

  .news-card-meta {
    justify-content: flex-start;
  }

  .content-xy .news-card-body {
    padding: 16px;
  }

  .s-box,
  .s-box-s2 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 560px) {
  .header-brand-text {
    font-size: 11px;
  }

  .main-menu-mobile .menu-mobile {
    grid-template-columns: 1fr;
  }

  .main-menu-mobile a {
    width: 100%;
  }

  .hero-section-inner {
    padding-top: 124px;
  }

  .hero-logo-main {
    width: min(360px, 92vw);
  }

  .main-section-inner {
    margin-top: -12px !important;
  }

  .page-hd,
  .xy-news-header {
    padding: 16px !important;
  }

  .content-xy .page-intro,
  .content-xy .xy-title {
    padding: 16px !important;
  }
}
