:root {
    --monero-orange: #FF6600;
    --monero-light: #FF8C42;
    --primary-dark: #0a0f1a;
    --secondary-dark: #1a1f2e;
    --christmas-red: #d40000;
    --christmas-green: #00aa44;
    --christmas-gold: #ffcc00;
    --snow-white: #f0f8ff;
    --text-light: #E0E0E0;
    --text-muted: #8E8E9E;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(42, 21, 21, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--christmas-green);
    box-shadow: 0 2px 20px rgba(0, 170, 68, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--christmas-gold), var(--christmas-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.navbar-brand img {
    margin-right: 8px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--christmas-gold) !important;
}

/* Page layout */
.page-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 35px;
}

.page-header h1 {
    font-weight: 700;
    background: linear-gradient(45deg, var(--christmas-gold), var(--christmas-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.page-content {
    color: var(--snow-white);
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--christmas-gold);
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content a {
    color: var(--monero-light);
    text-decoration: none;
    border-bottom: 1px dotted var(--monero-light);
}

.page-content a:hover {
    color: var(--christmas-gold);
    border-bottom-color: var(--christmas-gold);
}

/* FAQ accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: rgba(15, 15, 26, 0.5);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 102, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--snow-white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 18px 22px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--christmas-gold);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--monero-orange);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 22px 18px;
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-number {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.step-body h4 {
    margin: 0 0 6px;
    color: var(--christmas-gold);
}

.step-body p {
    margin: 0;
}

/* Lang sidebar */
.lang-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-left: none;
    box-shadow: 4px 0 20px rgba(255, 102, 0, 0.15);
}

.lang-sidebar-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.25);
    transition: all 0.3s ease;
}

.lang-sidebar-btn:hover {
    background: rgba(255, 102, 0, 0.25);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.35);
    transform: translateX(3px);
}

.lang-sidebar-btn.active {
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    color: #000;
    border-color: var(--monero-orange);
    box-shadow: 0 0 18px rgba(255, 102, 0, 0.55);
}

/* Contacts sidebar */
.contacts-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.contacts-toggle {
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    color: #f7931a;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: -2px 0 10px rgba(255, 102, 0, 0.3);
    z-index: 1001;
}

.contacts-toggle:hover {
    padding-right: 20px;
    box-shadow: -3px 0 15px rgba(255, 102, 0, 0.5);
}

.contacts-panel {
    position: fixed;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(30, 30, 50, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px 0 0 12px;
    border: 2px solid var(--monero-orange);
    border-right: none;
    box-shadow: -5px 0 30px rgba(255, 102, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    overflow: hidden;
}

.contacts-panel.active {
    right: 0;
}

.contacts-header {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.3), rgba(255, 140, 66, 0.2));
    padding: 20px;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts-header h4 {
    margin: 0;
    color: var(--monero-orange);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.contacts-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.contacts-close:hover {
    color: var(--monero-orange);
    background: rgba(255, 102, 0, 0.2);
    transform: rotate(90deg);
}

.contact-items {
    padding: 20px;
}

.contact-item {
    background: rgba(50, 50, 70, 0.8);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--monero-orange);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info strong {
    display: block;
    color: var(--monero-orange);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-value {
    color: var(--text-light);
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.4;
    font-weight: 500;
}

.tox-address {
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    color: #b0b0ff;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.copy-btn {
    background: rgba(255, 102, 0, 0.1);
    border: 2px solid rgba(255, 102, 0, 0.4);
    color: var(--monero-orange);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    font-size: 18px;
}

.copy-btn:hover {
    background: var(--monero-orange);
    color: #000;
    border-color: var(--monero-orange);
    transform: scale(1.1);
}

.copy-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: -90px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border: 1px solid var(--monero-orange);
}

.copy-btn:hover::after {
    opacity: 1;
}

/* Forums sidebar */
.forums-sidebar {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 999;
}

.forums-toggle {
    background: linear-gradient(135deg, #6f42c1, #9b6bff);
    color: white;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: -2px 0 10px rgba(111, 66, 193, 0.3);
    z-index: 1001;
}

.forums-toggle:hover {
    padding-right: 20px;
    box-shadow: -3px 0 15px rgba(111, 66, 193, 0.5);
}

.forums-panel {
    position: fixed;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(40, 40, 60, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px 0 0 12px;
    border: 2px solid #6f42c1;
    border-right: none;
    box-shadow: -5px 0 30px rgba(111, 66, 193, 0.3);
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    overflow: hidden;
}

.forums-panel.active {
    right: 0;
}

.forums-header {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.3), rgba(155, 107, 255, 0.2));
    padding: 20px;
    border-bottom: 2px solid rgba(111, 66, 193, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forums-header h4 {
    margin: 0;
    color: #9b6bff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(155, 107, 255, 0.5);
}

.forums-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.forums-close:hover {
    color: #9b6bff;
    background: rgba(111, 66, 193, 0.2);
    transform: rotate(90deg);
}

.forum-items {
    padding: 20px;
}

.forum-item {
    background: rgba(50, 50, 70, 0.8);
    border: 1px solid rgba(111, 66, 193, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.forum-item:hover {
    background: rgba(111, 66, 193, 0.15);
    border-color: #9b6bff;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
    text-decoration: none;
}

.forum-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6f42c1, #9b6bff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.3);
}

.forum-info {
    flex: 1;
    min-width: 0;
}

.forum-info strong {
    display: block;
    color: #9b6bff;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.forum-url {
    color: var(--text-light);
    font-size: 0.85rem;
    word-break: break-all;
    line-height: 1.4;
    font-weight: 500;
}

.forum-external {
    color: #9b6bff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.forum-item:hover .forum-external {
    transform: translateX(3px);
    color: white;
}

/* Footer links */
.footer-links {
    text-align: center;
    padding: 20px 0;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-divider {
    color: var(--text-muted);
}

/* Copy notification */
#copyNotification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.4s ease-out forwards;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#copyNotification i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%) translateY(20px);
        opacity: 0;
    }
}

@keyframes copyFlash {
    0% { background-color: rgba(255, 102, 0, 0.1); }
    50% { background-color: rgba(255, 102, 0, 0.3); }
    100% { background-color: rgba(255, 102, 0, 0.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        margin: 20px 15px;
        padding: 25px 20px;
    }

    .lang-sidebar {
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
        flex-direction: row;
        border-radius: 14px;
        border: 1px solid rgba(255, 102, 0, 0.25);
        padding: 8px;
        gap: 8px;
    }

    .lang-sidebar-btn {
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
    }

    .lang-sidebar-btn:hover {
        transform: translateY(-3px);
    }

    .contacts-panel {
        width: 280px;
        right: -280px;
    }

    .forums-sidebar {
        top: auto;
        bottom: 80px;
        right: 20px;
    }

    .footer-links a {
        display: inline-block;
        margin: 0 8px 8px;
    }
}

@media (max-width: 480px) {
    .contacts-sidebar {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
    }

    .contacts-toggle,
    .forums-toggle {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        font-size: 1.5rem;
    }

    .contacts-toggle span,
    .forums-toggle span {
        display: none;
    }

    .contacts-panel,
    .forums-panel {
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        border-radius: 0;
        transform: none;
        border: none;
    }

    .contacts-panel {
        border-left: 3px solid var(--monero-orange);
    }

    .forums-panel {
        border-left: 3px solid #6f42c1;
    }

    .contacts-panel.active,
    .forums-panel.active {
        right: 0;
    }

    .copy-btn::after {
        display: none;
    }
}
