@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800;900&display=swap');

:root {
  --bg: #05070b;
  --bg2: #0b0d13;
  --panel: rgba(10, 13, 18, .80);
  --panel2: rgba(8, 10, 14, .92);
  --line: rgba(255, 47, 47, .20);
  --line2: rgba(255, 47, 47, .42);
  --text: #eef3fa;
  --muted: #9ca7b6;
  --red: #ff3030;
  --red2: #ff5858;
  --cyan: #7be7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Kanit", sans-serif;
  color: var(--text);
  background: #040507;
  scroll-behavior: smooth
}

body {
  background: radial-gradient(circle at top left, rgba(120, 8, 20, .35), transparent 28%), radial-gradient(circle at 100% 100%, rgba(255, 55, 55, .12), transparent 24%), linear-gradient(180deg, #05070b 0%, #040507 100%);
  background-attachment: fixed;
}

/* body {
  background:
    radial-gradient(circle at top left, rgba(120, 8, 20, .35), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(255, 55, 55, .12), transparent 24%),
    url('./img/bgx.png') no-repeat center center fixed;
  background-size: cover;
} */


a {
  text-decoration: none;
  color: inherit
}

body,
p,
li,
small,
.muted-mini,
.guest-box,
.rule-card p,
.news-slide p {
  font-family: "Kanit", sans-serif;
}

.brand strong,
.brand span,
.topnav a,
.btn,
.panel-head span,
.panel-head b,
.eyebrow,
.hero-feature-box span,
.hero-feature-box strong,
.news-tag,
.news-slide h3,
.news-foot span,
#serverHost,
#playersNow,
#serverStatusText,
#discordGuildName,
#discordOnline,
.user-chip-meta strong,
.section-head span,
.section-head h2,
.rule-card b,
.rule-card h3,
.status-stack-row strong,
.status-connect {
  font-family: "Orbitron", sans-serif;
}


.portal-bg,
.portal-bg:before,
.portal-bg:after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: ""
}

.portal-bg {
  z-index: 0
}

.portal-bg:before {
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .09
}

.portal-bg:after {
  background: radial-gradient(circle at 20% 0%, rgba(255, 50, 50, .10), transparent 30%), radial-gradient(circle at 80% 50%, rgba(255, 50, 50, .08), transparent 25%);
  mix-blend-mode: screen
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(6, 8, 12, .76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 48, 48, .14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px
}

.brand img {
  outline: 1px solid red;
  outline-offset: 2px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 60, 60, .25))
}

/* .brand img::after {
  content: " ";
  width: 100%;
  height: 100%;
  background: red;
  border: 1px dashed rgba(177, 177, 177, 0.582);
  animation: spin linear infinite;
}

@keyframes spin {
  from {
    rotate: 0;
  }
  to {
    rotate: 100%;
  }
} */

.brand strong {
  font-size: 17px;
  display: flex !important;
  flex-direction: row;
  white-space: nowrap;
  font-weight: bold;
  letter-spacing: .08em
}

.brand span {
  display: block;
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--muted)
}


.topnav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.topnav a {
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 999px;
  color: #cbd3df;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06)
}

.topnav a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.topnav a:hover::after {
  left: 200%;
  transition: left 0.5s ease-in-out;
}

.topnav a:hover {
  border: 1px solid rgba(255, 48, 48, 0.226);
  color: #fff
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.hidden {
  display: none !important
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  border: 1px solid transparent;
  transition: .18s ease
}

.btn.big {
  padding: 15px 22px;
  font-size: 14px
}


.btn.accent {
  color: #fff;
  border-color: rgb(255, 255, 255);
  background: rgba(255, 59, 59, 0.884)
}

.btn.accent:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 48, 48, .28);
  color: #fff
}

.btn.ghost {
  color: #dde5ef;
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035)
}

.btn.ghost:hover {
  border-color: rgba(255, 48, 48, .28);
  color: #fff
}

.portal-shell {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 24px 50px
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 420px;
  gap: 22px;
  align-items: stretch;
  padding: 34px;
  min-height: 520px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), rgba(8, 10, 14, .72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.card-cut {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  border-radius: 28px
}

.card-glass {
  background: linear-gradient(180deg, rgba(12, 15, 20, .92), rgba(7, 9, 13, .95));
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: var(--shadow);
  border-radius: 24px;
  position: relative;
  overflow: hidden
}

.hero:before,
.card-glass:before,
.rule-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 48, 48, .82) 0 70px, transparent 70px) top left/130px 2px no-repeat, linear-gradient(180deg, rgba(255, 48, 48, .82) 0 40px, transparent 40px) top left/2px 90px no-repeat, linear-gradient(270deg, rgba(255, 48, 48, .75) 0 70px, transparent 70px) bottom right/130px 2px no-repeat, linear-gradient(0deg, rgba(255, 48, 48, .75) 0 40px, transparent 40px) bottom right/2px 90px no-repeat;
  opacity: .65
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  width: 100%;
}

.hero-copy>div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid rgba(255, 48, 48, .28);
  border-radius: 999px;
  background: rgba(255, 48, 48, .10);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #ffd6d6;
  margin-bottom: 18px
}

.peak-chart {
  width: 100%;
  flex: 1;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.peak-chart-head {
  position: absolute;
  top: 30px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.peak-chart-bars {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 0;
}

.peak-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
}

.peak-bar-col.on {
  opacity: 1;
  transform: none;
}

.peak-bar-track {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.peak-bar {
  width: 100%;
  min-height: 6px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--red2), var(--red));
  box-shadow: 0 0 14px rgba(255, 48, 48, .28);
  transition: height .85s cubic-bezier(.2, .9, .25, 1), filter .18s ease;
}

.peak-bar-col:hover .peak-bar {
  filter: brightness(1.18);
}

.peak-bar-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

.peak-chart-empty {
  margin: auto;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.peak-tooltip {
  position: fixed;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  background: rgba(8, 10, 14, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  color: #fff;
}

.peak-tooltip svg {
  width: 11px;
  height: 11px;
  flex: none;
  filter: drop-shadow(0 0 5px currentColor);
}

.peak-tooltip.hidden {
  display: none;
}

.peak-tooltip b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.peak-tooltip.up {
  color: #4be08a;
  border-color: rgba(31, 191, 106, .4);
}

.peak-tooltip.down {
  color: #ff6d6d;
  border-color: rgba(255, 48, 48, .35);
}

.peak-tooltip.flat {
  color: #e0a72e;
  border-color: rgba(224, 167, 46, .4);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: .98;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -.03em
}

.hero h1 span {
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 48, 48, .24)
}

.hero p {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: 16px;
  color: #c5cfdb;
  line-height: 1.75
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.meta-box {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05)
}

.meta-box span {
  display: block;
  font-size: 12px;
  color: #91a0b0;
  margin-bottom: 8px
}

.meta-box strong {
  font-size: 18px
}

.status-live strong {
  color: #fff5f5
}

.hero-side {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px
}

.panel-head span {
  font-size: 12px;
  letter-spacing: .18em;
  color: #94a2b0;
  font-weight: 800
}

.panel-head b {
  font-size: 20px
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05)
}

.stat-card span {
  display: block;
  color: #8e9aaa;
  font-size: 12px;
  margin-bottom: 8px
}

.stat-card strong {
  display: block;
  font-size: 12px;
  font-weight: 900
}

.status-link {
  margin-top: 16px;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 48, 48, .18);
  color: #e8eef7
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px;
  margin-top: 22px
}

.section-head span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #95a4b4;
  margin-bottom: 8px
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 30px
}

.section-head p {
  margin: 0;
  color: #99a6b5
}

.top-gap {
  margin-top: 28px
}

.news-list {
  display: grid;
  gap: 14px;
  margin-top: 18px
}

.news-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 13, 18, .90), rgba(8, 10, 14, .94));
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  overflow: hidden
}

.news-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 48, 48, .6), transparent)
}

.news-tag {
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 48, 48, .12);
  border: 1px solid rgba(255, 48, 48, .22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #ffd0d0;
  margin-bottom: 12px;
}

.news-card h3 {
  margin: 0 0 10px;
  font-size: 22px
}

.news-card p {
  margin: 0 0 16px;
  color: #b6c0cd;
  line-height: 1.7
}

.news-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #8e9aaa;
  font-size: 13px
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px
}

.rule-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 13, 18, .90), rgba(8, 10, 14, .95));
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  overflow: hidden
}

.rule-card b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 48, 48, .14);
  border: 1px solid rgba(255, 48, 48, .26);
  margin-bottom: 12px
}

.rule-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  overflow-wrap: anywhere
}

.rule-card p {
  margin: 0;
  color: #b4bfcc;
  line-height: 1.7;
  overflow-wrap: anywhere
}

.stack-right {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.side-card {
  padding: 22px
}

.discord-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 16px
}

.discord-stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05)
}

.discord-stats span {
  color: #99a5b3
}

.discord-stats strong {
  max-width: 60%;
  text-align: right;
  overflow-wrap: anywhere
}

.discord-widget-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .05);
  background: #111318
}

.access-box p {
  color: #b7c2cf;
  line-height: 1.7
}

.access-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px
}

.user-chip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05)
}

.user-chip img {
  width: 44px;
  height: 44px;
  border-radius: 999px
}

.user-chip strong {
  display: block
}

.user-chip span {
  display: block;
  color: #93a0b0;
  font-size: 12px
}

@media (max-width: 1100px) {

  .hero,
  .content-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    padding-right: 0
  }

  .topbar {
    padding: 14px 18px;
    flex-wrap: wrap
  }

  .topnav {
    order: 3;
    width: 100%
  }

  .top-actions {
    margin-left: auto
  }

  .hero-meta,
  .rules-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 640px) {
  .portal-shell {
    padding: 18px 14px 30px
  }

  .hero {
    padding: 22px
  }

  .hero h1 {
    font-size: 34px
  }

  .meta-box strong,
  .stat-card strong {
    font-size: 18px
  }

  .topbar {
    gap: 12px
  }

  .topnav a,
  .btn {
    font-size: 13px
  }
}

.hidden {
  display: none !important
}

.portal-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 50px
}

.btn-inline {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  min-height: auto
}

.btn.danger {
  background: rgba(255, 60, 60, .12);
  border: 1px solid rgba(255, 60, 60, .28);
  color: #ffd2d2
}

.btn.danger:hover {
  border-color: rgba(255, 60, 60, .55);
  background: rgba(255, 60, 60, .18)
}

.updates-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 48, 48, .16);
  background: linear-gradient(180deg, rgba(14, 16, 22, .9), rgba(9, 11, 16, .95));
  box-shadow: var(--shadow)
}

.top-no-gap {
  margin-top: 0 !important
}

.news-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: #090b10
}

.news-slides {
  position: relative;
  min-height: 420px
}

.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .45s ease, transform .45s ease;
  background-size: cover;
  background-position: center;
  pointer-events: none
}

.news-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto
}

.news-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 11, .93) 0%, rgba(7, 9, 14, .72) 42%, rgba(7, 9, 14, .32) 100%), linear-gradient(180deg, rgba(255, 42, 42, .10), transparent 40%)
}

.news-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: 760px;
  padding: 38px 42px
}

.news-slide h3 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 900
}

.news-slide p {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
  color: #d7deea;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.news-foot {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #aeb8c8;
  font-size: 13px
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 10, 15, .62);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.slider-nav:hover {
  background: rgba(255, 48, 48, .18);
  border-color: rgba(255, 48, 48, .35)
}

.slider-nav.prev {
  left: 16px
}

.slider-nav.next {
  right: 16px
}

.news-dots {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px
}

.news-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  padding: 0
}

.news-dot.active {
  background: #ff4e4e
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px
}

.hero-main,
.hero-side,
.side-card {
  padding: 22px
}

.hero-main {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: stretch
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px
}

.hero-actions .btn.big {
  min-width: 190px;
  justify-content: center
}

.status-row.single-line {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 14px;
  align-items: center
}

.status-item {
  min-width: 0;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05)
}

.status-item.center {
  text-align: center
}

.status-item.end {
  text-align: right
}

.status-item .label {
  display: block;
  margin-bottom: 8px;
  color: #93a1b6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.status-item strong {
  font-size: 20px;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.status-live-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  /* ← ดันกลับซ้าย */
  gap: 10px;
  flex-wrap: nowrap;
  /* ← กันมันแตกบรรทัดมั่ว */
  margin-left: auto;
  /* ← ดัน block มาทางขวา แต่ text ไม่ชิดขอบ */
  padding-left: 12px;
  /* ← ระยะหายใจ */
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: statusPulse 1.2s ease-in-out infinite
}

.status-dot.online {
  background: #3cff83;
  color: #3cff83
}

.status-dot.offline {
  background: #ff3c3c;
  color: #ff3c3c;
  animation-duration: 1.6s
}

.status-text.online {
  color: #77ffae;
  text-shadow: 0 0 6px rgba(60, 255, 150, .4)
}

.status-text.offline {
  color: #ff6767;
  text-shadow: 0 0 6px rgba(255, 60, 60, .4)
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px currentColor
  }

  40% {
    transform: scale(1.15);
    box-shadow: 0 0 14px currentColor
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 8px currentColor
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 6px currentColor
  }
}

.content-grid.pinned-top {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: start
}

.stack-right {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.stack-left {
  order: 1
}

.user-side-card .user-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06)
}

.user-chip img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12)
}

.user-chip-meta {
  min-width: 0;
  flex: 1
}

.user-chip-meta strong,
.user-chip-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.user-chip-meta span {
  margin-top: 2px;
  color: #95a4b8;
  font-size: 13px
}

.guest-box p {
  margin: 0 0 14px;
  color: #c9d1de;
  line-height: 1.8
}

.discord-header-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px
}

.muted-mini {
  display: block;
  font-size: 11px;
  color: #95a4b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px
}

.discord-online-box {
  text-align: right
}

.discord-widget-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06)
}

.section-head h2 {
  margin: 8px 0 0
}

.top-gap {
  margin-top: 10px
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.rule-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(13, 16, 22, .94), rgba(9, 11, 16, .98));
  border: 1px solid rgba(255, 48, 48, .13)
}

.rule-card b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 48, 48, .12);
  color: #ff7676;
  margin-bottom: 12px
}

.rule-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  overflow-wrap: anywhere
}

.rule-card p {
  margin: 0;
  color: #c4cedd;
  line-height: 1.8;
  overflow-wrap: anywhere
}

@media (max-width: 1180px) {

  .hero-grid,
  .content-grid.pinned-top {
    grid-template-columns: 1fr
  }

  .stack-right {
    order: 1
  }

  .stack-left {
    order: 2
  }

  .status-row.single-line {
    grid-template-columns: 1fr
  }

  .status-item.end,
  .status-item.center {
    text-align: left
  }

  .status-live-line {
    justify-content: flex-start
  }
}

@media (max-width: 860px) {
  .topnav {
    display: none
  }

  .portal-shell {
    width: min(100% - 20px, 1400px)
  }

  .news-slider,
  .news-slides {
    min-height: 360px
  }

  .news-slide-content {
    padding: 28px 22px 56px
  }

  .slider-nav {
    width: 42px;
    height: 42px;
    font-size: 28px
  }

  .rules-grid {
    grid-template-columns: 1fr
  }

  .hero-actions .btn.big {
    width: 100%
  }

  .top-actions {
    gap: 8px
  }
}


.hero-main {
  background:
    radial-gradient(circle at top left, rgba(255, 52, 52, .14), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .05), transparent 18%),
    linear-gradient(180deg, rgba(15, 18, 25, .94), rgba(9, 11, 16, .98));
  border: 1px solid rgba(255, 48, 48, .18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .03)
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%
}


.hero-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px
}

.hero-feature-box {
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02)
}

.hero-feature-box span {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  color: #95a4b8;
  margin-bottom: 8px
}

.hero-feature-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #f2f6fb
}

.bottom-connect {
  margin-top: auto;
  padding-top: 28px;
  align-items: flex-end
}

.wide-connect {
  min-width: 260px
}

.hero-actions .btn.big {
  min-height: 54px
}

#heroLoginBtn.hidden {
  display: none !important
}

.slider-nav {
  top: auto;
  bottom: 20px;
  transform: none;
  width: auto;
  min-width: 96px;
  height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 900;
  gap: 10px;
  background: linear-gradient(180deg, rgba(10, 12, 18, .82), rgba(7, 9, 14, .92));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .04)
}

.slider-nav small {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  color: #d9e1ec;
  line-height: 1;
}

.slider-nav span {
  line-height: 1;
  display: flex;
  align-items: center;
}

.slider-nav.prev {
  left: 18px
}

.slider-nav.next {
  right: 18px
}

.news-slides {
  position: relative;
  min-height: 440px
}

.news-slide {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(2px);
  transition: opacity .85s ease, transform 1.15s cubic-bezier(.22, .61, .36, 1), filter .85s ease
}

.news-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0)
}

.news-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 20%, transparent 80%, rgba(0, 0, 0, .18));
  pointer-events: none
}

.news-slide-content {
  padding: 46px 46px 88px
}

.news-tag {
  box-shadow: 0 0 0 1px rgba(255, 48, 48, .15) inset, 0 8px 20px rgba(255, 48, 48, .12)
}

.news-dots {
  bottom: 24px;
  pointer-events: none
}

.news-dot {
  pointer-events: auto
}

.news-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset
}

.news-dot.active {
  background: linear-gradient(90deg, #ff7373, #ff3030);
  box-shadow: 0 0 16px rgba(255, 48, 48, .35)
}

.hero-side {
  padding: 22px 18px;
  background: linear-gradient(180deg, rgba(12, 15, 20, .95), rgba(8, 10, 14, .98));
  border: 1px solid rgba(255, 48, 48, .14)
}

.status-row.single-line {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(130px, .72fr) minmax(170px, 1fr);
  gap: 12px;
  align-items: stretch
}

.status-item {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px
}

.status-item strong {
  font-size: 18px
}

.status-item.center,
.status-item.end {
  text-align: left
}

.status-live-line {
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.status-text {
  font-size: 17px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis
}

.user-side-card .user-chip {
  align-items: center
}

#logoutBtn {
  flex-shrink: 0
}

.content-grid.pinned-top {
  grid-template-columns: minmax(0, 1fr) 420px
}

@media (max-width: 1180px) {
  .hero-feature-strip {
    grid-template-columns: 1fr
  }

  .status-row.single-line {
    grid-template-columns: 1fr
  }

  .status-item {
    min-height: auto
  }

  .top-actions .btn {
    min-width: unset
  }
}

@media (max-width: 860px) {
  .slider-nav {
    bottom: 14px;
    min-width: 74px;
    height: 40px;
    padding: 0 12px
  }

  .slider-nav small {
    display: none
  }

  .news-slide-content {
    padding: 28px 22px 72px
  }

  .wide-connect {
    min-width: 100%
  }

  .hero-actions .btn.big {
    width: 100%
  }
}

.hero-grid {
  align-items: stretch;
}

.hero-side {
  min-height: 100%;
}

.status-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.status-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
}

.status-stack-row .label {
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  color: #9aa7b6;
  font-weight: 500;
  letter-spacing: .08em;
}

.status-stack-row strong {
  font-size: 24px;
  line-height: 1.15;
  text-align: right;
  max-width: 68%;
  word-break: break-word;
}

.status-stack-row strong {
  font-size: 24px;
}

#serverHost {
  font-size: 14px;
}

#playersNow {
  font-size: 14px;
}

#serverStatusText {
  font-size: 14px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-stack-status {
  align-items: center;
}

.status-live-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: statusPulse 1.2s ease-in-out infinite;
}

.status-dot.online {
  background: #3cff83;
  color: #3cff83;
}

.status-dot.offline {
  background: #ff3c3c;
  color: #ff3c3c;
  animation-duration: 1.6s;
}

.status-text.online {
  color: #77ffae;
  text-shadow: 0 0 6px rgba(60, 255, 150, .4);
}

.status-text.offline {
  color: #ff6767;
  text-shadow: 0 0 6px rgba(255, 60, 60, .4);
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px currentColor;
  }

  40% {
    transform: scale(1.15);
    box-shadow: 0 0 14px currentColor;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 8px currentColor;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 6px currentColor;
  }
}

.status-connect {
  width: auto;
  /* เอา 25% ออก */
  min-width: 180px;
  padding: 10px 18px;
  margin: 18px auto 0;
  /* ← ตัวนี้ทำให้มันอยู่กลาง */
  display: flex;
  justify-content: center;
  font-size: 13px;
}

.hero-actions.bottom-connect {
  margin-top: 22px;
  margin-bottom: 0;
}

.hero-actions.bottom-connect .btn {
  min-width: 180px;
}

@media (max-width: 980px) {
  .status-stack-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-stack-row strong,
  .status-live-line {
    max-width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 55;
  padding: 12px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__left p {
  margin: 0;
  letter-spacing: 0.05em;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;

  pointer-events: auto;
}

.footer__link:hover {
  color: rgb(221, 81, 81);
}

.footer__divider {
  opacity: 0.3;
}

@media (max-width: 640px) {
  .footer {
    padding: 8px 16px;
  }

  .footer__content {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}

.footer__left,
.footer__right,
.footer__divider,
.footer__version,
.footer__left p {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.discord-modern-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, .18), transparent 26%),
    linear-gradient(180deg, rgba(16, 18, 28, .96), rgba(10, 12, 18, .98));
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.discord-modern-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  column-gap: 6px;
  align-items: center;
}

.discord-modern-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(180deg, #5865f2, #404eed);
  box-shadow: 0 16px 34px rgba(88, 101, 242, .28);
}

.discord-modern-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-modern-meta strong {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  line-height: 1.15;
  color: #f5f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#discordGuildName {
  font-size: 12px;
}

.discord-modern-sub {
  font-size: 10px;
  color: #9aa7b6;
  line-height: 1.5;
}

.discord-modern-badge {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.discord-modern-badge span {
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 1px;
}

.discord-modern-badge strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #7dffae;
  font-family: "Orbitron", sans-serif;
  text-shadow: 0 0 10px rgba(60, 255, 131, .18);
}

.discord-modern-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.discord-join-btn,
.discord-open-btn {
  flex: 1 1 0;
  min-height: 48px;
}

.discord-modern-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.discord-stat-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
}

.discord-stat-box span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  color: #94a2b0;
  font-family: "Orbitron", sans-serif;
}

.discord-stat-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #edf3ff;
  word-break: break-word;
  font-family: "Orbitron", sans-serif;
}

.discord-modern-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(88, 101, 242, .08);
  border: 1px solid rgba(88, 101, 242, .16);
  color: #cfd7e7;
  line-height: 1.7;
}

.discord-modern-note i {
  color: #8ea1ff;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .discord-modern-top {
    grid-template-columns: 1fr;
  }

  .discord-modern-badge {
    width: 100%;
  }

  .discord-modern-stats {
    grid-template-columns: 1fr;
  }

  .discord-join-btn,
  .discord-open-btn {
    width: 50%;
  }
}

.discord-join-btn,
.discord-open-btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}

.discord-join-btn i,
.discord-open-btn i {
  font-size: 12px;
}

.discord-modern-badge {
  padding: 6px 10px;
  border-radius: 10px;
}

.discord-modern-badge span {
  font-size: 10px;
}

.discord-modern-badge strong {
  font-size: 14px;
}

.discord-modern-note {
  padding: 8px 10px;
  gap: 6px;
  border-radius: 10px;
  opacity: 0.8;
  /* ทำให้ไม่เด่นเกิน */
}

.discord-modern-note span {
  font-size: 11px;
}

.discord-modern-note i {
  font-size: 12px;
}

.discord-modern-icon {
  width: 42px;
  height: 42px;
  overflow: hidden;
}

.discord-modern-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}




/* ------------------------------- ปิดหน้าจอมือถือ ------------------------------- */

.mobile-loading-overlay {
  display: none;
}

@media (max-width: 860px) {

  .portal-bg,
  .topbar,
  .portal-shell,
  .footer {
    display: none !important;
  }

  .mobile-loading-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: #040507;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff3030;
    font-family: "Orbitron", sans-serif;
  }

  .mobile-loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 48, 48, 0.15);
    border-top-color: #ff3030;
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 48, 48, 0.2);
  }

  .mobile-loading-overlay p {
    font-size: 16px;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin: 0;
    animation: pulseText 1.5s ease-in-out infinite;
  }

  @keyframes spinLoader {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes pulseText {

    0%,
    100% {
      opacity: 1;
      text-shadow: 0 0 10px rgba(255, 48, 48, 0.5);
    }

    50% {
      opacity: 0.4;
      text-shadow: none;
    }
  }
}





#p-ld {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #05070b;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#p-ld.hidden {
  opacity: 0;
  visibility: hidden;
}

.p-ld-c {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-ld-lg {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: contain;
  animation: spinReverse 1.5s linear infinite;
}

@keyframes spinReverse {
  100% {
    transform: rotate(-360deg);
  }
}

.p-ld-s {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 48, 48, 0.15);
  border-top-color: #ff3030;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.p-ld-t {
  margin-top: 20px;
  color: #eef3fa;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

body.no-scroll,
html.no-scroll {
  overflow: hidden !important;
}

.sd-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sd-ov.active {
  opacity: 1;
  visibility: visible;
}

.pf-sd {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.98), rgba(7, 9, 13, 0.98));
  border-left: 1px solid rgba(255, 48, 48, 0.15);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 9991;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.pf-sd.active {
  transform: translateX(0);
}

.sd-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sd-hd h3 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #fff;
}

.cl-sd {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a2b0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.cl-sd:hover {
  background: rgba(255, 48, 48, 0.15);
  border-color: rgba(255, 48, 48, 0.3);
  color: #fff;
}

.sd-ct {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.sd-us {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 24px;
}

.sd-us img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 48, 48, 0.3);
  object-fit: cover;
}

.sd-ui strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: #fff;
}

.sd-ui span {
  display: block;
  font-size: 13px;
  color: #93a0b0;
}

.sd-gr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sd-bx {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s ease;
  color: #cfd7e5;
}

.sd-bx i {
  font-size: 24px;
  color: #ff3030;
}

.sd-bx span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sd-bx:hover {
  background: rgba(255, 48, 48, 0.08);
  border-color: rgba(255, 48, 48, 0.2);
  transform: translateY(-2px);
  color: #fff;
}