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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.header__coins {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(253, 203, 110, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-weight: 600;
  font-size: var(--fs-sm);
}

/* Bottom Navigation */
.nav {
  display: flex;
  justify-content: space-around;
  background: white;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 8px 0;
}

.nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: var(--text-light);
  text-decoration: none;
  padding: 4px 12px;
  transition: var(--transition);
}

.nav__item:hover {
  color: var(--primary);
}

.nav__item.active {
  color: var(--primary);
}

.nav__item .nav__icon {
  font-size: 20px;
  margin-bottom: 2px;
}

/* Main Content */
.main {
  padding-bottom: 80px;
  padding-top: 16px;
}

/* Utilities */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Responsive */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
  }
}
