:root {
  --bg: #060913;
  --bg-soft: #0c1220;
  --bg-card: rgba(10, 18, 34, 0.52);
  --text: #eef4ff;
  --muted: rgba(222, 234, 255, 0.72);
  --muted-2: rgba(190, 208, 238, 0.48);
  --gold: #8ec5ff;
  --gold-soft: #dff1ff;
  --gold-line: rgba(142, 197, 255, 0.22);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  outline: 0;
  cursor: pointer;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-soft);
  margin-top: 12px;
}

.eyebrow {
  color: #9ccfff;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
}

.section-copy {
  margin-top: 14px;
  color: var(--muted);
  max-width: 620px;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(181, 224, 255, 0.16), transparent 28%), radial-gradient(circle at right center, rgba(112, 160, 255, 0.16), transparent 24%), linear-gradient(to bottom, rgba(4, 10, 22, 0.22), rgba(4, 8, 18, 0.88)), url('https://pbs.twimg.com/media/GmkhTd0bgAAzzQO?format=jpg&name=4096x4096') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.68);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(207, 240, 255, 0.08), transparent 15%), radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.04), transparent 22%), radial-gradient(circle at 40% 80%, rgba(126, 168, 255, 0.08), transparent 18%);
  animation: pulseGlow 7s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes pulseGlow {
  from {
    transform: scale(1);
    opacity: 0.8;
  }

  to {
    transform: scale(1.05);
    opacity: 1;
  }
}

.navbar-wrap {
  padding-top: 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--gold-line);
  background: rgba(8, 14, 28, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, #8ec5ff, #dff1ff);
  color: #06101d;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(142, 197, 255, .22);
}

.dashboard {
  padding: 34px 0 80px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  border-radius: 24px;
  border: 1px solid var(--gold-line);
  background: rgba(7, 12, 24, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.sidebar {
  padding: 18px;
}

.profile-mini {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(223, 241, 255, .08);
  border-radius: 18px;
  background: rgba(223, 241, 255, .03);
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, #111a2c, #0a101b);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.profile-mini h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-soft);
  font-size: 22px;
  line-height: 1.1;
}

.profile-mini p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.sidebar-menu {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.sidebar-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(223, 241, 255, .08);
  background: rgba(223, 241, 255, .03);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.custom-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.sidebar-link:hover,
.sidebar-link.active {
  border-color: rgba(142, 197, 255, 0.35);
  background: rgba(142, 197, 255, 0.10);
  color: var(--gold-soft);
}

.logout-btn {
  margin-top: 18px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #8ec5ff, #dff1ff);
  color: #06101d;
  font-weight: 700;
  font-size: 14px;
}

.content {
  padding: 24px;
  min-height: 520px;
}

.page-title {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 22px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-card {
  border-radius: 20px;
  border: 1px solid rgba(223, 241, 255, .08);
  background: rgba(223, 241, 255, .03);
  padding: 22px;
}

.info-card h4 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(223, 241, 255, .06);
  font-size: 14px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  color: var(--muted-2);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .1em;
}

.info-row strong {
  color: #fff;
}

.content-empty {
  margin-top: 22px;
  min-height: 220px;
  border-radius: 20px;
  border: 1px dashed rgba(142, 197, 255, 0.18);
  background: rgba(223, 241, 255, .01);
}

.nav-input {
  width: 150px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(223, 241, 255, .1);
  background: rgba(223, 241, 255, .05);
  color: var(--text);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.nav-input::placeholder {
  color: rgba(223, 241, 255, 0.58);
}

.nav-input:focus {
  border-color: rgba(142, 197, 255, .42);
  background: rgba(223, 241, 255, .08);
  box-shadow: 0 0 0 3px rgba(142, 197, 255, .10);
}

.login-btn {
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #8ec5ff, #dff1ff);
  color: #06101d;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(142, 197, 255, .22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(142, 197, 255, .30);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0d1525;
  color: var(--gold);
  border: 1px solid rgba(142, 197, 255, 0.4);
  box-shadow: 0 0 25px rgba(142, 197, 255, 0.28);
  font-size: 22px;
  flex-shrink: 0;
}

.brand-copy p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.brand-copy h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  font-size: 18px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(238, 244, 255, 0.88);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 14px 24px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(223, 241, 255, 0.14);
  background: rgba(223, 241, 255, 0.06);
  color: rgba(238, 244, 255, 0.9);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(223, 241, 255, 0.1);
  border-color: rgba(223, 241, 255, 0.24);
}

.btn-primary {
  background: linear-gradient(90deg, #8ec5ff, #dff1ff);
  color: #07111e;
  box-shadow: 0 14px 34px rgba(142, 197, 255, 0.30);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(142, 197, 255, 0.40);
}

.hero-body {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  padding: 44px 0 72px;
}

.hero-text {
  max-width: 700px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(142, 197, 255, 0.25);
  background: rgba(8, 14, 28, 0.35);
  backdrop-filter: blur(8px);
  color: #cbe7ff;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 11px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.2rem, 8vw, 6.3rem);
  line-height: 0.95;
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(184, 226, 255, 0.32);
}

.hero-desc {
  margin-top: 22px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(235, 242, 255, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  border-radius: 22px;
  border: 1px solid var(--gold-line);
  background: var(--bg-card);
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 197, 255, 0.4);
  background: rgba(10, 18, 34, 0.64);
}

.stat-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-2);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  color: var(--gold-soft);
}

.stat-card small {
  display: block;
  margin-top: 4px;
  color: rgba(222, 234, 255, 0.56);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.hero-orb,
.hero-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-orb {
  width: 220px;
  height: 220px;
  left: 40px;
  top: 56px;
  background: rgba(197, 234, 255, 0.16);
}

.hero-orb-2 {
  width: 190px;
  height: 190px;
  right: 20px;
  bottom: 50px;
  background: rgba(124, 166, 255, 0.18);
}

.visual-card {
  position: absolute;
  inset: 18px 0 0 40px;
  border-radius: 34px;
  border: 1px solid rgba(223, 241, 255, 0.08);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(10, 16, 30, 0.76), rgba(7, 12, 24, 0.56)), radial-gradient(circle at top, rgba(207, 240, 255, 0.12), transparent 30%), radial-gradient(circle at bottom right, rgba(124, 166, 255, 0.16), transparent 32%), url('https://i.pinimg.com/736x/48/90/12/4890126f9b33f3919f5de250da620b9f.jpg') center/cover no-repeat;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
  filter: brightness(0.68) saturate(0.88);
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 8, 18, 0.32), rgba(4, 8, 18, 0.58)), radial-gradient(circle at top, rgba(207, 240, 255, 0.05), transparent 26%);
  transition: opacity 0.35s ease, background 0.35s ease;
  opacity: 1;
}

.visual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 46px 110px rgba(0, 0, 0, 0.68);
  border-color: rgba(142, 197, 255, 0.35);
  filter: brightness(1.02) saturate(1.08);
}

.visual-card:hover::before {
  background: linear-gradient(to bottom, rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.18)), radial-gradient(circle at top, rgba(207, 240, 255, 0.12), transparent 28%);
  opacity: 0.72;
}

.visual-card:hover .visual-character {
  transform: scale(1.04);
  opacity: 1;
}

.visual-card:hover .visual-info {
  background: rgba(8, 12, 22, 0.60);
  border-color: rgba(142, 197, 255, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.visual-card:hover .bonus-card {
  background: rgba(12, 18, 34, 0.94);
  border-color: rgba(142, 197, 255, 0.34);
  transform: translateY(-2px);
}

.visual-card:hover .float-badge {
  background: rgba(8, 12, 22, 0.82);
  border-color: rgba(142, 197, 255, 0.18);
}

.visual-character {
  position: absolute;
  right: 28px;
  bottom: 105px;
  width: 58%;
  max-width: 360px;
  opacity: 0.82;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 0.35s ease, opacity 0.35s ease;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
}

.float-badge {
  position: absolute;
  top: 26px;
  left: 26px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(223, 241, 255, 0.08);
  background: rgba(8, 12, 22, 0.64);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 2;
}

.float-badge span,
.visual-info span,
.bonus-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-2);
}

.float-badge strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-soft);
  font-size: 16px;
}

.visual-info {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(7, 12, 24, 0.58);
  border: 1px solid rgba(223, 241, 255, 0.1);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.visual-info h3 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.visual-info p {
  margin-top: 12px;
  color: rgba(222, 234, 255, 0.72);
  line-height: 1.8;
  max-width: 430px;
  font-size: 14px;
}

.bonus-card {
  min-width: 130px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(142, 197, 255, 0.2);
  background: #0e1627;
  padding: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bonus-card strong {
  display: block;
  margin-top: 6px;
  color: #dff1ff;
  font-size: 28px;
}

section {
  padding: 96px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  border-radius: 28px;
  border: 1px solid rgba(223, 241, 255, 0.1);
  background: var(--bg-soft);
  padding: 28px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 197, 255, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(142, 197, 255, 0.22);
  background: #101a2d;
  box-shadow: 0 0 20px rgba(142, 197, 255, 0.15);
  font-size: 28px;
}

.feature-card h4 {
  margin-top: 20px;
  font-size: 24px;
}

.feature-card p {
  margin-top: 12px;
  color: rgba(222, 234, 255, 0.62);
  line-height: 1.85;
  font-size: 15px;
}

.rankings-section {
  background: #09101c;
  border-top: 1px solid rgba(223, 241, 255, 0.08);
  border-bottom: 1px solid rgba(223, 241, 255, 0.08);
}

.rankings-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.rankings-note {
  margin-top: 28px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(142, 197, 255, 0.15);
  background: rgba(10, 18, 34, 0.28);
}

.rankings-note p {
  color: rgba(222, 234, 255, 0.58);
}

.rankings-note .btn {
  margin-top: 18px;
  padding: 12px 18px;
  font-size: 14px;
}

.table-box {
  border-radius: 32px;
  border: 1px solid rgba(223, 241, 255, 0.1);
  background: #0d1422;
  padding: 18px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 120px;
  align-items: center;
  gap: 14px;
  border-radius: 20px;
  padding: 18px 16px;
}

.table-head {
  border: 1px solid rgba(223, 241, 255, 0.08);
  background: rgba(223, 241, 255, 0.03);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(222, 234, 255, 0.35);
}

.table-row {
  margin-top: 12px;
  border: 1px solid rgba(223, 241, 255, 0.08);
  background: rgba(223, 241, 255, 0.02);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.table-row:hover {
  background: rgba(223, 241, 255, 0.05);
  border-color: rgba(142, 197, 255, 0.25);
}

.rank-no {
  font-size: 22px;
  font-weight: 700;
  color: #cbe7ff;
}

.power {
  text-align: right;
  font-weight: 700;
  color: var(--gold-soft);
}

.muted-cell {
  color: rgba(222, 234, 255, 0.56);
}

.steps-panel {
  border-radius: 34px;
  border: 1px solid rgba(142, 197, 255, 0.15);
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.96), rgba(7, 12, 24, 0.98));
  padding: 34px;
  box-shadow: var(--shadow);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.step-card {
  border-radius: 28px;
  border: 1px solid rgba(223, 241, 255, 0.1);
  background: rgba(10, 18, 34, 0.26);
  padding: 28px;
}

.step-no {
  color: #cbe7ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.step-card h4 {
  margin-top: 16px;
  font-size: 28px;
}

.step-card p {
  margin-top: 12px;
  color: rgba(222, 234, 255, 0.62);
  font-size: 15px;
  line-height: 1.85;
}

.steps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

footer {
  border-top: 1px solid rgba(223, 241, 255, 0.08);
  background: #060c18;
  padding: 30px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(222, 234, 255, 0.45);
  font-size: 14px;
}

.footer-brand h4 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
}

.footer-brand p {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.footer-links a:hover {
  color: #cbe7ff;
}

@media (max-width: 1180px) {

  .hero-body,
  .rankings-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .stats-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-card {
    inset: 0;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
    gap: 18px;
  }

  .brand,
  .nav-links .nav-right {
    justify-content: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-body {
    min-height: auto;
    padding: 34px 0 70px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .visual-character {
    width: 52%;
    right: 20px;
    bottom: 110px;
  }

  .float-badge {
    left: 18px;
    top: 18px;
  }

  .login-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-input,
  .login-btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  section {
    padding: 64px 0;
  }

  .section-copy {
    font-size: 15px;
  }

  .feature-card,
  .step-card,
  .steps-panel,
  .rankings-note,
  .table-box {
    padding: 20px;
    border-radius: 20px;
  }

  .feature-card h4,
  .step-card h4 {
    font-size: 22px;
  }

  .feature-card p,
  .step-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .brand-copy h1 {
    white-space: normal;
    line-height: 1.2;
  }

  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .navbar {
    padding: 14px;
    border-radius: 18px;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .brand-copy h1 {
    font-size: 15px;
  }

  .hero-chip {
    letter-spacing: 0.24em;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-buttons,
  .steps-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-body {
    gap: 24px;
    padding: 24px 0 48px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-visual {
    min-height: 360px;
  }

  .visual-character {
    width: 56%;
    max-width: 220px;
    right: 12px;
    bottom: 120px;
  }

  .float-badge {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .float-badge strong {
    font-size: 14px;
  }

  .visual-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
    flex-direction: column;
    border-radius: 18px;
    gap: 12px;
  }

  .visual-info h3 {
    font-size: 18px;
  }

  .visual-info p {
    font-size: 13px;
    line-height: 1.6;
  }

  .bonus-card strong {
    font-size: 22px;
  }

  .bonus-card {
    width: 100%;
  }

  .hero-orb,
  .hero-orb-2 {
    display: none;
  }

  .table-head {
    display: none;
  }

  .table-head,
  .table-row {
    grid-template-columns: 74px 1fr 1fr 88px;
    font-size: 13px;
    gap: 10px;
    padding: 14px 12px;
  }

  .rank-no {
    font-size: 18px;
  }

  .step-card h4 {
    font-size: 24px;
  }

  .power {
    text-align: left;
  }

  .custom-table {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* REGISTER PAGE */
.register-page-body {
  min-height: 100vh;
  background: radial-gradient(circle at center, rgba(181, 224, 255, 0.06), transparent 30%), linear-gradient(180deg, #030711 0%, #070d18 100%);
  color: #fff;
  position: relative;
}

.register-page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(181, 224, 255, 0.04), transparent 26%), radial-gradient(circle at 20% 25%, rgba(142, 197, 255, 0.08) 0 1px, transparent 2px), radial-gradient(circle at 72% 35%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px), radial-gradient(circle at 40% 70%, rgba(142, 197, 255, 0.06) 0 1px, transparent 2px), radial-gradient(circle at 80% 80%, rgba(142, 197, 255, 0.06) 0 1px, transparent 2px);
  background-size: auto, 260px 260px, 320px 320px, 360px 360px, 300px 300px;
  opacity: 0.7;
}

.register-page-header {
  position: relative;
  z-index: 2;
}

.nav-active {
  color: #ffffff !important;
  position: relative;
}

.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #89c6ff, #dff1ff);
  border-radius: 999px;
}

.register-top-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  text-decoration: none;
}

.register-main {
  position: relative;
  z-index: 1;
}

.register-page-section {
  padding: 28px 0 60px;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}

.register-page-container {
  display: flex;
  justify-content: center;
}

.register-page-card {
  width: 100%;
  max-width: 620px;
  position: relative;
  border: 1px solid rgba(142, 197, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.96), rgba(8, 12, 22, 0.98));
  box-shadow: 0 0 0 1px rgba(181, 224, 255, 0.04), 0 25px 80px rgba(0, 0, 0, 0.55), 0 0 45px rgba(142, 197, 255, 0.06);
  padding: 26px 22px 22px;
}

.register-card-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.3;
}

.register-card-corner-top {
  top: 8px;
  left: 8px;
  border-top: 1px solid rgba(142, 197, 255, 0.7);
  border-left: 1px solid rgba(142, 197, 255, 0.7);
  border-top-left-radius: 10px;
}

.register-card-corner-bottom {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid rgba(142, 197, 255, 0.7);
  border-bottom: 1px solid rgba(142, 197, 255, 0.7);
  border-bottom-right-radius: 10px;
}

.register-page-title-wrap {
  text-align: center;
  margin-bottom: 22px;
}

.register-page-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b8e2ff;
}

.register-page-title-line {
  width: 88px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7eb8ff, #dff1ff);
}

.register-form-box {
  background: linear-gradient(180deg, rgba(16, 22, 36, 0.92), rgba(12, 18, 30, 0.95));
  border: 1px solid rgba(223, 241, 255, 0.05);
  border-radius: 10px;
  padding: 20px 18px 18px;
}

.register-form-heading {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.register-field label {
  font-size: 12px;
  color: rgba(238, 244, 255, 0.82);
  font-weight: 600;
}

.register-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 0;
  border: 1px solid rgba(223, 241, 255, 0.06);
  background: #060c18;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-field input:focus {
  border-color: rgba(142, 197, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(142, 197, 255, 0.1);
}

.captcha-box {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(142, 197, 255, 0.35);
  background: #060c18;
  min-height: 48px;
}

.captcha-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  flex: 1;
}

.captcha-label {
  font-size: 11px;
  color: rgba(238, 244, 255, 0.72);
  margin-bottom: 2px;
}

.captcha-code {
  font-family: "Cinzel", serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #dff1ff;
  user-select: none;
}

.captcha-refresh-btn {
  min-width: 112px;
  border: 1px solid rgba(223, 241, 255, 0.14);
  background: rgba(223, 241, 255, 0.02);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.captcha-refresh-btn:hover {
  background: rgba(142, 197, 255, 0.08);
  border-color: rgba(142, 197, 255, 0.45);
}

.register-message {
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
}

.register-message.success {
  color: #8ff0c6;
}

.register-message.error {
  color: #ff8f9e;
}

.register-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.register-submit-btn,
.register-help-btn {
  min-width: 150px;
  height: 40px;
  padding: 0 18px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.register-submit-btn {
  background: linear-gradient(180deg, #9fd4ff, #78b9ff);
  color: #06101d;
}

.register-help-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(223, 241, 255, 0.2);
}

.register-submit-btn:hover,
.register-help-btn:hover {
  transform: translateY(-1px);
}

.register-footer {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .register-page-title {
    font-size: 28px;
  }

  .register-page-card {
    max-width: 100%;
    padding: 20px 14px 14px;
  }

  .register-form-box {
    padding: 16px 14px 14px;
  }

  .captcha-box {
    flex-direction: column;
  }

  .captcha-refresh-btn {
    min-height: 42px;
  }
}

.welcome-toast {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 9999;
  width: min(420px, calc(100% - 32px));
  opacity: 0;
  transform: translateY(-18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.welcome-toast.hide {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  pointer-events: none;
}

.welcome-toast-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(142, 197, 255, 0.32);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.96), rgba(8, 12, 22, 0.96)), radial-gradient(circle at top left, rgba(142, 197, 255, 0.15), transparent 32%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(142, 197, 255, 0.08);
  overflow: hidden;
}

.welcome-toast-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0.08), transparent 30%), radial-gradient(circle at right top, rgba(255, 255, 255, 0.06), transparent 20%);
  pointer-events: none;
}

.welcome-toast-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #dff1ff;
  background: linear-gradient(180deg, rgba(142, 197, 255, 0.16), rgba(142, 197, 255, 0.06));
  border: 1px solid rgba(142, 197, 255, 0.24);
  box-shadow: 0 0 18px rgba(142, 197, 255, 0.12);
}

.welcome-toast-content {
  flex: 1;
  min-width: 0;
}

.welcome-toast-label {
  margin: 0 0 6px;
  color: rgba(203, 231, 255, 0.78);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.welcome-toast-content h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 22px;
  line-height: 1.2;
  color: #eef7ff;
  text-shadow: 0 0 14px rgba(184, 226, 255, 0.18);
}

.welcome-toast-content p:last-child {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(222, 234, 255, 0.72);
}

.welcome-toast-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(223, 241, 255, 0.06);
  color: rgba(238, 244, 255, 0.72);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.welcome-toast-close:hover {
  background: rgba(223, 241, 255, 0.12);
  color: #fff;
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .welcome-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .welcome-toast-inner {
    padding: 18px;
    border-radius: 18px;
    gap: 12px;
  }

  .welcome-toast-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 14px;
  }

  .welcome-toast-content h3 {
    font-size: 18px;
  }

  .welcome-toast-content p:last-child {
    font-size: 13px;
  }
}

.system-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: min(380px, calc(100% - 32px));
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.system-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.system-toast.hide {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  pointer-events: none;
}

.system-toast-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 12, 18, 0.96), rgba(10, 8, 14, 0.97)), radial-gradient(circle at top left, rgba(255, 120, 160, 0.12), transparent 35%);
  border: 1px solid rgba(255, 140, 175, 0.24);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 120, 160, 0.08);
}

.system-toast-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #ffc1d1;
  background: linear-gradient(180deg, rgba(255, 120, 160, 0.16), rgba(255, 120, 160, 0.05));
  border: 1px solid rgba(255, 140, 175, 0.22);
  box-shadow: 0 0 18px rgba(255, 120, 160, 0.10);
}

.system-toast-content {
  flex: 1;
  min-width: 0;
}

.system-toast-label {
  margin: 0 0 4px;
  color: rgba(203, 231, 255, 0.72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.system-toast-content h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  line-height: 1.2;
  color: #eef7ff;
}

.system-toast-content p:last-child {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(222, 234, 255, 0.72);
}

.system-toast-close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: rgba(223, 241, 255, 0.06);
  color: rgba(238, 244, 255, 0.68);
  cursor: pointer;
}

@media (max-width: 700px) {
  .system-toast {
    top: 14px;
    right: 14px;
    left: 14px;
    width: auto;
  }
}

.system-toast-success .system-toast-inner {
  background: linear-gradient(180deg, rgba(12, 24, 28, 0.96), rgba(8, 10, 14, 0.97)), radial-gradient(circle at top left, rgba(126, 255, 225, 0.12), transparent 35%);
  border: 1px solid rgba(126, 255, 225, 0.24);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(126, 255, 225, 0.08);
}

.system-toast-success .system-toast-icon {
  color: #c7fff0;
  background: linear-gradient(180deg, rgba(126, 255, 225, 0.16), rgba(126, 255, 225, 0.05));
  border: 1px solid rgba(126, 255, 225, 0.22);
  box-shadow: 0 0 18px rgba(126, 255, 225, 0.10);
}

/* CLEAN REGISTER PAGE */
.register-clean-body {
  min-height: 100vh;
  color: #fff;
  background: radial-gradient(circle at top, rgba(181, 224, 255, 0.08), transparent 22%), linear-gradient(180deg, #040812 0%, #09111d 100%);
  position: relative;
}

.register-clean-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: radial-gradient(rgba(142, 197, 255, 0.2) 1px, transparent 1px), radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 260px 260px, 340px 340px;
  background-position: 0 0, 60px 100px;
}

.register-clean-main {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.register-clean-layout {
  min-height: calc(100vh - 240px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.register-clean-copy {
  max-width: 420px;
}

.register-clean-kicker {
  margin: 0 0 14px;
  color: #9ccfff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.register-clean-copy h2 {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: 48px;
  line-height: 1.08;
  color: #fff;
}

.register-clean-text {
  margin: 0;
  color: rgba(222, 234, 255, 0.7);
  line-height: 1.8;
  font-size: 15px;
}

.register-clean-card {
  max-width: 620px;
  width: 100%;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(142, 197, 255, 0.16);
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(8, 12, 22, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(142, 197, 255, 0.05);
}

.register-clean-card-head {
  margin-bottom: 24px;
}

.register-clean-card-head h3 {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 34px;
  color: #fff;
}

.register-clean-card-head p {
  margin: 0;
  color: rgba(222, 234, 255, 0.64);
}

.register-clean-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.register-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.register-clean-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.register-clean-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(238, 244, 255, 0.84);
}

.register-clean-group input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(223, 241, 255, 0.08);
  background: rgba(6, 12, 24, 0.5);
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-clean-group input::placeholder {
  color: rgba(222, 234, 255, 0.3);
}

.register-clean-group input:focus {
  border-color: rgba(142, 197, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.1);
}

.register-clean-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(142, 197, 255, 0.18);
  background: rgba(223, 241, 255, 0.03);
}

.register-clean-captcha-code {
  font-family: "Cinzel", serif;
  font-size: 28px;
  letter-spacing: 0.12em;
  color: #dff1ff;
  user-select: none;
}

.register-clean-refresh {
  min-width: 120px;
  height: 44px;
  border: 1px solid rgba(223, 241, 255, 0.12);
  border-radius: 12px;
  background: rgba(223, 241, 255, 0.03);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.register-clean-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.register-clean-submit,
.register-clean-help {
  min-width: 160px;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.register-clean-submit {
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #9fd4ff, #78b9ff);
  color: #06101d;
}

.register-clean-help {
  border: 1px solid rgba(223, 241, 255, 0.14);
  background: rgba(223, 241, 255, 0.02);
  color: #fff;
}

@media (max-width: 980px) {
  .register-clean-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .register-clean-copy {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .register-clean-main {
    padding: 60px 0;
  }

  .register-clean-copy h2 {
    font-size: 36px;
  }

  .register-clean-card {
    padding: 22px;
  }

  .register-clean-card-head h3 {
    font-size: 28px;
  }

  .register-clean-grid {
    grid-template-columns: 1fr;
  }

  .register-clean-captcha {
    flex-direction: column;
    align-items: stretch;
  }

  .register-clean-refresh {
    width: 100%;
  }
}

/* CINEMATIC MAGIC BACKGROUND */
.magic-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

/* soft light bloom */
.magic-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 67%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 207, 255, 0.14), transparent 62%);
  filter: blur(30px);
  opacity: 0.7;
}

.magic-glow-2 {
  width: 420px;
  height: 420px;
  top: 48%;
  left: 67%;
  background: radial-gradient(circle, rgba(223, 241, 255, 0.10), transparent 60%);
  filter: blur(18px);
  opacity: 0.8;
}

/* visible rune ring */
.magic-rune-ring {
  position: absolute;
  top: 50%;
  left: 67%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.22;
  animation: runeSpin 40s linear infinite;
  background: radial-gradient(circle, transparent 58%, rgba(142, 197, 255, 0.10) 58.4%, transparent 59.2%), radial-gradient(circle, transparent 68%, rgba(142, 197, 255, 0.10) 68.4%, transparent 69.2%), radial-gradient(circle, transparent 78%, rgba(142, 197, 255, 0.08) 78.4%, transparent 79.2%);
  box-shadow: 0 0 80px rgba(142, 197, 255, 0.08), inset 0 0 60px rgba(142, 197, 255, 0.04);
}

.magic-rune-ring::before,
.magic-rune-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.magic-rune-ring::before {
  inset: 36px;
  border: 1px dashed rgba(142, 197, 255, 0.14);
}

.magic-rune-ring::after {
  inset: 120px;
  border: 1px solid rgba(142, 197, 255, 0.10);
}

/* fewer but better particles */
.magic-particles {
  position: absolute;
  inset: 0;
}

.magic-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(223, 241, 255, 0.9);
  box-shadow: 0 0 10px rgba(156, 207, 255, 0.35);
  animation: particleRise linear infinite;
}

.magic-particles span:nth-child(1) {
  left: 12%;
  top: 86%;
  animation-duration: 18s;
}

.magic-particles span:nth-child(2) {
  left: 26%;
  top: 90%;
  animation-duration: 22s;
}

.magic-particles span:nth-child(3) {
  left: 44%;
  top: 82%;
  animation-duration: 16s;
}

.magic-particles span:nth-child(4) {
  left: 68%;
  top: 88%;
  animation-duration: 20s;
}

.magic-particles span:nth-child(5) {
  left: 82%;
  top: 84%;
  animation-duration: 24s;
}

.magic-particles span:nth-child(6) {
  left: 90%;
  top: 76%;
  animation-duration: 19s;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

@keyframes runeSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes particleRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  100% {
    transform: translateY(-340px) scale(0.5);
    opacity: 0;
  }
}

@media (max-width: 980px) {

  .magic-glow,
  .magic-glow-2,
  .magic-rune-ring {
    left: 50%;
  }

  .magic-rune-ring {
    width: 460px;
    height: 460px;
    opacity: 0.16;
  }
}

@media (max-width: 768px) {
  .magic-rune-ring {
    width: 340px;
    height: 340px;
    opacity: 0.12;
  }

  .magic-glow {
    width: 460px;
    height: 460px;
  }

  .magic-glow-2 {
    width: 280px;
    height: 280px;
  }
}

.brand:hover .brand-mark {
  box-shadow: 0 0 28px rgba(142, 197, 255, 0.6), inset 0 0 14px rgba(142, 197, 255, 0.35);
}

.navbar-wrap,
.hero,
.dashboard,
section,
footer,
.register-main,
.register-clean-main {
  position: relative;
  z-index: 1;
}

/* =========================
   PROFILE PAGE REDESIGN
========================= */

.profile-page {
  background:
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.08), transparent 25%),
    linear-gradient(180deg, #030814 0%, #040b18 45%, #020612 100%);
}

.dashboard-redesign {
  padding: 28px 0 70px;
}

.redesign-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 26px;
  align-items: start;
}

.redesign-sidebar,
.redesign-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 170, 255, 0.16);
  background: linear-gradient(180deg, rgba(7, 17, 35, 0.95) 0%, rgba(5, 12, 25, 0.94) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.redesign-sidebar::before,
.redesign-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(116, 179, 255, 0.06), transparent 35%, transparent 65%, rgba(116, 179, 255, 0.03));
}

.redesign-sidebar {
  padding: 16px;
  border-radius: 22px;
}

.redesign-content {
  padding: 18px;
  border-radius: 24px;
}

.profile-mini-redesign {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(131, 175, 255, 0.15);
  background: linear-gradient(180deg, rgba(18, 33, 60, 0.9), rgba(10, 18, 35, 0.95));
}

.avatar-large {
  width: 68px;
  height: 68px;
  font-size: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #112748 0%, #0a1630 100%);
  border: 1px solid rgba(135, 183, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e9f2ff;
  box-shadow: inset 0 0 18px rgba(120, 180, 255, 0.08);
}

.profile-mini-copy h3 {
  margin: 4px 0 6px;
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #eef5ff;
}

.profile-mini-copy p,
.hero-profile-copy p {
  margin: 0;
  color: rgba(220, 232, 255, 0.72);
  font-size: 13px;
}

.mini-label,
.section-kicker,
.hero-badge {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: #8ebcff;
}

.dot-divider {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 0 10px;
  background: rgba(142, 188, 255, 0.55);
  vertical-align: middle;
}

.sidebar-menu {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.sidebar-link {
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(130, 171, 241, 0.12);
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.95), rgba(8, 16, 29, 0.95));
  color: #dce9ff;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  border-color: rgba(144, 191, 255, 0.28);
  background: linear-gradient(180deg, rgba(24, 43, 77, 0.98), rgba(11, 22, 39, 0.98));
  box-shadow: inset 0 0 20px rgba(114, 170, 255, 0.06);
}

.sidebar-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mini-stat-box {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(128, 174, 255, 0.12);
  background: rgba(8, 16, 29, 0.75);
}

.mini-stat-box span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(173, 198, 239, 0.6);
}

.mini-stat-box strong {
  color: #f4f8ff;
  font-size: 15px;
}

.logout-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #d6eaff 0%, #adcfff 100%);
  color: #07111f;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(123, 174, 255, 0.18);
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-title {
  margin: 4px 0 0;
  font-family: "Cinzel", serif;
  font-size: 52px;
  line-height: 1;
  color: #cfe3ff;
}

.hero-profile-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(127, 177, 255, 0.15);
  background:
    radial-gradient(circle at right top, rgba(92, 147, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(13, 25, 47, 0.95), rgba(8, 15, 28, 0.98));
}

.hero-profile-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.hero-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(180deg, #14305a 0%, #0a1731 100%);
  border: 1px solid rgba(153, 196, 255, 0.24);
  color: #f1f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  box-shadow: inset 0 0 24px rgba(119, 182, 255, 0.08);
}

.hero-profile-copy h3 {
  margin: 8px 0 8px;
  font-family: "Cinzel", serif;
  font-size: 30px;
  color: #eff6ff;
}

.hero-profile-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 240px;
}

.hero-small-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(128, 175, 255, 0.12);
  background: rgba(8, 15, 28, 0.68);
}

.hero-small-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(185, 207, 244, 0.58);
}

.hero-small-card strong {
  color: #f4f8ff;
  font-size: 15px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(131, 179, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 20, 38, 0.92), rgba(7, 13, 24, 0.95));
}

.stat-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(173, 198, 239, 0.58);
}

.stat-card strong {
  color: #f4f8ff;
  font-size: 22px;
  font-weight: 700;
}

.redesigned-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.feature-card,
.activity-card,
.quick-panel {
  border-radius: 20px;
  border: 1px solid rgba(122, 169, 247, 0.12);
  background: linear-gradient(180deg, rgba(9, 19, 36, 0.96), rgba(6, 11, 20, 0.98));
  padding: 20px;
}

.feature-card h4,
.activity-card h4,
.quick-panel h4 {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: 26px;
  color: #cfe1ff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(120, 160, 230, 0.08);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span {
  color: rgba(181, 204, 241, 0.62);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-row strong {
  color: #f2f7ff;
  font-size: 14px;
  text-align: right;
}

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
}

.activity-list {
  display: grid;
  gap: 14px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(124, 170, 246, 0.08);
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: #8ab9ff;
  box-shadow: 0 0 10px rgba(138, 185, 255, 0.55);
  flex-shrink: 0;
}

.activity-item strong {
  display: block;
  margin-bottom: 4px;
  color: #f5f8ff;
  font-size: 14px;
}

.activity-item p {
  margin: 0;
  color: rgba(190, 210, 241, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.quick-links {
  display: grid;
  gap: 12px;
}

.quick-link-box {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(128, 175, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 27, 51, 0.92), rgba(8, 15, 27, 0.96));
  color: #e4efff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.quick-link-box:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 200, 255, 0.25);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1100px) {
  .redesign-grid {
    grid-template-columns: 1fr;
  }

  .hero-profile-card,
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-profile-right {
    min-width: unset;
  }

  .stats-strip,
  .redesigned-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 34px;
  }

  .hero-profile-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-profile-copy h3 {
    font-size: 24px;
  }

  .stats-strip,
  .redesigned-info-grid,
  .dashboard-lower-grid,
  .sidebar-extra {
    grid-template-columns: 1fr;
  }

  .hero-profile-card {
    padding: 18px;
  }

  .feature-card h4,
  .activity-card h4,
  .quick-panel h4 {
    font-size: 22px;
  }
}

.download-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 9999;
}

.download-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.download-modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 32px 28px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 28, 56, 0.96), rgba(10, 14, 30, 0.98));
  border: 1px solid rgba(255, 215, 130, 0.18);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(120, 95, 255, 0.12);
  color: #f4efe4;
}

.download-modal-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 198, 92, 0.18), transparent 70%);
  pointer-events: none;
}

.download-modal-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9b46b;
}

.download-modal-box h3 {
  margin: 0 0 14px;
  font-family: "Cinzel", serif;
  font-size: 28px;
  color: #fff5dc;
}

.download-modal-box p {
  margin: 0;
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.88);
}

.download-modal-box strong {
  color: #ffd98a;
}

.download-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.download-modal-actions .btn {
  min-width: 110px;
  border: none;
  cursor: pointer;
}
/* TERMS MODAL */
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.terms-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.terms-modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow: hidden;

  border-radius: 28px;
  border: 1px solid rgba(142, 197, 255, 0.18);

  background:
    linear-gradient(
      180deg,
      rgba(12, 18, 34, 0.96),
      rgba(6, 10, 20, 0.98)
    );

  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(142, 197, 255, 0.08);

  padding: 34px 30px;
}

.terms-modal-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -80px;
  right: -80px;

  background:
    radial-gradient(
      circle,
      rgba(142, 197, 255, 0.18),
      transparent 70%
    );

  pointer-events: none;
}

.terms-modal-eyebrow {
  margin-bottom: 10px;

  color: #9ccfff;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.terms-modal-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 38px;
  color: var(--gold-soft);

  margin-bottom: 22px;
}

.terms-modal-content {
  max-height: 52vh;
  overflow-y: auto;

  padding-right: 8px;
}

/* SCROLLBAR */
.terms-modal-content::-webkit-scrollbar {
  width: 6px;
}

.terms-modal-content::-webkit-scrollbar-thumb {
  background: rgba(142, 197, 255, 0.22);
  border-radius: 999px;
}

.terms-rule {
  padding: 18px 18px;
  margin-bottom: 14px;

  border-radius: 18px;
  border: 1px solid rgba(223, 241, 255, 0.06);

  background:
    rgba(223, 241, 255, 0.03);
}

.terms-rule h4 {
  margin-bottom: 10px;

  color: var(--gold-soft);
  font-size: 18px;
  font-family: 'Cinzel', serif;
}

.terms-rule p {
  color: rgba(222, 234, 255, 0.72);
  line-height: 1.8;
  font-size: 14px;
}

.terms-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.terms-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 14px;

  background: rgba(223, 241, 255, 0.06);
  color: rgba(238, 244, 255, 0.82);

  font-size: 16px;
  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.terms-modal-close:hover {
  background: rgba(223, 241, 255, 0.12);
  transform: scale(1.05);
}

@media (max-width: 700px) {

  .terms-modal-box {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .terms-modal-box h3 {
    font-size: 28px;
  }

  .terms-rule {
    padding: 16px;
  }

  .terms-rule h4 {
    font-size: 16px;
  }

  .terms-rule p {
    font-size: 13px;
    line-height: 1.7;
  }

  .terms-modal-actions .btn {
    width: 100%;
  }
}