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

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(ellipse at 20% 30%, #0a0f1a, #03060c);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80px 120px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 10px 20px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: twinkleMove 80s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

@keyframes twinkleMove {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-2000px); }
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 17, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    color: #e6f1ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #06b6d4);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #22c55e;
}

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* увеличен отступ, чтобы badge не перекрывался */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    margin-bottom: 20px;
}

/* Все заголовки теперь Poppins (не Orbitron) */
.hero-text h1,
.section-header h2,
.stat-number,
.feature-card h3,
.cta-card h2,
.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #22c55e, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

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

.hero-description {
    font-size: 18px;
    color: #b0c4de;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.btn-secondary:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-3px);
}

.hero-stats.apps-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 320px;
}

.stat-card.app-card {
    background: rgba(10, 20, 30, 0.5);
    backdrop-filter: blur(12px);
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.stat-card.app-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.stat-card.app-card .stat-number {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 8px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: none;
}

.stat-card.app-card .stat-label {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    background: linear-gradient(135deg, #fff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-header p {
    color: #9ca3af;
    font-size: 18px;
}

.features-section {
    padding: 80px 0;
}

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

.feature-card {
    background: rgba(15, 25, 35, 0.5);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 8px #22c55e);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #b0c4de;
    line-height: 1.5;
}

.token-section {
    padding: 80px 0;
}

.token-card {
    background: rgba(10, 20, 30, 0.4);
    backdrop-filter: blur(16px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(34, 197, 94, 0.4);
    transition: all 0.3s;
}

.token-card:hover {
    border-color: #22c55e;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.token-info {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    min-width: 130px;
    color: #22c55e;
}

.info-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 14px;
    border-radius: 12px;
    word-break: break-all;
    flex: 1;
    color: #e6f1ff;
}

.copy-btn {
    background: #22c55e;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #16a34a;
    transform: scale(1.02);
}

.token-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(6, 182, 212, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 40px;
    padding: 60px;
    text-align: center;
}

.cta-card h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-card p {
    color: #b0c4de;
    margin-bottom: 30px;
}

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

.footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #22c55e;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #22c55e;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    color: #6b7280;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats.apps-stats {
        margin: 40px auto 0;
        width: 100%;
        max-width: 400px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 17, 0.95);
        backdrop-filter: blur(12px);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid #22c55e30;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-stats.apps-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .token-card {
        padding: 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-card {
        padding: 30px;
    }
    
    .cta-card h2 {
        font-size: 28px;
    }
}

/* ===== TarelGo Gate Widget ===== */
.tarelgo-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 30%, rgba(10, 15, 26, 0.95), rgba(3, 6, 12, 0.98));
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Stars background (reusing site's .stars and .twinkling) */
.tarelgo-gate-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.5), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.tarelgo-gate-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(1px 1px at 10px 20px, rgba(255,255,255,0.3), transparent);
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: twinkleMove 80s linear infinite;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Card – reuse .token-card styles */
.tg-card {
  position: relative;
  z-index: 1;
  background: rgba(10, 20, 30, 0.5);
  backdrop-filter: blur(16px);
  border-radius: 30px;
  padding: 40px 35px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
  transition: all 0.3s;
}

.tg-card:hover {
  border-color: #22c55e;
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.15);
}

/* Logo – gradient text like .hero-text h1 */
.tg-logo {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffffff, #22c55e, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  margin-bottom: 0.3rem;
}

.tg-version {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.tg-description {
  font-size: 1rem;
  color: #b0c4de;
  margin: 1.2rem 0;
  line-height: 1.6;
}

.tg-description i {
  color: #22c55e;
  margin-right: 6px;
}

.tg-status {
  font-size: 0.95rem;
  color: #b0c4de;
  min-height: 2.5rem;
  margin: 1rem 0;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tg-status i {
  font-size: 1.1rem;
}

/* Button – reuse .btn-primary */
.tg-btn {
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
}

.tg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.tg-btn:disabled {
  background: #444;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.tg-btn i {
  font-size: 0.9rem;
}

/* Link – reuse .footer-section a */
.tg-link {
  display: block;
  margin-top: 1.5rem;
  color: #b0c4de;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
  font-weight: 500;
}

.tg-link:hover {
  color: #22c55e;
}

.tg-link i {
  margin-right: 6px;
}

#tg-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  display: none;
}

#tg-close:hover {
  color: #22c55e;
}

/* Responsive */
@media (max-width: 480px) {
  .tg-card {
    padding: 25px 20px;
  }
  .tg-logo {
    font-size: 1.8rem;
  }
  .tg-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}
