/* ==========================================================
   LAYOUT — Body sections, grid, footer, structural blocks
   ========================================================== */

/* ---- Body Sections ---- */
.body-section {
  background-color: #353535;
  padding: 30px 220px;
  border: 0px!important;
  max-width: 1920px;
  margin: 0 auto;
}
.body-section-accent {
  background-image: url("../img/back-blend2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.body-news-section {
  padding: 30px 220px;
  margin-top: -200px;
  background-color: transparent;
  background-image: linear-gradient(rgba(255,255,255,0), #353535 80vh);
  position: relative;
}
.body-login-section {
  display: block;
  position:relative;
  min-height:100vh;
  bottom:0; top:0; left:0; right:0;
  margin: -200px 220px 30px 220px;
  border-radius: 10px;
  background-color: #232323;
}
.body-login-section-footer {
  background-color: transparent;
  background-image: url("../img/main-wallpaper3.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100vw;
}
.body-login-section .link { font-weight: 500; font-size: 1.125rem; }
.body-login-section-side { background-color: #833c16; border-radius: 6px; }
.body-login-section .fixloginheight { min-height: 100vh; }

.body-patch-section {
  margin-top: -200px;
  background-color: transparent;
  background-image: url("../img/main-wallpaper3.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  position: relative;
  background-size: 100vw;
}
.bg-test-static {
  background-image: url("../img/main-wallpaper.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.body-footer {
  margin-top: 20px;
  background-color: #232323;
  padding: 15px 30px;
  border-radius: 10px;
}

.bg-purple { background: rgb(48,0,50); }
.bg-gray { background: rgb(74,74,74); }
.bg-blue { background: rgb(50,101,196); }
.bg-red { background: rgb(196,50,53); }

.news-divider { height: 20px; }

.left-section { padding: 0 10px 0 0; margin: 0!important; border: none!important; }
.right-section { padding: 0 0 0 10px; margin: 0!important; border: none!important; }
.left-section-of-3 { padding: 0 13.34px 0 0; margin: 0!important; border: none!important; }
.middle-section-of-3 { padding: 0 6.66px 0 6.66px; margin: 0!important; border: none!important; }
.right-section-of-3 { padding: 0 0 0 13.34px; margin: 0!important; border: none!important; }

/* ---- Body Inner Section ---- */
.body-inner-section {
  background-color: #232323;
  border-radius: 10px;
  border: 0px!important;
  padding: 30px!important;
  color: white;
  font-family: HelveticaNormal;
  min-height: 446px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.body-inner-section h1,
.body-inner-section h2,
.body-inner-section h3 {
  font-family: DrukBold;
  font-size: 1.5rem;
  color: white;
  text-align: left;
  text-transform: uppercase;
}
.body-inner-section p { color: #D9D9D9; font-size: 1rem; line-height: 28px; }
.body-inner-section .subtitle { font-size: 1rem; font-weight: bold; color: #D9D9D9; text-transform: uppercase; }
.body-inner-section .divider { height: 2px; background-color: #353535; width: 100%; margin: 20px 0 40px 0; }
.body-inner-section span { font-size: 1.1rem; color: #D9D9D9; font-weight: bold; }
.body-inner-section span .sv-status-desc { font-size: 0.9rem; }
.body-inner-section span .sv-status-icon { display: none; }
.body-inner-section .one-line-text { padding: 0px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.body-inner-section .progress {
  height: 10px; background-color: #353535;
  margin-top: 5px; border-radius: 5px; padding: 0px!important;
}
.body-inner-section .progress .progress-bar { background-color: var(--ColorTemplate); padding: 0px!important; }
.body-inner-section .progress .progress-bar-stats { background-color: #833c16; padding: 0px!important; }
.body-inner-section .progress-stats {
  height: 10px; background-color: #353535; border-radius: 5px; margin: 20px 0 10px 0;
}
.body-inner-section .progress-stats .progress-bar-bk { background-color: #dc3545; padding: 0px!important; }
.body-inner-section .progress-stats .progress-bar-sm { background-color: #0d6efd; padding: 0px!important; }
.body-inner-section .progress-stats .progress-bar-elf { background-color: #D9D9D9; padding: 0px!important; }
.body-inner-section .progress-stats .progress-bar-mg { background-color: #6f42c1; padding: 0px!important; }

.body-inner-section .bottom-area .left-tag {
  padding: 10px 15px; position: absolute; bottom: 30px; border: none;
  display: inline-block; font-size: 1rem; background-color: #353535;
  color: white; border-radius: 5px; text-transform: uppercase; font-weight: bold;
}
.body-inner-section .bottom-area .news-leermas { background-color: var(--ColorTemplate); right: 30px; }

/* ---- Grid ---- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(max(100% / var(--max-column-count) - var(--gap), var(--ideal-size)), 100%), 1fr));
  gap: var(--gap);
}
.grid-item {
  min-height: 446px; position: relative; border-radius: 10px; border: none;
  background-position: top left; background-repeat: no-repeat; background-size: cover;
  background-color: #232323; padding: 30px;
}
.grid-item h3 { font-family: DrukBold; font-size: 1.25rem; color: white; text-transform: uppercase; }
.grid-item .subtitle { font-size: 1rem; font-weight: bold; color: #D9D9D9; text-transform: uppercase; }
.grid-item .divider { height: 2px; background-color: #353535; width: 100%; margin: 26px 0 40px 0; }
.grid-item .bottom-area .left-tag {
  padding: 10px 15px; position: absolute; bottom: 30px; border: none;
  display: inline-block; font-size: 1rem; background-color: #353535;
  color: white; border-radius: 5px; text-transform: uppercase; font-weight: bold;
}
.grid-item .bottom-area .news-leermas { background-color: #833c16; }
.grid-item .bottom-area .patch-tag { left: 84px; }
.grid-item span { font-size: 1.1rem; color: #D9D9D9; font-weight: bold; }
.grid-item a { text-decoration: none; }
.grid-item a:hover + i { display: initial; }
.grid-item .fa-square-up-right { display: none; color: #833c16; }
.grid-item .one-line-text { padding: 0px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.why-us-grid-item { min-height: 100px; }
.why-us-grid-item i { color: #833c16; font-size: 45px; }
.why-us-grid-item .why-us-title { padding-left: 10px!important; }
.why-us-grid-item .why-us-content { color: #D9D9D9; font-size: 1.125rem; }

.circle-gradient-top-left {
  background-image: radial-gradient(ellipse at top left, rgba(40,75,99,0.12), transparent 50%);
}

/* ---- Body Divider ---- */
.body-divider { height: 100px; }
.body-divider-angle {
  margin-top: 50px; height: 50px; border-radius: 50px 0 0 0;
  background-color: #833c16; border: none!important;
}

/* ---- Footer ---- */
.haze-footer {
  background-color: #141414;
  padding: 100px 220px 0px 220px;
  font-family: HelveticaNormal;
}
.footer-sections { background-color: #141414; padding: 0px!important; }
.haze-footer .about-us-p { font-size: 1rem; font-weight: 500; color: #D9D9D9; }
.social-net-area {
  height: 40px; width: 40px; margin-right: 10px; display: inline-block;
  border-radius: 5px; color: white; background-color: #7289da; position: relative;
}
.social-net-area i {
  position: absolute; top: 50%; left: 50%;
  font-size: 20px; transform: translate(-50%, -50%);
}
.haze-footer .divider { height: 2px; background-color: #353535; width: 100%; margin: 100px 0 20px 0; }
.haze-footer .lowest-section { color: white; text-align: center; }

/* ---- News ---- */
.news-link { text-decoration: none; }
.news-link:hover .body-inner-section .news-leermas,
.news-link:focus .body-inner-section .news-leermas { background-color: #a45d1f; }
.news-link:hover .grid-item .news-leermas,
.news-link:focus .grid-item .news-leermas { background-color: #a45d1f; }

.news-body { background-color: #D9D9D9; border: none!important; }
.news-body .news-header {
  background-repeat: no-repeat; background-size: cover; background-position: center;
  margin: -30px 0 0 -30px; border-radius: 10px 10px 0 0;
  width: 100%; object-fit: cover; aspect-ratio: auto; position: absolute;
}
.news-body .news-footer {
  background-color: #232323!important; min-height: 300px;
  margin: 0 0 0 -30px; border-radius: 0 0 10px 10px;
  padding: 30px; position: absolute; bottom: 0;
}
.news-mobile { display: none; }

.inner-news-body { background-color: #232323; border-radius: 10px; }
.inner-news-body .image-news { margin-bottom: 30px!important; border-radius: 10px 10px 0 0; }
.inner-news-body h1 { color: white; font-size: 2.5rem; }
.inner-news-body .news-date { font-size: 1rem; font-weight: bold; color: #D9D9D9; text-transform: uppercase; text-align:center; }
.inner-news-body h2 { color: white!important; font-size: 1.5rem; text-align: left; }
.inner-news-body .news-content {
  font-size: 1.25rem; font-family: HelveticaNormal;
  padding: 20px 200px; line-height: 2rem; color: #D9D9D9; font-weight: 500;
}

/* ---- Server Status Center ---- */
.server-status-center { padding: 10px 220px; }
.server-status-center__inner { display: flex; gap: 16px; flex-wrap: wrap; }
.server-status-card {
  background: #232323; border-radius: 12px; padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; flex: 1; min-width: 200px;
}
.server-status-card--main { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); }
.server-status-card__icon i { font-size: 2rem; color: var(--ColorTemplate, #833c16); }
.server-status-card__label { font-size: .85rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.server-status-card__value { font-size: 1.5rem; font-weight: 700; color: white; }
.server-status-progress { height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.server-status-progress span { display: block; height: 100%; background: var(--ColorTemplate, #833c16); border-radius: 4px; }

/* ---- News Cards Grid ---- */
.grid-container.news-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-container.news-cards .big-button {
  display: block; width: 100%;
  background: #1b1b1e !important; border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important; padding: 16px 18px !important;
  text-align: center; text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.grid-container.news-cards .big-button:hover {
  background: #202024 !important;
  border-color: var(--ColorTemplateAlpha, rgba(255,174,43,.35)) !important;
  transform: translateY(-1px);
}
.grid-container.news-cards .big-button .grid-item {
  padding: 0 !important; background: transparent !important; border: 0 !important;
  outline: 0 !important; box-shadow: none !important;
  color: var(--ColorTemplate, #fca311); font-weight: 800; font-size: 1.05rem;
}
.grid-container.news-cards .big-button .grid-item::before,
.grid-container.news-cards .big-button .grid-item::after { content: none !important; }

/* ---- Character Profiles ---- */
.char-profile-dk {
  background-image: radial-gradient(circle, rgba(35,35,35,.8) 0%, #232323 90%), url("../img/bg-profile/dk.jpg");
  background-repeat: no-repeat; background-position: 50% 0%; min-height: 500px !important;
}
.char-profile-elf {
  background-image: radial-gradient(circle, rgba(35,35,35,.8) 0%, #232323 90%), url("../img/bg-profile/elf.jpg");
  background-repeat: no-repeat; background-position: 50% 0%; min-height: 500px !important;
}
.char-profile-dw {
  background-image: radial-gradient(circle, rgba(35,35,35,.8) 0%, #232323 90%), url("../img/bg-profile/dw.jpg");
  background-repeat: no-repeat; background-position: 50% 0%; min-height: 500px !important;
}
.char-profile-mg {
  background-image: radial-gradient(circle, rgba(35,35,35,.8) 0%, #232323 90%), url("../img/bg-profile/mg.jpg");
  background-repeat: no-repeat; background-position: 50% 0%; min-height: 500px !important;
}

/* ---- Tooltip ---- */
.tooltip[role="tooltip"] .tooltip-inner { background-color: black!important; font-family: HelveticaNormal; font-size: 1rem!important; }

/* ---- Hero glow backgrounds ---- */
.main-bg-header {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #353535), url(../img/background-main.jpg);
  background-repeat: no-repeat; background-size: cover; background-position: 50% 0%;
  opacity: 0.5; height: 460px;
}
.hero-glow {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #353535), url(../img/mg3.jpg);
  background-repeat: no-repeat; background-size: cover; background-position: 75% 0%;
  opacity: 0.5; height: 460px;
}
.hero-glow-2 { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #353535), url(../img/bk-background.jpg); }
.hero-glow-3 { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #353535), url(../img/sm-background.jpg); }
.hero-glow-profile { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #353535), url(../img/user-profile.jpg); }

.accordion-item { background-color: #232323; border-radius: 10px!important; }
.accordion-item:first-child { border-radius: 10px 10px 0 0!important; }
.accordion-item:last-child { border-radius: 0 0 10px 10px!important; }
.accordion-item .accordion-body p { color: #D9D9D9!important; font-size: 0.875rem; }
.accordion-button {
  padding: 20px; background-color: #232323; color: white!important;
  text-transform: uppercase; border-radius: 10px!important;
}
.accordion-button:hover, .accordion-button:active, .accordion-button:focus { background-color: #232323; }
.accordion-button[aria-expanded="true"] { background-color: #232323; }
.accordion-button:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

/* ---- Market Shell ---- */
.market-shell {
  background: linear-gradient(180deg,#0f0f10 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.03);
  padding: 18px 18px 22px;
  margin-bottom: 20px;
}

/* ---- Download Shell ---- */
.dl-shell {
  margin-top: 8px;
  background: linear-gradient(180deg,#121212,#0e0e0e);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 35px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
}
.dl-card {
  background: #121212; border-radius: 16px; padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); height: 100%;
}
.dl-card__head { margin-bottom: 10px; }
.dl-card__kicker { color: #9aa2ad; font-weight: 800; letter-spacing:.08em; text-transform:uppercase; font-size:.82rem; }
.dl-card__title { margin:2px 0 6px; font-family:DrukBold,Impact,sans-serif; text-transform:uppercase; color:#fff; font-size:1.25rem; }
