:root {
  --bg-main: #07101f;
  --bg-alt: #121f3b;
  --card-bg: rgba(15, 24, 46, 0.82);
  --text-main: #f4f8ff;
  --text-soft: #b8c6e6;
  --accent: #35f0d1;
  --accent-2: #ffb347;
  --hot: #ff6464;
  --border: rgba(160, 183, 240, 0.3);
  --shadow: 0 18px 44px rgba(3, 8, 24, 0.52);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Rajdhani", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 10% 12%, #223a70 0%, transparent 44%),
    radial-gradient(circle at 90% 8%, #543b16 0%, transparent 46%),
    linear-gradient(125deg, var(--bg-main), #050d18 55%, #121e39 100%);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.page-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.page-decoration {
  position: absolute;
  width: clamp(88px, 10vw, 150px);
  opacity: 0.12;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  animation: floatSticker 8s ease-in-out infinite;
}

.deco-a {
  top: 9rem;
  left: 2.5rem;
  transform: rotate(-10deg);
}

.deco-b {
  top: 12rem;
  right: 4rem;
  width: clamp(94px, 11vw, 165px);
  transform: rotate(8deg);
  animation-delay: -2s;
}

.deco-c {
  top: 48%;
  left: 5%;
  width: clamp(82px, 9vw, 128px);
  transform: rotate(-6deg);
  animation-delay: -1s;
}

.deco-d {
  bottom: 8rem;
  right: 6%;
  width: clamp(90px, 10vw, 142px);
  transform: rotate(11deg);
  animation-delay: -3.5s;
}

.deco-e {
  bottom: 11rem;
  left: 38%;
  width: clamp(84px, 9vw, 122px);
  transform: rotate(-14deg);
  animation-delay: -4.5s;
}

.deco-f {
  top: 22rem;
  right: 22%;
  width: clamp(86px, 8vw, 128px);
  transform: rotate(-4deg);
  animation-delay: -1.8s;
}

.deco-g {
  top: 36%;
  right: 2.5rem;
  width: clamp(76px, 7vw, 114px);
  transform: rotate(14deg);
  animation-delay: -2.8s;
}

.deco-h {
  bottom: 16rem;
  left: 13%;
  width: clamp(74px, 7vw, 108px);
  transform: rotate(6deg);
  animation-delay: -5.1s;
}

.deco-i {
  top: 64%;
  left: 47%;
  width: clamp(72px, 7vw, 102px);
  transform: rotate(-11deg);
  animation-delay: -3.2s;
}

.deco-j {
  bottom: 4rem;
  right: 24%;
  width: clamp(82px, 8vw, 120px);
  transform: rotate(9deg);
  animation-delay: -6s;
}

.bg-layer-1 {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 8px
  );
  opacity: 0.5;
}

.bg-layer-2 {
  background: radial-gradient(circle at center, rgba(53, 240, 209, 0.12), transparent 60%);
  animation: pulseBg 6s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  padding: 1rem 1.2rem;
  transition: all 0.28s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 22, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  max-width: 1220px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: rgba(10, 18, 36, 0.86);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-main);
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(46, 230, 199, 0.35));
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(46, 230, 199, 0.2), rgba(19, 164, 255, 0.25));
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 1.4rem;
}

.page-shell {
  max-width: 1220px;
  margin: 7rem auto 0;
  padding: 1.3rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 320px 1fr;
  align-items: start;
}

.top-buyers-panel {
  position: sticky;
  top: 6.8rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.top-buyers-panel h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
}

.panel-subtitle {
  color: var(--text-soft);
  margin-top: 0.35rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.top-buyers-panel ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.top-buyers-panel li {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(120deg, rgba(20, 31, 58, 0.82), rgba(20, 38, 66, 0.62));
  border-radius: 12px;
  padding: 0.6rem 0.65rem;
  border: 1px solid rgba(150, 177, 246, 0.26);
}

.buyer-rank {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-2);
  font-size: 0.85rem;
}

.buyer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.38);
  image-rendering: pixelated;
}

.top-buyers-panel small {
  color: var(--text-soft);
}

.top-buyers-panel em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.page-content {
  display: grid;
  gap: 1.3rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(10, 18, 37, 0.93), rgba(11, 26, 50, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: 1.7rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-copy h1,
.page-head h1 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.hero-copy p {
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-visual {
  height: 100%;
  min-height: 310px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: radial-gradient(circle at center, rgba(46, 230, 199, 0.23), transparent 62%);
}

.hero-visual img {
  width: min(95%, 370px);
  animation: floatImage 4.8s ease-in-out infinite;
}

.btn-primary,
.btn-outline,
.btn-discord,
.buy-btn {
  border: 0;
  border-radius: 11px;
  padding: 0.7rem 1.05rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #05231d;
  background: linear-gradient(110deg, var(--accent), #7effec);
  box-shadow: 0 10px 24px rgba(53, 240, 209, 0.38);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(161, 189, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-discord {
  width: 100%;
  color: #fff;
  background: linear-gradient(120deg, #5865f2, #7a84ff);
  gap: 0.4rem;
}

.btn-discord-invite {
  color: #fff;
  background: linear-gradient(120deg, #4752c4, #5865f2);
  border: 1px solid rgba(197, 204, 255, 0.35);
  border-radius: 11px;
  padding: 0.7rem 1rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-discord-invite:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.32);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-discord:hover,
.buy-btn:hover {
  transform: translateY(-2px);
}

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

.login-card,
.staff-lookup,
.staff-group,
.page-head,
.discord-banner,
.error-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 1.2rem;
}

.login-card h2 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.login-card p,
.page-head p,
.staff-lookup p,
.discord-banner p {
  color: var(--text-soft);
}

.login-card label {
  display: block;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

input[type="text"] {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(143, 171, 245, 0.25);
  background: rgba(7, 12, 24, 0.95);
  color: #fff;
  padding: 0.72rem;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.login-preview,
.lookup-result {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(131, 167, 243, 0.2);
  border-radius: 12px;
  background: rgba(14, 24, 46, 0.75);
  padding: 0.65rem;
}

.login-preview img,
.lookup-result img {
  width: 54px;
  height: 54px;
  border-radius: 11px;
}

.login-preview small,
.lookup-result small {
  color: var(--text-soft);
}

.mc-skin-viewer-wrap {
  margin-top: 0.9rem;
  border: 1px solid rgba(131, 167, 243, 0.22);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 20%, rgba(53, 240, 209, 0.12), rgba(14, 24, 46, 0.85));
  padding: 0.65rem;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

#mcSkinCanvas {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 12, 26, 0.2));
}

.mc-skin-viewer-wrap small {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.discord-card {
  border-color: rgba(148, 163, 255, 0.42);
  background: linear-gradient(145deg, rgba(19, 27, 60, 0.94), rgba(31, 33, 74, 0.9));
  display: grid;
  grid-template-rows: auto auto auto;
  align-self: start;
}

.discord-top-block,
.discord-bottom-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 0;
  border: 1px solid rgba(162, 176, 255, 0.28);
  border-radius: 14px;
  padding: 0.8rem;
  background: linear-gradient(140deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.04));
}

.discord-divider {
  height: 1px;
  margin: 0.75rem 0;
  background: linear-gradient(90deg, rgba(171, 183, 255, 0), rgba(171, 183, 255, 0.55), rgba(171, 183, 255, 0));
}

.discord-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-bottom: 0.7rem;
}

.discord-brand > i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5865f2, #7b86ff);
  color: #fff;
  font-size: 1.45rem;
}

.discord-brand p {
  margin-top: 0.15rem;
}

.discord-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.discord-invite-box {
  border: 1px solid rgba(165, 178, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(88, 101, 242, 0.24), rgba(88, 101, 242, 0.1));
  padding: 0.7rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.discord-invite-box i {
  color: #99a6ff;
  font-size: 1.2rem;
}

.discord-invite-box strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 0.84rem;
  line-height: 1.35;
}

.discord-invite-box small {
  color: #b9c3ff;
}

.discord-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(9, 38, 67, 0.86), rgba(21, 17, 52, 0.86));
}

.page-head {
  display: grid;
  gap: 0.4rem;
}

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

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

.blog-layout {
  display: grid;
  gap: 1rem;
}

.blog-history-layout {
  gap: 1.15rem;
}

.blog-feature,
.blog-card,
.blog-long {
  border: 1px solid rgba(160, 183, 240, 0.24);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.blog-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.blog-feature img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.blog-feature > div {
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.blog-feature h2,
.blog-long h2,
.blog-card h3 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.25;
}

.blog-feature p,
.blog-card p,
.blog-long p {
  color: var(--text-soft);
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 175, 245, 0.35);
  background: rgba(53, 240, 209, 0.12);
  color: #d5fff7;
  font-size: 0.75rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.blog-card {
  padding: 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(160, 183, 240, 0.25);
}

.blog-long {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.blog-history-hero {
  border: 1px solid rgba(160, 183, 240, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(56, 241, 210, 0.14), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(92, 141, 255, 0.18), transparent 60%),
    var(--card-bg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 320px;
}

.blog-history-copy {
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.blog-history-hero h2 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.2;
}

.blog-history-hero p {
  color: var(--text-soft);
}

.blog-history-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.blog-timeline {
  border: 1px solid rgba(160, 183, 240, 0.24);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.9rem;
  align-items: start;
  position: relative;
  padding-bottom: 0.75rem;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px solid rgba(145, 173, 244, 0.18);
}

.timeline-year {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  min-height: 34px;
  border: 1px solid rgba(147, 175, 245, 0.35);
  background: rgba(53, 240, 209, 0.14);
  color: #d8fff8;
  font-family: "Orbitron", sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.7rem;
}

.timeline-content {
  display: grid;
  gap: 0.42rem;
}

.timeline-content h3 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.25;
}

.timeline-content p {
  color: var(--text-soft);
}

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

.blog-manifesto {
  background:
    linear-gradient(140deg, rgba(12, 28, 57, 0.92), rgba(9, 16, 35, 0.94)),
    var(--card-bg);
}

.blog-manifesto h2 {
  font-family: "Orbitron", sans-serif;
}

.store-card {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(159, 184, 244, 0.3);
  border-radius: 17px;
  background: linear-gradient(155deg, rgba(14, 24, 49, 0.95), rgba(11, 19, 39, 0.92));
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card-grid .store-card::before,
.card-grid .store-card::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  background-image: url("/images/UserMineLC.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.22;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.card-grid .store-card:nth-child(odd)::before {
  top: -18px;
  right: -18px;
  transform: rotate(8deg);
}

.card-grid .store-card:nth-child(even)::after {
  bottom: -18px;
  left: -18px;
  transform: rotate(-8deg);
}

.card-grid .store-card:hover::before,
.card-grid .store-card:hover::after {
  opacity: 0.32;
  transform: translateY(-3px);
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 240, 209, 0.62);
  box-shadow: 0 22px 38px rgba(5, 13, 31, 0.58);
}

.store-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.store-card-head > img,
.store-card-head > .logo-cycler {
  width: 86px;
  height: 86px;
  min-width: 86px;
  border-radius: 16px;
  padding: 0.38rem;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(184, 206, 255, 0.45);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.26);
  filter: saturate(1.18) brightness(1.04) contrast(1.08);
}

.store-card-head > img {
  object-fit: contain;
}

.logo-cycler {
  position: relative;
  overflow: hidden;
}

.logo-cycler .logo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: coinLogoCycle 9s infinite ease-in-out;
}

.logo-cycler .logo-frame:nth-child(1) {
  animation-delay: 0s;
}

.logo-cycler .logo-frame:nth-child(2) {
  animation-delay: 3s;
}

.logo-cycler .logo-frame:nth-child(3) {
  animation-delay: 6s;
}

.store-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.22rem;
}

.store-description,
.argument {
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.store-details {
  display: grid;
}

.preview-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(136, 166, 241, 0.24);
  margin-bottom: 0.8rem;
}

.preview-box img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 498 / 276;
  object-fit: contain;
}

.store-list-block {
  margin-bottom: 0.65rem;
}

.store-list-block h4 {
  margin-bottom: 0.2rem;
  color: #fff;
}

.store-list-block ul {
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.store-list-block li {
  color: var(--text-soft);
  position: relative;
  padding-left: 0.9rem;
}

.store-list-block li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: 0;
  top: 0.55em;
  background: var(--accent);
}

.price-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.buy-btn {
  cursor: pointer;
  color: #fff;
  font-family: "Teko", sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.34), rgba(53, 240, 209, 0.36));
  border: 1px solid rgba(255, 214, 154, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 20px rgba(0, 0, 0, 0.29);
}

.buy-btn:hover {
  border-color: rgba(255, 227, 185, 0.84);
  background: linear-gradient(135deg, rgba(255, 198, 120, 0.58), rgba(53, 240, 209, 0.5));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 24px rgba(0, 0, 0, 0.34), 0 0 20px rgba(255, 179, 71, 0.28);
}

.buy-btn:active {
  transform: translateY(0);
}

.buy-btn:disabled,
.buy-btn.locked {
  cursor: not-allowed;
  opacity: 0.7;
  border-color: rgba(255, 120, 120, 0.45);
  background: linear-gradient(135deg, rgba(120, 30, 30, 0.45), rgba(80, 20, 20, 0.45));
  color: #ffd9d9;
  box-shadow: none;
}

.cart-fab {
  position: fixed;
  right: 1.3rem;
  bottom: 1.35rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(171, 198, 255, 0.36);
  background: linear-gradient(135deg, rgba(53, 240, 209, 0.95), rgba(43, 143, 255, 0.92));
  color: #03131f;
  box-shadow: 0 16px 34px rgba(1, 6, 16, 0.5);
  display: grid;
  place-items: center;
  z-index: 55;
  cursor: pointer;
}

.cart-fab i {
  font-size: 1.35rem;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: none;
  place-items: center;
  padding: 0 6px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  color: #fff;
  background: #ff5353;
  border: 1px solid rgba(255, 215, 215, 0.62);
}

.cart-count-badge.visible {
  display: grid;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(1, 5, 15, 0.56);
  backdrop-filter: blur(2px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 95vw);
  height: 100vh;
  z-index: 61;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: linear-gradient(160deg, rgba(8, 17, 34, 0.98), rgba(11, 22, 44, 0.96));
  border-left: 1px solid rgba(165, 191, 255, 0.3);
  box-shadow: -18px 0 38px rgba(0, 0, 0, 0.48);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  padding: 1rem;
  border-bottom: 1px solid rgba(154, 183, 250, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.cart-head h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(171, 198, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.cart-empty {
  color: var(--text-soft);
  border: 1px dashed rgba(173, 200, 255, 0.35);
  border-radius: 12px;
  padding: 0.9rem;
}

.cart-item {
  border: 1px solid rgba(151, 180, 248, 0.24);
  border-radius: 12px;
  background: rgba(8, 17, 34, 0.75);
  padding: 0.72rem;
  display: grid;
  grid-template-columns: 1fr 66px;
  gap: 0.65rem;
  align-items: start;
}

.cart-item-media {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  width: 66px;
  height: 66px;
  border-radius: 12px;
  border: 1px solid rgba(164, 191, 255, 0.34);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  padding: 0.28rem;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-main strong {
  display: block;
  grid-column: 1;
  font-family: "Orbitron", sans-serif;
  font-size: 1.06rem;
  line-height: 1.2;
}

.cart-item-main small {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.cart-item-meta {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.32rem;
  grid-column: 1;
}

.cart-item-meta > span {
  color: var(--accent-2);
  font-family: "Orbitron", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 10px;
  border: 1px solid rgba(155, 182, 248, 0.32);
  overflow: hidden;
}

.qty-controls button,
.qty-controls input {
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.qty-controls button {
  width: 32px;
  font-size: 1rem;
  cursor: pointer;
}

.qty-controls input {
  width: 56px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
}

.cart-remove-btn {
  width: fit-content;
  border: 1px solid rgba(255, 124, 124, 0.45);
  border-radius: 10px;
  background: rgba(255, 88, 88, 0.12);
  color: #ffd2d2;
  padding: 0.36rem 0.62rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-foot {
  border-top: 1px solid rgba(154, 183, 250, 0.24);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.cart-total-row strong {
  font-family: "Orbitron", sans-serif;
}

.cart-note {
  color: var(--text-soft);
  line-height: 1.3;
}

.cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.store-card.vip {
  border-color: rgba(111, 227, 255, 0.3);
}

.store-card.svip {
  border-color: rgba(132, 199, 255, 0.34);
}

.store-card.elite {
  border-color: rgba(255, 177, 82, 0.35);
}

.store-card.ruby {
  border-color: rgba(255, 97, 133, 0.37);
}

.store-card.lcplus {
  border-color: rgba(181, 122, 255, 0.35);
}

.rank-card-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.rank-price-from {
  color: var(--accent-2);
  font-family: "Orbitron", sans-serif;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.rank-detail-link {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.rank-detail-wrap {
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--card-bg);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.rank-detail-hero {
  border: 1px solid rgba(160, 183, 240, 0.26);
  border-radius: 15px;
  background: rgba(13, 24, 47, 0.82);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rank-detail-hero img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  border: 1px solid rgba(189, 210, 255, 0.35);
}

.rank-detail-hero h2 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 0.25rem;
}

.rank-detail-hero p {
  color: var(--text-soft);
}

.rank-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.rank-detail-card {
  border: 1px solid rgba(160, 183, 240, 0.24);
  border-radius: 14px;
  background: rgba(10, 18, 35, 0.82);
  padding: 0.9rem;
}

.rank-detail-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rank-detail-card ul {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.rank-detail-card li {
  color: var(--text-soft);
  position: relative;
  padding-left: 0.9rem;
}

.rank-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.rank-detail-prices .price-group {
  margin-top: 0;
}

.rank-back-link {
  justify-self: flex-start;
}

.rank-coin-modes {
  display: grid;
  gap: 0.8rem;
}

.rank-coin-modes > h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.rank-coin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.rank-coin-card {
  display: grid;
  gap: 0.7rem;
}

.rank-coin-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rank-coin-head img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(189, 210, 255, 0.32);
  padding: 0.25rem;
}

.rank-coin-head h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
}

.rank-coin-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.rank-coin-columns h5 {
  font-size: 0.9rem;
  color: var(--accent-2);
  margin-bottom: 0.3rem;
}

.rank-coin-columns ul {
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.rank-coin-columns li {
  color: var(--text-soft);
  position: relative;
  padding-left: 0.9rem;
}

.rank-coin-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.crate-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.crate-mode-btn {
  border: 1px solid rgba(161, 189, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.crate-mode-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 154, 0.5);
}

.crate-mode-btn.active {
  color: #05231d;
  border-color: rgba(53, 240, 209, 0.65);
  background: linear-gradient(110deg, var(--accent), #7effec);
}

.staff-groups {
  display: grid;
  gap: 1rem;
}

.group-title {
  margin-bottom: 0.8rem;
  font-family: "Orbitron", sans-serif;
}

.group-title.owner {
  color: #ff5d5d;
}

.group-title.admin {
  color: #49abff;
}

.group-title.mod {
  color: #b07aff;
}

.group-title.helper {
  color: #ff87c8;
}

.group-title.developers {
  color: #4ecb6e;
}

.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.staff-card {
  flex: 1 1 calc(33.333% - 0.7rem);
  min-width: 250px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 0.65rem;
  border-radius: 13px;
  padding: 0.7rem;
  border: 1px solid rgba(127, 158, 227, 0.25);
  background: rgba(8, 16, 33, 0.8);
  min-height: 162px;
}

.staff-skin-wrap {
  width: 110px;
  height: 146px;
  border-radius: 10px;
  border: 1px solid rgba(150, 177, 246, 0.25);
  background: linear-gradient(180deg, rgba(20, 38, 66, 0.65), rgba(8, 16, 33, 0.8));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.staff-skin-canvas {
  width: 110px;
  height: 146px;
  display: block;
  touch-action: none;
  cursor: grab;
}

.staff-skin-canvas:active {
  cursor: grabbing;
}

.staff-avatar-fallback {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
}

.staff-card p {
  color: var(--text-soft);
}

.staff-card.owner {
  border-left: 4px solid #ff5d5d;
}

.staff-card.admin {
  border-left: 4px solid #49abff;
}

.staff-card.mod {
  border-left: 4px solid #b07aff;
}

.staff-card.helper {
  border-left: 4px solid #ff87c8;
}

.staff-card.builder {
  border-left: 4px solid #f1da08;
}

.staff-card.green, .staff-card.developers {
  border-left: 4px solid #4ecb6e;
}

.site-footer {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(139, 167, 237, 0.2);
  background: rgba(4, 9, 20, 0.8);
  padding: 2rem 1rem;
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1rem;
}

.site-footer h4 {
  margin-bottom: 0.5rem;
  font-family: "Orbitron", sans-serif;
}

.site-footer p,
.footer-link {
  color: var(--text-soft);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(145, 172, 244, 0.28);
  background: rgba(17, 30, 57, 0.7);
}

.theme-credit {
  margin-top: 0.6rem;
}

.error-wrap {
  text-align: center;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  padding: 2.2rem;
}

.error-wrap h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseBg {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
}

@keyframes floatSticker {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes coinLogoCycle {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  8% {
    opacity: 1;
    transform: scale(1);
  }
  28% {
    opacity: 1;
    transform: scale(1);
  }
  36% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@media (max-width: 1024px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .top-buyers-panel {
    position: static;
    order: 2;
  }

  .page-content {
    order: 1;
  }

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

  .login-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-detail-grid {
    grid-template-columns: 1fr;
  }

  .rank-coin-grid {
    grid-template-columns: 1fr;
  }

  .blog-feature,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-history-hero,
  .timeline-item,
  .blog-history-grid {
    grid-template-columns: 1fr;
  }

  .timeline-year {
    justify-self: start;
  }

  .staff-card {
    flex-basis: calc(50% - 0.7rem);
  }

  .cart-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 780px) {
  .page-decoration {
    opacity: 0.08;
  }

  .deco-c,
  .deco-e,
  .deco-h,
  .deco-i,
  .deco-j {
    display: none;
  }

  .card-grid .store-card::before,
  .card-grid .store-card::after {
    width: 42px;
    height: 42px;
    opacity: 0.15;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    width: min(280px, 90vw);
    background: rgba(9, 16, 31, 0.96);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-copy,
  .staff-group,
  .page-head,
  .login-card {
    padding: 1rem;
  }

  .store-card-head > img,
  .store-card-head > .logo-cycler {
    width: 74px;
    height: 74px;
    min-width: 74px;
  }

  .discord-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .discord-actions {
    grid-template-columns: 1fr;
  }

  .staff-card {
    flex-basis: 100%;
    min-width: 0;
  }

  .discord-card {
    grid-template-rows: auto auto auto;
  }

}
