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

:root {
  --bg: #0A0A0F;
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --success: #4ADE80;
  --telegram: #3B82F6;
  --text-sec: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.4);

  --lg-bg: rgba(255,255,255,0.08);
  --lg-border: rgba(255,255,255,0.18);
  --lg-highlight: rgba(255,255,255,0.25);
  --lg-shadow: rgba(0,0,0,0.35);
  --lg-blur: 24px;
  --lg-radius: 22px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { background: none; border: none; font-family: inherit; cursor: pointer; }

#bgFull {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: url('../public/assets/bg.jpg') center center / cover no-repeat;
}
#bgOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 10, 15, 0.45);
}
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(124, 58, 237, 0.18);
  top: -150px; left: -150px;
  animation: floatOrb 20s ease-in-out infinite;
}
.orb-2 {
  width: 450px; height: 450px;
  background: rgba(74, 222, 128, 0.08);
  bottom: -100px; right: -100px;
  animation: floatOrb 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 350px; height: 350px;
  background: rgba(59, 130, 246, 0.08);
  bottom: 50%; right: 10%;
  animation: floatOrb 18s ease-in-out infinite 5s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -60px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.95); }
}

.content { position: relative; z-index: 2; pointer-events: auto; }

.lg {
  background: var(--lg-bg);
  backdrop-filter: blur(var(--lg-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(180%) brightness(1.05);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  box-shadow:
    0 8px 32px var(--lg-shadow),
    inset 0 1px 0 var(--lg-highlight),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.lg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: var(--lg-radius) var(--lg-radius) 0 0;
  pointer-events: none;
}

.dynamic-island {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 0 0 1px rgba(124,58,237,0.2);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.dynamic-island::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}
.di-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.di-logo img {
  width: 24px; height: 24px;
  border-radius: 6px;
  object-fit: cover;
}
.di-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.di-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
}
.di-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.di-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.2s;
  text-decoration: none;
}
.di-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.di-login {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}
.di-login:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(124,58,237,0.6);
}

#site-header { display: none; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 0 28px rgba(124,58,237,0.5); }

.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
}

.btn-danger {
  display: inline-block;
  background: rgba(239,68,68,0.1);
  color: #EF4444;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(239,68,68,0.3);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-danger:hover { background: rgba(239,68,68,0.2); }

.btn-disabled {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.3);
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: not-allowed;
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.glass-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(var(--lg-blur)) saturate(160%) brightness(1.04);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(160%) brightness(1.04);
  border-radius: var(--lg-radius);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: var(--lg-radius) var(--lg-radius) 0 0;
  pointer-events: none;
}
.glass-card:hover {
  box-shadow:
    0 12px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.22),
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 0 30px rgba(124,58,237,0.12);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.22);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5), 0 0 60px rgba(124,58,237,0.25);
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

section { position: relative; }
.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.section-subtitle { color: var(--text-sec); font-size: 18px; max-width: 600px; margin: 0 auto 64px; }
.text-center { text-align: center; }

.advantages { padding: 96px 24px; }
.advantages-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.advantage-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.advantage-icon {
  width: 96px; height: 96px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.2);
}
.advantage-icon img {
  width: 64px; height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.advantage-card h3 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.advantage-card p { color: rgba(255,255,255,0.65); line-height: 1.7; }

.stats { display: none; }

.tariffs { padding: 96px 24px; }
.tariffs-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.tariff-category { text-align: center; }
.tariff-category-title { font-size: 28px; font-weight: 800; margin-bottom: 24px; letter-spacing: 1px; }
.tariff-category-title.beta { color: #f59e0b; text-shadow: 0 0 20px rgba(245,158,11,0.3); }
.tariff-category-title.alpha { color: var(--primary); text-shadow: 0 0 20px rgba(124,58,237,0.3); }
.tariff-category-title.other { color: #6B7280; }
.tariff-items { display: flex; flex-direction: column; gap: 12px; }
.tariff-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  transition: all 0.3s;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  overflow: hidden;
}
.tariff-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}
.tariff-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.25), 0 0 20px rgba(124,58,237,0.1);
  transform: translateX(4px);
}
.tariff-item-name { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); }
.tariff-item-price { font-size: 18px; font-weight: 700; color: #fff; }
.tariff-item-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.beta-price { color: #f59e0b !important; }
.alpha-price { color: var(--primary) !important; }
.other-price { color: #9CA3AF !important; }
.tariff-item.lifetime {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.25);
}

.play-section { padding: 96px 24px; text-align: center; }
.play-tags { display: none; }
.play-section h2 { font-size: 56px; font-weight: 700; line-height: 1.2; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.play-section p { color: rgba(255,255,255,0.65); font-size: 18px; max-width: 720px; margin: 0 auto 48px; line-height: 1.7; }

.clickgui-section { padding: 0 24px 96px; }
.clickgui-container {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: var(--lg-radius);
  overflow: hidden;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 20px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.clickgui-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 100%);
  pointer-events: none;
}
.clickgui-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--lg-radius);
}
.clickgui-bg, .clickgui-frame { display: none; }

footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.input-field {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 13px 18px;
  color: #fff;
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.input-field::placeholder { color: rgba(255,255,255,0.35); }
.input-field:focus {
  border-color: rgba(124,58,237,0.6);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 580px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 40px;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

.auth-layout {
  display: flex;
  gap: 32px;
  align-items: center;
}
.auth-layout-left {
  flex-shrink: 0;
  width: 160px;
}
.auth-img {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.auth-layout-right {
  flex: 1;
  min-width: 0;
}

.auth-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.auth-logo-tilde { color: var(--primary); font-size: 22px; font-weight: 700; }
.auth-logo-img { width: 28px; height: 28px; border-radius: 6px; }
.auth-logo-text { font-size: 20px; font-weight: 700; }
.auth-card h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 20px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-error { color: #EF4444; font-size: 14px; text-align: center; display: none; }
.auth-footer { text-align: center; margin-top: 20px; color: rgba(255,255,255,0.4); font-size: 14px; }
.auth-footer a { color: var(--primary); }
.auth-footer a:hover { text-decoration: underline; }
.w-full { width: 100%; text-align: center; display: block; }

.dashboard { min-height: 100vh; display: flex; }
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
  box-shadow: 4px 0 32px rgba(0,0,0,0.2);
}
.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}
.sidebar-logo { display: flex; align-items: center; gap: 8px; margin: 16px 16px 32px; }
.sidebar-logo-icon { color: var(--primary); font-size: 22px; font-weight: 700; }
.sidebar-logo-text { font-size: 20px; font-weight: 700; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.sidebar-item:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
}
.sidebar-item.active {
  color: #fff;
  border-left-color: var(--primary);
  background: rgba(124,58,237,0.12);
}
.sidebar-item.danger { color: #EF4444; }
.sidebar-item.danger:hover { background: rgba(239,68,68,0.08); }
.sidebar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-spacer { flex: 1; }

.dash-main { flex: 1; padding: 48px; margin-left: 260px; min-height: 100vh; }
.dash-title { font-size: 32px; font-weight: 700; margin-bottom: 32px; }

.profile-section { max-width: 700px; }
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.profile-row:last-child { border-bottom: none; }
.profile-row-left { display: flex; align-items: center; gap: 12px; }
.profile-row-left svg { color: var(--primary); width: 18px; height: 18px; opacity: 0.7; }
.profile-row .label { color: rgba(255,255,255,0.45); font-size: 15px; }
.profile-row .value { color: #fff; font-size: 15px; font-weight: 500; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.shop-card { display: flex; flex-direction: column; }
.shop-card-name { font-size: 22px; font-weight: 700; }
.shop-card-sub { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 24px; margin-top: 4px; }
.shop-card-price { font-size: 44px; font-weight: 700; margin-bottom: 16px; }
.shop-card-price.muted { color: rgba(255,255,255,0.15); }
.shop-card-bottom { margin-top: auto; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.modal-close { position: absolute; top: 24px; right: 24px; color: rgba(255,255,255,0.4); font-size: 20px; line-height: 1; }
.modal-close:hover { color: #fff; }
.modal h2 { font-size: 28px; font-weight: 700; margin-bottom: 32px; }
.modal-body { display: flex; gap: 40px; flex-wrap: wrap; }
.modal-left, .modal-right { flex: 1; min-width: 240px; }
.modal-row { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 16px; }
.modal-actions { display: flex; gap: 16px; justify-content: flex-end; margin-top: 40px; flex-wrap: wrap; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.08);
  border-radius: 14px; padding: 16px; margin-bottom: 12px;
}
.payment-balance {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 16px;
  display: flex; justify-content: space-between;
  font-size: 14px; color: rgba(255,255,255,0.5);
}
.promo-row { display: flex; gap: 8px; margin-top: 24px; }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.media-balance { font-size: 48px; font-weight: 700; color: var(--success); margin-bottom: 24px; }
.media-promo { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.media-promo-used { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.media-graph { height: 256px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); }
.media-graph-icon { font-size: 48px; margin-bottom: 16px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead tr { background: rgba(255,255,255,0.05); }
th { padding: 12px 24px; text-align: left; font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
td { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.role-badge { padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.role-admin { background: rgba(239,68,68,0.15); color: #EF4444; }
.role-media { background: rgba(168,85,247,0.15); color: #A855F7; }
.role-user { background: rgba(107,114,128,0.15); color: #D1D5DB; }

.color-circles { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.color-circle {
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
}
.color-circle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  border-radius: 50% 50% 0 0;
}
.color-circle:hover {
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 20px rgba(0,0,0,0.4);
}
.color-circle.selected {
  border-color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3), inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 20px rgba(0,0,0,0.4);
}

.color-save-btn {
  margin-top: 24px;
}

.text-success { color: var(--success); }
.text-primary { color: var(--primary); }
.text-muted { color: rgba(255,255,255,0.4); }
.text-sec { color: rgba(255,255,255,0.6); }
.font-bold { font-weight: 700; }
.text-sm { font-size: 14px; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-in { animation: slideIn 0.5s ease-out forwards; }

@media (max-width: 768px) {
  .dynamic-island { gap: 12px; padding: 8px 16px; }
  .di-nav { display: none; }
  .hero h1 { font-size: 36px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .tariffs-grid { grid-template-columns: 1fr; max-width: 400px; }
  .play-section h2 { font-size: 32px; }
  .section-title { font-size: 32px; }
  .auth-layout { flex-direction: column; }
  .auth-layout-left { width: 100%; }
  .auth-img { width: 100%; height: auto; }
  .sidebar { width: 100%; min-height: auto; position: relative; flex-direction: row; flex-wrap: wrap; }
  .dash-main { margin-left: 0; padding: 24px; }
  .media-grid { grid-template-columns: 1fr; }
}
