/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #1e40af);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-element:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 85%; animation-delay: 0s; }
.floating-element:nth-child(2) { width: 120px; height: 120px; top: 70%; left: 10%; animation-delay: 2s; }
.floating-element:nth-child(3) { width: 60px; height: 60px; top: 30%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    background: rgba(15, 27, 46, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00d4ff, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d4ff;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

.mobile-menu-btn .hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background: #00d4ff;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.mobile-menu-btn .hamburger::before,
.mobile-menu-btn .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #00d4ff;
    transition: all 0.3s ease;
}

.mobile-menu-btn .hamburger::before {
    top: -6px;
}

.mobile-menu-btn .hamburger::after {
    bottom: -6px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 20, 38, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(45deg, #00d4ff, #1e40af);
    color: white;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}















/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(12, 20, 38, 0.9) 0%, rgba(26, 35, 50, 0.9) 100%);
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 1rem 1rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00d4ff, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4::before {
    content: '▶';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-section:hover h4::before {
    transform: rotate(90deg);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
}

.footer-section a:hover {
    color: #00d4ff;
    border-left-color: #00d4ff;
    padding-left: 1rem;
    background: rgba(0, 212, 255, 0.05);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    position: relative;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

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

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

    .logo {
        font-size: 1.3rem;
    }

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

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

    .main-content {
        margin-top: 70px;
        padding: 0.5rem;
    }

    .trading-platform {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .trading-panel, .market-data {
        padding: 1.2rem;
    }

    .features {
        gap: 1rem;
        margin: 2rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

    .stats {
        margin: 2rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .floating-element:nth-child(1) { width: 50px; height: 50px; }
    .floating-element:nth-child(2) { width: 70px; height: 70px; }
    .floating-element:nth-child(3) { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.8rem 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-section {
        padding: 1rem;
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .trading-platform {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.3rem;
    }
}

























#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 27, 46, 0.85); /* semi-transparent dark */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s;
}

.logo-loader img {
  width: 80px;
  height: 80px;
  animation:
    pulse 0.8s infinite,
    glow 2.5s infinite;
  box-shadow: 0 0 0px #00d4ff;
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0px #00d4ff;}
}




@media (max-width: 600px) {
  .logo {
    width: 120px;
    max-width: 90vw;
  }
}