/* Modern Paper Trading Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Header */
.modern-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  font-family: 'VT323', 'Fira Mono', 'Consolas', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00eaff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.logo-subtitle {
  font-size: 0.9rem;
  color: #8b8b8b;
  font-weight: 400;
  margin-top: -5px;
}

.header-center {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn.twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn.telegram:hover {
  background: linear-gradient(135deg, #0088cc, #0077b3);
}

/* NAVBAR */
.main-nav {
  background: #181818;
  display: flex;
  gap: 20px;
  padding: 0 40px;
  border-bottom: 2px solid #00eaff;
}

.nav-btn {
  color: #fff;
  font-family: 'VT323', 'Fira Mono', 'Consolas', monospace;
  font-size: 1.3rem;
  font-weight: bold;
  background: none;
  border: none;
  padding: 18px 18px 12px 18px;
  cursor: pointer;
  border-radius: 0 0 8px 8px;
  transition: background 0.2s;
  text-decoration: none;
}

.nav-btn.yellow { color: #ffe600; }
.nav-btn.green { color: #00ff6a; }
.nav-btn.purple { color: #b97fff; }
.nav-btn.orange { color: #ff9900; }
.nav-btn.blue { color: #1e90ff; }
.nav-btn:hover { background: #222; }

/* Balance Container */
.balance-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.balance-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.balance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.balance-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.balance-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.balance-label {
  font-size: 0.9rem;
  color: #8b8b8b;
  font-weight: 500;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: #00ff6a;
  text-shadow: 0 0 20px rgba(0, 255, 106, 0.3);
}

/* Trading Container */
.trading-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 4rem 2rem;
}

.trading-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #8b8b8b;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  min-width: 120px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-3px);
}

.tab-btn.active {
  background: linear-gradient(135deg, #00eaff, #0099cc);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 234, 255, 0.3);
  transform: translateY(-3px);
}

.tab-icon {
  font-size: 2rem;
}

.tab-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Profile Styles */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: visible;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00eaff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.profile-subtitle {
  font-size: 1.2rem;
  color: #8b8b8b;
  font-weight: 400;
}

.profile-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group:last-child {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-input {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.1);
  background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
  color: #8b8b8b;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #00eaff, #0099cc);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 234, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 234, 255, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
}

/* Profile Card - New Design */
.profile-card-container {
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.profile-card {
  background: #d3d3d3;
  border: 2px solid #000;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  animation: none;
  position: relative;
  overflow: visible;
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #000;
  min-height: 400px;
}

.profile-card::before {
  content: 'MY PROFILE';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.profile-card::after {
  content: 'X';
  position: absolute;
  top: 2px;
  right: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

/* Profile Windows Layout - Retro Style */
.profile-windows-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
  margin-top: 20px;
}

.profile-window {
  background: #f0f0f0;
  border: 2px solid #000;
  border-radius: 0;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.window-title-bar {
  background: #666;
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 16px;
}

.window-title {
  font-family: 'Courier New', monospace;
}

.window-close {
  font-family: 'Courier New', monospace;
  cursor: pointer;
}

.window-content {
  padding: 8px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #000;
}

/* Specific window content styles */
.profile-avatar {
  width: 180px;
  height: 180px;
  border: 1px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: 180px;
  max-height: 180px;
  border: 1px solid #000;
  background: #fff;
}

.birthday-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
  min-height: 120px;
}

.birthday-text {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.zodiac-symbol {
  font-size: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.bio-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
}

.bio-item {
  font-size: 14px;
  line-height: 1.3;
  color: #000;
  font-weight: bold;
}

.badges-section {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.badge {
  font-size: 16px;
  padding: 2px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0;
}

.profile-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 15px;
  min-height: 120px;
}

.profile-symbol img {
  max-width: 120px;
  max-height: 120px;
  width: 100%;
  height: 100%;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0;
  object-fit: contain;
  display: block;
}

.profile-avatar {
  position: relative;
  cursor: pointer;
  transition: none;
}

.profile-avatar:hover {
  transform: none;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: 180px;
  max-height: 180px;
  border: 1px solid #000;
  background: #fff;
  transition: none;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: 600;
  text-align: center;
  gap: 0.5rem;
}

.avatar-overlay span:first-child {
  font-size: 2rem;
}

.avatar-overlay span:last-child {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.profile-name {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-shadow: none;
  margin: 0 0 6px 0;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-birthday {
  font-size: 10px;
  color: #000;
  font-weight: normal;
  margin: 0 0 8px 0;
  padding: 0;
  background: none;
  border-radius: 0;
  border-left: none;
}

.profile-bio {
  font-size: 10px;
  color: #000;
  line-height: 1.3;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  margin: 0;
  flex-grow: 0;
}

/* Badges Section - Redesigned */
.badges-section {
  margin: 0;
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.badges-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 2.2rem;
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.badge.unlocked {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.badge.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.badge:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Symbol Section - Retro Style */
.profile-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
  min-height: 160px;
}

.profile-symbol img {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0;
  object-fit: contain;
  display: block;
}

/* Badges */
.badges-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 2rem;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.badge.unlocked {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transform: scale(1.1);
}

.badge.locked {
  opacity: 0.3;
  filter: grayscale(1);
}

.badge:hover {
  transform: scale(1.2);
}

/* Exchange Styles */
.exchange-container {
  max-width: 1200px;
  margin: 0 auto;
}

.exchange-header {
  text-align: center;
  margin-bottom: 3rem;
}

.exchange-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00eaff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.exchange-subtitle {
  font-size: 1.2rem;
  color: #8b8b8b;
  font-weight: 400;
}

.tokens-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Modern Table Styles */
.tokens-table, .portfolio-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2rem;
}

.tokens-table th, .portfolio-table th {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  padding: 1.5rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tokens-table th:first-child, .portfolio-table th:first-child {
  border-top-left-radius: 12px;
}

.tokens-table th:last-child, .portfolio-table th:last-child {
  border-top-right-radius: 12px;
}

.tokens-table td, .portfolio-table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.95rem;
}

.tokens-table tr:hover, .portfolio-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.name-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.name-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.token-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

/* Action Buttons */
.token-action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
}

.token-action-btn[data-action="buy"] {
  background: linear-gradient(135deg, #00ff6a, #00cc55);
  color: #ffffff;
}

.token-action-btn[data-action="sell"] {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: #ffffff;
}

.token-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.confirm-btn {
  background: linear-gradient(135deg, #00eaff, #0099cc);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
}

.portfolio-sell-btn {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-sell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.portfolio-sell-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* P/L Colors */
.gain-positive {
  color: #00ff6a;
  font-weight: 600;
}

.gain-negative {
  color: #ff4757;
  font-weight: 600;
}

/* Pagination */
.pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.pagination-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 600;
}

.pagination-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pagination-info {
  color: #8b8b8b;
  font-weight: 500;
}

/* Portfolio Styles */
.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00eaff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.portfolio-subtitle {
  font-size: 1.2rem;
  color: #8b8b8b;
  font-weight: 400;
}

.portfolio-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Modern Footer */
.modern-footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b8b8b;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.footer-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-icon {
  font-size: 1.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00eaff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #8b8b8b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .nav-btn {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  
  .balance-container {
    padding: 0 1rem;
  }
  
  .balance-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .balance-amount {
    font-size: 2rem;
  }
  
  .trading-container {
    padding: 0 1rem 2rem 1rem;
  }
  
  .trading-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tab-btn {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  
  .profile-title, .exchange-title, .portfolio-title {
    font-size: 2rem;
  }
  
  .profile-form {
    padding: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-group:last-child {
    grid-column: 1;
  }
  
    .profile-card {
    padding: 2rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-avatar {
    height: 250px;
    padding: 1.5rem;
  }
  
  .avatar-overlay span:first-child {
    font-size: 1.5rem;
  }
  
  .avatar-overlay span:last-child {
    font-size: 0.8rem;
  }

  .profile-bio {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .badges-section {
    padding: 1.5rem 2rem;
  }

  .badges-row {
    gap: 1rem;
  }

  .badge {
    font-size: 1.8rem;
    padding: 0.8rem;
  }

  .profile-symbol {
    padding: 1.5rem 2rem;
  }
  
  .tokens-table, .portfolio-table {
    font-size: 0.8rem;
  }
  
  .tokens-table th, .portfolio-table th,
  .tokens-table td, .portfolio-table td {
    padding: 1rem 0.5rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
}

/* Loading States */
.loading {
  text-align: center;
  padding: 3rem;
  color: #8b8b8b;
  font-size: 1.2rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #00eaff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error States */
.error {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

/* Success States */
.success {
  background: linear-gradient(135deg, #00ff6a, #00cc55);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 255, 106, 0.3);
} 