:root {
  --bg: #06080f;
  --bg-soft: #0c1019;
  --card: rgba(14, 18, 28, 0.88);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #00e5cc;
  --accent-2: #14b8a6;
  --accent-glow: rgba(0, 229, 204, 0.35);
  --chart-turquoise: #00e5cc;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--text-muted);
  font-family: "Inter", "Poppins", "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse 900px 420px at 0% -10%, rgba(0, 229, 204, 0.14), transparent 55%),
    radial-gradient(ellipse 700px 380px at 100% 0%, rgba(20, 184, 166, 0.08), transparent 50%),
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(0, 229, 204, 0.04), transparent 45%),
    linear-gradient(180deg, #05070d 0%, #0a0e17 45%, #06080f 100%);
  line-height: 1.5;
}

.space-bg {
  background: transparent !important;
  pointer-events: none;
}

.star {
  background: rgba(0, 229, 204, 0.65) !important;
  box-shadow: 0 0 6px rgba(0, 229, 204, 0.5);
}

.topbar,
.navbar {
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(8, 10, 16, 0.88) !important;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.brand-link,
.logo-orange,
.logo-turquoise {
  color: var(--accent) !important;
  text-shadow: 0 0 20px var(--accent-glow);
}

.topbar-menu a,
.nav-links a {
  color: var(--text-muted) !important;
}

.topbar-menu a:hover,
.topbar-menu a.active,
.nav-links a:hover {
  color: var(--accent) !important;
}

.signup-btn,
h1,
h2,
h3 {
  color: var(--text) !important;
}

.signup-btn,
.register-button,
button,
.btn,
.send-btn,
.big-btn,
.cta-button {
  color: #0c0a09 !important;
  font-weight: 700;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.signup-btn:hover,
.register-button:hover,
button:hover,
.btn:hover,
.send-btn:hover,
.big-btn:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
  filter: brightness(1.08);
}

.container,
.main-content {
  width: min(1200px, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.left-section,
.right-section,
.card,
.crypto,
.balance-card,
.ticket-wrapper,
.wallets-box,
.transaction-box,
.verification-block,
.transaction-item,
.news-card,
.section,
form,
table {
  background: var(--card) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: blur(8px);
}

.left-section,
.right-section,
.card,
.crypto,
.balance-card,
.ticket-wrapper,
.wallets-box,
.transaction-box,
.verification-block {
  padding: 18px !important;
}

input,
select,
textarea {
  background: rgba(8, 11, 18, 0.95) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.2) !important;
}

p,
li,
small,
.subtext,
.muted,
.small-muted,
.wallet-value,
.available-label,
.news-time {
  color: var(--text-muted) !important;
}

.status-online {
  color: var(--success) !important;
}

.status-offline {
  color: var(--danger) !important;
}

.overview,
.cosmic-grid,
.logo-grid,
.winrate-grid,
.impact-grid {
  gap: 16px !important;
}

.ticket,
.wallet-item,
.recent-item,
.list li,
.feature,
.cosmic-item,
.winrate-item,
.impact-item {
  background: rgba(10, 14, 22, 0.75) !important;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
}

table {
  overflow: hidden;
}

th {
  color: var(--accent) !important;
  background: rgba(0, 229, 204, 0.08) !important;
}

td {
  color: var(--text-muted) !important;
}

.section-header {
  background: rgba(0, 229, 204, 0.06) !important;
  color: var(--text) !important;
}

.amount,
.balance-amount,
.highlight,
.val {
  color: var(--accent) !important;
}

@keyframes uiFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card,
.crypto,
.balance-card,
.ticket-wrapper,
.news-card,
.transaction-item {
  animation: uiFadeUp 0.5s ease both;
}

@media (max-width: 900px) {
  .topbar,
  .navbar {
    padding: 12px 14px !important;
  }

  .main-content {
    padding-top: 92px !important;
  }

  .overview,
  .main-content,
  .container {
    display: block !important;
  }

  .balance-card,
  .wallets-box,
  .transaction-box,
  .right-section,
  .left-section,
  .card {
    margin-bottom: 14px !important;
  }

  .topbar-menu {
    gap: 8px !important;
  }
}
