
:root {
  --bg-main: #05060a;
  --bg-glass: rgba(12,16,30,0.65);
  --text-main: #eaf0ff;
  --text-muted: #9aa8d4;
  --accent: #2e5bff;
}

html[data-theme="light"] {
  --bg-main: #f2f4f8;
  --bg-glass: rgba(255,255,255,0.9);
  --text-main: #0b0f1a;
  --text-muted: #5a627a;
  --accent: #2e5bff;
}

body {
  margin:0;
  font-family: Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  transition: background 0.6s ease, color 0.6s ease;
  overflow-x: hidden;
}

.background {
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 50% 30%, rgba(80,120,255,0.10), transparent 55%),
    var(--bg-main);
  animation: float 40s linear infinite;
  z-index:-1;
}

@keyframes float {
  from { background-position: 0 0; }
  to { background-position: 200px 200px; }
}

.app {
  max-width:1200px;
  margin:20px auto;
  padding:20px;
}

/* Floating theme toggle OUTSIDE header */
.theme-floating {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: 0.25s;
}

.theme-floating:hover {
  box-shadow: 0 0 16px rgba(46,91,255,0.7),
              0 0 28px rgba(46,91,255,0.5);
  transform: scale(1.08);
}

/* ===== TOP BAR ===== */
.topbar {
  padding:16px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand h1 {
  margin:0;
  font-size:22px;
}

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

.topbar-right {
  display:flex;
  align-items:center;
  gap:12px;
}

/* Text buttons for links */
.text-btn {
  padding:8px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08);
  color:var(--text-main);
  text-decoration:none;
  font-size:14px;
  transition:0.25s;
}

.text-btn:hover {
  box-shadow: 0 0 14px rgba(46,91,255,0.7),
              0 0 26px rgba(46,91,255,0.5);
  transform: translateY(-2px);
}

.buy-btn {
  background: var(--accent);
  border:none;
  color:white;
}

/* Icon-only for Telegram + X */
.icon-only {
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08);
  text-decoration:none;
  transition:0.25s;
}

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

.x-icon {
  font-weight:bold;
  font-size:15px;
  color:var(--text-main);
}

.icon-only:hover {
  box-shadow: 0 0 14px rgba(46,91,255,0.7),
              0 0 26px rgba(46,91,255,0.5);
  transform: translateY(-2px) scale(1.05);
}

/* ===== GLASS UI ===== */
.glass {
  background:var(--bg-glass);
  backdrop-filter: blur(16px);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:18px;
  box-shadow:0 0 40px rgba(0,0,0,0.25);
  transition: background 0.6s ease, box-shadow 0.3s ease;
}

.hover:hover {
  transform: translateY(-4px);
  box-shadow:0 0 60px rgba(46,91,255,0.25);
}

.hero {
  margin-top:20px;
  padding:25px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.big-price strong { font-size:30px; }

.stats {
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
}

.card { padding:18px; }

.chart {
  margin-top:20px;
  padding:20px;
}

.chart-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.time-buttons button {
  margin-left:6px;
  padding:6px 10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.1);
  color:var(--text-main);
  cursor:pointer;
}

.time-buttons .active {
  background:var(--accent);
  border-color:var(--accent);
  color:white;
}

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

.panel { padding:20px; }

.small {
  font-size:14px;
  color:var(--text-muted);
}

footer {
  margin-top:25px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--text-muted);
}

/* ===== Landing Hero Section ===== */

.hero-landing {
  margin-top: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}

.hero-title {
  font-size: 42px;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-story {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.cta-btn {
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
}

.cta-btn:hover {
  box-shadow: 0 0 24px rgba(46,91,255,0.8);
  transform: translateY(-2px);
}

.secondary-btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-main);
  text-decoration: none;
  transition: 0.25s;
}

.secondary-btn:hover {
  box-shadow: 0 0 18px rgba(46,91,255,0.5);
  transform: translateY(-2px);
}

/* Token Info Card */

.token-card {
  padding: 24px;
}

.token-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.token-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.token-card li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.contract {
  font-family: monospace;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract button {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--text-main);
  cursor: pointer;
}

.contract button:hover {
  box-shadow: 0 0 12px rgba(46,91,255,0.6);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-landing {
    grid-template-columns: 1fr;
  }
}


.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  height: 36px;
  width: auto;
}


/* Logo hover glow effect */
.logo {
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.6))
          drop-shadow(0 0 14px rgba(0, 200, 255, 0.45));
}


/* =========================
   Mobile Responsiveness
   ========================= */
@media (max-width: 768px) {

  header.topbar {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand h1 {
    font-size: 1.4rem;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .text-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .icon-only img,
  .x-icon {
    width: 34px;
    height: 34px;
  }

  .app {
    padding: 12px;
  }

  .grid,
  .panel-grid {
    grid-template-columns: 1fr !important;
  }

  .glass {
    padding: 14px;
  }
}
