/* WeTheNorth Market - Cosmic Theme Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cosmic Background Animation */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0a0a0f 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.stars::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
    box-shadow: 
        100px 200px #fff, 200px 300px #fff, 300px 100px #fff,
        400px 400px #fff, 500px 150px #fff, 600px 350px #fff,
        700px 250px #fff, 800px 450px #fff, 900px 100px #fff,
        1000px 300px #fff, 1100px 200px #fff, 1200px 400px #fff;
}

.stars::after {
    top: 40%;
    left: 60%;
    animation-delay: 1.5s;
    box-shadow: 
        150px 100px #fff, 250px 400px #fff, 350px 200px #fff,
        450px 300px #fff, 550px 450px #fff, 650px 150px #fff,
        750px 350px #fff, 850px 100px #fff, 950px 250px #fff,
        1050px 400px #fff, 1150px 300px #fff, 1250px 200px #fff;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(2px 2px at 20px 30px, #d00000, transparent),
                radial-gradient(2px 2px at 40px 70px, #d00000, transparent),
                radial-gradient(1px 1px at 90px 40px, #d00000, transparent),
                radial-gradient(1px 1px at 130px 80px, #d00000, transparent),
                radial-gradient(2px 2px at 160px 30px, #d00000, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 20s linear infinite;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(66, 70, 77, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(208, 0, 0, 0.3);
}

.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;
    align-items: center;
    gap: 10px;
}

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

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d00000;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d00000;
    transition: width 0.3s ease;
}

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

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #d00000, #ff4444, #d00000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

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

.typewriter {
    overflow: hidden;
    border-right: 3px solid #d00000;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #d00000; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

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

.badge {
    background: rgba(208, 0, 0, 0.2);
    border: 1px solid #d00000;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(208, 0, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(208, 0, 0, 0.3);
}

/* Mirror Section */
.mirrors-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.mirrors-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
}

.mirror-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(15px);
    margin-bottom: 20px;
}

.mirror-link {
    display: block;
    color: #00ff00;
    text-decoration: none;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mirror-link:hover {
    color: #d00000;
    background: rgba(208, 0, 0, 0.1);
    transform: translateX(10px);
}

.mirror-warning {
    text-align: center;
    color: #ffaa00;
    font-weight: 500;
    margin-top: 20px;
}

/* Statistics Section */
.stats-section {
    padding: 100px 0;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(208, 0, 0, 0.3);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #d00000;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 500;
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.security-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
}

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

.security-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    border-color: #d00000;
    box-shadow: 0 15px 30px rgba(208, 0, 0, 0.2);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.security-card p {
    color: #cccccc;
    line-height: 1.6;
}

.warning {
    color: #ffaa00 !important;
    font-weight: 600;
}

/* Escrow Timeline */
.escrow-section {
    padding: 100px 0;
}

.escrow-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.timeline {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.timeline h3 {
    text-align: center;
    color: #d00000;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #d00000;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.timeline-item:not(:last-child) .timeline-dot::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: #d00000;
}

.timeline-content h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #cccccc;
    font-size: 0.9rem;
}

.escrow-note {
    background: rgba(208, 0, 0, 0.1);
    border: 1px solid #d00000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.escrow-note strong {
    color: #d00000;
}

/* Rules Section */
.rules-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.rules-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
}

.rules-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.rule-header:hover {
    background: rgba(208, 0, 0, 0.1);
}

.rule-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
}

.rule-toggle {
    color: #d00000;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.rule-item.active .rule-toggle {
    transform: rotate(45deg);
}

.rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rule-item.active .rule-content {
    max-height: 300px;
}

.rule-content ul {
    padding: 0 20px 20px;
    list-style: none;
}

.rule-content li {
    color: #cccccc;
    margin: 10px 0;
    padding-left: 10px;
}

/* Vendor Section */
.vendor-section {
    padding: 100px 0;
}

.vendor-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.vendor-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.vendor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
}

.vendor-card.trusted {
    border: 2px solid #4caf50;
}

.vendor-card.new {
    border: 2px solid #ffaa00;
}

.vendor-card h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.vendor-checklist {
    margin-bottom: 30px;
}

.check-item {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.check-item.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.check-item.pending {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
}

.vendor-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.trusted-badge {
    background: #4caf50;
    color: white;
}

.new-badge {
    background: #ffaa00;
    color: black;
}

.vendor-warning {
    background: rgba(208, 0, 0, 0.1);
    border: 1px solid #d00000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.vendor-warning strong {
    color: #d00000;
}

/* Wallet Section */
.wallet-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.wallet-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
}

.wallet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.wallet-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}

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

.feature h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.feature p {
    color: #cccccc;
    font-size: 0.9rem;
}

.wallet-example {
    text-align: center;
}

.qr-placeholder {
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed #d00000;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 20px;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.5rem;
}

.wallet-example code {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    word-break: break-all;
}

.wallet-warning {
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid #ffaa00;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.wallet-warning strong {
    color: #ffaa00;
}

/* Registration Section */
.registration-section {
    padding: 100px 0;
}

.registration-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(208, 0, 0, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #d00000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.step p {
    color: #cccccc;
    margin-bottom: 20px;
}

.critical {
    color: #ffaa00 !important;
    font-weight: 600;
}

.step-visual {
    margin-top: 20px;
}

.captcha-placeholder {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed #d00000;
    padding: 20px;
    border-radius: 5px;
    color: #d00000;
    font-weight: bold;
}

.form-placeholder {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-field {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    color: #cccccc;
    font-size: 0.9rem;
}

.mnemonic-placeholder {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffaa00;
    padding: 20px;
    border-radius: 10px;
}

.mnemonic-words {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.mnemonic-words span {
    background: rgba(255, 170, 0, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    color: #ffaa00;
    font-family: 'Courier New', monospace;
}

.mnemonic-warning {
    color: #ff4444;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(208, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: #d00000;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Support Section */
.support-section {
    padding: 100px 0;
}

.support-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.support-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(208, 0, 0, 0.2);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.support-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.support-card p {
    color: #cccccc;
}

.desktop-warning {
    color: #ffaa00 !important;
    font-weight: 600;
}

.language-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.lang {
    padding: 5px 15px;
    border: 1px solid #333;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang.active {
    background: #d00000;
    border-color: #d00000;
    color: white;
}

.lang:hover {
    border-color: #d00000;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 0;
    border-top: 1px solid rgba(208, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d00000;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: #cccccc;
    margin: 5px 0;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: #888888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
    }
    
    .vendor-comparison {
        grid-template-columns: 1fr;
    }
    
    .wallet-content {
        grid-template-columns: 1fr;
    }
    
    .registration-steps {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

