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

:root {
    /* Color Scheme - Purple/Blue Gradient Theme */
    --bg-primary: #0a0118;
    --bg-secondary: #120828;
    --bg-card: rgba(25, 15, 45, 0.6);
    --bg-hover: rgba(35, 25, 65, 0.8);
    
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
    --accent-tertiary: #06b6d4;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-subtle: rgba(139, 92, 246, 0.1);
    --border-glow: rgba(139, 92, 246, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* Navigation */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 1, 24, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
}

.nav-logo:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-center {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

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

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.65rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.page-main {
    padding-top: 80px;
}

/* Hero Section - HORIZONTAL SPLIT */
.hero-area {
    padding: 3rem 2rem 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-left {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}

.hero-h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
}

.cta-primary,
.cta-secondary {
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.cta-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-glow);
}

.cta-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: var(--bg-card);
}

.hero-right {
    animation: fadeInRight 0.8s ease-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Network Sections */
.net-section {
    padding: 2.5rem 2rem;
}

.section-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.section-top {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.875rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.65rem;
}

.section-tag.testnet {
    background: var(--gradient-secondary);
}

.section-tag.archive {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.section-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.net-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.network-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.network-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.network-card:hover::before {
    transform: scaleX(1);
}

.network-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
    background: var(--bg-hover);
}

.network-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.network-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s;
}

.network-card:hover .network-logo {
    border-color: var(--border-glow);
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

.network-info {
    flex: 1;
}

.network-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.network-label {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 0.5px;
    margin-left: 0.4rem;
}

.network-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.network-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.action-link {
    flex: 1;
    padding: 0.625rem 1.125rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-align: center;
}

.link-explorer {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.link-explorer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.link-docs {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-subtle);
}

.link-docs:hover {
    border-color: var(--border-glow);
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Footer */
.site-foot {
    padding: 2.5rem 2rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.foot-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.foot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.foot-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.foot-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.foot-left h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.foot-left p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.foot-right {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.foot-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.foot-links {
    display: flex;
    gap: 1.25rem;
}

.foot-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.foot-links a:hover {
    color: var(--accent-primary);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-h1 {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-center {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .hero-area {
        padding: 4rem 1.5rem;
    }
    
    .hero-h1 {
        font-size: 2.5rem;
    }
    
    .hero-p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .section-h2 {
        font-size: 2rem;
    }
    
    .net-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .network-actions {
        flex-direction: column;
    }
    
    .foot-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .foot-left {
        flex-direction: column;
    }
    
    .foot-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
