/* Unique Cyberpunk Theme */
:root {
    --primary: #00ff9d;
    --secondary: #00b8ff;
    --accent: #ff00aa;
    --dark: #0a0a12;
    --darker: #050508;
    --light: #e0e0e0;
    --danger: #ff3e3e;
    --warning: #ffcc00;
}

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

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    z-index: -2;
}

.matrix-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%2300ff9d" stroke-width="0.5" stroke-dasharray="2 2"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.subtitle {
    color: var(--secondary);
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}

.glitch {
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--accent);
    z-index: -1;
    animation: glitch-effect 3s infinite;
}

.glitch::after {
    color: var(--secondary);
    z-index: -2;
    animation: glitch-effect 2s infinite reverse;
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

.intro {
    background: rgba(10, 10, 20, 0.7);
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    backdrop-filter: blur(5px);
}

.intro p {
    margin-bottom: 1rem;
}

.tor-warning {
    display: flex;
    align-items: center;
    color: var(--warning);
    font-weight: 600;
}

.tor-warning i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.market-card {
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.8) 0%, rgba(10, 10, 20, 0.9) 100%);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 157, 0.3);
}

.market-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
}

.rating {
    color: var(--warning);
    font-size: 1.2rem;
}

.description {
    margin-bottom: 1.5rem;
    color: rgba(224, 224, 224, 0.8);
}

.onion-link {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    word-break: break-all;
}

.onion-link i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.onion-url {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.onion-url:hover {
    color: var(--accent);
    text-decoration: underline;
}

.mirrors h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mirrors ul {
    list-style: none;
}

.mirrors li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.mirrors li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.mirrors a {
    color: rgba(0, 184, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    word-break: break-all;
}

.mirrors a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.6);
}

.card-footer i {
    margin-right: 0.3rem;
}

.faq {
    margin-bottom: 3rem;
}

.faq h2 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
}

.faq h2 i {
    margin-right: 0.8rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(20, 20, 30, 0.5);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.faq-question {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.faq-question::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    margin-right: 0.8rem;
    font-weight: bold;
    font-size: 1rem;
}

.faq-answer {
    color: rgba(224, 224, 224, 0.8);
    padding-left: 2.3rem;
}

footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 157, 0.1);
}

.disclaimer {
    background: rgba(255, 62, 62, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border-left: 3px solid var(--danger);
}

.disclaimer p {
    margin-bottom: 0.8rem;
}

.disclaimer p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

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

.footer-links i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.seo-links {
    font-size: 0.7rem;
    color: rgba(224, 224, 224, 0.25);
    text-align: center;
    margin-top: 1rem;
    letter-spacing: 0.05rem;
    word-break: break-word;
}

.seo-links a {
    color: rgba(0, 184, 255, 0.2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.seo-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.seo-links .separator {
    margin: 0 0.4rem;
    color: rgba(255, 255, 255, 0.1);
}
