/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    color: #00ffff;
    font-size: 2rem;
    text-shadow: 0 0 20px #00ffff;
    animation: pulse 2s infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0a0a0a 70%);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.crypto-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    opacity: 0.1;
}

.crypto-symbol {
    font-size: 8rem;
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.crypto-symbol:nth-child(2n) {
    animation-delay: -3s;
    color: #ff00ff;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000000;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ff00ff;
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.3);
}

.btn-secondary:hover {
    background: #ff00ff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #00ffff);
    position: relative;
    animation: scroll 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #00ffff;
}

/* Market Section */
.market-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #00ffff, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.crypto-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.crypto-card:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

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

.crypto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.crypto-icon.bitcoin {
    background: linear-gradient(45deg, #ff9500, #ffb84d);
}

.crypto-icon.ethereum {
    background: linear-gradient(45deg, #627eea, #8fa2ef);
}

.crypto-icon.cardano {
    background: linear-gradient(45deg, #0033ad, #3366cc);
}

.crypto-icon.solana {
    background: linear-gradient(45deg, #9945ff, #b966ff);
}

.crypto-icon::after {
    content: '₿';
}

.crypto-icon.ethereum::after {
    content: 'Ξ';
}

.crypto-icon.cardano::after {
    content: '₳';
}

.crypto-icon.solana::after {
    content: '◎';
}

.crypto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

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

.crypto-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.crypto-change {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.crypto-change.positive {
    color: #00ff88;
}

.crypto-change.negative {
    color: #ff4444;
}

.price-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 40px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #00ffff, #0080ff);
    border-radius: 2px;
    animation: chartGrow 2s ease-out;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #0a0a0a;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ff00ff;
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #ff00ff);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0a2e 0%, #0a0a0a 100%);
}

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

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.blockchain-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.block {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    margin: 0 20px;
    border-radius: 10px;
    animation: blockFloat 3s ease-in-out infinite;
    position: relative;
}

.block:nth-child(2n) {
    animation-delay: -1s;
    background: linear-gradient(45deg, #ff00ff, #ff4080);
}

.connecting-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, #00ffff, #ff00ff);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: lineGlow 2s ease-in-out infinite;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #000000;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

@keyframes scroll {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(10px); }
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height); }
}

@keyframes blockFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(180deg); }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 5px #00ffff; }
    50% { opacity: 1; box-shadow: 0 0 20px #ff00ff; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        justify-content: center;
        gap: 20px;
    }
    
    .blockchain-animation {
        flex-direction: column;
        gap: 20px;
    }
    
    .connecting-line {
        width: 2px;
        height: 100px;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .crypto-card {
        padding: 20px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
}