@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-primary: #050B17;
  --bg-secondary: #0A1730;
  --surface: #101E38;
  --surface-hover: #162747;
  --primary: #1473E6;
  --primary-light: #258BFF;
  --primary-glow: rgba(37, 139, 255, 0.25);
  --text-primary: #F5F7FA;
  --text-secondary: #94A3B8;
  --border: #263752;
  --border-hover: rgba(37, 139, 255, 0.5);
  --success: #22C55E;
  --danger: #EF4444;
  --warning: #F59E0B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 80% 10%, rgba(37, 139, 255, 0.12), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(20, 115, 230, 0.08), transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* Container */
.web-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Cards */
.trx-card {
  background: rgba(16, 30, 56, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.trx-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(20, 115, 230, 0.15);
}

.trx-card-glow {
  position: relative;
  overflow: hidden;
}

.trx-card-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 139, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1473E6 0%, #258BFF 100%);
  color: #FFFFFF;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 139, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(16, 30, 56, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
}

/* Inputs */
.trx-input {
  width: 100%;
  background: rgba(10, 23, 48, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.trx-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(37, 139, 255, 0.2);
}

.trx-input::placeholder {
  color: var(--text-secondary);
}

/* Ticker Marquee */
.ticker-wrap {
  width: 100%;
  background: rgba(10, 23, 48, 0.8);
  border: 1px solid var(--border);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.ticker-wrap:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translate3d(100%, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Badges */
.badge-vip {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.badge-blue {
  background: rgba(37, 139, 255, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(37, 139, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
