:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-gradient: radial-gradient(circle at top right, #1e293b, #020617 60%);
  --accent-primary: #cb43fa;
  --accent-secondary: #ffc1eb;
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
  --accent-tint: rgba(203, 67, 250, 0.1);
  --accent-tint-border: rgba(203, 67, 250, 0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --accent-primary-rgb: 203, 67, 250;
  --accent-secondary-rgb: 255, 193, 235;

  --rank-1: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.02));
  --rank-2: linear-gradient(90deg, rgba(226, 232, 240, 0.1), rgba(226, 232, 240, 0.02));
  --rank-3: linear-gradient(90deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.02));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  background: var(--bg-darker);
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

body.theme-purple {
  --accent-primary: #cb43fa;
  --accent-secondary: #ffc1eb;
  --accent-primary-rgb: 203, 67, 250;
  --accent-secondary-rgb: 255, 193, 235;
  --accent-tint: rgba(203, 67, 250, 0.1);
  --accent-tint-border: rgba(203, 67, 250, 0.2);
}

body.theme-red {
  --accent-primary: #ff3a3a;
  --accent-secondary: #ff8080;
  --accent-primary-rgb: 255, 58, 58;
  --accent-secondary-rgb: 255, 128, 128;
  --accent-tint: rgba(255, 58, 58, 0.1);
  --accent-tint-border: rgba(255, 58, 58, 0.2);
}

body.theme-gold {
  --accent-primary: #ffcc00;
  --accent-secondary: #ffeb3b;
  --accent-primary-rgb: 255, 204, 0;
  --accent-secondary-rgb: 255, 235, 59;
  --accent-tint: rgba(255, 204, 0, 0.1);
  --accent-tint-border: rgba(255, 204, 0, 0.2);
}

body.theme-green {
  --accent-primary: #3aff7d;
  --accent-secondary: #99ffba;
  --accent-primary-rgb: 58, 255, 125;
  --accent-secondary-rgb: 153, 255, 186;
  --accent-tint: rgba(58, 255, 125, 0.1);
  --accent-tint-border: rgba(58, 255, 125, 0.2);
}

body.theme-ice {
  --accent-primary: #4cc3ff;
  --accent-secondary: #99dfff;
  --accent-primary-rgb: 76, 195, 255;
  --accent-secondary-rgb: 153, 223, 255;
  --accent-tint: rgba(76, 195, 255, 0.1);
  --accent-tint-border: rgba(76, 195, 255, 0.2);
}

body.theme-pink {
  --accent-primary: #ff80df;
  --accent-secondary: #ffc1eb;
  --accent-primary-rgb: 255, 128, 223;
  --accent-secondary-rgb: 255, 193, 235;
  --accent-tint: rgba(255, 128, 223, 0.1);
  --accent-tint-border: rgba(255, 128, 223, 0.2);
}

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

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
  border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-darker);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.menu-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: hue-rotate(240deg) saturate(1.5);
}

#menuBtn {
  display: flex;
  position: fixed;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

#menuBtn span {
  height: 3px;
  background: var(--accent-primary);
  border-radius: 3px;
  transition: var(--transition);
  box-shadow: 0 0 8px rgba(var(--accent-primary-rgb), 0.5);
}

body.sidebar-open #menuBtn {
  opacity: 0;
  pointer-events: none;
}

.sidebar {
  width: 270px;
  height: 100vh;              
  overflow-y: auto;          
  overflow-x: hidden;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: var(--glass-blur);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: fixed;
  right: -300px;
  top: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  border-left: 1px solid var(--glass-border);
}

.sidebar.active {
  right: 0;
}

.sidebar .logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.sidebar .logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(var(--accent-primary-rgb), 0.3));
}

.sidebar .logo-text {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.2);
  text-align: center;
  animation: glowShift 4s linear infinite;
}

@keyframes glowShift {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}
.sidebar {
  scroll-behavior: smooth;
}
.sidebar-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 15px 0 5px 16px;
  opacity: 0.6;
}

.sidebar a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar a svg {
  color: var(--text-dim);
  transition: var(--transition);
  flex-shrink: 0;
}

.sidebar a:hover {
  background: var(--accent-tint);
  color: var(--accent-primary);
  transform: translateX(5px);
}

.sidebar a:hover svg {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.closeSidebar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-primary);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition);
}

.sidebar.active .closeSidebar {
  opacity: 1;
  pointer-events: auto;
}

.closeSidebar:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--accent-primary);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}


.dropdown {
  display: flex;
  flex-direction: column;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-toggle:hover {
  background: var(--accent-tint);
  color: var(--accent-primary);
}

.dropdown-toggle .arrow {
  transition: transform 0.3s ease;
}

.dropdown-toggle.active .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s ease;
  margin-left: 10px;
}

.dropdown-menu.open {
  max-height: 200px;
}

.dropdown-menu a {
  padding-left: 26px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.5);
}

.btn:active {
  transform: translateY(-1px);
}

.btn.discord {
  background: linear-gradient(90deg, #5865F2, #4752c4);
}

.btn.blue {
  background: linear-gradient(90deg, #cb43fa, #9c30c1);
}

.btn.blue:hover {
  box-shadow: 0 8px 25px rgba(203, 67, 250, 0.5);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.card {
  padding: 30px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--accent-primary-rgb), 0.2);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.menu-card {
  text-decoration: none;
  color: inherit;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.mode-card img {
  filter: drop-shadow(0 0 10px rgba(var(--accent-primary-rgb), 0.3));
}

.menu-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--accent-primary-rgb), 0.1);
}

.menu-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.menu-card h3 {
  font-size: 22px;
  color: var(--accent-primary);
  font-weight: 800;
}

.menu-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  margin-top: 20px;
  position: relative;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

th, td {
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
}

th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: var(--transition);
}

tbody tr:hover {
  background: rgba(var(--accent-primary-rgb), 0.03);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

input, select, textarea {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
}

.rank-1 {
  background: var(--rank-1) !important;
  color: #ffd700 !important;
  font-weight: 800 !important;
}

.rank-2 {
  background: var(--rank-2) !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}

.rank-3 {
  background: var(--rank-3) !important;
  color: #cd7f32 !important;
  font-weight: 700 !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
}

.tag.accent {
  background: var(--accent-tint);
  border-color: var(--accent-tint-border);
  color: var(--accent-primary);
}

footer {
  text-align: center;
  padding: 60px 20px 40px;
  border-top: 1px solid var(--glass-border);
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.copyright {
  font-size: 14px;
  color: var(--text-dim);
  opacity: 0.7;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-dim { color: var(--text-dim); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }
.mt-neg-20 { margin-top: -20px; }
.mt-neg-30 { margin-top: -30px; }
.flex-align-center { display: flex; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.hidden { display: none; }

.page-description {
  color: var(--text-dim);
  max-width: 600px;
  margin: -20px auto 40px;
  line-height: 1.6;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 50px;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-section {
  max-width: 1100px;
  margin: 60px auto;
  text-align: center;
}

.member-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  transition: var(--transition);
  text-align: center;
}

.member:hover {
  transform: translateY(-10px);
}

.member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.2);
}

.member h3 {
  margin: 10px 0 5px;
  font-size: 1.25rem;
  color: #fff;
}

.member p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.story {
  max-width: 800px;
  margin: 0 auto 100px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
  background: var(--glass-bg);
  padding: 50px;
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  text-align: left;
}

.story h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 32px;
}

.story-quote {
  margin-top: 40px;
  text-align: center;
  color: var(--accent-primary);
  font-weight: 800;
}

.story-author {
  text-align: center;
  font-weight: 600;
  opacity: 0.8;
}

.partner-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.special-partner img {
  border-color: var(--accent-primary);
  animation: glow-orange 2s infinite alternate;
}

@keyframes glow-orange {
  0% { box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.4); }
  100% { box-shadow: 0 0 30px rgba(var(--accent-primary-rgb), 0.8); }
}

#testerList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tester-card {
  position: relative;
  overflow: hidden;
}

.tester-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.tester-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 15px;
}

.tester-info-item svg {
  color: var(--accent-primary);
}

.tester-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .container { padding: 30px 15px; }
  th, td { padding: 12px; font-size: 14px; }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at center, rgba(var(--accent-primary-rgb), 0.05) 0%, transparent 70%);
}
.hero-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 32px;

    filter:
        drop-shadow(0 0 20px rgba(var(--accent-primary-rgb), 0.6))
        drop-shadow(0 0 40px rgba(var(--accent-primary-rgb), 0.5))
        drop-shadow(0 0 70px rgba(var(--accent-primary-rgb), 0.4));

    animation: float 6s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 600px;
  line-height: 1.6;
}
.hero-buttons { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; }

.modes { padding:100px 20px; text-align:center; }
.modes h2 { font-size:36px; margin-bottom:60px; font-weight: 800; }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.mode-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.mode-card:hover {
  background: rgba(var(--accent-primary-rgb), 0.05);
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.mode-card h3 {
  font-size: 20px;
  margin: 0;
  color: var(--text-main);
}

.tooltip { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%) scale(0); background:rgba(15,23,42,0.98); border:1px solid var(--accent-primary); padding:40px; border-radius:24px; max-width:500px; width: 90%; z-index:999; text-align:center; transition:0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.tooltip.show { transform:translate(-50%,-50%) scale(1); }
.tooltip h3 { font-size:28px; margin-bottom:15px; color:var(--accent-primary); }
.tooltip p { font-size:17px; line-height:1.6; color: var(--text-main); opacity: 0.9; }
.tooltip .close-btn { margin-top:30px; }

.tos-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.tos-box {
  background: var(--bg-dark);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tos-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.tos-box p {
  font-size: 15px;
  margin-bottom: 30px;
  color: var(--text-dim);
  line-height: 1.6;
}

.tos-box a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
}

.tos-box button {
  width: 100%;
  padding: 14px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--accent-primary);
  color: white;
  transition: var(--transition);
}

.tos-box button:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  cursor: not-allowed;
}

.discord-icon-nav {
  display:flex;
  justify-content:center;
  margin-top:20px;
}
.discord-icon-nav svg {
  width:32px;
  height:32px;
  fill: #5865F2;
  transition: var(--transition);
}
.discord-icon-nav:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #5865F2);
}

h1, h2, h3 {
  color: var(--accent-primary);
}

.creator-badge{
margin-left:6px;
display:inline-flex;
align-items:center;
}

.creator-icon{
width:1.3rem;
height:1.3rem;
opacity:0.9;
transition:0.5s;
}

.creator-icon:hover{
opacity:1;
transform:scale(1.15);
}

.username{
display:flex;
align-items:center;
gap:6px;
}

.tos-check{
display:flex;
align-items:center;
gap:10px;
margin:20px 0;
font-size:14px;
color:#ccc;
}

.tos-check input{
width:18px;
height:18px;
cursor:pointer;
}

.rules-box {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rules-group {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 35px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.rules-group:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent-primary);
  padding-left: 15px;
}

.rule-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rule-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rule-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.rule-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.rule-content p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.rule-content strong {
  color: var(--accent-primary);
}

@media (max-width: 600px) {
  .rules-group {
    padding: 25px 20px;
  }
  .rule-item {
    flex-direction: column;
    gap: 12px;
  }
  .rule-icon {
    width: 36px;
    height: 36px;
  }
}

.admin-card-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.header-row-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.header-row-admin h1 {
  font-size: 36px;
  margin-bottom: 0;
  font-weight: 900;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-admin {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--accent-primary);
  border-left: 4px solid var(--accent-primary);
  padding-left: 15px;
  margin-top: 40px;
}

.form-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.player-list-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.admin-player-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 25px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.admin-player-card:hover {
  background: rgba(var(--accent-primary-rgb), 0.05);
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.player-info-admin b {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}

.player-info-admin span {
  color: var(--text-dim);
  font-size: 14px;
}

.player-actions {
  display: flex;
  gap: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(0.4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: min(95vw, 60rem);
  height: min(92vh, 50rem);
  background: var(--bg-dark);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.7);
  transform: scale(0.9);
  opacity: 0;
  transition: 0.25s ease;
  overflow-y: auto;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.modal-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  padding: 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--glass-border);
  background: var(--bg-darker);
  color: var(--text-main);
}

textarea {
  resize: none;
  min-height: 12rem;
}

.big-editor {
  min-height: 16rem;
}

.modal-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.result-box {
  text-align: center;
  margin-top: 2rem;
}

.calc-card {
  max-width: 650px;
  margin: 40px auto 50px;
  padding: 40px;
  background: var(--glass-bg);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

#output {
  margin-top: 30px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(var(--accent-primary-rgb), 0.05);
  border: 1px solid var(--accent-primary);
  text-align: center;
  font-weight: 700;
  white-space: pre-line;
  color: var(--text-main);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.full-width {
  grid-column: 1 / -1;
}

.system-text {
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  padding: 10px 14px;
  border-radius: 12px;
  width: fit-content;
}

#calculateBtn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.35);
}

#calculateBtn:hover {
  box-shadow: 0 12px 30px rgba(var(--accent-primary-rgb), 0.55);
}

#openModalBtn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.35);
}

#openModalBtn:hover {
  box-shadow: 0 12px 30px rgba(var(--accent-primary-rgb), 0.55);
}

#submitWebhookBtn {
  background: linear-gradient(135deg, #5865F2, #7289DA);
  box-shadow: 0 6px 20px rgba(88,101,242,0.35);
}

#submitWebhookBtn:hover {
  box-shadow: 0 12px 30px rgba(88,101,242,0.55);
}

/* ===== COMBAT & GEAR LAB ===== */
.table-title {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-align: left;
  color: var(--text-main);
  display: block;
  padding-left: 5px;
}

.combat-table th,
.combat-table td {
  text-align: center;
}

.combat-table th {
  color: var(--accent-primary);
  font-weight: 800;
}

.site-warning {
  width: 100%;
  padding: 0.8rem;
  text-align: center;
  background: var(--accent-tint);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--accent-tint-border);
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}

.section {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.grid div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.toggle-row label {
  font-size: 0.85rem;
  cursor: pointer;
}

.stat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-0.2rem);
}

.stat-card h3 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.stat-card p {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.breakdown {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  white-space: pre-line;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 0.8rem;
}

#graph {
  width: 100%;
  height: 18rem;
  background: var(--bg-darker);
  border-radius: 1rem;
  margin-top: 1.5rem;
  border: 1px solid var(--glass-border);
}

.armor-preview {
  position: fixed;
  left: 2rem;
  top: 5rem;
  width: 14rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  z-index: 10;
}

.armor-preview h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

.armor-model {
  position: relative;
  width: 8rem;
  height: 14rem;
  margin: auto;
}

.armor-piece {
  position: absolute;
  width: 100%;
  image-rendering: pixelated;
}

.helmet {
  top: 0;
}

.chest {
  top: 6rem;
}

.gauntlets {
  top: 5rem;
  display: none;
}

.legs {
  top: 13rem;
}

.boots {
  top: 19rem;
}

@media (max-width: 1200px) {
  .armor-preview {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    left: 0;
    top: 0;
  }
}

@media (max-width: 600px) {
  #graph {
    height: 12rem;
  }
  .stat-box {
    grid-template-columns: 1fr 1fr;
  }
}

.timeline {
  position: relative;
  margin: auto;
  max-width: 800px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
}

.update {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

.update::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

.update-box {
  background: var(--glass-bg);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.update-box:hover {
  transform: scale(1.02);
  border-color: var(--accent-primary);
}

.update-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

.update-date {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 15px;
}

.update-box ul {
  padding-left: 20px;
  margin: 0;
}

.update-box li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.event-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: var(--glass-blur);
  margin-bottom: 40px;
}

.event-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.event-label {
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.event-section {
  margin-bottom: 25px;
}

.no-events {
  text-align: center;
  padding: 80px;
  border: 2px dashed var(--glass-border);
  border-radius: 24px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

.legal-content {
  max-width: 800px;
  margin: 40px auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 32px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.legal-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.legal-content p {
  margin-bottom: 25px;
  color: var(--text-main);
  opacity: 0.9;
  line-height: 1.8;
}

.legal-content a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.legal-content a:hover {
  border-bottom-color: var(--accent-primary);
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--glass-bg);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.controls.rankings-extra,
.table-wrapper.rankings-extra {
  width: 120%;
  margin-left: -10%;
}

@media (max-width: 900px) {
  .controls.rankings-extra,
  .table-wrapper.rankings-extra {
    width: 100%;
    margin-left: 0;
  }
}

.search-wrapper {
  flex: 1;
  max-width: 400px;
  position: relative;
}

#userSearch {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  color: #fff;
  transition: var(--transition);
}

#userSearch:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

#modeSelect {
  min-width: 180px;
}

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

.username {
  font-weight: 700;
  color: #fff;
}

.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  cursor: pointer;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  transition: var(--transition);
}

.badge:hover {
  border-color: var(--accent-primary);
  color: #fff;
}

.badge.skill.HT1 { border-color: #b84cff; color: #d899ff; box-shadow: 0 0 10px rgba(184, 76, 255, 0.2); }
.badge.skill.HT2 { border-color: #4cc3ff; color: #99dfff; box-shadow: 0 0 10px rgba(76, 195, 255, 0.2); }
.badge.skill.HT3 { border-color: #3aff7d; color: #99ffba; box-shadow: 0 0 10px rgba(58, 255, 125, 0.2); }
.badge.skill.HT4 { border-color: #ffde3a; color: #fff199; box-shadow: 0 0 10px rgba(255, 222, 58, 0.2); }
.badge.skill.HT5 { border-color: #ff3a3a; color: #ff9999; box-shadow: 0 0 10px rgba(255, 58, 58, 0.2); }

.badge.skill.LT1 { border-color: #8a30cc; color: #c67dff; opacity: 0.8; }
.badge.skill.LT2 { border-color: #3098cc; color: #7dbfff; opacity: 0.8; }
.badge.skill.LT3 { border-color: #26cc60; color: #7dff9e; opacity: 0.8; }
.badge.skill.LT4 { border-color: #ccb126; color: #fff07d; opacity: 0.8; }
.badge.skill.LT5 { border-color: #cc2626; color: #ff7d7d; opacity: 0.8; }

.tier-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.mode-icon-header {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.th-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.no-results {
  padding: 60px;
  text-align: center;
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  margin-bottom: 40px;
}

.calc-result-avg {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.calc-result-perf {
  font-size: 15px;
  margin-bottom: 5px;
}

.calc-result-tier {
  font-size: 18px;
  font-weight: 800;
}

.accent-color-text {
  color: var(--accent-primary);
}

.tag-discord {
  border-color: #7289da;
  color: #7289da;
}

.btn-danger {
  background: #ef4444;
}

.badge-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  border: 1px solid var(--accent-primary);
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 10000;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.popup-title {
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-size: 18px;
}

.popup-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

.calc-card {
  max-width: 700px;
  margin: 40px auto 60px;
  padding: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.calc-title {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(to bottom,#fff,#94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.6;
}

.calc-actions button {
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  font-weight: 800;
  font-size: 16px;
}

#output {
  margin-top: 30px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(var(--accent-primary-rgb), 0.05);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-direction: column;
  line-height: 1.8;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

#output b {
  color: var(--accent-primary);
  font-size: 22px;
}

#hpList.valid {
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.2);
}

#hpList.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239,68,68,0.2);
}

.profile-container {
  max-width: 850px;
  margin: 60px auto;
  padding: 0 20px;
}

.profile-card-main {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.01)
  );
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 50px;
  backdrop-filter: blur(18px);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.profile-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(var(--accent-primary-rgb), 0.15),
    transparent 60%
  );
  pointer-events: none;
}

.profile-header {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}


.profile-avatar:hover {
  transform: scale(1.05);
}

.profile-info h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-sub {
  font-weight: 900;
  font-size: 18px;
  margin-top: 8px;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(var(--accent-primary-rgb), 0.5);
}

.profile-meta {
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-dim);
}

.badge-section {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.stats-grid-profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card-profile {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.25s;
  position: relative;
}

.stat-card-profile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  border-color: var(--accent-primary);
}

.stat-label-profile {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.stat-value-profile {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

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

.mode-card-profile {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.25s;
  position: relative;
}

.mode-card-profile:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.mode-tier-profile {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--accent-primary);
  text-shadow: 0 0 10px currentColor;
}
.mode-name-profile {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mode-tier-profile {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--accent-primary);
}

.mode-points-profile {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.6;
}

.profile-h3 {
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  position: relative;
}

.profile-h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-primary);
  margin-top: 8px;
  border-radius: 2px;
}

.title {
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 50px;
  font-size: 18px;
}

.list {
  list-style: none;
  margin: 20px 0;
}

.list li {
  margin-bottom: 15px;
  color: var(--text-main);
  padding-left: 30px;
  position: relative;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 900;
}

.apply-section {
  text-align: center;
  margin-top: 40px;
}

.apply-btn {
  background: #ff0000;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  transition: all .2s;
  box-shadow: 0 6px 20px rgba(255,0,0,.4);
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,0,0,.6);
}

.divider {
  height: 1px;
  background: #2a2f3b;
  margin: 25px 0;
}

.youtube-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
}
