/* WeTheNorth Market - Enhanced 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;
}

/* Enhanced 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%);
    animation: cosmicPulse 20s ease-in-out infinite;
}

@keyframes cosmicPulse {
    0%, 100% { 
        background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0a0a0f 100%);
    }
    50% { 
        background: radial-gradient(ellipse at center, #2a1a3e 0%, #26214e 50%, #1a0a1f 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,
        50px 50px #d00000, 150px 250px #d00000, 350px 450px #d00000,
        550px 100px #d00000, 750px 300px #d00000, 950px 200px #d00000;
}

.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,
        75px 175px #d00000, 275px 375px #d00000, 475px 125px #d00000,
        675px 425px #d00000, 875px 225px #d00000, 1075px 325px #d00000;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.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) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Enhanced Floating Orbs */
.cosmic-background::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(208, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: floatOrb 15s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(200px, -100px) scale(1.2);
        opacity: 0.6;
    }
    50% { 
        transform: translate(400px, 50px) scale(0.8);
        opacity: 0.4;
    }
    75% { 
        transform: translate(100px, 150px) scale(1.1);
        opacity: 0.5;
    }
}

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

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

.navbar.scrolled {
    background: rgba(66, 70, 77, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(208, 0, 0, 0.2);
}

.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;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(208, 0, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(208, 0, 0, 0.8)); }
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: rotate(360deg) scale(1.1);
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d00000;
    text-shadow: 0 0 10px rgba(208, 0, 0, 0.5);
}

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

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

.nav-links a:hover {
    color: #d00000;
    text-shadow: 0 0 10px rgba(208, 0, 0, 0.8);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d00000, #ff4444);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(208, 0, 0, 0.5);
}

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

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(208, 0, 0, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.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, titleFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(208, 0, 0, 0.5));
}

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

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

.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;
    animation: subtitleFade 2s ease-in-out;
}

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

.hero-description {
    font-size: 1.1rem;
    color: #aaaaaa;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: descriptionSlide 2.5s ease-in-out;
}

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

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: badgesAppear 3s ease-in-out;
}

@keyframes badgesAppear {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.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;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    background: rgba(208, 0, 0, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(208, 0, 0, 0.4);
    border-color: #ff4444;
}

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

.mirrors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(208, 0, 0, 0.05) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.mirrors-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d00000;
    position: relative;
    z-index: 1;
    animation: sectionTitleGlow 4s ease-in-out infinite;
}

@keyframes sectionTitleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(208, 0, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(208, 0, 0, 0.8), 0 0 30px rgba(208, 0, 0, 0.3); }
}

.mirror-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

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

.mirror-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d00000, transparent, #d00000);
    border-radius: 15px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

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

.mirror-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.mirror-link:hover::before {
    left: 100%;
}

.mirror-link:hover {
    color: #d00000;
    background: rgba(208, 0, 0, 0.1);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 5px 15px rgba(208, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(208, 0, 0, 0.8);
}

.mirror-warning {
    text-align: center;
    color: #ffaa00;
    font-weight: 500;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(255, 170, 0, 0.8); }
}

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

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(208, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(208, 0, 0, 0.1) 0%, transparent 50%);
    animation: statsGlow 10s ease-in-out infinite;
}

@keyframes statsGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.stats-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

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

.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.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 0, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(208, 0, 0, 0.3);
    border-color: #d00000;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #d00000;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(208, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(208, 0, 0, 0.8);
}

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

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

.security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(208, 0, 0, 0.03) 50px,
        rgba(208, 0, 0, 0.03) 100px
    );
    animation: securityPattern 15s linear infinite;
}

@keyframes securityPattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

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

.security-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

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

.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.4s ease;
    position: relative;
    overflow: hidden;
}

.security-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(208, 0, 0, 0.1), transparent);
    animation: securitySpin 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.security-card:hover::after {
    opacity: 1;
}

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

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.security-card:hover .security-icon {
    transform: scale(1.2) rotateY(180deg);
}

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

.security-card p {
    color: #cccccc;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.warning {
    color: #ffaa00 !important;
    font-weight: 600;
    animation: warningGlow 2s ease-in-out infinite;
}

@keyframes warningGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 170, 0, 0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 170, 0, 0.8); }
}

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

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

.escrow-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(208, 0, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline:hover::before {
    opacity: 1;
}

.timeline h3 {
    text-align: center;
    color: #d00000;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(208, 0, 0, 0.5);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    animation: timelineSlide 0.6s ease-out;
}

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

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #d00000;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(208, 0, 0, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(208, 0, 0, 0.6); }
    50% { transform: scale(1.2); box-shadow: 0 0 25px rgba(208, 0, 0, 0.8); }
}

.timeline-item:not(:last-child) .timeline-dot::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #d00000, rgba(208, 0, 0, 0.3));
    animation: lineGrow 1s ease-out;
}

@keyframes lineGrow {
    from { height: 0; }
    to { height: 40px; }
}

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

.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;
    position: relative;
    overflow: hidden;
}

.escrow-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(208, 0, 0, 0.1), transparent);
    animation: noteShine 3s ease-in-out infinite;
}

@keyframes noteShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.escrow-note strong {
    color: #d00000;
    position: relative;
    z-index: 1;
}

/* 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-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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);
    transition: all 0.3s ease;
}

.rule-item:hover {
    border-color: rgba(208, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(208, 0, 0, 0.2);
}

.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;
    transition: color 0.3s ease;
}

.rule-content li:hover {
    color: #ffffff;
}

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

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

.vendor-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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;
    transition: all 0.3s ease;
}

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

.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: all 0.3s ease;
}

.check-item:hover {
    transform: translateX(5px);
}

.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;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.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;
    transition: all 0.3s ease;
}

.qr-placeholder:hover {
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(208, 0, 0, 0.3);
}

.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;
    animation: qrPulse 2s ease-in-out infinite;
}

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

.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.4s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 0, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px 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;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(208, 0, 0, 0.5);
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(208, 0, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(208, 0, 0, 0.8); }
}

.step h3 {
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step p {
    color: #cccccc;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.step-visual {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.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;
}

/* Enhanced 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;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.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;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.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;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.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.2);
    box-shadow: 0 0 20px rgba(208, 0, 0, 0.6);
}

.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;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 0, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-card:hover::before {
    opacity: 1;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(208, 0, 0, 0.2);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.support-card h3 {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.support-card p {
    color: #cccccc;
    position: relative;
    z-index: 1;
}

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

.language-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.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;
    box-shadow: 0 0 15px rgba(208, 0, 0, 0.5);
}

.lang:hover {
    border-color: #d00000;
    transform: scale(1.05);
}

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

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

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

.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;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: rotate(360deg);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d00000;
    text-shadow: 0 0 10px rgba(208, 0, 0, 0.5);
}

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

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

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

/* Enhanced 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;
    }
    
    .cosmic-background::after {
        width: 50px;
        height: 50px;
    }
}

@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;
    }
    
    .stat-card:hover {
        transform: translateY(-10px);
    }
    
    .security-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

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

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

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

/* Scroll-triggered animations will be handled by JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hover effects for interactive elements */
.interactive-hover {
    transition: all 0.3s ease;
}

.interactive-hover:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Glitch effect for special elements */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-effect:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Matrix-style text effect */
@keyframes matrix {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

.matrix-text {
    animation: matrix 2s ease-in-out infinite;
}
