@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&family=Syne:wght@700;800&display=swap');

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

:root {
  --bg: #02040a;
  --panel: rgba(10, 15, 30, 0.75);
  --accent: #ff007a; /* Sunset Magenta */
  --accent-glow: rgba(255, 0, 122, 0.3);
  --cyan: #00f2ff; /* Ocean Cyan */
  --cyan-glow: rgba(0, 242, 255, 0.2);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.05);
  --nav-h: 70px;
  --header-h: 65px;
  --radius: 20px;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.paradise-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #0a0b1e 0%, #02040a 100%);
  overflow: hidden;
}

.waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 15vh;
  min-height: 80px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

.palm {
  position: absolute;
  bottom: -40px;
  width: 250px;
  opacity: 0.1;
  pointer-events: none;
  filter: brightness(0);
}
.palm-left { left: -60px; transform: rotate(15deg); }
.palm-right { right: -60px; transform: rotate(-15deg) scaleX(-1); }

.app {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-l {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: 20px;
}

.mode-badge {
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 0, 122, 0.1);
  border: 1px solid rgba(255, 0, 122, 0.3);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.app-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  padding-bottom: calc(var(--nav-h) + 20px);
}

.earn-banner {
  background: linear-gradient(135deg, rgba(255, 0, 122, 0.15), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(255, 0, 122, 0.2);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.earn-label { font-size: 10px; font-weight: 900; color: var(--accent); letter-spacing: 2px; }
.earn-val { font-size: 32px; font-weight: 900; color: #fff; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 15px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  backdrop-filter: blur(15px);
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.stat-card.active {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--cyan-glow);
}

.operation-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.operation-banner.active {
  background: rgba(255, 0, 122, 0.1);
  border-color: rgba(255, 0, 122, 0.3);
}

.bottom-nav {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  height: var(--nav-h);
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: 25px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
}

.nav-item.active {
  color: var(--accent);
}

.nav-label { font-size: 9px; font-weight: 900; letter-spacing: 1px; }

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 16px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 15px;
  outline: none;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #ff5c8d);
  border: none;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 25px var(--accent-glow);
}

.toast {
  background: var(--accent);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 900;
  letter-spacing: 1px;
}
