/* Dark Matter Market - Cosmic CSS Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #23252e;
    color: #eeedec;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cosmic Background */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #23252e 0%, #1a1c24 50%, #0f1015 100%);
}

#nebula-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #50a5ff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #8affb1, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #50a5ff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 37, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(80, 165, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #50a5ff;
    text-shadow: 0 0 10px rgba(80, 165, 255, 0.5);
}

.logo-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #b5b7c6;
    letter-spacing: 2px;
}

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

.nav-link {
    color: #eeedec;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #50a5ff;
    text-shadow: 0 0 5px rgba(80, 165, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #50a5ff, #8affb1);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: #50a5ff;
    text-shadow: 0 0 20px rgba(80, 165, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.title-sub {
    display: block;
    font-size: 2.5rem;
    color: #eeedec;
    letter-spacing: 3px;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(80, 165, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(80, 165, 255, 0.8), 0 0 40px rgba(80, 165, 255, 0.3); }
}

.hero-tagline {
    font-size: 1.5rem;
    color: #8affb1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: #b5b7c6;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #50a5ff, #3d8bdb);
    color: white;
    box-shadow: 0 10px 30px rgba(80, 165, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(80, 165, 255, 0.4);
}

.btn-secondary {
    background: rgba(238, 237, 236, 0.1);
    color: #eeedec;
    border: 2px solid rgba(80, 165, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(80, 165, 255, 0.1);
    border-color: #50a5ff;
    transform: translateY(-2px);
}

.cosmic-glow {
    animation: cosmicPulse 3s ease-in-out infinite;
}

@keyframes cosmicPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(80, 165, 255, 0.3); }
    50% { box-shadow: 0 15px 40px rgba(80, 165, 255, 0.6), 0 0 20px rgba(80, 165, 255, 0.4); }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(80, 165, 255, 0.3);
}

.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #50a5ff, #8affb1, #50a5ff);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #50a5ff;
    text-shadow: 0 0 10px rgba(80, 165, 255, 0.3);
}

/* Mirrors Section */
.mirrors-section {
    background: rgba(15, 16, 21, 0.8);
    border-top: 1px solid rgba(80, 165, 255, 0.2);
    border-bottom: 1px solid rgba(80, 165, 255, 0.2);
}

.mirror-box {
    background: rgba(35, 37, 46, 0.9);
    border: 2px solid rgba(80, 165, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.mirror-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(80, 165, 255, 0.2);
}

.mirror-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #8affb1;
    box-shadow: 0 0 10px rgba(138, 255, 177, 0.5);
}

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

.status-text {
    color: #8affb1;
    font-weight: 600;
}

.mirror-timestamp {
    color: #b5b7c6;
    font-size: 0.9rem;
}

.mirror-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mirror-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 16, 21, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.mirror-link:hover {
    border-color: #50a5ff;
    box-shadow: 0 5px 20px rgba(80, 165, 255, 0.2);
}

.link-prefix {
    color: #8affb1;
    font-weight: 600;
}

.link-url {
    flex: 1;
    color: #eeedec;
    word-break: break-all;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #50a5ff, #3d8bdb);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(80, 165, 255, 0.3);
}

.mirror-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff5454;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.warning-icon {
    font-size: 1.2rem;
}

/* Grid Layouts */
.about-grid,
.security-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card,
.security-card,
.faq-card {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-card:hover,
.security-card:hover,
.faq-card:hover {
    transform: translateY(-5px);
    border-color: #50a5ff;
    box-shadow: 0 15px 40px rgba(80, 165, 255, 0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    position: relative;
}

.i-time { background: linear-gradient(135deg, #50a5ff, #3d8bdb); }
.i-privacy { background: linear-gradient(135deg, #8affb1, #6de89a); }
.i-science { background: linear-gradient(135deg, #ff5454, #e63946); }
.i-dispute { background: linear-gradient(135deg, #ffd60a, #ffbe0b); }
.i-encryption { background: linear-gradient(135deg, #50a5ff, #3d8bdb); }
.i-multisig { background: linear-gradient(135deg, #8affb1, #6de89a); }
.i-2fa { background: linear-gradient(135deg, #ff5454, #e63946); }
.i-decentralized { background: linear-gradient(135deg, #ffd60a, #ffbe0b); }
.i-compartment { background: linear-gradient(135deg, #50a5ff, #3d8bdb); }
.i-shopper { background: linear-gradient(135deg, #8affb1, #6de89a); }
.i-microscope { background: linear-gradient(135deg, #ff5454, #e63946); }
.i-verified { background: linear-gradient(135deg, #8affb1, #6de89a); }
.i-flag { background: linear-gradient(135deg, #ffd60a, #ffbe0b); }

.icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

.about-card h3,
.security-card h3,
.faq-card h3 {
    color: #50a5ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p,
.security-card p,
.faq-card p {
    color: #b5b7c6;
    line-height: 1.7;
}

/* Registration Steps */
.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #50a5ff;
    box-shadow: 0 15px 40px rgba(80, 165, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #50a5ff, #3d8bdb);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    color: #50a5ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #b5b7c6;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-image {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(80, 165, 255, 0.2);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Verification Section */
.verification-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.verification-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verification-card {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.verification-card:hover {
    border-color: #50a5ff;
    box-shadow: 0 10px 30px rgba(80, 165, 255, 0.2);
}

.verification-card .card-icon {
    margin-bottom: 0;
}

.verification-card .icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.verification-card h3 {
    color: #50a5ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.verification-card p {
    color: #b5b7c6;
    line-height: 1.6;
    font-size: 0.95rem;
}

.verification-stats {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.verification-stats h3 {
    color: #50a5ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 16, 21, 0.5);
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #8affb1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b5b7c6;
    font-size: 0.9rem;
    text-align: center;
}

/* Vendors Section */
.vendors-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.vendors-info h3 {
    color: #50a5ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.vendors-info p {
    color: #b5b7c6;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.vendor-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #eeedec;
}

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

.vendors-stats {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(15, 16, 21, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(80, 165, 255, 0.1);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8affb1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b5b7c6;
    font-size: 0.9rem;
}

/* Community Section */
.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.community-info h3 {
    color: #50a5ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.community-info p {
    color: #b5b7c6;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-card {
    background: rgba(35, 37, 46, 0.8);
    border: 1px solid rgba(80, 165, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-2px);
    border-color: #50a5ff;
    box-shadow: 0 10px 20px rgba(80, 165, 255, 0.2);
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #8affb1;
    margin-bottom: 0.5rem;
}

.card-label {
    color: #b5b7c6;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: rgba(15, 16, 21, 0.95);
    border-top: 1px solid rgba(80, 165, 255, 0.2);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: #50a5ff;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    color: #b5b7c6;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #50a5ff;
    cursor: pointer;
}

.footer-section p {
    color: #b5b7c6;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(80, 165, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #b5b7c6;
    font-size: 0.9rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .verification-content,
    .vendors-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .mirror-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .copy-btn {
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .security-grid,
    .faq-grid,
    .registration-steps {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

