/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  min-height: 100vh;
}

html {
  min-height: 100vh;
  scroll-behavior: smooth;
}

.app {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header */
.header {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(142, 212, 82, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  color: black;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0;
}

/* Navigation */
.desktop-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #8ed452ff;
}

.user-email {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, #8ed452ff, #7bc142);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 212, 82, 0.3);
}

.btn-outline {
  border: 1px solid #8ed452ff;
  color: #8ed452ff;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(142, 212, 82, 0.1);
}

.btn-outline-red {
  border: 1px solid #ff4444;
  color: #ff4444;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-red:hover {
  background: rgba(255, 68, 68, 0.1);
}

.btn-outline-large {
  border: 1px solid #8ed452ff;
  color: #8ed452ff;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-large:hover {
  background: rgba(142, 212, 82, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: black;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 0;
  width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(142, 212, 82, 0.3);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-link {
  padding: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.mobile-menu-link:hover {
  background: rgba(142, 212, 82, 0.1);
  color: #8ed452ff;
}

.mobile-menu-email {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
  padding: 0.5rem;
  border-bottom: 1px solid rgba(142, 212, 82, 0.2);
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: black;
  margin-bottom: 2rem;
}

.animated-title {
  background: linear-gradient(45deg, #8ed452ff, #7bc142);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.animated-button-primary {
  background: linear-gradient(45deg, #8ed452ff, #7bc142);
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
  transition: all 0.3s ease;
}

.animated-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(142, 212, 82, 0.3);
}

.animated-button-secondary {
  background: rgba(142, 212, 82, 0.2);
  color: #8ed452ff;
  border: 1px solid #8ed452ff;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
  transition: all 0.3s ease;
}

.animated-button-secondary:hover {
  background: rgba(142, 212, 82, 0.3);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(142, 212, 82, 0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: rgba(248, 248, 248, 0.5);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 3rem;
  line-height: 1.6;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: black;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

/* Coins Section */
.coins-section {
  padding: 6rem 0;
}

.coins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.coin-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.coin-card:hover {
  transform: translateY(-5px);
  border-color: #8ed452ff;
  box-shadow: 0 10px 30px rgba(142, 212, 82, 0.2);
}

.coin-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 10px;
}

.coin-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.coin-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.coin-name {
  font-weight: 600;
  color: black;
  font-size: 0.875rem;
}

.coin-symbol {
  background: rgba(142, 212, 82, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #8ed452ff;
}

.coin-badge {
  background: #8ed452ff;
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

.section-action {
  text-align: center;
  margin-top: 3rem;
}

/* News Section */
.news-section {
  padding: 6rem 0;
  background: rgba(248, 248, 248, 0.5);
}

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

.news-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.news-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.news-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: black;
  margin-bottom: 1rem;
}

.news-card p {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.news-card .btn-primary span {
  font-size: 1rem;
}

/* Footer */
.footer {
  background: rgba(248, 248, 248, 0.9);
  backdrop-filter: blur(10px);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(142, 212, 82, 0.2);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-brand h3 {
  color: black;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.footer-brand p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

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

.footer-links a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: black;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* Dashboard Styles */
.dashboard-main {
  min-height: calc(100vh - 70px);
  padding: 2rem 0;
}

.dashboard-container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.welcome-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.welcome-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, #8ed452ff, #7bc142);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

.welcome-title {
  color: black;
  font-weight: 800;
  font-size: 2rem;
  margin: 0;
}

.welcome-text {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.125rem;
  margin: 0;
  max-width: 600px;
}

.wallet-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wallet-card h3 {
  color: black;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.wallet-status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.wallet-status p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.badge-success {
  background: #8ed452ff;
  color: white;
}

.badge-warning {
  background: #ffa500;
  color: white;
}

.referral-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.section-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.section-header h2 {
  color: black;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.section-header p {
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  font-size: 0.875rem;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.stat-icon {
  font-size: 1.75rem;
}

.stat-label {
  color: black;
  font-weight: 600;
  font-size: 0.875rem;
}

.stat-value {
  color: #8ed452ff;
  font-weight: 800;
  font-size: 2rem;
}

.referral-link-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.referral-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.referral-icon {
  font-size: 1.5rem;
}

.referral-header h3 {
  color: black;
  font-weight: 600;
  margin: 0;
}

.referral-input-group {
  display: flex;
  gap: 0.5rem;
}

.referral-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  color: black;
  font-family: monospace;
  font-size: 0.875rem;
}

.copy-btn {
  padding: 0.75rem 1.5rem;
  background: #8ed452ff;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #7bc142;
  transform: translateY(-2px);
}

.copy-btn.copied {
  background: #4caf50;
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.alert-success {
  background: rgba(142, 212, 82, 0.1);
  color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(142, 212, 82, 0.3);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.account-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.account-icon {
  font-size: 1.75rem;
}

.account-label {
  color: black;
  font-weight: 600;
  font-size: 0.875rem;
}

.account-value {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
}

.quick-actions {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 212, 82, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.actions-title {
  color: black;
  font-weight: 700;
  margin: 0;
}

.actions-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.actions-buttons .btn-primary,
.actions-buttons .btn-outline {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding: 2rem 0 3rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .animated-button-primary,
  .animated-button-secondary {
    width: 100%;
    min-width: auto;
  }

  .features-section,
  .coins-section,
  .news-section {
    padding: 4rem 0;
  }

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

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .account-stats {
    grid-template-columns: 1fr;
  }

  .actions-buttons {
    flex-direction: column;
  }

  .actions-buttons .btn-primary,
  .actions-buttons .btn-outline {
    width: 100%;
  }

  .referral-input-group {
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.25rem;
  }

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

  .welcome-card {
    padding: 2rem 1rem;
  }

  .welcome-title {
    font-size: 1.5rem;
  }

  .welcome-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
  }

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

  .coins-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
