:root {
    --black: #0a0a0a;
    --cyan: #00cfff;
    --cyan-transparent: rgba(0, 207, 255, 0.2);
    --gray: #222222;
    --light-gray: #444444;
}

body {
    background-color: var(--black);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.onion-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, var(--black) 0%, #000 100%);
}

.neon-block {
    background-color: var(--gray);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    box-shadow: 0 0 15px var(--cyan-transparent);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1900px;
    transition: all 0.3s ease;
}

.neon-block:hover {
    box-shadow: 0 0 25px var(--cyan-transparent);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--cyan);
}

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

.onion-logo {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
}

.onion-logo::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

h1, h2, h3 {
    color: var(--cyan);
    font-weight: 600;
}

h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.cyan-text {
    color: var(--cyan);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--cyan-transparent);
    text-shadow: 0 0 10px var(--cyan);
}

.glowing-box {
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--cyan);
    padding: 1rem;
    margin: 1.5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--cyan-transparent);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cyan);
}

.security-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-top: 2px solid var(--cyan);
}

.warning-box {
    background-color: rgba(255, 100, 100, 0.1);
    border: 1px solid #ff6464;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tab {
    padding: 0.8rem 1.5rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover, .tab.active {
    background-color: var(--cyan);
    color: var(--black);
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
    border-top: 1px solid var(--cyan);
}

.pulsing-onion {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: pulse 3s infinite;
}

.pulsing-onion::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
}

.disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 1rem;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Glitch effect */
.glitch-hover:hover {
    animation: glitch 0.5s linear infinite;
}

@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); }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
    }
}

/* Onion Links Section */
.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.onion-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.onion-link:hover {
    background-color: var(--cyan-transparent);
}

.onion-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
}

.onion-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
}

.onion-link a {
    color: white;
    text-decoration: none;
    word-break: break-all;
}

.onion-link a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

/* New SEO-optimized blocks */
.market-tag {
    font-size: 0.6em;
    background-color: var(--cyan-transparent);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.5em;
}

.section-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.content-block {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid var(--cyan);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

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

.step-by-step {
    counter-reset: step-counter;
    padding-left: 1.5rem;
}

.step-by-step li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    position: relative;
    list-style-type: none;
    padding-left: 2.5rem;
}

.step-by-step li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    background-color: var(--cyan);
    color: black;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--cyan);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--cyan);
    border: 3px solid var(--black);
}

.timeline-date {
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 6px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(0, 0, 0, 0.3);
}

.faq-item {
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    border-bottom: 1px solid var(--cyan-transparent);
}

.faq-item h3 {
    margin-top: 0;
    color: white;
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Enhanced link styling for SEO */
.links-container a {
    position: relative;
    padding-left: 1.5rem;
}

.links-container a::before {
    content: '🔗';
    position: absolute;
    left: 0;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .content-block {
        padding: 1rem;
    }
}

/* Print styles for better accessibility */
@media print {
    body {
        background-color: white;
        color: black;
    }

    .neon-block {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .cyan-text, h1, h2, h3 {
        color: #0066cc;
    }

    .onion-icon, .onion-logo, .pulsing-onion, .onion-particles {
        display: none;
    }

    .links-container a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #00ffcc;
    font-family: 'Share Tech Mono', monospace;
    overflow-x: hidden;
    height: 100%;
}


.canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


.pulsing-onion {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: radial-gradient(circle, #00cfff 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: pulse 3s infinite;
}

.pulsing-onion::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #00cfff;
    border-radius: 50%;
}


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


nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #00cfff;
    text-shadow: 0 0 10px #00cfff;
}


.typing {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.15em solid #00cfff;
    animation: typing 3s steps(30) 1s forwards, blinkCaret 0.75s step-end infinite;
}

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

@keyframes blinkCaret {
    50% { border-color: transparent; }
}


.section-tile {
    background: rgba(0, 255, 204, 0.3);
    border: 1px solid #00ffcc55;
    box-shadow: 0 0 25px #00ffcc33;
    padding: 2rem;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стиль для кнопок */
button {
    background: #00cfff;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

button:hover {
    background: #006e6e;
    cursor: pointer;
}


.glitch-hover {
    color: #00ffcc;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.6), 0 0 10px rgba(0, 255, 204, 0.8);
    transition: all 0.3s ease;
}

.glitch-hover:hover {
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6), 0 0 30px rgba(0, 255, 204, 0.8);
}


section:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}


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

.stat-item {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #00cfff;
}

.stat-label {
    font-size: 1rem;
    color: #fff;
    opacity: 0.7;
}


h1, h2, h3 {
    color: #00cfff;
    font-weight: 600;
    text-shadow: 0 0 10px #00cfff;
}


.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.1), rgba(0, 255, 204, 0.3));
    animation: dynamicGrid 5s ease-in-out infinite;
}

@keyframes dynamicGrid {
    0% {
        transform: rotate(0deg);
        background: linear-gradient(45deg, rgba(0, 255, 204, 0.1), rgba(0, 255, 204, 0.3));
    }
    50% {
        transform: rotate(360deg);
        background: linear-gradient(45deg, rgba(0, 255, 204, 0.2), rgba(0, 255, 204, 0.5));
    }
    100% {
        transform: rotate(720deg);
        background: linear-gradient(45deg, rgba(0, 255, 204, 0.1), rgba(0, 255, 204, 0.3));
    }
}


html {
    scroll-behavior: smooth;
}

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


.onion-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Эффект при наведении */
.onion-link:hover {
    background-color: #00cfff; 
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5); 
}

.onion-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #00cfff 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
}


.onion-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #00cfff;
    border-radius: 50%;
}


.onion-link a {
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    font-weight: bold;
}


.onion-link a:hover {
    color: #00cfff;
    text-decoration: underline;
}


.glitch-hover:hover {
    animation: glitch 0.5s linear infinite;
}

@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); }
}


.onion-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.onion-link:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7); 
}
