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

:root {
  --purple: #2D1B69;
  --orange: #FF6B35;
  --blue: #4A90E2;
  --dark-bg: #1a1a2e;
  --light-text: #ffffff;
  --gray-text: #b8b8b8;
  --card-bg: rgba(255, 255, 255, 0.05);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(29, 27, 105, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link:hover::after {
  width: 100%;
}

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

.btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-large {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--light-text);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-auth-buttons {
  display: none;
}

.hero {
  margin-top: 80px;
  min-height: 600px;
  position: relative;
}

.slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), #1a1a2e);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-content p {
  font-size: 1.3rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
}

.slide-highlight {
  font-size: 2rem;
  color: var(--orange);
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--orange);
  width: 30px;
  border-radius: 6px;
}

.usdt-rate {
  padding: 4rem 0;
  background: var(--dark-bg);
}

.usdt-rate-box {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.3);
}

.usdt-rate-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-text);
}

.rate-display {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--orange);
  margin: 1rem 0;
}

.rate-subtext {
  color: var(--gray-text);
  font-size: 1.1rem;
}

.loading {
  color: var(--gray-text);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 3rem;
}

.why-choose {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark-bg), #0f0f1e);
}

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

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
  border-color: var(--orange);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--orange);
}

.feature-card p {
  color: var(--gray-text);
  line-height: 1.6;
}

.live-rates {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.crypto-card {
  background: linear-gradient(135deg, var(--purple), rgba(74, 144, 226, 0.3));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.crypto-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--orange);
}

.crypto-symbol {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.crypto-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.crypto-change {
  font-size: 1.1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
}

.crypto-change.positive {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.crypto-change.negative {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.update-info {
  text-align: center;
  color: var(--gray-text);
  margin-top: 2rem;
  font-style: italic;
}

.loading-card {
  grid-column: 1 / -1;
  padding: 3rem;
}

.commission {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0f0f1e, var(--dark-bg));
}

.earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.earning-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.earning-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
  border-color: var(--blue);
}

.earning-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 1rem;
}

.earning-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.earning-card p {
  color: var(--gray-text);
  line-height: 1.6;
}

.about {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.about-content {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contact {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark-bg), #0f0f1e);
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-text);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
}

.error-message {
  display: block;
  color: #f87171;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  min-height: 1.2rem;
}

.success-message {
  display: none;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
}

.footer {
  background: var(--purple);
  padding: 3rem 0 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--orange);
  transform: translateY(-5px);
}

.copyright {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--gray-text);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  .slide-highlight {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(29, 27, 105, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transition: left 0.3s ease;
  }

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

  .auth-buttons {
    display: none;
  }

  .mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-auth-buttons .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slide-highlight {
    font-size: 1.4rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

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

  .rate-display {
    font-size: 2.5rem;
  }

  .features-grid,
  .crypto-grid,
  .earnings-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 35px;
    max-width: 150px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .slide-highlight {
    font-size: 1.2rem;
  }

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

  .usdt-rate-box {
    padding: 2rem;
  }

  .rate-display {
    font-size: 2rem;
  }

  .earning-number {
    font-size: 2.5rem;
  }
}
