/* CSS Custom Properties for Responsive Design */
:root {
  --font-scale: 1;
  --spacing-xs: calc(4px * var(--font-scale));
  --spacing-sm: calc(8px * var(--font-scale));
  --spacing-md: calc(16px * var(--font-scale));
  --spacing-lg: calc(24px * var(--font-scale));
  --spacing-xl: calc(32px * var(--font-scale));
  --spacing-xxl: calc(48px * var(--font-scale));

  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

/* Ensure proper touch handling */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Responsive Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image loading and error handling */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  background: linear-gradient(45deg, #1a2b47, #16213e);
}

.gallery-image:not([src]),
.gallery-image[src=""],
.gallery-image[src="#"] {
  background: linear-gradient(45deg, #1a2b47, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
}

.gallery-image:not([src])::before,
.gallery-image[src=""]::before,
.gallery-image[src="#"]::before {
  content: "Image Loading...";
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

/* Ensure images load properly */
img[src*="attached_assets"] {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Tables */
table {
  width: 100%;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

@media (min-width: 768px) {
  table {
    display: table;
    white-space: normal;
  }
}

/* Flexible Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-12 { width: 100%; }
.col-11 { width: 91.66666667%; }
.col-10 { width: 83.33333333%; }
.col-9 { width: 75%; }
.col-8 { width: 66.66666667%; }
.col-7 { width: 58.33333333%; }
.col-6 { width: 50%; }
.col-5 { width: 41.66666667%; }
.col-4 { width: 33.33333333%; }
.col-3 { width: 25%; }
.col-2 { width: 16.66666667%; }
.col-1 { width: 8.33333333%; }

/* Responsive Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  word-wrap: break-word;
}

/* Touch-friendly buttons */
.btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #e8f4f8;
  background: #1a2b47;
  min-height: 100vh;
  font-weight: 400;
}

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

/* Navigation */
.navbar {
  background: rgba(26, 43, 71, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 32px rgba(52, 152, 219, 0.15);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #cccccc;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.2px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 188, 156, 0.2), transparent);
  transition: left 0.6s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(52, 152, 219, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.login-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white !important;
  font-weight: 600;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.login-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f4e79 100%);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(52, 152, 219, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
#main-content {
  margin-top: 70px;
}

.page {
  display: none;
  min-height: calc(100vh - 70px);
}

.page.active {
  display: block;
}

/* Buttons */
.btn {
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1a5490 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(52, 152, 219, 0.25);
}

.btn-secondary {
  background: transparent;
  color: #1abc9c;
  border: 2px solid #1abc9c;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(52, 152, 219, 0.1);
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(52, 152, 219, 0.2);
}

.btn-small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-full {
  width: 100%;
}

/* Market Overview and Trending Coins */
.trending-coins-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 60px 0;
  overflow: hidden;
}

.market-overview-widget {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.tradingview-widget-container {
  border-radius: 15px;
  overflow: hidden;
}

.trending-coins-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px 0;
}

.trending-coins-container {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  padding: 0 20px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trending-coin-slide {
  flex-shrink: 0;
  min-width: 280px;
}

.trending-coin-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  color: white;
}

.trending-coin-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trending-coin-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trending-coin-info {
  flex: 1;
}

.trending-coin-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.trending-coin-symbol {
  font-size: 0.8rem;
  opacity: 0.8;
}

.trending-coin-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.trending-coin-change {
  font-weight: 600;
  font-size: 0.9rem;
}

.trending-coin-change.positive {
  color: #10b981;
}

.trending-coin-change.negative {
  color: #ef4444;
}

/* Pause animation on hover */
.trending-coins-container:hover {
  animation-play-state: paused;
}

/* Investment Plans */
.investment-plans {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px 32px;
  color: white;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.plan-card.popular {
  border-color: #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ffd700;
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(15deg);
}

.plan-header {
  margin-bottom: 25px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.min-deposit .amount {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.min-deposit .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.plan-details {
  margin-bottom: 30px;
}

.max-deposit {
  margin-bottom: 20px;
}

.max-deposit .amount {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.max-deposit .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.profit-info {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.daily-profit {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #10b981;
}

.duration {
  font-size: 0.9rem;
  opacity: 0.8;
}

.plan-btn {
  background: linear-gradient(45deg, #ff8c00, #ffa500);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: 1px;
}

.plan-btn:hover {
  background: linear-gradient(45deg, #ffa500, #ff8c00);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

/* Plan color variations */
.plan-card.demo {
  border-color: #6b7280;
}

.plan-card.platinum {
  border-color: #e5e7eb;
}

.plan-card.deluxe {
  border-color: #ffd700;
}

.plan-card.corporate {
  border-color: #1f2937;
}

/* Home Page */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto 80px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 48px;
  opacity: 0.85;
  color: #cccccc;
  font-weight: 400;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1abc9c;
}

.stat p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.features {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 100px 0 120px;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 64px;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-card i {
  font-size: 3.2rem;
  color: #3498db;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
  color: #1abc9c;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e293b;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Dashboard */
.page-title {
  font-size: 2.5rem;
  color: white;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.dashboard-controls {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.last-update {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
}

.live-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Live Chart Sections */
.live-chart-section {
  margin: 60px 0;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-chart-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.2rem;
  font-weight: 700;
}

.live-chart-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.chart-container {
  background: rgba(26, 43, 71, 0.8);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-container h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.defi-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.portfolio-charts {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

.news-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.market-overview-widget {
  background: rgba(26, 43, 71, 0.8);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.market-overview-widget h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.tradingview-widget-container {
  border-radius: 12px;
  overflow: hidden;
  background: #1a2b47;
}

/* Chart responsiveness */
@media (max-width: 768px) {
  .defi-charts-grid,
  .news-charts-grid {
    grid-template-columns: 1fr;
  }

  .chart-container {
    padding: 15px;
  }

  .live-chart-section h2 {
    font-size: 1.8rem;
  }

  .chart-container h3 {
    font-size: 1.2rem;
  }
}

/* Chart loading animation */
.tradingview-widget-container::before {
  content: "Loading chart...";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  background: linear-gradient(-45deg, rgba(26, 43, 71, 0.5), rgba(52, 152, 219, 0.1));
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px 40px;
}

.crypto-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.crypto-card:hover {
  transform: translateY(-5px);
}

.crypto-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.crypto-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.crypto-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.crypto-symbol {
  color: #666;
  font-size: 0.9rem;
}

.crypto-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.crypto-price.price-up {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.crypto-price.price-down {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.crypto-change {
  font-weight: 600;
}

.crypto-stats {
  margin: 15px 0;
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.crypto-stats small {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin: 2px 0;
}

.crypto-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.crypto-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.loading-spinner {
  text-align: center;
  padding: 40px;
  color: white;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.prediction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.prediction-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.prediction-buttons .btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.positive {
  color: #10b981;
}

.negative {
  color: #ef4444;
}

/* Portfolio */
.portfolio-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.portfolio-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-card h3 {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 10px;
}

.portfolio-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-change {
  font-weight: 600;
  font-size: 0.9rem;
}

.holdings {
  padding: 0 20px 40px;
}

.holdings h2 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.holdings-list {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.holding-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.holding-item:last-child {
  border-bottom: none;
}

/* Loading and Error States */
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: white;
  font-size: 1.2rem;
  grid-column: 1 / -1;
}

.error-message {
  text-align: center;
  padding: 40px;
  color: #ef4444;
  font-size: 1.2rem;
  background: white;
  border-radius: 12px;
  margin: 20px;
  grid-column: 1 / -1;
}

/* Crypto Stats */
.crypto-stats {
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.crypto-stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.crypto-stat:last-child {
  margin-bottom: 0;
}

.crypto-stat span:first-child {
  color: #666;
}

.crypto-stat span:last-child {
  font-weight: 600;
}

/* Spinner animation */
.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  padding: 0 20px 40px;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #888;
}

/* Tutorials */
.tutorial-categories {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.category-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 12px 24px;
  margin: 0 10px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  background: white;
  color: #667eea;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 20px 40px;
}

.tutorial-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tutorial-card:hover {
  transform: translateY(-5px);
}

.tutorial-level {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.tutorial-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.tutorial-description {
  color: #666;
  margin-bottom: 15px;
}

.tutorial-duration {
  color: #888;
  font-size: 0.9rem;
}

/* Staking */
.staking-section,
.prediction-section {
  padding: 0 20px 40px;
}

.staking-section h2,
.prediction-section h2 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.staking-pools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.staking-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.staking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.staking-apy {
  background: #10b981;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.staking-details {
  margin-bottom: 20px;
}

.staking-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.prediction-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.confidence{
  background: #f3f4f6;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 10px;
  color: #666;
}

/* Auth */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 40px 20px;
}

.auth-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

#auth-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

.auth-switch a {
  color: #667eea;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Support Section */
.support-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 60px 0;
}

.support-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.support-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.support-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.support-contacts {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.support-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  min-width: 180px;
}

.support-link:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.support-link.telegram:hover {
  border-color: #0088cc;
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.support-link.email:hover {
  border-color: #ea4335;
  box-shadow: 0 10px 30px rgba(234, 67, 53, 0.3);
}

.support-link i {
  font-size: 2rem;
  margin-bottom: 5px;
}

.support-link.telegram i {
  color: #0088cc;
}

.support-link.email i {
  color: #ea4335;
}

.support-link span {
  font-weight: 600;
  font-size: 1.1rem;
}

.support-link small {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Design - Mobile First Approach */

/* Base styles for mobile devices (320px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  /* Navigation */
  .nav-container {
    height: 70px;
    padding: 0 15px;
  }

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

  .nav-logo-img {
    height: 32px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(26, 43, 71, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
    border-top: 1px solid rgba(26, 188, 156, 0.2);
    height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    margin: 6px 20px;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 1rem;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero Section */
  .hero {
    padding: 80px 15px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }

  /* Plans Grid */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .plan-card {
    padding: 25px 20px;
  }

  .min-deposit .amount {
    font-size: 2rem;
  }

  .max-deposit .amount {
    font-size: 1.4rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  /* Various Grids */
  .crypto-grid,
  .news-grid,
  .tutorials-grid,
  .staking-pools,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px 40px;
  }

  .portfolio-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .holding-item {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 15px;
  }

  /* Service Pages */
  .page-title {
    font-size: 2rem;
    padding-top: 30px;
  }

  .service-content {
    padding: 40px 0;
  }

  .feature-grid,
  .benefits-grid,
  .pools-grid,
  .defi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Trading Interface */
  .trading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chart-container {
    height: 250px;
    padding: 15px;
  }

  .trade-inputs {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .orderbook-header,
  .order-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;
  }

  /* Forms */
  .auth-form {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .contact-form {
    gap: 15px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  /* Support */
  .support-contacts {
    flex-direction: column;
    gap: 15px;
  }

  .support-link {
    min-width: auto;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 30px;
  }

  /* Navigation adjustments for tablet */
  .nav-container {
    padding: 0 30px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Hero section for tablet */
  .hero {
    padding: 100px 30px 80px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Grid layouts for tablet */
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .crypto-grid,
  .news-grid,
  .tutorials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .portfolio-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Trading interface for tablet */
  .trading-grid {
    grid-template-columns: 2fr 1fr;
    gap: 25px;
  }

  .trade-inputs {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Service pages */
  .feature-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .pools-grid,
  .defi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Support contacts */
  .support-contacts {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
  }

  .support-link {
    min-width: 250px;
  }
}

/* Tablet Landscape & Small Desktop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    max-width: 1000px;
    padding: 0 40px;
  }

  .nav-container {
    max-width: 1200px;
    padding: 0 40px;
  }

  /* Hero adjustments */
  .hero {
    padding: 120px 40px 100px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Grid layouts */
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .crypto-grid,
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .tutorials-grid,
  .staking-pools {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .portfolio-summary {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Trading interface */
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .nav-container {
    max-width: 1400px;
  }

  /* Enhanced layouts for large screens */
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .crypto-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tutorials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .analytics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .staking-pools {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ultra-wide screens (1600px and above) */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
  }

  .crypto-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Small mobile devices (320px - 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 10px;
  }

  .nav-container {
    padding: 0 10px;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .nav-logo-img {
    height: 28px;
  }

  .hero {
    padding: 70px 10px 50px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .plan-card {
    padding: 20px 15px;
  }

  .feature-card {
    padding: 25px 15px;
  }

  .min-deposit .amount {
    font-size: 1.8rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .chart-container {
    height: 200px;
    padding: 10px;
  }

  .auth-form {
    padding: 25px 15px;
  }

  .support-card {
    padding: 25px 15px;
    margin: 0 10px;
  }

  .support-link {
    padding: 15px;
    min-width: auto;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .nav-menu {
    height: calc(100vh - 70px);
    padding: 20px 0;
  }

  .nav-menu .nav-link {
    padding: 10px 24px;
    margin: 4px 20px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .nav-toggle,
  .hero-buttons,
  .support-contacts,
  button,
  .btn {
    display: none !important;
  }

  .hero {
    padding: 20px 0;
  }

  .page {
    display: block !important;
  }

  * {
    color: black !important;
    background: white !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-logo-img,
  .gallery-image,
  .news-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-link,
  .plan-btn,
  .support-link {
    min-height: 44px;
    min-width: 44px;
  }

  .feature-card:hover,
  .plan-card:hover,
  .gallery-item:hover {
    transform: none;
  }

  .nav-link:hover {
    background: rgba(26, 188, 156, 0.15);
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .trending-coins-container {
    animation: none;
  }

  .gallery-image,
  .feature-card,
  .plan-card {
    transition: none;
  }
}

/* Service Pages Styles */
.service-page {
  padding-top: 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  min-height: 100vh;
  color: white;
}

.page-hero {
  padding: 60px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #00bfff;
}

.page-subtitle {
  font-size: 1.3rem;
  color: #cccccc;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-content {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: #00bfff;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.feature-item p {
  color: #cccccc;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.benefit-card h4 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.benefit-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* Staking Pools */
.pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.pool-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.pool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.pool-header {
  margin-bottom: 20px;
}

.pool-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.apy {
  font-size: 2rem;
  font-weight: 700;
  color: #00bfff;
}

.pool-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  color: #cccccc;
}

.pool-btn {
  background: linear-gradient(45deg, #00bfff, #0080cc);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.pool-btn:hover {
  background: linear-gradient(45deg, #0080cc, #006bb3);
  transform: translateY(-2px);
}

/* DeFi Cards */
.defi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.defi-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.defi-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.defi-icon {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 20px;
}

.defi-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #cccccc;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.benefit-item i {
  font-size: 2rem;
  color: #00bfff;
}

.benefit-item h4 {
  margin-bottom: 5px;
  color: white;
}

.benefit-item p {
  color: #cccccc;
  font-size: 0.9rem;
}

/* News Styles */
.news-categories {
  margin-bottom: 40px;
}

.category-tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
  background: #00bfff;
  border-color: #00bfff;
  transform: translateY(-2px);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.featured-article {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-content {
  padding: 25px;
}

.article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.category {
  background: #00bfff;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 500;
}

.date {
  color: #cccccc;
}

.read-more {
  color: #00bfff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #0080cc;
}

/* Tutorial Styles */
.skill-levels {
  margin-bottom: 40px;
}

.level-tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.tutorial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tutorial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.tutorial-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tutorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-level {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tutorial-level.beginner {
  background: #10b981;
  color: white;
}

.tutorial-level.intermediate {
  background: #f59e0b;
  color: white;
}

.tutorial-level.advanced {
  background: #ef4444;
  color: white;
}

.tutorial-content {
  padding: 25px;
}

.tutorial-content h3 {
  margin-bottom: 15px;
  color: white;
  font-size: 1.3rem;
}

.tutorial-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tutorial-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #cccccc;
}

.tutorial-topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.topic {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tutorial-btn {
  background: linear-gradient(45deg, #00bfff, #0080cc);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.tutorial-btn:hover {
  background: linear-gradient(45deg, #0080cc, #006bb3);
  transform: translateY(-2px);
}

/* Learning Path */
.learning-path {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 20px;
  margin: 60px 0;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background: #00bfff;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step-content p {
  color: #cccccc;
  line-height: 1.6;
}

/* Webinar Section */
.webinar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.webinar-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: all 0.3s ease;
}

.webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.webinar-date {
  text-align: center;
  background: #00bfff;
  color: white;
  padding: 15px;
  border-radius: 15px;
  min-width: 80px;
}

.day {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.webinar-content {
  flex: 1;
}

.webinar-content h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.webinar-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 10px;
}

.webinar-time {
  color: #00bfff;
  font-size: 0.9rem;
}

.webinar-btn {
  background: linear-gradient(45deg, #d4af37, #b8941f);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.webinar-btn:hover {
  background: linear-gradient(45deg, #b8941f, #9a7a1a);
  transform: translateY(-2px);
}

/* Newsletter */
.newsletter-signup {
  background: rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  margin: 60px 0;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: #cccccc;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #00bfff;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 60px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.cta-section p {
  color: #cccccc;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .feature-grid,
  .pools-grid,
  .defi-grid,
  .tutorials-grid {
    grid-template-columns: 1fr;
  }

  .category-tabs,
  .level-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .webinar-card {
    flex-direction: column;
    text-align: center;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }
}

/* Wallet Section Styles */
.wallets-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.wallet-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.wallet-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.wallet-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.wallet-card h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.wallet-address {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  color: #00bfff;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  word-break: break-all;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-btn {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: linear-gradient(45deg, #218838, #1e7e34);
  transform: translateY(-2px);
}

/* Support Section */
.support-section {
  padding: 80px 0;
}

.support-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 300px;
}

.support-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.support-link i {
  font-size: 2.5rem;
  color: #00bfff;
}

.support-link h4 {
  margin: 0;
  font-size: 1.2rem;
}

.support-link p {
  margin: 5px 0 0 0;
  color: #cccccc;
}

@media (max-width: 768px) {
  .wallets-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-contacts {
    flex-direction: column;
    align-items: center;
  }

  .support-link {
    min-width: 280px;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    font-size: 1.3rem;
  }

  .nav-logo-img {
    height: 32px;
  }

  .hero {
    padding: 80px 16px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .page-title {
    font-size: 2.2rem;
    padding-top: 32px;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .support-contacts {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .support-link {
    min-width: 280px;
    padding: 24px 32px;
  }

  .support-card {
    padding: 32px 20px;
    margin: 0 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .gallery-item {
    margin: 0;
  }

  .plan-card {
    padding: 28px 20px;
  }

  .feature-card {
    padding: 32px 20px;
  }

  .crypto-grid {
    padding: 0 16px 40px;
  }

  .news-grid,
  .tutorials-grid {
    padding: 0 16px 40px;
  }
}

/* Gallery Section Styles */
.gallery-section {
  background: rgba(0, 0, 0, 0.1);
  padding: 80px 0;
}

.gallery-section .section-title {
  color: white;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gallery-section .section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.gallery-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 15px;
  }

  .gallery-item {
    aspect-ratio: 3/2;
  }

  .gallery-overlay {
    padding: 20px 15px 15px;
  }

  .gallery-overlay h3 {
    font-size: 1.1rem;
  }

  .gallery-overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .gallery-item {
    aspect-ratio: 16/10;
  }

  .gallery-section .section-title {
    font-size: 2rem;
  }

  .gallery-section .section-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
}

/* Advanced Trading Styles */
.trading-dashboard {
  padding: 0 20px 40px;
}

.trading-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.chart-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chart-container {
  height: 400px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dee2e6;
  margin-top: 20px;
}

.chart-placeholder i {
  font-size: 3rem;
  color: #00bfff;
  margin-bottom: 15px;
}

.chart-placeholder p {
  margin: 5px 0;
  color: #666;
}

.orderbook-section {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.orderbook {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.orderbook-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 2px solid #eee;
  font-weight: 600;
  color: #666;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.order-row.sell {
  color: #ef4444;
}

.order-row.buy {
  color: #10b981;
}

.spread {
  text-align: center;
  padding: 15px 0;
  font-weight: 600;
  background: #f8f9fa;
  margin: 10px 0;
  border-radius: 5px;
}

.trading-panel {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  grid-column: 1 / -1;
}

.trading-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 25px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 5px;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: white;
  color: #00bfff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-type-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.order-type-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.trade-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #00bfff;
}

.trade-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-buy, .btn-sell {
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-buy {
  background: #10b981;
  color: white;
}

.btn-buy:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-sell {
  background: #ef4444;
  color: white;
}

.btn-sell:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.open-orders {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  grid-column: 1 / -1;
}

.order-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.order-side {
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.8rem;
}

.order-side.buy {
  background: #d1fae5;
  color: #065f46;
}

.order-side.sell {
  background: #fee2e2;
  color: #991b1b;
}

.cancel-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.no-orders {
  text-align: center;
  color: #666;
  padding: 30px;
  font-style: italic;
}

/* Analytics Styles */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px 40px;
}

.analytics-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.analytics-card h3 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 1.3rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 15px;
}

.performance-metrics {
  display: grid;
  gap: 20px;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.metric-label {
  font-weight: 500;
  color: #666;
}

.metric-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.metric-value.positive {
  color: #10b981;
}

.metric-value.negative {
  color: #ef4444;
}

.allocation-chart {
  display: grid;
  gap: 15px;
}

.allocation-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
}

.allocation-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.allocation-color.btc {
  background: #f7931a;
}

.allocation-color.eth {
  background: #627eea;
}

.allocation-color.ada {
  background: #0033ad;
}

.allocation-color.other {
  background: #64748b;
}

.risk-gauge {
  text-align: center;
  margin-bottom: 20px;
}

.gauge {
  width: 100%;
  height: 20px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
  transition: width 0.3s ease;
}

.risk-details p {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
}

.sentiment-indicators {
  display: grid;
  gap: 20px;
}

.sentiment-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 15px;
  align-items: center;
}

.sentiment-bar {
  height: 20px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.sentiment-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.sentiment-fill.greed {
  background: #f59e0b;
}

.sentiment-fill.positive {
  background: #10b981;
}

/* Trading Signals Styles */
.signals-dashboard {
  padding: 0 20px 40px;
}

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

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  color: #666;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3498db;
}

.signals-list {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}

.signal-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid;
}

.signal-card.buy {
  border-left-color: #10b981;
}

.signal-card.sell {
  border-left-color: #ef4444;
}

.signal-card.hold {
  border-left-color: #f59e0b;
}

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.signal-type {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.signal-card.buy .signal-type {
  background: #d1fae5;
  color: #065f46;}

.signal-card.sell .signal-type {
  background: #fee2e2;
  color: #991b1b;
}

.signal-card.hold .signal-type {
  background: #fef3c7;
  color: #92400e;
}

.signal-confidence {
  font-weight: 600;
  color: #666;
}

.signal-content h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.signal-content p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
}

.signal-reason {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
}

.signal-btn {
  width: 100%;
  padding: 15px 30px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.signal-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.signal-performance {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.performance-list {
  display: grid;
  gap: 15px;
}

.performance-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

.performance-item.profit {
  border-left: 4px solid #10b981;
}

.performance-item.loss {
  border-left: 4px solid #ef4444;
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
  .trading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chart-container {
    height: 300px;
  }

  .trade-inputs {
    grid-template-columns: 1fr;
  }

  .trading-tabs {
    flex-direction: column;
  }

  .order-type-selector {
    flex-direction: column;
    gap: 10px;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .signal-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .performance-item {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
}
/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a2b47 0%, #2c3e50 100%);
}

.dashboard-sidebar {
    width: 280px;
    background: rgba(26, 43, 71, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.sidebar-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-left-color: #667eea;
}

.nav-item.active {
    background: rgba(102, 126, 234, 0.2);
    color: white;
    border-left-color: #667eea;
}

.nav-item i {
    width: 20px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar i {
    font-size: 2.5rem;
    color: #667eea;
    margin-right: 12px;
}

.user-details {
    flex: 1;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-email {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.3);
    color: white;
}

.logout-btn i {
    margin-right: 8px;
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.user-balance {
    display: flex;
    gap: 30px;
}

.balance-item {
    text-align: right;
}

.balance-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.balance-amount {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content h3 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-amount {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.card-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.card-change.positive {
    color: #10b981;
}

.card-change.negative {
    color: #ef4444;
}

.card-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Quick Actions */
.quick-actions-section {
    margin-bottom: 40px;
}

.quick-actions-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-action {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
}

.quick-action i {
    font-size: 1.3rem;
    margin-right: 12px;
    color: #667eea;
}

/* Plans Preview */
.plans-preview {
    margin-bottom: 40px;
}

.plans-preview h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.plans-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plan-preview {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.plan-preview.demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.plan-preview.platinum {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.plan-preview.deluxe {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.plan-preview.corporate {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.plan-preview h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.plan-rate {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-range {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Recent Activities */
.recent-activities {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
}

.recent-activities h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.activity-list {
    space-y: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.activity-icon i {
    color: white;
    font-size: 1.1rem;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
}

.activity-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.no-activities {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.6);
}

/* Dashboard Investment Plans */
.dashboard-card.full-width {
    grid-column: 1 / -1;
}

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

.dashboard-plan-card {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dashboard-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-plan-card.demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-plan-card.platinum {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dashboard-plan-card.deluxe {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.dashboard-plan-card.corporate {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.plan-profit {
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 0.9;
}

.plan-investment {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.plan-duration {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.plan-features {
    margin-bottom: 30px;
}

.feature {
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.plan-select-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-select-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Investment Modal */
.investment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.amount-range {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.investment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.investment-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-item:last-child {
    margin-bottom: 0;
    font-weight: 600;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-cancel,
.btn-invest {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-invest {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Support Card */
.dashboard-card {
    background: #fff;