/* Основные стили для навигации */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-link:not(.active):hover {
    background: rgba(0, 234, 255, 0.1);
    color: #00eaff;
    border-color: rgba(0, 234, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 234, 255, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #00eaff 0%, #008cff 100%);
    color: #0f172a;
    font-weight: 600;
    border: 1px solid #00eaff;
    box-shadow: 0 5px 15px rgba(0, 234, 255, 0.3);
    position: relative;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00eaff, #008cff, #00eaff);
    border-radius: 12px;
    z-index: -1;
    animation: activeGlow 2s ease-in-out infinite alternate;
    opacity: 0.5;
}

@keyframes activeGlow {
    from {
        opacity: 0.4;
        filter: blur(5px);
    }
    to {
        opacity: 0.7;
        filter: blur(8px);
    }
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i:not(.active i) {
    transform: scale(1.1);
}

.nav-link.active i {
    color: #0f172a;
}

/* Контейнеры вкладок */
.main-container {
    position: relative;
    min-height: 600px;
    padding: 2rem;
    background: transparent;
}

.tab-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: none;
}

.tab-content.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
    animation: tabFadeIn 0.5s ease-out;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Контейнер для гайдов */
.guide-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    color: #e2e8f0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar для всех страниц */
.guide-container .sidebar {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(0, 234, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.guide-container .sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00eaff, #008cff);
    border-radius: 20px 20px 0 0;
}

.guide-container .sidebar-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 234, 255, 0.2);
    position: relative;
}

.guide-container .sidebar-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00eaff 0%, #008cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0, 234, 255, 0.2);
}

.guide-container .sidebar-header p {
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Карточки шагов */
.guide-container .step-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.guide-container .step-card:hover {
    border-color: rgba(0, 234, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 234, 255, 0.15);
}

.guide-container .step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #00eaff;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(0, 234, 255, 0.3);
}

.guide-container .step-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #f8fafc;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.guide-container .step-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Сетка бирж (ДЕСКТОПНАЯ версия) */
.guide-container .exchanges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.guide-container .exchange-item {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.guide-container .exchange-item:hover {
    border-color: #00eaff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 234, 255, 0.2);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
}

.guide-container .exchange-name {
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #f8fafc;
}

.guide-container .exchange-type {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guide-container .exchange-type.native {
    background: rgba(0, 234, 255, 0.25);
    color: #00eaff;
    border: 1px solid rgba(0, 234, 255, 0.4);
}

.guide-container .exchange-type.eth {
    background: rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.guide-container .exchange-icon {
    font-size: 1.2rem;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
}

.guide-container .exchange-item:hover .exchange-icon {
    color: #00eaff;
    transform: scale(1.2);
}

/* Подсказки */
.guide-container .step-tip {
    background: linear-gradient(145deg, rgba(0, 234, 255, 0.15), rgba(0, 140, 255, 0.1));
    border-left: 5px solid #00eaff;
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.guide-container .step-tip strong {
    color: #00eaff;
    font-weight: 700;
}

/* Секции контента */
.guide-container .content-section {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.guide-container .content-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Список требований */
.guide-container .req-list {
    list-style: none;
    padding: 0;
}

.guide-container .req-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.guide-container .req-list li:hover {
    color: #f8fafc;
}

.guide-container .req-list li:last-child {
    border-bottom: none;
}

.guide-container .req-list li i {
    color: #00eaff;
    margin-right: 1rem;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Сетка фич */
.guide-container .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.guide-container .feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.guide-container .feature-card:hover {
    border-color: #00eaff;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 234, 255, 0.15);
}

.guide-container .feature-icon {
    font-size: 3rem;
    color: #00eaff;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.guide-container .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.guide-container .feature-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-container .feature-card p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

/* Кнопки действий */
.guide-container .action-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.guide-container .action-button {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 2.2rem;
    background: linear-gradient(135deg, #00eaff 0%, #008cff 100%);
    color: #0f172a;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.guide-container .action-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 234, 255, 0.3);
}

.guide-container .action-button.secondary {
    background: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
    border: 2px solid rgba(0, 234, 255, 0.6);
}

.guide-container .action-button.secondary:hover {
    background: rgba(0, 234, 255, 0.15);
    border-color: #00eaff;
}

/* Контейнер анимации mixnet */
.mixnet-animation-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 1.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 234, 255, 0.3);
    background: linear-gradient(145deg, 
        rgba(10, 14, 23, 0.9) 0%,
        rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.mixnet-animation-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Введение Manifesto */
.manifesto-intro {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid rgba(0, 234, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Заключение Manifesto */
.manifesto-conclusion {
    background: linear-gradient(145deg, rgba(0, 234, 255, 0.15), rgba(0, 140, 255, 0.1));
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
    border: 1px solid rgba(0, 234, 255, 0.3);
}

.manifesto-conclusion strong {
    color: #00eaff;
    font-weight: 700;
}

/* Варианты делегирования */
.delegation-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.delegation-option {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.delegation-option:hover {
    border-color: rgba(0, 234, 255, 0.3);
    transform: translateY(-2px);
}

.delegation-option.highlight {
    background: linear-gradient(145deg, rgba(0, 234, 255, 0.1), rgba(0, 140, 255, 0.05));
    border: 1px solid rgba(0, 234, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.delegation-option.highlight::before {
    content: '⭐ RECOMMENDED';
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #00eaff, #008cff);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
}

.delegation-option h5 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delegation-option h5 i {
    color: #00eaff;
}

.delegation-option p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.delegation-option ol {
    color: #cbd5e1;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.delegation-option li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.delegation-option li a {
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
}

.delegation-option li a:hover {
    text-decoration: underline;
}

/* Информация об Explorer */
.explorer-info {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 234, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.explorer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00eaff 0%, #008cff 100%);
}

.explorer-info h5 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    color: #00eaff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explorer-info ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.explorer-info li {
    color: #cbd5e1;
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.5;
}

.explorer-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00eaff;
    font-weight: bold;
    font-size: 1.1rem;
}

.explorer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 234, 255, 0.3);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.explorer-link:hover {
    background: rgba(0, 234, 255, 0.2);
    border-color: #00eaff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 234, 255, 0.2);
}

/* Футерная навигация */
.footer-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 234, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.nav-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.nav-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.footer-nav-link:hover {
    background: rgba(0, 234, 255, 0.1);
    color: #00eaff;
    border-color: rgba(0, 234, 255, 0.3);
    transform: translateX(5px);
}

.footer-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-nav-link span {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========== СТИЛИ ДЛЯ ССЫЛОК В КОНТЕНТЕ ВКЛАДОК ========== */

/* Ссылки в контенте вкладок */
.sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 234, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #39ff14;
    border-bottom-color: #39ff14;
    transform: translateY(-1px);
}

.sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):active {
    transform: translateY(0);
}

/* Внешние ссылки (с иконкой) */
.sidebar-content a[target="_blank"]:not(.exchange-item):not(.action-button):not(.footer-nav-link)::after {
    content: '↗';
    font-size: 0.8em;
    margin-left: 2px;
    opacity: 0.8;
}

/* Ссылки в параграфах */
.sidebar-content p a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    border-bottom: 1px solid rgba(0, 234, 255, 0.3);
    font-weight: 600;
    padding-bottom: 1px;
}

.sidebar-content p a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #39ff14;
    border-bottom-color: #39ff14;
}

/* Ссылки в списках */
.sidebar-content .req-list li a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    border-bottom: 1px solid rgba(0, 234, 255, 0.3);
    padding: 0 2px;
    margin: 0 1px;
    border-radius: 3px;
}

.sidebar-content .req-list li a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
    border-bottom-color: #39ff14;
}

/* Ссылки в step-tip */
.sidebar-content .step-tip a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #e2e8f0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    background: rgba(0, 234, 255, 0.05);
}

.sidebar-content .step-tip a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
    border-bottom-color: #39ff14;
}

/* Ссылки в Manifesto */
.sidebar-content .manifesto-intro a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link),
.sidebar-content .manifesto-conclusion a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 234, 255, 0.4);
    padding-bottom: 1px;
}

.sidebar-content .manifesto-intro a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover,
.sidebar-content .manifesto-conclusion a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #ffd166;
    border-bottom-color: #ffd166;
    background: rgba(255, 209, 102, 0.1);
}

/* Ссылки в feature-card */
.sidebar-content .feature-card a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #94a3b8;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
    font-weight: 500;
    margin-top: auto;
}

.sidebar-content .feature-card a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #00eaff;
    border-bottom-style: solid;
}

/* Ссылки в delegation-options */
.sidebar-content .delegation-option a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    border-bottom: 1px solid rgba(0, 234, 255, 0.3);
    font-weight: 600;
}

.sidebar-content .delegation-option a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #39ff14;
    border-bottom-color: #39ff14;
    background: rgba(57, 255, 20, 0.05);
}

/* Анимация для ссылок с иконками */
.sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) i {
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover i {
    transform: translateX(2px);
}

/* Ссылки в контент-секциях */
.sidebar-content .content-section a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #00eaff;
    border-bottom: 1px solid rgba(0, 234, 255, 0.4);
    font-weight: 600;
}

.sidebar-content .content-section a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #ffd166;
    border-bottom-color: #ffd166;
}

/* Ссылки для скачивания */
.sidebar-content a[href$=".pdf"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #39ff14;
    border-bottom: 1px solid rgba(57, 255, 20, 0.4);
}

.sidebar-content a[href$=".pdf"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #ffd166;
    border-bottom-color: #ffd166;
    background: rgba(255, 209, 102, 0.05);
}

/* Ссылки на документацию */
.sidebar-content a[href*="docs"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link),
.sidebar-content a[href*="documentation"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #94a3b8;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
    font-weight: 500;
}

.sidebar-content a[href*="docs"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover,
.sidebar-content a[href*="documentation"]:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #00eaff;
    border-bottom-style: solid;
}

/* Ключевые ссылки в заголовках */
.sidebar-content .step-content h4 a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
    color: #f8fafc;
    border-bottom: 1px solid rgba(248, 250, 252, 0.3);
}

.sidebar-content .step-content h4 a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link):hover {
    color: #00eaff;
    border-bottom-color: #00eaff;
}

/* Ссылки в оглавлениях/навигации в тексте */
.sidebar-content .tab-link:not(.footer-nav-link) {
    color: #00eaff;
    border-bottom: 1px solid rgba(0, 234, 255, 0.4);
    cursor: pointer;
    font-weight: 600;
    padding-bottom: 1px;
}

.sidebar-content .tab-link:not(.footer-nav-link):hover {
    color: #39ff14;
    border-bottom-color: #39ff14;
    background: rgba(57, 255, 20, 0.05);
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 768px) {
    .guide-container {
        padding: 0;
        width: 100%;
    }
    
    .guide-container .sidebar {
        padding: 15px;
        margin: 0;
        border-radius: 0;
        border: none;
        background: linear-gradient(135deg, rgba(16, 23, 41, 0.95) 0%, rgba(8, 17, 33, 0.95) 100%);
        border: 1px solid rgba(0, 234, 255, 0.15);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 234, 255, 0.1);
        width: calc(100% - 30px);
        margin: 0 15px;
    }
    
    /* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: Компактная сетка бирж на мобильных */
    .guide-container .exchanges-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin: 1.2rem 0 !important;
    }
    
    .guide-container .exchange-item {
        padding: 0.8rem !important;
        min-height: auto !important;
        height: auto !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
    }
    
    .guide-container .exchange-item > div:first-child {
        flex: 1;
        min-width: 0;
    }
    
    .guide-container .exchange-name {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .guide-container .exchange-type {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
        margin-bottom: 0 !important;
        display: inline-block;
    }
    
    .guide-container .exchange-desc {
        display: none !important;
    }
    
    .guide-container .exchange-icon {
        font-size: 0.8rem !important;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.7rem;
        width: 100%;
        margin: 1rem 0;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .guide-container .sidebar-header h2 {
        font-size: 1.8rem;
    }
    
    .guide-container .sidebar-header p {
        font-size: 1rem;
    }
    
    .guide-container .step-card {
        padding: 1.5rem;
    }
    
    .guide-container .step-content h4 {
        font-size: 1.3rem;
    }
    
    .guide-container .step-content p {
        font-size: 1rem;
    }
    
    .guide-container .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guide-container .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .guide-container .action-button {
        justify-content: center;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .mixnet-animation-container {
        height: 250px;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .manifesto-intro {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .manifesto-conclusion {
        padding: 1.5rem;
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
    
    .delegation-options {
        flex-direction: column;
        gap: 1rem;
        margin: 1.2rem 0;
    }
    
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
    
    .sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
        padding-bottom: 1px;
        font-size: 0.95rem;
    }
    
    .sidebar-content .feature-card a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
        font-size: 0.9rem;
    }
    
    .sidebar-content a[target="_blank"]:not(.exchange-item):not(.action-button):not(.footer-nav-link)::after {
        font-size: 0.7em;
    }
}

@media (max-width: 480px) {
    /* Ещё более компактный вид на очень маленьких экранах */
    .guide-container .exchanges-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    
    .guide-container .exchange-item {
        padding: 10px 12px !important;
    }
    
    .guide-container .exchange-name {
        font-size: 0.9rem !important;
    }
    
    .guide-container .exchange-type {
        font-size: 0.75rem !important;
        padding: 3px 8px !important;
    }
    
    .nav-link {
        min-width: 100px;
        padding: 7px 12px;
        font-size: 0.85rem;
    }
    
    .guide-container .sidebar {
        padding: 1.2rem;
        margin: 0 15px;
    }
    
    .guide-container .sidebar-header h2 {
        font-size: 1.6rem;
    }
    
    .guide-container .step-card {
        padding: 1.2rem;
    }
    
    .guide-container .step-number {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    .guide-container .content-section h3 {
        font-size: 1.4rem;
    }
    
    .guide-container .req-list li {
        font-size: 0.95rem;
        padding: 0.7rem 0;
    }
    
    .mixnet-animation-container {
        height: 200px;
    }
    
    .manifesto-intro {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .manifesto-conclusion {
        padding: 1.2rem;
        font-size: 1rem;
        line-height: 1.6;
        
    }
    
    .footer-navigation {
        margin-top: 2rem;
        padding-top: 1.2rem;
        align: center;
    }
    
    .nav-section h4 {
        font-size: 1rem;
    }
    
    .footer-nav-link {
        padding: 0.6rem 0.8rem;
    }
    
    .footer-nav-link span {
        font-size: 0.85rem;
    }
    
    .sidebar-content a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
        font-size: 0.9rem;
    }
    
    .sidebar-content .req-list li a:not(.exchange-item):not(.action-button):not(.footer-nav-link):not(.tab-link):not(.explorer-link) {
        padding: 0 1px;
        margin: 0;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .guide-container .exchanges-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .guide-container .step-card {
        padding: 0.8rem;
    }
    
    .guide-container .sidebar-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .delegation-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .delegation-option {
        flex: 1;
        min-width: 180px;
    }
}

/* tabs.css - добавьте в конце файла */

@media (max-width: 768px) {
    /* Отключаем сложные анимации для мобильных */
    .tab-content {
        transition: opacity 0.2s ease !important;
        animation: none !important;
    }
    
    .tab-content.active {
        animation: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .guide-container .sidebar {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Упрощаем анимации карточек */
    .guide-container .step-card {
        transition: none !important;
        transform: none !important;
    }
    
    .guide-container .step-card:hover {
        transform: none !important;
    }
    
    /* Упрощаем анимации фич-карточек */
    .guide-container .feature-card {
        transition: none !important;
        transform: none !important;
    }
    
    .guide-container .feature-card:hover {
        transform: none !important;
    }
    
    /* Убираем параллакс и сложные эффекты */
    .guide-container .sidebar::before,
    .guide-container .step-card::before,
    .guide-container .feature-card::before {
        display: none !important;
    }
}


/* Сетка фич - восстановление оригинального выравнивания */
.guide-container .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.guide-container .feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.guide-container .feature-card:hover {
    border-color: #00eaff;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 234, 255, 0.15);
}

.guide-container .feature-icon {
    font-size: 3rem;
    color: #00eaff;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.guide-container .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ВАЖНО: Оригинальное выравнивание для Official Nym Resources */
.guide-container .feature-card h3,
.guide-container .feature-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    line-height: 1.2;
}

.guide-container .feature-card p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
    flex-grow: 1;
}

.guide-container .feature-card .explorer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #00eaff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 234, 255, 0.3);
    transition: all 0.3s ease;
    margin-top: auto;
    width: auto;
    white-space: nowrap;
}

.guide-container .feature-card .explorer-link:hover {
    background: rgba(0, 234, 255, 0.2);
    border-color: #00eaff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 234, 255, 0.2);
}

/* Исправление для карточек в мобильной версии */
@media (max-width: 768px) {
    .guide-container .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guide-container .feature-card {
        padding: 1.5rem;
        height: auto;
        min-height: 250px;
    }
    
    .guide-container .feature-card h3,
    .guide-container .feature-card h4 {
        font-size: 1.2rem;
    }
    
    .guide-container .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .guide-container .feature-icon {
        font-size: 2.5rem;
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .guide-container .feature-card .explorer-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Исправление для очень маленьких экранов */
@media (max-width: 480px) {
    .guide-container .feature-card {
        padding: 1.2rem;
        min-height: 230px;
    }
    
    .guide-container .feature-card h3,
    .guide-container .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .guide-container .feature-card p {
        font-size: 0.9rem;
    }
    
    .guide-container .feature-icon {
        font-size: 2rem;
        padding: 0.7rem;
    }
}

/* Гарантия правильного выравнивания содержимого */
.guide-container .feature-card > * {
    text-align: center;
}

/* Исправление для горизонтальной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .guide-container .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-container .feature-card {
        min-height: 280px;
    }
}