/* style.css */
/*
Theme Name: Nullify Rust Theme
Theme URI: https://nullifyrust.ru
Author: Nullify Interactive
Author URI: https://nullifyrust.ru
Description: Тема для Rust сервера с Glassmorphism, Telegram Updates, News, Tiers и Wipe Slider
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: nullify-rust-theme
*/

@import url('assets/css/glass-cursor.css');


:root {
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-glow: rgba(255, 255, 255, 0.08);
    --accent-blue: #4f46e5;
    --accent-purple: #9333ea;
    --accent-magenta: #db2777;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: #020617;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-gradient {
    background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #020617 100%);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.blob-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: blob-float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-magenta);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 10%) scale(1.1); }
    66% { transform: translate(-10%, 5%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Glass Basics */
.glass-panel, .glass-card, .glass-header, .glass-footer, .glass-card-compact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Sidebar Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    border-radius: 0 24px 24px 0;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 2rem 1.5rem;
}

.side-menu.active {
    transform: translateX(300px);
}

.menu-content h3 {
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.menu-content ul {
    list-style: none;
}

.menu-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-content li:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Content Layout */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Telegram Section */
.telegram-card {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.icon-tg { color: #229ED9; }

.telegram-placeholder {
    height: 100px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* News Section */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: auto;
    margin: 0 auto;
}

.news-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
}

.news-title {
    font-weight: 500;
}

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

.news-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Pricing Section */
.pricing-scroll-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1024px) {
    .pricing-scroll-container {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }
    .pricing-card {
        min-width: 260px;
        scroll-snap-align: center;
    }
}

.pricing-card {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.price-tier {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.glow-magenta { border-bottom: 2px solid var(--accent-magenta); }
.glow-blue { border-bottom: 2px solid var(--accent-blue); }
.glow-indigo { border-bottom: 2px solid var(--accent-purple); }
.glow-purple { border-bottom: 2px solid #a855f7; }

/* Info Slider */
.info-slider-section {
    position: relative;
}

.slider-container {
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.slider-block {
    min-width: 100%;
    padding: 3rem;
    text-align: center;
}

.slider-label {
    text-transform: uppercase;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.countdown {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Footer */
.glass-footer {
    margin: 2rem 0.5rem 0.5rem 0.5rem;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    gap: 1.5rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.footer-icons {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.footer-icons i:hover { color: var(--text-primary); cursor: pointer; }

/* Buttons & Utils */
.glass-btn, .glass-btn-sm, .glass-btn-circle, .glass-btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
#profile-comment-submit{
    display: inline-block;
    background: var(--accent-purple);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    align-self: flex-start;
    transition: filter 0.2s;
    border: none;
    cursor: pointer;

}
.glass-btn {
    padding: 8px 16px;
    border-radius: 12px;
    gap: 8px;
    font-size: 0.9rem;
}

.glass-btn-sm {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.glass-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.glass-btn-circle.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.glass-btn-action {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: auto;
}

.glass-btn:hover, .glass-btn-sm:hover, .glass-btn-circle:hover, .glass-btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
}

.profile-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-left, .profile-right {
    flex: 1;
    min-width: 280px;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.profile-left p {
    margin-bottom: 0.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.server-status {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
}

.server-status h3 {
    margin-bottom: 0.5rem;
}

.server-status code {
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
}

.copy-btn {
    margin-left: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 2px 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.1);
}
/* Nullify Rust Theme - Sidebar Styles */

.sidebar {
    padding: 1.5rem;
    border-radius: 16px;
    /* Используем переменные из вашего основного файла */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    /* Градиентный текст для заголовка */
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-status-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Стили для карточки сервера */
.server-card {
    padding: 1rem;
    border-radius: 12px;
    /* Немного другой фон для вложенности */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.server-header h4 {
    font-weight: 600;
}

.server-version {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 6px;
}

.server-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.server-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.server-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.server-ip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-ip input {
    flex-grow: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.85rem;
    outline: none;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Используем стили кнопок из вашего файла */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}


/* Стили для иконок (Lucide) */
.server-info i {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.copy-btn i {
    width: 14px;
    height: 14px;
}
.news-section {
    width: 100%;
    margin: 0 auto;
}

.news-container {
    display: flex;
	margin-right: 60px;
    flex-direction: column;
    gap: 0.75rem;
}

.news-card {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
}

.news-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.news-title-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.new-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
}

.news-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--accent-blue);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.read-more-btn {
    margin-left: 1rem;
    padding: 4px 10px;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .news-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }
    
    .read-more-btn {
        order: -1;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}
/* Nullify News Page Styles */

.nullify-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nullify-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nullify-news-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.nullify-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
}

.nullify-news-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nullify-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.nullify-news-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.nullify-news-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nullify-news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.nullify-category-tag i {
    margin-right: 4px;
    color: #4f46e5;
}

.nullify-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nullify-news-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: #f8fafc;
}

.nullify-comments-section {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nullify-news-card {
        flex-direction: column;
    }

    .nullify-news-image {
        height: 200px;
    }
}
/* Nullify Comments - Vibrant Glass Style */

.nullify-comments-section {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.25));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nullify-comments-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.nullify-comment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nullify-comment {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nullify-comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.nullify-comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.nullify-comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.nullify-comment-meta {
    font-size: 0.8rem;
    color: #a5b4fc;
}

.nullify-comment-content {
    font-size: 1rem;
    line-height: 1.5;
    color: #f1f5f9;
}

.nullify-comment-reply {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    transition: all 0.2s;
}

.nullify-comment-reply:hover {
    color: #9333ea;
    text-decoration: underline;
}

.nullify-comment-children {
    margin-left: 2rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Reply Form */
.nullify-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nullify-comment-form input,
.nullify-comment-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.nullify-comment-form input:focus,
.nullify-comment-form textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 10px rgba(79,70,229,0.4);
}

.nullify-comment-form button {
    align-self: flex-start;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.nullify-comment-form button:hover {
    filter: brightness(1.2);
}
/* style.css или отдельный файл для ссылок */
.url {
    display: inline-block;
    color: #4fc3f7;           /* нежный голубой */
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.url::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #4fc3f7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.url:hover {
    color: #00b0ff;           /* чуть ярче при наведении */
}

.url:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Для мобильного/тёмного фона */
.url:active {
    color: #81d4fa;
}
/* Скрываем ссылку "Ответить" */
.comment-reply-link {
    display: none !important;
}
/* Глобальные ссылки */
a {
    color: #ffd600; /* основной цвет ссылки */
    text-decoration: none; /* убираем подчеркивание */
    transition: all 0.3s ease; /* плавный эффект при наведении */
    font-weight: 500;
    position: relative;
}

/* Подчеркивание при hover */
a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #ffd600;
    transition: width 0.3s;
    position: absolute;
    bottom: -2px;
    left: 0;
}

a:hover::after {
    width: 100%;
}

/* Hover текст */
a:hover {
    color: #ffffff;
}
/* Минималистичный заголовок сайта под дизайн Nullify */
h1.site-title {
    font-size: 0.85rem;            /* маленький, компактный */
    font-weight: 700;               /* чуть жирнее для акцента */
    letter-spacing: 0.2rem;         /* лёгкая разрядка */
    text-transform: uppercase;      /* в стиле интерфейса темы */
    color: #f8fafc;                 /* основной светлый текст */
    opacity: 0.8;                   /* немного прозрачный, под стиль glass */
    text-align: center;
    margin: 0.25rem 0;
}
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(15px);
}

.profile-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-left, .profile-right {
    flex: 1;
    min-width: 280px;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    margin-bottom: 1rem;
}

.profile-form input {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
}

.profile-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(79,70,229,0.3);
}

.profile-form button {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s;
}

.profile-form button:hover {
    filter: brightness(1.2);
}
.um-meta-text {
    margin: 6px 0 0 0;
    color: #ffffff !important; /* чистый белый для читаемости */
    line-height: 1.5em;
    font-size: 13px;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05); /* стеклянный фон */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* лёгкая тень */
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

/* Hover эффект для динамики */
.um-meta-text:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
/* Стили для кнопки */
.um-profile-settings-btn {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1); /* стеклянный фон */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Наведение */
.um-profile-settings-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Принудительно выше всех элементов */
.um-profile-edit .um-dropdown {
    z-index: 9999 !important;
}.nf-profile-tabs {
    display: flex;
    margin-top: 20px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.nf-tab-item {
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 10px 10px 0 0;
    background: rgba(0,0,0,0.05);
    transition: 0.2s;
}

.nf-tab-item.active {
    background: rgba(0,0,0,0.1);
    font-weight: 600;
}

.nf-tab-content {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 0 0 10px 10px;
}

.nf-tab-panel {
    display: none;
}

.nf-tab-panel.active {
    display: block;
}

.nf-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}
/* =================================
   Header - ИСПРАВЛЕННЫЕ СТИЛИ
   ================================= */

.glass-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 20px;
    height: 60px;
}

/* --- Колонки --- */

.header-left, .header-right {
    flex: 1;
    /* ИСПРАВЛЕНИЕ: Превращаем колонки во flex-контейнеры для выравнивания */
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start; /* Прижимаем содержимое влево */
}

.header-right {
    justify-content: flex-end; /* Прижимаем содержимое вправо */
}

.header-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* --- Левая часть (Профиль) --- */

.profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Добавляем стили для ссылки */
    text-decoration: none;
    padding: 5px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.profile-mini:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-mini .avatar { /* Уточняем селектор */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.profile-mini .username { /* Уточняем селектор */
    font-size: 0.9rem;
    font-weight: 600; /* Делаем чуть жирнее для кликабельности */
    color: var(--text-white);
}

/* --- Центральная часть (Лого и меню) --- */

/* --- Центральная часть (Лого и меню) - ИСПРАВЛЕНИЕ --- */

/* Сбрасываем стили для H1, чтобы он не мешал верстке */
.header-center h1 {
    margin: 0;
    padding: 0;
    line-height: 1; /* Убираем лишнюю высоту строки */
}

/* Теперь стили применяются к ссылке, а не к H1 */
.site-title {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none; /* Убираем подчеркивание у ссылки */
}


.swipe-trigger-container {
    margin-top: 4px;
    cursor: grab;
}

#swipe-trigger {
    width: 100px;
    height: 24px;
    opacity: 0.8;
}

/* --- Правая часть (Кнопки) --- */

/* Контейнер для кнопок пользователя */
.header-user-actions {
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между кнопками */
}

/* Стили для кнопки "Войти" у гостя, если нужно */
.btn-login.steam-btn {
    margin-left: auto; /* Это можно оставить для гостевого вида */
}

/* Анимация (без изменений) */
.wiggle-animation {
    animation: wiggle 3s infinite ease-in-out;
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    10% { transform: rotate(-10deg) scale(1.1); }
    20% { transform: rotate(10deg) scale(1.1); }
    30% { transform: rotate(0deg) scale(1); }
}

/* --- Стили для статуса пользователя --- */

/* Индикатор на аватаре */
.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #808080; /* Серый - Оффлайн по умолчанию */
    border: 3px solid #1a1a2e; /* Цвет фона профиля для обводки */
    transition: background-color 0.3s ease;
}

.status-indicator.online {
    background-color: #2ecc71; /* Ярко-зеленый - В сети */
    box-shadow: 0 0 10px #2ecc71;
}

/* Текст статуса в блоке */
.status-block .status-title {
    color: #94a3b8; /* Цвет для "Оффлайн" */
    transition: all 0.3s ease;
    font-weight: 500;
}

.status-block .status-title.online {
    color: #2ecc71; /* Зеленый цвет для "В сети" */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
}
/* === GTranslate Glass Dropdown === */

.gtranslate_wrapper {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

/* Основной select */
.gtranslate_wrapper select.gt_selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    min-width: 190px;
    padding: 12px 44px 12px 16px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    color: #fff;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
    outline: none;

    transition: all 0.25s ease;
}

/* Hover / Focus */
.gtranslate_wrapper select.gt_selector:hover,
.gtranslate_wrapper select.gt_selector:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Стрелка */
.gtranslate_wrapper::after {
    content: "▾";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;

    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Опции */
.gtranslate_wrapper select.gt_selector option {
    background: #0e1117;
    color: #fff;
    font-size: 14px;
}

/* Скрываем Google branding и второй селект */
#google_translate_element2,
.goog-te-banner-frame,
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Убираем смещение страницы от Google Translate */
body {
    top: 0 !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .gtranslate_wrapper select.gt_selector {
        min-width: 160px;
        font-size: 13px;
    }
}
/* ACHIEVEMENTS */

.achievements-block{
    padding:20px;
    margin-top:20px;
}

.achievements-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(80px,1fr));
    gap:15px;
    margin-top:15px;
}

.achievement-item{
    text-align:center;
    padding:10px;
    border-radius:14px;
    background:rgba(255,255,255,.03);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.06);
    transition:.25s;
}

.achievement-item:hover{
    transform:translateY(-4px);
    box-shadow:0 0 15px rgba(147,51,234,.25);
}

.achievement-item img{
    width:50px;
    height:50px;
    display:block;
    margin:0 auto 6px;
}

.achievement-item span{
    font-size:12px;
    color:var(--text-secondary);
}

.show-all-achievements{
    margin-top:20px;
    width:100%;
    padding:10px;
    border-radius:12px;
    background:linear-gradient(135deg,
        var(--accent-purple),
        var(--accent-blue)
    );
    border:none;
    color:#fff;
    cursor:pointer;
}
.nr-achievements{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.nr-achievement{
    cursor:pointer;
    border-radius:12px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    padding:6px;
    transition:.2s;
}

.nr-achievement:hover{
    transform:scale(1.08);
}

.nr-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.nr-popup-inner{
    padding:30px;
    border-radius:18px;
    background:rgba(255,255,255,.06);
    backdrop-filter:blur(30px);
    text-align:center;
}
.info-slider-section {
    position: relative;
    margin-top: 26px;
}
.news-section {
    flex: 1;
    min-width: 24px;

}
.left-info {
    width: 280px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.news-layout {
    display: flex;
    gap: 20px; /* расстояние между колонками */
    align-items: flex-start; /* выравнивание по верху */
}

/* Левая колонка — фиксированная ширина */
.left-info {
    width: 300px; /* фиксированная ширина */
    flex-shrink: 0; /* не сжимается */
}

/* Правая колонка — растягивается на оставшееся место */
.news-section {
    flex: 1; /* занимает всё оставшееся пространство */
    min-width: 0; /* чтобы текст переносился корректно */
}
.pricing-scroll-container {
    margin-right: 60px;
    margin-left: 301px;
    display: grid;
    margin-top: 20px;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.telegram-card {
    margin-top: 5px;
    padding: 1.5rem;
    margin-left: 100px;
    margin-right: 150px;
}
.sidebar {
    margin-top: 15px;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
	margin-left: 100px;
    margin-right: 150px;
}
/* /assets/css/telegram-servers-layout.css */

.telegram-layout {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    width: 100%;
}

/* Левая колонка — Telegram */
.telegram-section {
    flex: 1.4;
    min-width: 0;
}

/* Правая колонка — сервера */
.telegram-blocks-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 260px;
}

/* Серверные карточки */
.telegram-block {
    width: 100%;
    padding: 0.9rem 1rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.telegram-block:hover {
    transform: translateY(-2px);
}

/* Telegram карточка */
.telegram-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Адаптив */
@media (max-width: 900px) {
    .telegram-layout {
        flex-direction: column;
    }

    .telegram-blocks-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .telegram-block {
        flex: 1 1 48%;
    }
}

@media (max-width: 560px) {
    .telegram-block {
        flex: 1 1 100%;
    }
}
.footer-info {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}    .glass-btn {
        padding: 1px 5px !important;
        border-radius: 12px !important;
        gap: 8px;
        font-size: 0.9rem !important;
    }
    
    /* Мобильные улучшения */
    .mobile-menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--text-white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
        margin-right: 5px;
    }
    
    .mobile-actions {
        display: none;
    }
    
    .mobile-profile {
        display: none;
    }
    
    /* Скрытие текста на мобильных, оставляем только иконки */
    .mobile-icon-only span {
        display: none;
    }
    
    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
        .mobile-icon-only span {
            display: none;
        }
        
        .desktop-only {
            display: none;
        }
        
        .mobile-menu-toggle {
            display: block;
        }
        
        .main-menu {
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            z-index: 1000;
            transform: translateY(-105%);
            transition: transform 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .main-menu.active {
            transform: translateY(0);
        }
        
        .mobile-actions {
            display: flex;
        }
        
        .header-user-actions {
            display: none;
        }
        
        .mobile-profile {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .mobile-profile .avatar {
            width: 32px;
            height: 32px;
        }
        
        .mobile-profile .username {
            display: none;
        }
        
        .profile-mini {
            padding: 5px;
            border-radius: 12px;
        }
        
        .profile-mini:hover {
            background: rgba(255, 255, 255, 0.05);
        }
    }
    
    /* Для планшетов в портретной ориентации */
    @media (max-width: 768px) and (orientation: portrait) {
        .header-user-actions a span {
            display: none;
        }
        
        .header-user-actions a {
            min-width: 40px;
            padding: 0 8px !important;
        }
        
        .header-user-actions {
            gap: 5px;
        }
    }