@charset "UTF-8";

/* === base.css === */
@font-face {
  font-family: 'Lalezar';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Lalezar-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
}

:root {
  --bg-deep: #07070a;
  --bg-surface: #0e0e15;
  --bg-card: #13131c;
  --bg-card-hover: #1a1a27;
  --bg-glass: rgba(14, 14, 21, 0.85);
  
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-light: rgba(168, 85, 247, 0.22);
  --border-neon: #9333ea;
  --border-glow: #c084fc;
  
  --purple-primary: #8b5cf6;
  --purple-neon: #a855f7;
  --pink-neon: #ec4899;
  --violet-deep: #581c87;
  --cyan-accent: #06b6d4;
  --emerald-live: #22c55e;
  --rose-bad: #f43f5e;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(147, 51, 234, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(168, 85, 247, 0.25);
  --shadow-neon: 0 0 20px rgba(168, 85, 247, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --font-display: 'Lalezar', 'Vazirmatn', system-ui, sans-serif;
  --font-body: 'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
}

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

/* Custom Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #a855f7 #07070a;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #07070a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  border-radius: 999px;
  border: 2px solid #07070a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8b5cf6 0%, #c084fc 50%, #f472b6 100%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background-color: var(--bg-deep);
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: radial-gradient(ellipse at 50% -5%, rgba(139, 92, 246, 0.12) 0%, rgba(12, 12, 18, 0.96) 45%, #08080c 100%);
  background-color: #08080c;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100vw);
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  top: 600px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100vw);
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, .brand-text {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.glow-hover {
  display: inline-block;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.2s ease;
}

.glow-hover:hover {
  color: #f472b6 !important;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.7), 0 0 32px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

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


/* === layout.css === */
/* VantaMC - Layout: Header, Drawer, Footer & Auth Modal */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.brand:hover .brand-logo { transform: scale(1.08) rotate(3deg); }

.brand-title {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(168, 85, 247, 0.6), 0 0 24px rgba(236, 72, 153, 0.35);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 10, 44, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 999px;
  padding: 5px 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(168, 85, 247, 0.08);
  flex-shrink: 0;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.18);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35) 0%, rgba(168, 85, 247, 0.35) 100%);
  border: 1px solid rgba(236, 72, 153, 0.45);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.25);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(22, 10, 44, 0.75);
  border: 1.5px solid rgba(168, 85, 247, 0.3);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.mobile-nav-toggle:hover {
  border-color: var(--pink-neon);
  color: var(--pink-neon);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}

.btn-header-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-neon);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.2);
  transition: all 0.25s ease;
}

.btn-header-copy:hover {
  background: var(--purple-neon);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

footer.site-footer {
  background: #07070a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 35px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--purple-neon);
  padding-right: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(42, 20, 78, 0.4);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.45));
  flex-shrink: 0;
}

.footer-brand-title h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ip-code {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--pink-neon);
  direction: ltr;
  display: inline-block;
  background: rgba(14, 6, 28, 0.8);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-dim);
}

.btn-header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-header-user:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
  border-color: var(--pink-neon);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.header-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  image-rendering: pixelated;
  border: 1.5px solid var(--purple-neon);
  flex-shrink: 0;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-card {
  width: 100%;
  max-width: 440px;
  background: rgba(14, 14, 22, 0.98);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.2);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal-backdrop.open .auth-modal-card {
  transform: scale(1);
}

.auth-modal-head {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-modal-tabs {
  display: flex;
  width: 100%;
  gap: 6px;
  background: rgba(10, 4, 22, 0.7);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab-btn:hover { color: #fff; }

.auth-tab-btn.active {
  background: linear-gradient(135deg, var(--pink-neon), #be185d);
  color: #fff;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.35);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  z-index: 10;
}

.auth-modal-close:hover {
  color: #fff;
  background: rgba(236, 72, 153, 0.25);
  border-color: rgba(236, 72, 153, 0.5);
  transform: rotate(90deg);
}

.auth-modal-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-modal-footer a {
  color: var(--pink-neon);
  font-weight: 700;
  cursor: pointer;
}

.auth-modal-footer a:hover { text-decoration: underline; }

@media (max-width: 400px) {
  .brand-title {
    font-size: 19px;
  }
  .btn-header-user {
    padding: 6px 10px;
    font-size: 11.5px;
    gap: 4px;
  }
}

@media (max-width: 340px) {
  .btn-header-user .btn-user-text {
    display: none;
  }
  .btn-header-user {
    padding: 8px;
    border-radius: 50%;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(14, 6, 30, 0.85);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--purple-neon);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-img-wrap {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-captcha-refresh {
  background: rgba(23, 11, 48, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-captcha-refresh:hover { color: #fff; border-color: var(--pink-neon); }

/* === components.css === */
/* ============================================================

   VantaMC - Shared Components: Modals, Toasts & Chat Bubbles

   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 1, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-surface);
  border: 2px solid var(--border-neon);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.btn-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background: var(--rose-bad);
  border-color: var(--rose-bad);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-neon);
  margin-bottom: 12px;
}

.modal-body {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.modal-body h4 {
  font-size: 20px;
  color: #ffffff;
  margin: 20px 0 10px;
}

.modal-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1.5px solid var(--border-dim);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.toast-notice {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 7, 36, 0.95);
  border: 1.5px solid var(--border-neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.4);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.chat-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  max-height: 480px;
  overflow-y: auto;
  padding: 16px;
  background: rgba(10, 4, 22, 0.85);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 82%;
  line-height: 1.7;
  font-size: 13.5px;
}

.bubble-user, .bubble-player {
  align-self: flex-start;
  background: rgba(23, 11, 48, 0.9);
  border: 1px solid var(--border-light);
}

.bubble-admin {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.22) 100%);
  border: 1px solid rgba(236, 72, 153, 0.5);
}

.bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.bubble-author {
  font-weight: 700;
  color: #fff;
}
/* Alert boxes */
.alert-box {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.alert-box svg {
  flex-shrink: 0;
}
.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.alert-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

/* === home.css === */
/* ============================================================

   VantaMC - Home Page & Hero Section

   ============================================================ */

.hero {
  padding: 70px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid var(--border-neon);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.25);
}

.badge-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink-neon);
  box-shadow: 0 0 10px var(--pink-neon);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

.badge-text {
  font-size: 14px;
  font-weight: 700;
  color: #fdf2f8;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 94px);
  color: #ffffff;
  text-shadow: -4px 4px 0 var(--violet-deep), 0 0 30px rgba(147, 51, 234, 0.4);
  margin-bottom: 14px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 30px;
  line-height: 1.85;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.ip-box {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-surface);
  border: 2px solid var(--pink-neon);
  border-radius: var(--radius-md);
  box-shadow: -6px 6px 0 var(--border-light), 0 0 25px rgba(236, 72, 153, 0.25);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 22px;
}

.ip-box:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: -6px 6px 0 var(--purple-neon), 0 0 35px rgba(236, 72, 153, 0.4);
}

.ip-text {
  direction: ltr;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: rgba(18, 18, 26, 0.95);
  letter-spacing: 0.5px;
  user-select: all;
}

.btn-copy-ip {
  background: linear-gradient(135deg, var(--pink-neon), #db2777);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  border: none;
  padding: 0 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-copy-ip:hover {
  background: linear-gradient(135deg, #f472b6, #ec4899);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.3);
}

.btn-copy-ip.copied {
  background: linear-gradient(135deg, #10b981, #059669);
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 26, 0.85);
  border: 1.5px solid var(--border-dim);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.live-status-pill.loading {
  border-color: var(--purple-neon);
}

.live-status-pill.online {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(16, 38, 24, 0.6);
}

.live-status-pill.offline {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(38, 16, 22, 0.6);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
  position: relative;
}

.live-status-pill.loading .status-dot {
  background: var(--purple-neon);
  box-shadow: 0 0 12px var(--purple-neon);
  animation: pulse-dot 1.2s infinite ease-in-out;
}

.live-status-pill.online .status-dot {
  background: var(--emerald-live);
  box-shadow: 0 0 10px var(--emerald-live);
}

.live-status-pill.online .status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--emerald-live);
  animation: radar-wave 2s infinite ease-out;
}

.live-status-pill.offline .status-dot {
  background: var(--rose-bad);
  box-shadow: 0 0 10px var(--rose-bad);
}

@keyframes radar-wave {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.live-status-pill strong {
  color: #ffffff;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pink-neon) 0%, #db2777 50%, var(--purple-neon) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f472b6 0%, var(--pink-neon) 50%, #c084fc 100%);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(18, 18, 26, 0.85);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  color: #f1f5f9;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--pink-neon);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);
}

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

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.art-glow-backdrop {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: glow-pulse 4s infinite alternate ease-in-out;
}

@keyframes glow-pulse {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1.15); opacity: 1; }
}

.hero-logo-img {
  width: min(100%, 340px);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(147, 51, 234, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

section {
  padding: 75px 0;
  border-top: 1.5px solid var(--border-dim);
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pink-neon);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
}

.section-title {
  font-size: clamp(34px, 4.5vw, 48px);
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(168, 85, 247, 0.4);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
  margin: 0 auto;
}

/* === gamemodes.css === */
/* ============================================================

   VantaMC - Gamemodes Showcase

   ============================================================ */

.gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.gamemode-card {
  background: var(--bg-card);
  border: 2px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gamemode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--border-neon), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gamemode-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(168, 85, 247, 0.25);
  background: var(--bg-card-hover);
}

.gamemode-card:hover::before {
  opacity: 1;
}

.gamemode-card.featured {
  border-color: var(--pink-neon);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.2);
}



.gamemode-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(88, 28, 135, 0.3);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gamemode-card:hover .gamemode-icon-wrap {
  transform: scale(1.15) rotate(6deg);
  border-color: var(--purple-neon);
}

.gamemode-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.gamemode-title {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 6px;
}

.gamemode-en {
  font-size: 13px;
  color: var(--text-dim);
  direction: ltr;
  text-align: right;
  font-family: ui-monospace, Consolas, monospace;
  margin-bottom: 12px;
}

.gamemode-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.gamemode-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
  font-size: 13px;
  color: var(--text-secondary);
}

.gamemode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-neon);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease, gap 0.2s ease;
}

.gamemode-card:hover .gamemode-btn {
  color: #ffffff;
  gap: 10px;
}

.lifesteal-banner {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.45) 0%, rgba(18, 18, 26, 0.95) 100%);
  border: 2px solid var(--pink-neon);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: -8px 8px 0 var(--border-light), 0 0 35px rgba(236, 72, 153, 0.2);
}

.lifesteal-banner h3 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.4);
}

.lifesteal-banner p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.banner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-box {
  background: rgba(14, 6, 28, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.stat-box .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: #ffffff;
  display: block;
}

.stat-box .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.item-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.item-card.banned {
  border-right: 5px solid var(--rose-bad);
}

.item-card.limited {
  border-right: 5px solid #f59e0b;
}

.item-card.custom {
  border-right: 5px solid var(--purple-neon);
}

.item-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 85, 247, 0.25);
}

.item-img-wrap {
  width: 44px;
  height: 44px;
  background: rgba(10, 4, 20, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.7);
}

.item-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 0.25s ease;
}

.item-card:hover .item-img {
  transform: scale(1.2) rotate(4deg);
}

.item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.item-name-fa {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-name-en {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--text-muted);
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-badge-note {
  font-size: 11px;
  font-weight: 700;
  color: #fca5a5;
  margin-top: 2px;
}

.callout-box {
  background: rgba(18, 18, 26, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}

.callout-box:hover {
  border-color: var(--purple-neon);
}

.callout-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-content h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 4px;
}

.callout-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.callout-content strong {
  color: var(--pink-neon);
}

.gamemode-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  color: #ffffff;
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(88, 28, 135, 0.45));
  border-color: var(--pink-neon);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35);
}

.tab-btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.gamemode-panel {
  display: none;
}

.gamemode-panel.active {
  display: block;
  opacity: 1;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.recipe-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  background: rgba(14, 6, 28, 0.9);
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.recipe-image-container:hover {
  border-color: var(--pink-neon);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 35px rgba(236, 72, 153, 0.35);
  transform: translateY(-2px);
}

.recipe-img-main {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.recipe-zoom-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(14, 6, 28, 0.9);
  border: 1.5px solid var(--border-neon);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.recipe-modal-window {
  max-width: 95vw;
  width: 900px;
  padding: 16px;
  background: rgba(12, 5, 24, 0.98);
  border: 2px solid var(--border-neon);
}

.lightbox-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  overflow-y: auto;
  background: rgba(10, 8, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--border-neon);
  z-index: 999;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer-inner {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
  }
  .hero-grid {
    gap: 36px;
  }
  .lifesteal-banner {
    gap: 28px;
  }
}

/* === recipes.css === */
/* ============================================================

   VantaMC - Recipes Showcase

   ============================================================ */

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.recipe-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.recipe-card:hover {
  border-color: var(--purple-neon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.recipe-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.recipe-img-box {
  width: 50px;
  height: 50px;
  background: rgba(10, 4, 20, 0.9);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-img-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.recipe-title-group h4 {
  font-size: 20px;
  color: #ffffff;
}

.recipe-title-group span {
  font-size: 13px;
  color: var(--text-muted);
}

.recipe-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.plugin-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-neon);
  border-radius: var(--radius-sm);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.plugin-tag:hover {
  background: var(--purple-neon);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* === rules.css === */
/* ============================================================

   VantaMC - Server Rules Section

   ============================================================ */

.rules-page-section {
  padding: 40px 0 70px;
}

.rules-unified-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 5vw, 44px);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(168, 85, 247, 0.15);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.rules-unified-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--pink-neon), var(--purple-neon), transparent);
}

.rules-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(18px, 3.5vw, 26px);
  border-bottom: 1px solid var(--border-dim);
}

.rules-card-header h1 {
  font-size: clamp(28px, 5.5vw, 48px);
  color: #ffffff;
  margin: 10px 0 12px;
}

.rules-header-desc {
  color: var(--text-secondary);
  font-size: clamp(14px, 3vw, 16.5px);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.rules-section-block {
  margin-bottom: 16px;
}

.rules-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.block-number-badge {
  background: linear-gradient(135deg, var(--purple-neon), var(--violet-deep));
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.35);
}

.block-number-badge.secondary {
  background: linear-gradient(135deg, var(--pink-neon), #9d174d);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

.block-title-text h2 {
  font-size: clamp(20px, 3.8vw, 26px);
  color: #ffffff;
  margin-bottom: 4px;
}

.block-title-text p {
  color: var(--text-muted);
  font-size: clamp(12px, 2.7vw, 14px);
}

.rules-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2.5vw, 18px);
  padding: clamp(13px, 2.5vw, 18px);
  background: rgba(14, 6, 28, 0.65);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  border-right: 4px solid var(--purple-neon);
  transition: all 0.25s ease;
}

.rule-row:hover {
  background: rgba(28, 13, 56, 0.85);
  border-color: var(--border-neon);
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rule-row.severe {
  border-right-color: var(--rose-bad);
}

.rule-index {
  width: clamp(30px, 6.5vw, 38px);
  height: clamp(30px, 6.5vw, 38px);
  border-radius: var(--radius-sm);
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--purple-neon);
  flex-shrink: 0;
}

.rule-row.severe .rule-index {
  background: rgba(159, 18, 57, 0.3);
  border-color: rgba(244, 63, 94, 0.5);
  color: var(--rose-bad);
}

.rule-index.icon-index {
  background: rgba(14, 6, 28, 0.85);
}

.rule-mc-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.rule-content {
  flex: 1;
  min-width: 0;
}

.rule-title-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.rule-title-line strong {
  font-size: clamp(14px, 3vw, 16px);
  color: #ffffff;
  font-weight: 700;
}

.severity-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: var(--rose-bad);
  white-space: nowrap;
}

.rule-content p {
  color: var(--text-secondary);
  font-size: clamp(13px, 2.7vw, 14.5px);
  line-height: 1.75;
}

.rules-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-neon), var(--pink-neon), transparent);
  margin: clamp(26px, 5vw, 40px) 0;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.35);
}

.rules-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(22px, 4vw, 32px);
  padding-top: clamp(18px, 3.5vw, 26px);
  border-top: 1px solid var(--border-dim);
}

.footer-cta-text h3 {
  font-size: clamp(19px, 3.8vw, 24px);
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-cta-text p {
  color: var(--text-muted);
  font-size: clamp(13px, 2.7vw, 14.5px);
  max-width: 520px;
}

/* === staff.css === */
/* ============================================================

   VantaMC - Staff Team Showcase (Self-Balancing Grid)

   ============================================================ */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1140px;
  margin: 28px auto 0;
  gap: 24px;
  justify-content: center;
}

.staff-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 18, 26, 0.95) 0%, rgba(13, 5, 28, 0.98) 100%);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  align-self: start;
}

.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink-neon), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.staff-card:hover,
.staff-card.active,
.staff-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(236, 72, 153, 0.32);
}

.staff-card:hover::before,
.staff-card.active::before,
.staff-card:focus-visible::before {
  opacity: 1;
}

.staff-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.staff-skin-container {
  position: relative;
  width: 160px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: height;
}

.staff-card:hover .staff-skin-container,
.staff-card.active .staff-skin-container {
  height: 275px;
}

.staff-skin-glow {
  position: absolute;
  width: 140px;
  height: 125px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(168, 85, 247, 0.12) 60%, transparent 75%);
  filter: blur(14px);
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease, opacity 0.4s ease, border-radius 0.45s ease;
  pointer-events: none;
}

.staff-card:hover .staff-skin-glow,
.staff-card.active .staff-skin-glow {
  height: 265px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.42) 0%, rgba(168, 85, 247, 0.22) 60%, transparent 78%);
  transform: translateX(-50%) scale(1.08);
}

.staff-head-view {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-head-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
  animation: staffHeadBob 3.5s ease-in-out infinite alternate;
}

@keyframes staffHeadBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.staff-card:hover .staff-head-view,
.staff-card.active .staff-head-view {
  opacity: 0;
  transform: translateX(-50%) translateY(-26px) scale(0.8);
  pointer-events: none;
}

.staff-body-view {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(-52px) scale(0.9);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease, visibility 0.48s;
  will-change: transform, opacity;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-body-img {
  width: 114px;
  height: 256px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(236, 72, 153, 0.35));
}

.staff-card:hover .staff-body-view,
.staff-card.active .staff-body-view {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.staff-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-username {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  margin: 0;
}

.staff-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 72, 153, 0.14);
  border: 1.5px solid rgba(236, 72, 153, 0.5);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.2);
}

.staff-card.dev-card::before {
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.staff-card.dev-card:hover,
.staff-card.dev-card.active,
.staff-card.dev-card:focus-visible {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(56, 189, 248, 0.32);
}

.staff-card.dev-card .staff-skin-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(99, 102, 241, 0.12) 60%, transparent 75%);
}

.staff-card.dev-card:hover .staff-skin-glow,
.staff-card.dev-card.active .staff-skin-glow {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.38) 0%, rgba(99, 102, 241, 0.2) 60%, transparent 78%);
}

.staff-card.dev-card .staff-body-img {
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
}

.staff-rank-badge.dev-badge {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.rank-dev-svg {
  color: #38bdf8;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.8));
}

.rank-crown-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.rank-title {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.staff-role-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.staff-touch-hint {
  display: none;
  font-size: 12px;
  color: var(--pink-neon);
  opacity: 0.75;
  margin-top: 4px;
  transition: opacity 0.3s ease;
}

@media (hover: none) {
  .staff-touch-hint {
    display: inline-block;
  }
  .staff-card.active .staff-touch-hint {
    opacity: 0.4;
  }
}

.staff-page-section {
  padding: 40px 0 80px;
}

.staff-head {
  margin-bottom: 44px;
}

.staff-desc {
  max-width: 680px;
  margin: 0 auto;
}

.title-en-sub {
  display: inline-block;
  font-size: 0.82em;
  opacity: 0.88;
}

.staff-callout-box {
  max-width: 980px;
  margin: 48px auto 0;
  background: linear-gradient(135deg, rgba(30, 16, 60, 0.85) 0%, rgba(17, 8, 36, 0.95) 100%);
  border: 1.5px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(88, 101, 242, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.staff-callout-box:hover {
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(88, 101, 242, 0.25);
}

.staff-callout-unified-content {
  flex: 1;
  min-width: 0;
}

.staff-callout-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.staff-discord-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #8591f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.staff-callout-unified-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.staff-callout-unified-content p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

.staff-discord-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.staff-discord-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(88, 101, 242, 0.65);
  filter: brightness(1.08);
  color: #ffffff;
}

.staff-rank-badge.admin-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.staff-rank-badge.mod-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

@media (max-width: 820px) {
  .staff-callout-box {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .staff-callout-header-row {
    justify-content: center;
  }
  .staff-discord-action-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .staff-page-section {
    padding: 24px 0 60px;
  }
  .staff-head {
    margin-bottom: 28px;
  }
  .staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 500px;
    margin: 20px auto 0;
  }
  .title-en-sub {
    display: block;
    font-size: 0.72em;
    margin-top: 4px;
  }
}
/* Manager Card & Badge */
.staff-card.manager-card::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.staff-card.manager-card:hover,
.staff-card.manager-card.active,
.staff-card.manager-card:focus-visible {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(245, 158, 11, 0.32);
}

.staff-card.manager-card .staff-skin-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.12) 60%, transparent 75%);
}

.staff-card.manager-card:hover .staff-skin-glow,
.staff-card.manager-card.active .staff-skin-glow {
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.38) 0%, rgba(217, 119, 6, 0.2) 60%, transparent 78%);
}

.staff-card.manager-card .staff-body-img {
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.35));
}

.staff-rank-badge.manager-badge {
  background: rgba(245, 158, 11, 0.14);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.rank-manager-svg {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.8));
}


/* === store-matrix.css === */
/* ============================================================

   VantaMC - Store Matrix Table Comparison

   ============================================================ */

.store-page-section {
  padding: 40px 0 80px;
}

.store-head {
  margin-bottom: 30px;
}

.store-desc {
  max-width: 720px;
  margin: 0 auto;
}

.store-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.trust-item:hover {
  border-color: var(--pink-neon);
  color: #fff;
  transform: translateY(-2px);
}

.trust-item svg {
  color: var(--pink-neon);
  flex-shrink: 0;
}

.store-view-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.store-view-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 7, 34, 0.95);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.view-toggle-btn:hover {
  color: #fff;
}

.view-toggle-btn.active {
  background: linear-gradient(135deg, var(--purple-neon), var(--purple-primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.45);
}

.store-matrix-wrapper {
  background: rgba(16, 7, 34, 0.85);
  border: 1.5px solid var(--border-dim);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 60px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.matrix-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rank-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  text-align: right;
}

.matrix-head-row th {
  padding: 28px 16px 24px;
  vertical-align: top;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.matrix-th-feature {
  width: 250px;
  min-width: 230px;
  background: rgba(16, 7, 34, 0.98);
  border-left: 1.5px solid var(--border-dim);
  position: sticky;
  right: 0;
  z-index: 4;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
}

.th-feature-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
}

.th-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
}

.th-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.matrix-th-rank {
  width: 210px;
  min-width: 200px;
  text-align: center;
  background: rgba(18, 18, 26, 0.5);
  border-left: 1px solid var(--border-dim);
  transition: background 0.3s ease;
}

.matrix-th-rank:last-child {
  border-left: none;
}

.matrix-th-rank.is-featured-col {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.12) 0%, rgba(18, 18, 26, 0.65) 100%);
  border-right: 1.5px solid rgba(236, 72, 153, 0.55);
  border-left: 1.5px solid rgba(236, 72, 153, 0.55);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.18);
}

.featured-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ec4899, #d946ef);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.rank-head-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rank-emblem-wrap {
  width: 76px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.35s ease;
}

.matrix-th-rank:hover .rank-emblem-wrap {
  transform: translateY(-4px) scale(1.06);
}

.rank-emblem-img {
  width: 76px;
  height: 82px;
  object-fit: contain;
}

.rank-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

.rank-subtext {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 170px;
  min-height: 36px;
}

.rank-price-box {
  margin: 6px 0 10px;
}

.rank-price-amount {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #ffd1ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.btn-rank-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1.5px solid var(--pink-neon);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.22);
}

.btn-rank-buy:hover {
  background: linear-gradient(135deg, var(--pink-neon), #db2777);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
  transform: translateY(-2px);
}

.btn-rank-buy.coming-soon {
  border-color: rgba(236, 72, 153, 0.65);
}

.matrix-row {
  transition: background 0.2s ease;
}

.matrix-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.matrix-row:hover {
  background: rgba(168, 85, 247, 0.07);
}

.matrix-td-feature {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dim);
  border-left: 1.5px solid var(--border-dim);
  background: rgba(16, 7, 34, 0.98);
  position: sticky;
  right: 0;
  z-index: 3;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
}

.feature-cell-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-name {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.feature-category-tag {
  font-size: 11.5px;
  color: var(--text-muted);
}

.matrix-td-val {
  padding: 16px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-dim);
  border-left: 1px solid var(--border-dim);
}

.matrix-td-val:last-child {
  border-left: none;
}

.matrix-td-val.is-featured-col {
  background: rgba(236, 72, 153, 0.04);
  border-right: 1.5px solid rgba(236, 72, 153, 0.4);
  border-left: 1.5px solid rgba(236, 72, 153, 0.4);
}

.matrix-row:hover .matrix-td-val.is-featured-col {
  background: rgba(236, 72, 153, 0.09);
}

.cell-check, .cell-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cell-check svg {
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.55));
}

.cell-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  background: rgba(18, 18, 26, 0.8);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.matrix-foot-row td {
  padding: 22px 16px;
  text-align: center;
  border-top: 1.5px solid var(--border-light);
  background: rgba(16, 7, 34, 0.98);
}

.matrix-foot-row .matrix-td-feature {
  border-left: 1.5px solid var(--border-dim);
  position: sticky;
  right: 0;
  z-index: 4;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
}

.foot-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-rank-buy.foot-btn {
  padding: 6px 16px;
  font-size: 13px;
}


/* === store-duration.css === */
/* ============================================================
   VantaMC - Store Duration Selectors (Card Pill & Global Table Bar)
   ============================================================ */

/* Card Duration Selector Box */
.card-duration-wrap {
  width: 100%;
  margin: 12px 0 14px;
  background: rgba(10, 4, 22, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  padding: 8px 8px 10px;
}

.card-duration-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.card-duration-label svg {
  color: var(--rank-color, var(--pink-neon));
  filter: drop-shadow(0 0 6px var(--rank-glow, rgba(236, 72, 153, 0.4)));
}

.card-duration-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: rgba(6, 2, 14, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 10px;
  padding: 3px;
}

.duration-pill-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}

.duration-pill-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.duration-pill-btn.active {
  background: var(--rank-color, var(--pink-neon));
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--rank-glow, rgba(236, 72, 153, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.duration-pill-btn .pill-time {
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
}

.duration-pill-btn .pill-tag {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
  line-height: 1;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.duration-pill-btn.active .pill-tag {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.duration-pill-btn .pill-tag.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.duration-pill-btn.active .pill-tag.gold {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Global Table Duration Control Bar */
.table-duration-bar {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(24, 10, 48, 0.95) 0%, rgba(13, 5, 28, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 16px;
  padding: 8px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
  flex-wrap: wrap;
}

.table-dur-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.table-dur-title svg {
  color: var(--pink-neon);
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.table-dur-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tbl-dur-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 700;
  border: 1.5px solid rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  background: rgba(10, 4, 20, 0.7);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.22s ease;
}

.tbl-dur-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.tbl-dur-btn.active {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tbl-dur-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.tbl-dur-badge.gold {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.tbl-dur-btn.active .tbl-dur-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
  .table-duration-bar {
    flex-direction: column;
    padding: 12px;
    width: 100%;
  }
  .table-dur-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .tbl-dur-btn {
    justify-content: center;
  }
}


/* === store.css === */
/* ============================================================

   VantaMC - Modern Symmetrical Rank Cards (Self-Balancing Grid)

   ============================================================ */

.store-cards-wrapper {
  display: block;
  margin-bottom: 60px;
}

.store-cards-wrapper.active {
  display: block;
}

.store-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
}

/* Base Rank Card */
.store-rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(18, 18, 26, 0.95) 0%, rgba(13, 5, 28, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.22);
  border-radius: 20px;
  padding: 30px 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: visible;
}

/* Subtle Top Accent Glow Line */
.store-rank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rank-color, var(--pink-neon)), transparent);
  border-radius: 2px;
  opacity: 0.8;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.store-rank-card:hover {
  transform: translateY(-8px);
  border-color: var(--rank-color, var(--pink-neon));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px var(--rank-glow, rgba(236, 72, 153, 0.35));
}

.store-rank-card:hover::before {
  opacity: 1;
  height: 3px;
}

/* Featured Card (Floating Pill Keeps Top Alignment 100% Symmetrical) */
.store-rank-card.is-featured {
  border-color: rgba(236, 72, 153, 0.6);
  background: linear-gradient(180deg, rgba(32, 13, 62, 0.98) 0%, rgba(15, 6, 32, 0.98) 100%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 72, 153, 0.25);
}

.card-featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.55);
  white-space: nowrap;
  letter-spacing: 0.3px;
  z-index: 2;
}

/* Card Header Section */
.card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

/* Emblem with Ambient Glow Backdrop */
.card-emblem {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.emblem-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--rank-glow, rgba(236, 72, 153, 0.35)) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.8;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-rank-card:hover .emblem-aura {
  transform: scale(1.2);
  opacity: 1;
}

.emblem-img {
  position: relative;
  width: 86px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.store-rank-card:hover .emblem-img {
  transform: scale(1.06) rotate(1deg);
}

/* Tag & Titles */
.card-tag-row {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.card-tag-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--rank-color, var(--pink-neon));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rank-color, rgba(168, 85, 247, 0.4));
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--rank-glow, rgba(236, 72, 153, 0.2));
}

.card-rank-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.card-rank-subtitle {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 3px;
}

/* Uniform Description */
.card-rank-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 10px 0 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Price Box */
.card-price-box {
  width: 100%;
  background: rgba(10, 4, 22, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.card-price-box .price-val {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 30%, #fce7f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-price-box .price-type {
  font-size: 11px;
  color: var(--text-muted);
}

/* Perks Section (Self-Balancing) */
.card-perks-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  padding-bottom: 20px;
}

.perks-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.perks-heading {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-muted);
}

.card-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.perk-item.is-disabled {
  opacity: 0.35;
}

.perk-item.is-disabled .perk-icon-circle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.perk-item.is-disabled .perk-name {
  color: #94a3b8;
}

.perk-icon-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rank-color, var(--pink-neon));
  color: var(--rank-color, var(--pink-neon));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--rank-glow, rgba(236, 72, 153, 0.2));
}

.perk-name {
  flex: 1;
  word-break: break-word;
}

.perk-badge {
  margin-right: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--rank-color, #f472b6);
  white-space: nowrap;
}

/* Footer Action (Strictly Pinned to Bottom!) */
.card-action-wrap {
  margin-top: auto;
  padding-top: 10px;
}

.store-rank-card .card-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid var(--rank-color, var(--pink-neon));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.store-rank-card .card-btn:hover {
  background: var(--rank-color, var(--pink-neon));
  color: #fff;
  box-shadow: 0 8px 24px var(--rank-glow, rgba(236, 72, 153, 0.4));
  transform: translateY(-2px);
}

/* Perks Guide Section */
.perks-guide-container {
  margin-top: 40px;
}

.perks-guide-head {
  margin-bottom: 34px;
}

.perks-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}

.guide-card {
  background: rgba(18, 18, 26, 0.7);
  border: 1.5px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-neon);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.2);
}

.guide-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--purple-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.guide-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.guide-card code {
  background: rgba(236, 72, 153, 0.18);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #ffd1ec;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, Consolas, monospace;
}

.store-callout {
  margin-top: 56px;
  padding: 24px;
}

.store-callout-btn {
  align-self: center;
  padding: 11px 22px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .matrix-th-feature {
    width: 170px;
    min-width: 160px;
  }
  .matrix-th-rank {
    width: 170px;
    min-width: 160px;
  }
}

@media (max-width: 640px) {
  .store-page-section {
    padding: 24px 0 60px;
  }
  .store-head {
    margin-bottom: 24px;
  }
  .trust-item {
    font-size: 12px;
    padding: 6px 14px;
  }
  .perks-guide-grid {
    grid-template-columns: 1fr;
  }
  .store-callout {
    margin-top: 36px;
    padding: 18px 14px;
  }
  .store-callout-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* === support.css === */
/**
 * VantaMC - Support Page Stylesheet
 * Support Categories, FAQ Accordion, Knowledgebase & Direct Ticket Box
 */

.support-page-section {
  padding: 40px 0 80px;
}

.support-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0 50px;
}

.support-cat-card {
  background: rgba(22, 10, 44, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}

.support-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-neon);
  box-shadow: var(--shadow-md);
}

.support-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.support-cat-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.support-cat-card p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.7;
}

.support-auth-gate {
  background: linear-gradient(135deg, rgba(26, 11, 52, 0.95) 0%, rgba(14, 5, 30, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.18);
}

.support-auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.15);
  border: 1.5px solid var(--border-light);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.support-auth-gate h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}

.support-auth-gate p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 24px;
}

.faq-section {
  margin-top: 60px;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(20, 9, 40, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--purple-neon);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}


/* === responsive.css === */
/* ============================================================

   VantaMC - Responsive Media Queries

   ============================================================ */

@media (max-width: 1080px) {
  header nav.desktop-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-art {
    order: -1;
    margin-bottom: -10px;
  }
  .hero-logo-img {
    width: 130px;
  }
  .art-glow-backdrop {
    width: 150px;
    height: 150px;
  }
  .hero-subtitle {
    margin: 0 auto 24px;
  }
  .ip-box {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .live-status-pill {
    margin: 0 auto;
  }
  
  .lifesteal-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .banner-stats {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 14px;
  }
  
  .header-container {
    height: 60px;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
  }
  .brand {
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 21px;
    white-space: nowrap;
  }
  .header-actions {
    gap: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .btn-header-user {
    padding: 6px 12px;
    font-size: 13px;
    gap: 6px;
    flex-shrink: 0;
  }
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  
  .hero {
    padding: 36px 0 46px;
  }
  .hero-badge-container {
    font-size: 12px;
    padding: 5px 12px;
  }
  .hero-content h1 {
    font-size: clamp(38px, 11vw, 54px);
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .ip-box {
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
  }
  .ip-text {
    font-size: clamp(14px, 4vw, 18px);
    justify-content: center;
    padding: 10px 14px;
    white-space: nowrap !important;
    word-break: keep-all;
    border-bottom: none;
  }
  .btn-copy-ip {
    width: auto;
    justify-content: center;
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .section-head {
    margin-bottom: 26px;
  }
  .section-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .section-desc {
    font-size: 14px;
  }
  
  .gamemode-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tab-btn {
    justify-content: center;
    padding: 10px 8px;
    font-size: 13.5px;
    gap: 6px;
  }
  .tab-btn-icon {
    width: 18px;
    height: 18px;
  }
  
  .lifesteal-banner {
    padding: 20px 16px;
  }
  .banner-stats {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }
  
  .items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .item-card {
    padding: 10px 8px;
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .item-img-wrap {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  .item-img {
    width: 28px;
    height: 28px;
  }
  .item-name-fa {
    font-size: 13px;
  }
  .item-name-en {
    font-size: 10px;
  }
  .item-badge-note {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  
  .callout-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
  }
  .callout-icon {
    margin: 0 auto;
  }
  
  .plugins-wrap {
    justify-content: center;
  }
  
  .recipe-zoom-badge {
    bottom: 10px;
    left: 10px;
    padding: 6px 12px;
    font-size: 11px;
  }
  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .rules-unified-card {
    padding: 18px 12px;
    border-radius: var(--radius-md);
  }
  .rules-card-header h1 {
    font-size: 26px;
  }
  .rules-block-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .rule-row {
    padding: 12px 10px;
    gap: 10px;
  }
  .rule-index {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .rule-title-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .rules-card-footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .rules-card-footer .btn-primary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-brand-title {
    justify-content: center;
  }
  .footer-brand p {
    margin: 0 auto;
  }
  .footer-links {
    align-items: center;
  }
  .footer-social-link {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .gamemode-tabs {
    grid-template-columns: 1fr;
  }
  .items-grid {
    grid-template-columns: 1fr !important;
  }
  .item-card {
    flex-direction: row;
    text-align: right;
  }
  .item-img-wrap {
    margin: 0;
  }
  .brand-title {
    font-size: 20px;
  }
  .ip-text {
    font-size: 17px;
  }
}

.map-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: rtl;
  unicode-bidi: isolate;
  font-family: inherit;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
  white-space: nowrap;
  font-feature-settings: "ss01", "tnum";
}

.map-size .map-num {
  background: linear-gradient(180deg, #fff 0%, #ffd1ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.map-size .map-x {
  color: var(--pink-neon);
  font-size: 0.85em;
  font-weight: 900;
  text-shadow: 0 0 10px var(--pink-neon);
  opacity: 0.9;
}

.bg-grid-lines {
  position: fixed;
  inset: 0;
  background-image: url('../images/grid.svg');
  background-position: center top;
  background-repeat: repeat;
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 25%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 20%, transparent 80%);
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 10px;
  }
  .brand-title {
    font-size: 19px;
  }
  .btn-header-user {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
  }
  .btn-header-user .btn-user-text {
    display: none !important;
  }
  .btn-header-user svg {
    margin: 0;
  }
  .ip-text {
    font-size: 14px;
    padding: 8px 10px;
  }
  .btn-copy-ip {
    font-size: 12.5px;
    padding: 8px 10px;
  }
}

@media (max-width: 340px) {
  .brand-title {
    font-size: 17px;
  }
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  .btn-header-user,
  .mobile-nav-toggle {
    width: 34px;
    height: 34px;
  }
}

/* === custom inlined styles === */



/* Inlined MCTiers Styles for Instant Bulletproof Loading
   MCTIERS.GG STYLES (mctiers.gg/rankings/overall & kit boards)
   ============================================================ */

.mctiers-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.mctiers-tabs-container {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  direction: ltr;
}

.mctiers-tab {
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mctiers-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px 6px 0 0;
}

.mctiers-tab.active {
  color: #fff;
  border-bottom-color: #facc15;
}

.mctiers-tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mctiers-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 16px;
  flex-wrap: wrap;
  direction: ltr;
}

.mctiers-header-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.3px;
}

.mctiers-header-sub {
  font-size: 13.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.mctiers-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mctiers-info-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 16px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.mctiers-info-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mctiers-server-box {
  background: rgba(18, 21, 33, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mctiers-server-box:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.2);
}

.mctiers-server-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.mctiers-server-ip {
  font-size: 13px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Overall Table */
.mctiers-table {
  width: 100%;
  margin-top: 10px;
  direction: ltr;
}

.mctiers-th-row {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.mctiers-th-place { width: 65px; text-align: center; }
.mctiers-th-player { flex: 1; padding: 0 16px; }
.mctiers-th-tiers { width: 440px; text-align: right; }

.mctiers-row {
  display: flex;
  align-items: center;
  background: rgba(15, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.mctiers-row:hover {
  background: rgba(22, 27, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.mctiers-badge-slot {
  width: 52px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  font-style: italic;
  flex-shrink: 0;
}

.mctiers-badge-slot.rank-1 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  border-radius: 6px 0 0 6px;
}

.mctiers-badge-slot.rank-2 {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  color: #0f172a;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  border-radius: 6px 0 0 6px;
}

.mctiers-badge-slot.rank-3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  border-radius: 6px 0 0 6px;
}

.mctiers-badge-slot.rank-other {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  border-radius: 8px;
}

.mctiers-player-slot {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}

.mctiers-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  image-rendering: pixelated;
  flex-shrink: 0;
}

.mctiers-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mctiers-name:hover {
  color: #facc15;
}

.mctiers-title-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 700;
}

.mctiers-tiers-slot {
  width: 440px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.mctiers-tier-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.mctiers-circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.mctiers-circle-icon:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.mctiers-circle-icon img {
  width: 18px;
  height: 18px;
}

.mctiers-tier-code {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* 5-Column Kit Boards */
.mctiers-columns-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: start;
  direction: ltr;
}

.mctiers-column {
  background: rgba(14, 18, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mctiers-col-header {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mctiers-col-header.tier-1 {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.35) 0%, rgba(202, 138, 4, 0.2) 100%);
  color: #facc15;
  border-bottom-color: rgba(234, 179, 8, 0.4);
}

.mctiers-col-header.tier-2 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.25) 0%, rgba(100, 116, 139, 0.15) 100%);
  color: #e2e8f0;
  border-bottom-color: rgba(148, 163, 184, 0.3);
}

.mctiers-col-header.tier-3 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.3) 0%, rgba(180, 83, 9, 0.15) 100%);
  color: #fb923c;
  border-bottom-color: rgba(217, 119, 6, 0.35);
}

.mctiers-col-header.tier-4 {
  background: rgba(255, 255, 255, 0.04);
  color: #c084fc;
}

.mctiers-col-header.tier-5 {
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
}

.mctiers-col-body {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.mctiers-player-card {
  background: rgba(20, 24, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #64748b;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mctiers-player-card:hover {
  background: rgba(30, 36, 56, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}

.mctiers-player-card.subtier-ht {
  border-left-color: #ef4444;
}

.mctiers-player-card.subtier-lt {
  border-left-color: #3b82f6;
}

.mctiers-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.mctiers-card-avatar {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.mctiers-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mctiers-card-chevron {
  font-size: 14px;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: -2px;
  flex-shrink: 0;
}

.mctiers-card-chevron.chevron-ht {
  color: #ef4444;
}

.mctiers-card-chevron.chevron-lt {
  color: #3b82f6;
}

.mctiers-col-empty {
  padding: 24px 12px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

/* Information Modal */
.mctiers-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mctiers-modal.active {
  display: flex;
}

.mctiers-modal-box {
  background: #0f131f;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  direction: rtl;
  text-align: right;
}

.mctiers-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.mctiers-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.mctiers-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  cursor: pointer;
}

.mctiers-modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.mctiers-modal-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.mctiers-modal-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 1100px) {
  .mctiers-columns-board {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .mctiers-th-tiers, .mctiers-tiers-slot {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .mctiers-th-tiers, .mctiers-tiers-slot {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .mctiers-row {
    flex-wrap: wrap;
  }
}


/* === RESPONSIVE & EMBED ENHANCEMENTS === */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  box-sizing: border-box;
}

.featured-gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gamemode-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gamemode-card-actions .btn-primary,
.gamemode-card-actions .btn-secondary {
  flex: 1;
  border-radius: 12px !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .mobile-drawer {
    top: 60px;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }
  .featured-gamemodes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gamemode-card-actions {
    flex-direction: column;
    gap: 8px;
  }
  .gamemode-card-actions .btn-primary,
  .gamemode-card-actions .btn-secondary {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 580px) {
  .btn-header-user .header-user-rank-badge {
    display: none !important;
  }
}

@media (max-width: 440px) {
  .btn-header-user .btn-user-text {
    display: none !important;
  }
  .btn-header-user {
    padding: 0 10px;
    min-width: 38px;
    justify-content: center;
  }
  .btn-header-user svg {
    margin: 0;
  }
}

/* === ADMIN HEADER BUTTON === */
.btn-header-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(147, 51, 234, 0.22);
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  color: #e9d5ff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-admin:hover {
  background: rgba(147, 51, 234, 0.4);
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 580px) {
  .btn-header-admin .btn-admin-text {
    display: none !important;
  }
  .btn-header-admin {
    padding: 8px;
    border-radius: 50%;
  }
}

/* ==========================================================================
   Store: Custom Practice Gem Purchase Widget (Purple Emerald Aesthetic)
   ========================================================================== */
.gem-shop-section {
  margin: 36px 0 48px;
  position: relative;
  direction: rtl;
}

.gem-shop-card {
  position: relative;
  background: linear-gradient(135deg, rgba(12, 13, 24, 0.98) 0%, rgba(18, 17, 32, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.28);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.12);
  display: grid;
  grid-template-columns: 250px 1fr 270px;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gem-card-glow-bg {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(217, 70, 239, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 1. Visual / Spotlight Column (Right side in RTL) */
.gem-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 10px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.gem-grid-bg {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-image: url('../images/grid.svg');
  background-size: 30px 30px;
  opacity: 0.65;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, transparent 75%);
  pointer-events: none;
}

.gem-spotlight-beam {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 290px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 72deg, rgba(168, 85, 247, 0.18) 86deg, rgba(236, 72, 153, 0.28) 90deg, rgba(168, 85, 247, 0.18) 94deg, transparent 108deg);
  filter: blur(10px);
  pointer-events: none;
}

.gem-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 85, 247, 0.28);
  animation: gemOrbitRotate 25s linear infinite;
  pointer-events: none;
}

.gem-orbit-ring.inner {
  width: 130px;
  height: 130px;
  border: 1px solid rgba(236, 72, 153, 0.22);
  animation: gemOrbitRotate 18s linear infinite reverse;
}

@keyframes gemOrbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.gem-icon-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gemFloat 3.8s ease-in-out infinite;
  z-index: 2;
}

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

.gem-svg-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
}

.gem-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 14px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: #e9d5ff;
  z-index: 2;
}

.gem-visual-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

/* 2. Controls & Stepper Column (Center) */
.gem-controls-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1;
}

.gem-header-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gem-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 8px;
  color: #f0abfc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.gem-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gem-title {
  margin: 0;
  font-family: var(--font-display, 'Lalezar', sans-serif);
  font-size: clamp(26px, 3.2vw, 34px);
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.gem-title-alt {
  font-family: var(--font-display, 'Lalezar', sans-serif);
  font-size: 24px;
  color: #c084fc;
  letter-spacing: 1px;
}

.gem-desc {
  margin: 0;
  color: var(--text-secondary, #cbd5e1);
  font-size: 13.5px;
  line-height: 1.5;
}

.gem-rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: #e879f9;
  font-size: 13.5px;
  font-weight: 800;
  margin-top: 2px;
  background: rgba(168, 85, 247, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.gem-rate-pill .rate-icon {
  color: #f472b6;
  font-size: 14px;
}

/* Stepper Box */
.gem-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 10, 18, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 6px 10px;
  max-width: 460px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gem-stepper-wrap:focus-within {
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.gem-stepper-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gem-stepper-btn:hover:not(:disabled) {
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.7);
  color: #f0abfc;
  transform: scale(1.05);
}

.gem-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gem-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gem-input-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-display, 'Lalezar', sans-serif);
  font-size: 28px;
  text-align: center;
  padding: 0;
  direction: ltr;
}

.gem-unit-tag {
  color: #a855f7;
  font-size: 15px;
  font-weight: 800;
  user-select: none;
  padding: 2px 8px;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 6px;
}

/* Range Slider */
.gem-slider-container {
  width: 100%;
  max-width: 460px;
  padding: 6px 2px;
}

.gem-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  direction: rtl;
  transition: background 0.15s ease;
}

.gem-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8), 0 0 24px rgba(236, 72, 153, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gem-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8), 0 0 24px rgba(236, 72, 153, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gem-range-slider::-webkit-slider-thumb:hover,
.gem-range-slider:active::-webkit-slider-thumb {
  transform: scale(1.22);
  box-shadow: 0 0 22px #c084fc, 0 0 32px #ec4899;
  border-color: #ec4899;
}

/* Preset Chips */
.gem-presets-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 460px;
}

.gem-chip-btn {
  padding: 6px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  direction: ltr;
}

.gem-chip-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.gem-chip-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.4));
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.gem-limits-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  margin-top: -4px;
}

.gem-limits-hint .hint-divider {
  opacity: 0.5;
}

/* 3. Summary & Action Column (Left side in RTL) */
.gem-summary-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 24px;
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 20px;
  z-index: 1;
}

.gem-summary-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gem-summary-label {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.gem-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  direction: rtl;
}

.gem-price-val {
  font-family: var(--font-display, 'Lalezar', sans-serif);
  font-size: 36px;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.gem-price-unit {
  color: #f0abfc;
  font-size: 16px;
  font-weight: 800;
}

.gem-summary-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c084fc;
  font-size: 13px;
  font-weight: 800;
}

.gem-buy-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.gem-buy-btn.coming-soon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(217, 70, 239, 0.35) 100%);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fdf4ff;
  cursor: not-allowed;
  opacity: 0.95;
}

.gem-buy-btn.coming-soon:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(217, 70, 239, 0.5) 100%);
  border-color: rgba(236, 72, 153, 0.7);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .gem-shop-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .gem-visual-col {
    min-height: 180px;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
  }

  .gem-stepper-wrap,
  .gem-slider-container,
  .gem-presets-bar {
    max-width: 100%;
  }

  .gem-summary-col {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .gem-shop-section {
    margin: 24px 0 36px;
  }

  .gem-title {
    font-size: 24px;
  }

  .gem-chip-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .gem-price-val {
    font-size: 28px;
  }
}
