/* Mini Profile */
 .user-profile {
 position: relative;
 display: none; /* Hidden by default, shown via JS */
 cursor: pointer;
 }
 .user-profile.active {
 display: flex;
 align-items: center;
 gap: 12px;
 }
 .avatar {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: var(--accent-gradient);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: bold;
 border: 2px solid var(--glass-border);
 }

 .avatar img {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: var(--accent-gradient);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: bold;
 border: 2px solid var(--glass-border);
 }

 .user-name {
 font-weight: 500;
 font-size: 0.95rem;
 }
 .profile-dropdown {
 position: absolute;
 top: 120%;
 right: 0;
 min-width: 220px;
 border-radius: var(--radius-md);
 padding: 12px;
 opacity: 0;
 visibility: hidden;
 transform: translateY(10px);
 transition: var(--transition);
 }
 .user-profile:hover .profile-dropdown {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
 }
 .profile-header {
 padding: 0 10px 10px;
 border-bottom: 1px solid var(--glass-border);
 margin-bottom: 10px;
 }
 .profile-header span {
 display: block;
 font-size: 0.8rem;
 color: var(--text-muted);
 }

 /* Mobile Menu Toggle */
 .mobile-toggle {
 display: none;
 background: none;
 border: none;
 color: white;
 font-size: 1.5rem;
 cursor: pointer;
 }

 /* Mobile Sidebar */
 .mobile-sidebar {
 position: fixed;
 top: 0;
 right: -100%;
 width: 300px;
 height: 100vh;
 background: rgba(10, 10, 15, 0.95);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 z-index: 2000;
 padding: 80px 24px 24px;
 transition: 0.4s ease-in-out;
 border-left: 1px solid var(--glass-border);
 }
 .mobile-sidebar.open {
 right: 0;
 }
 .close-menu {
 position: absolute;
 top: 24px;
 right: 24px;
 background: none;
 border: none;
 color: white;
 font-size: 1.5rem;
 cursor: pointer;
 }
 .mobile-nav {
 display: flex;
 flex-direction: column;
 gap: 20px;
 }
 .mobile-nav .nav-link {
 font-size: 1.2rem;
 display: block;
 padding: 10px 0;
 border-bottom: 1px solid rgba(255,255,255,0.05);
 }
/* ================= VARIABLES ================= */
 :root {
--bg-base: #0a0a0f;
 --bg-color: #0a0a0f;
 --text-main: #f3f4f6;
 --text-muted: #9ca3af;
 
 --glass-bg: rgba(25, 25, 35, 0.6);
 --glass-border: rgba(255, 255, 255, 0.08);
 --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
 --accent-secondary: #BEA1F7;
 --accent-1: #AD8EF6;
 --accent-2: #ec4899;
 --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
 --accent-gradient-hover: linear-gradient(135deg, #7c3aed, #db2777);
 --text-dim: #94a3b8;
 /* Градиенты акцентов */
 --accent-grad-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
 --accent-grad-2: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);

 --radius-md: 12px;
 --radius-lg: 24px;
 --radius-pill: 50px;
 --radius-sm: 8px;
 --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--bg-surface: rgba(255, 255, 255, 0.03);
 --bg-surface-hover: rgba(255, 255, 255, 0.08);
 --border-color: rgba(255, 255, 255, 0.08);
 }
 --blur-md: blur(12px);
 --blur-lg: blur(24px);
 /* ================= RESET & BASE ================= */
 * {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 }

 body {
 font-family: 'Inter', sans-serif;
 background-color: var(--bg-color);
 color: var(--text-main);
 overflow-x: hidden;
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
 }

 ::-webkit-scrollbar { width: 8px; }
 ::-webkit-scrollbar-track { background: var(--bg-color); }
 ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

 a { text-decoration: none; color: inherit; }
 ul { list-style: none; }

 /* ================= AMBIENT BACKGROUND ================= */
 .ambient-bg {
 position: fixed;
 top: 0; left: 0; width: 100vw; height: 100vh;
 z-index: -1;
 overflow: hidden;
 pointer-events: none;
 }
 .orb {
 position: absolute;
 border-radius: 50%;
 filter: blur(120px);
 opacity: 0.35;
 animation: float 25s infinite ease-in-out alternate;
 }
 .orb-1 { top: -10%; left: -5%; width: 600px; height: 600px; background: var(--accent-1); }
 .orb-2 { bottom: -10%; right: -5%; width: 700px; height: 700px; background: var(--accent-2); animation-delay: -7s; }

 @keyframes float {
 0% { transform: translate(0, 0) scale(1); }
 100% { transform: translate(60px, 40px) scale(1.1); }
 }

 /* ================= LAYOUT ================= */
 .container {
 max-width: 1340px;
 margin: 0 auto;
 padding: 0 32px;
 }

 .glass-panel {
 background: var(--glass-bg);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border: 1px solid var(--glass-border);
 box-shadow: var(--glass-shadow);
 }

 .gradient-text {
 background: var(--accent-gradient);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 }

 /* ================= FLOATING HEADER ================= */
 .header-wrapper {
 position: fixed;
 top: 20px;
 left: 0;
 right:0;
 width: 100%;
 z-index: 1000;
 }

 header {
 display: grid;
 grid-template-columns: auto 1fr auto;
 align-items: center;
 padding: 10px 24px;
 border-radius: var(--radius-pill);
 gap: 20px;
 }

 .logo {
 font-size: 1.4rem;
 font-weight: 800;
 display: flex;
 align-items: center;
 gap: 10px;
 margin-right: 15px;
 }
 .logo i { color: var(--accent-1); }

 /* Left Aligned Nav */
 .desktop-nav {
 display: flex;
 gap: 24px;
 align-items: center;
 }

 .nav-link {
 font-weight: 500;
 font-size: 0.9rem;
 color: var(--text-main);
 transition: var(--transition);
 opacity: 0.8;
 }
 .nav-link:hover { opacity: 1; color: var(--accent-1); }

 .dropdown {
 position: relative;
 padding: 10px 0;
 }
 .dropdown-menu {
 position: absolute;
 top: 100%;
 left: 50%;
 transform: translateX(-50%) translateY(10px);
 min-width: 215px;
 border-radius: var(--radius-md);
 padding: 8px;
 opacity: 0;
 visibility: hidden;
 transition: var(--transition);
 }
 .dropdown:hover .dropdown-menu {
 opacity: 1;
 visibility: visible;
 transform: translateX(-50%) translateY(0);
 }
 .dropdown-item {
 display: block;
 padding: 10px 16px;
 color: var(--text-main);
 border-radius: 8px;
 transition: var(--transition);
 font-size: 0.9rem;
 }
 .dropdown-item:hover {
 background: rgba(255,255,255,0.05);
 color: var(--accent-1);
 padding-left: 20px;
 }


 /* Right Aligned Actions & Search */
 .header-right {
 display: flex;
 align-items: center;
 gap: 16px;
 justify-content: flex-end;
 }

 .header-search {
 position: relative;
 width: 220px;
 transition: var(--transition);
 }
 .header-search:focus-within { width: 300px; }
 .header-search input {
 width: 100%;
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-pill);
 padding: 10px 16px 10px 40px;
 color: white;
 font-size: 0.85rem;
 outline: none;
 transition: var(--transition);
 }
 .header-search i {
 position: absolute;
 left: 15px;
 top: 50%;
 transform: translateY(-50%);
 color: var(--text-muted);
 font-size: 0.9rem;
 }

 .btn {
 padding: 10px 20px;
 border-radius: var(--radius-pill);
 font-weight: 600;
 font-size: 0.85rem;
 cursor: pointer;
 transition: var(--transition);
 border: none;
 }
 .btn-primary { background: var(--accent-gradient); color: white; }
 .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4); }
 .btn-outline {
 background: transparent;
 color: var(--text-main);
 border: 1px solid var(--glass-border);
 }
 .btn-outline:hover {
 background: rgba(255,255,255,0.05);
 }


 /* ================= HERO ================= */
 .hero {
 padding: 180px 0 30px;
 text-align: center;
 }
 .hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
 .hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; }

 /* ================= SECTION HEADERS ================= */
 .section-header {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 margin-bottom: 40px;
 }
 .section-title h2 { font-size: 2rem; font-weight: 700; margin:0;}
 .section-title p { color: var(--text-muted); margin:0;}
 .view-all { color: var(--accent-1); font-weight: 600; font-size: 0.9rem; }

 /* ================= MODS GRID ================= */
 .mods-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
 gap: 24px;
 margin-bottom: 80px;
 }

/* Карточка мода */
 .mod-card {
 border-radius: var(--radius-md);
 padding: 8px;
 transition: var(--transition);
 position: relative;
 overflow: hidden;
 display: flex; flex-direction: column;
 }
 .mod-card::before {
 content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
 background: var(--accent-grad-1); opacity: 0; z-index: -1;
 transition: var(--transition); border-radius: inherit; margin: -1px;
 }
 .mod-card:hover { transform: translateY(-8px); }
 .mod-card:hover::before { opacity: 0.15; filter: blur(15px); }
 
 .mod-img {
 width: 100%;
 height: 180px;
 border-radius: var(--radius-sm);
 object-fit: cover;
 background: #1a1a24;
 }

 .mod-content {
 padding: 20px 12px 12px;
 flex-grow: 1;
 display: flex; flex-direction: column;
 }
 .mod-category { font-size: 12px; color: #818cf8; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
 .mod-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); margin-top: 0; }
 .mod-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-top:0; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px;}
 .mod-desc p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-top:0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px;}
 .mod-footer {
 display: flex; justify-content: space-between; align-items: center;
 padding-top: 16px; border-top: 1px solid var(--border-color);
 }
 .mod-meta { display: flex; gap: 12px; font-size: 13px; color: var(--text-muted); align-items: center; }
 .mod-meta svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: currentColor;}
 .download-btn {
 background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
 color: var(--text-main); width: 36px; height: 36px; border-radius: 50%;
 display: flex; align-items: center; justify-content: center; cursor: pointer;
 transition: var(--transition);
 }
 .download-btn:hover { background: var(--text-main); color: var(--bg-base); }
.glass {
 background: var(--bg-surface);
 backdrop-filter: var(--blur-md);
 -webkit-backdrop-filter: var(--blur-md);
 border: 1px solid var(--border-color);
}
 /* --- Article Cards --- */
 .grid-articles {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
 gap: 30px;
 }

 .article-card {
 display: flex;
 background: var(--glass-bg);
 border: 1px solid var(--glass-border);
 border-radius: 24px;
 overflow: hidden;
 height: 220px;
 transition: all 0.3s;
 }

 .article-card:hover {
 border-color: var(--accent-secondary);
 background: rgba(255,255,255,0.05);
 }

 .article-img {
 width: 40%;
 height: 100%;
 background: #1a1a1e;
 }

 .article-img img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 }

 .article-body {
 width: 60%;
 padding: 24px;
 display: flex;
 flex-direction: column;
 justify-content: center;
 }

 .article-date {
 color: var(--text-dim);
 font-size: 0.75rem;
 margin-bottom: 8px;
 }

 .article-title {
 font-size: 1.1rem;
 font-weight: 700;
 margin-bottom: 10px;
 line-height: 1.4;
margin-top:0;
 }

 .article-excerpt {
 color: var(--text-dim);
 font-size: 0.85rem;
 margin-bottom: 15px;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
margin-top:0;
 }

 /* ================= FOOTER ================= */
 footer {
 margin-top: 100px;
 padding: 80px 0 40px;
 border-top: 1px solid var(--glass-border);
 background: linear-gradient(to top, rgba(10,10,15,1), rgba(10,10,15,0));
 }
 .footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1fr;
 gap: 48px;
 margin-bottom: 64px;
 }
 .footer-brand p {
 color: var(--text-muted);
 margin-top: 16px;
 max-width: 300px;
 font-size: 0.95rem;
 }
 .footer-socials {
 display: flex;
 gap: 16px;
 margin-top: 24px;
 }
 .social-icon {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255,255,255,0.05);
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 transition: var(--transition);
 border: 1px solid var(--glass-border);
 }
 .social-icon:hover {
 background: var(--accent-gradient);
 transform: translateY(-3px);
 }
 .footer-links h4 {
 font-size: 1.1rem;
 margin-bottom: 24px;
 font-weight: 600;
 }
 .footer-links ul {
 display: flex;
 flex-direction: column;
 gap: 12px;
padding:0;
 }
 .footer-links a {
 color: var(--text-muted);
 font-size: 0.95rem;
 transition: var(--transition);
 }
 .footer-links a:hover {
 color: var(--accent-1);
 }
 .footer-bottom {
 text-align: center;
 padding-top: 32px;
 border-top: 1px solid rgba(255,255,255,0.05);
 color: var(--text-muted);
 font-size: 0.9rem;
 }


 /* ================= ANIMATIONS ================= */
 .fade-in-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
 .fade-in-up.visible { opacity: 1; transform: translateY(0); }

 /* ================= MOBILE ================= */
 @media (max-width: 900px) {
 header { grid-template-columns: auto 1fr; }
 .desktop-nav, .header-search { display: none; }
 .header-right { gap: 10px; }}

 /* ================= MEDIA QUERIES ================= */
 @media (max-width: 1200px) {
 .desktop-nav, .header-search { display: none; }
 #auth-ui {display: none;}
 .mobile-toggle {
 display: block;
 }
.user-profile.active {display:none;}
 }

@media (max-width: 1024px) {
.user-profile.active {display:none;}
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
 .desktop-nav {
 display: none;
 }
 #auth-ui {
 display: none;
 }
 .mobile-toggle {
 display: block;
 }
 }

 @media (max-width: 768px) {
 .desktop-nav {
 display: none;
 }
.user-profile.active {display:none;}
 #auth-ui {
 display: none;
 }
 .auth-buttons {
 display: none;
 }
 .mobile-toggle {
 display: block;
 }
 .hero h1 {
 font-size: 2.5rem;
 }

 .search-bar {
 flex-direction: column;
 background: transparent;
 border: none;
 box-shadow: none;
 gap: 12px;
 padding: 0;
 }
 .search-bar input {
 width: 100%;
 background: rgba(25, 25, 35, 0.8);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-pill);
 }
 .search-btn {
 width: 100%;
 }
 .search-bar i {
 display: none;
 }
 }

 @media (max-width: 480px) {
 .footer-grid {
 grid-template-columns: 1fr;
 }
 .mods-grid {
 grid-template-columns: 1fr;
 }
 }
 /* ================= 3. ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS) ================= */
 .vmods-breadcrumbs {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 0.9rem;
 color: var(--text-muted);
 background: var(--glass-bg);
 padding: 12px 20px;
 border-radius: var(--radius-md);
 border: 1px solid var(--glass-border);
 width: fit-content;
 }

 .breadcrumb-link {
 text-decoration: none;
 color: var(--text-muted);
 transition: var(--transition);
 display: flex;
 align-items: center;
 gap: 6px;
 }

 .breadcrumb-link:hover {
 color: var(--accent-1);
 }

 .breadcrumb-sep {
 font-size: 0.7rem;
 opacity: 0.5;
 }

 .breadcrumb-current {
 color: var(--text-main);
 font-weight: 600;
 }

.swchItemA{ 
 background: var(--accent-gradient) !important; 
 font-size: 15px !important; 
 padding: 10px 15px !important; 
 border-radius: 5px !important; 
 text-decoration: none; 
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
 } 
 .swchItem{ 
background: var(--glass-bg)!important;
 font-size: 15px !important; 
 padding: 10px 15px !important; 
 border-radius: 5px !important; 
 border: 1px solid var(--glass-border); 
 text-decoration: none; 
transition: var(--transition);
 backdrop-filter: blur(10px);
 } 
 .swchItem:hover{ 
 text-decoration: none; 
 border-color: var(--accent-1) !important;
 color: var(--accent-1) !important;
 transform: translateY(-2px) !important;

 }


 /* ================= 1. ГОРИЗОНТАЛЬНЫЕ КАТЕГОРИИ (HORIZONTAL CATEGORIES) ================= */
 .vmods-categories-row {
 display: flex;
 gap: 10px;
 overflow-x: auto;
 padding: 10px 5px 20px 5px;
 scrollbar-width: none; /* Firefox */
 -ms-overflow-style: none; /* IE/Edge */
 }

 .vmods-categories-row::-webkit-scrollbar {
 display: none; /* Chrome/Safari */
 }

 .category-card {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 12px 10px;
 background: var(--glass-bg);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-md);
 text-decoration: none;
 color: var(--text-main);
 white-space: nowrap;
 transition: var(--transition);
 backdrop-filter: blur(10px);
 }

 .category-card i {
 font-size: 1.1rem;
 color: var(--accent-1);
 transition: var(--transition);
 }

 .category-card span {
 font-weight: 600;
 font-size: 0.80rem;
 }

 .category-badge {
 background: rgba(255, 255, 255, 0.05);
 padding: 2px 8px;
 border-radius: 6px;
 font-size: 0.75rem;
 color: var(--text-muted);
 border: 1px solid var(--glass-border);
 }

 .category-card:hover {
 transform: translateY(-3px);
 border-color: var(--accent-1);
 background: rgba(139, 92, 246, 0.1);
 box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.4);
 }

 .category-card:hover i {
 transform: scale(1.2);
 color: white;
 }

 .category-card:hover .category-badge {
 background: var(--accent-gradient);
 color: white;
 border-color: transparent;
 }

 /* Active state example */
 .category-card.active {
 background: var(--accent-gradient);
 border-color: transparent;
 }
 .category-card.active i, 
 .category-card.active span, 
 .category-card.active .category-badge {
 color: white;
 }
 .category-card.active .category-badge {
 background: rgba(255, 255, 255, 0.2);
 }

.card-link {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 4;
}


 /* ================= MAIN CONTENT LAYOUT ================= */
 .page-content { padding-top: 140px; padding-bottom: 80px; }
 
 

 .item-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; }

 .grid-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

 /* ================= CAROUSEL ================= */
 .carousel-container {
 position: relative;
 width: 100%;
 aspect-ratio: 16 / 9;
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin-bottom: 32px;
 }
 .carousel-track { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
 .carousel-slide { min-width: 100%; height: 100%; }
 .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
 
 .carousel-btn {
 position: absolute; top: 50%; transform: translateY(-50%);
 background: rgba(0,0,0,0.5); border: none; color: white;
 width: 45px; height: 45px; border-radius: 50%; cursor: pointer;
 backdrop-filter: blur(5px); z-index: 10; transition: 0.3s;
 }
 .carousel-btn:hover { background: var(--accent-1); }
 .prev { left: 20px; }
 .next { right: 20px; }

 .carousel-dots {
 position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
 display: flex; gap: 8px; z-index: 10;
 }
 .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; }
 .dot.active { background: white; width: 25px; border-radius: 5px; }

 /* ================= BLOCKS ================= */
 .content-block { padding: 32px; border-radius: var(--radius-lg); margin-bottom: 32px; }
 .block-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
 .block-title i { color: var(--accent-1); }

 .description-content { color: var(--text-muted); font-size: 1.05rem; }
 .description-content ul { margin-left: 20px; margin-top: 15px; }
 .description-content li { margin-bottom: 8px; }

 /* ================= SIDEBAR WIDGETS ================= */
 .sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
 
 .sidebar-widget { padding: 24px; border-radius: var(--radius-lg); }

 /* Action Block */
 .btn-stack { display: flex; flex-direction: column; gap: 12px; }
 .btn-download {
 width: 100%; padding: 16px; border-radius: var(--radius-md);
 background: var(--accent-gradient); color: white; border: none;
 font-size: 1.05rem; font-weight: 700; cursor: pointer;
 display: flex; align-items: center; justify-content: center; gap: 12px;
 transition: var(--transition); text-decoration: none;
 }
 .btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4); }

 .btn-video {
 width: 100%; padding: 14px; border-radius: var(--radius-md);
 background: transparent; color: white; border: 1px solid var(--glass-border);
 font-size: 0.95rem; font-weight: 600; cursor: pointer;
 display: flex; align-items: center; justify-content: center; gap: 10px;
 transition: var(--transition); text-decoration: none;
 }
 .btn-video:hover { background: rgba(255,255,255,0.05); border-color: var(--accent-2); color: var(--accent-2); }

 /* Rating Block */
 .rating-widget { text-align: center; }
 .rating-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; display: block; text-transform: uppercase; letter-spacing: 1px; }
 .stars { display: flex; justify-content: center; gap: 6px; font-size: 1.3rem; color: #333; cursor: pointer; margin-bottom: 10px; }
 .stars i.active { color: #facc15; text-shadow: 0 0 12px rgba(250, 204, 21, 0.5); }
 .rating-stats { font-weight: 700; font-size: 1.1rem; color: var(--text-main); }
 .rating-count { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-left: 5px; }

 /* File Info List */
 .file-info { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; border-top: 1px solid var(--glass-border); padding-top: 15px; }
 .info-row { display: flex; justify-content: space-between; font-size: 0.85rem; }
 .info-label { color: var(--text-muted); }

 /* Author Widget */
 .author-widget { }
 .author-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
 .author-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent-1); padding: 2px; flex-shrink: 0; }
 .author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
 .author-name { font-weight: 700; font-size: 1rem; color: var(--text-main); line-height: 1.2; }
 .author-rank { font-size: 0.7rem; color: var(--accent-1); font-weight: 700; text-transform: uppercase; margin-bottom: 2px; display: block; }

 .social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
 .social-btn {
 height: 40px; border-radius: 8px; background: rgba(255,255,255,0.03);
 display: flex; align-items: center; justify-content: center; color: var(--text-muted);
 transition: var(--transition); border: 1px solid var(--glass-border); text-decoration: none;
 }
 .social-btn:hover { background: var(--glass-border); color: white; border-color: var(--accent-1); transform: translateY(-2px); }

 /* Comments */
 .comment-form { margin-bottom: 40px; }
 .comment-textarea {
 width: 100%; background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border);
 border-radius: var(--radius-md); padding: 16px; color: white; resize: none; margin-bottom: 16px; outline: none;
 }
 .comment-item { display: flex; gap: 16px; margin-bottom: 30px; }
 .comment-user-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-gradient); flex-shrink: 0; }
 .comment-text-box { flex: 1; }
 .comment-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
 .comment-user-name { font-weight: 600; font-size: 0.95rem; }
 .comment-date { font-size: 0.8rem; color: var(--text-muted); }
 .comment-msg { color: var(--text-muted); font-size: 0.95rem; }

 /* Similar Section */
 .similar-section { margin-top: 60px; }
 .similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
 .similar-card { border-radius: var(--radius-md); overflow: hidden; position: relative; height: 180px; text-decoration: none; }
 .similar-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
 .similar-card:hover img { transform: scale(1.1); }
 .similar-overlay { 
 position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8));
 display: flex; align-items: flex-end; padding: 15px; color: white; font-weight: 600;
 }


 /* Responsive */
 @media (max-width: 1000px) {
 .grid-layout { grid-template-columns: 1fr; }
 .sidebar { position: static; }
 .similar-grid { grid-template-columns: repeat(2, 1fr); }
 }


 /* ================= 3. КОММЕНТАРИИ (COMMENTS) ================= */
 .vmods-comments {
 max-width: 800px;
 }

 .comment-form {
 background: var(--glass-bg);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-lg);
 padding: 24px;
 margin-bottom: 40px;
 }

 .form-title {
 font-size: 1rem;
 font-weight: 700;
 margin-bottom: 15px;
 display: block;
 }

 .comment-input-wrapper {
 position: relative;
 margin-bottom: 15px;
 }

 .comment-textarea {
 width: 100%;
 background: rgba(0,0,0,0.2);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-md);
 padding: 15px;
 color: white;
 font-family: inherit;
 resize: vertical;
 min-height: 100px;
 outline: none;
 transition: var(--transition);
 }

 .comment-textarea:focus {
 border-color: var(--accent-1);
 background: rgba(0,0,0,0.3);
 }

 .comment-list {
 display: flex;
 flex-direction: column;
 gap: 24px;
 }

 .comment-item {
 display: flex;
 gap: 16px;
 }

 .user-avatar {
 width: 48px;
 height: 48px;
 border-radius: 50%;
 background: var(--accent-gradient);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 flex-shrink: 0;
 border: 2px solid var(--glass-border);
 }

 .comment-body {
 flex: 1;
 background: var(--glass-bg);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-md);
 padding: 16px;
 position: relative;
 }

 .comment-header {
 display: flex;
 justify-content: space-between;
 margin-bottom: 8px;
 }

 .user-name {
 font-weight: 700;
 font-size: 0.95rem;
 color: white;
 }

 .comment-date {
 font-size: 0.8rem;
 color: var(--text-muted);
 }

 .comment-text {
 font-size: 0.95rem;
 color: var(--text-main);
 opacity: 0.9;
 margin-bottom: 12px;
 }

 .comment-actions {
 display: flex;
 gap: 15px;
 }

 .action-btn {
 background: none;
 border: none;
 color: var(--accent-1);
 font-size: 0.8rem;
 font-weight: 600;
 cursor: pointer;
 padding: 0;
 display: flex;
 align-items: center;
 gap: 5px;
 transition: var(--transition);
 }

 .action-btn:hover {
 opacity: 0.8;
 transform: translateX(3px);
 }

 /* Reply styles */
 .comment-replies {
 margin-left: 64px;
 margin-top: 16px;
 border-left: 1px solid var(--glass-border);
 padding-left: 20px;
 }

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


 /* ================= ARTICLE LAYOUT ================= */
 .page-content { padding-top: 140px; padding-bottom: 80px; }

 .article-headermat { margin-bottom: 40px; }
 .article-categorymat { font-weight: 700; color: var(--accent-1); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 15px; display: block; }
 .article-titlemat { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
 .article-metamat { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-muted); align-items: center; }
 .article-metamat span { display: flex; align-items: center; gap: 6px; }

 .grid-layoutmat { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }

.article-textmat a {
 color: #8b5cf6;
}


 /* ================= CONTENT STYLING ================= */
 .article-bodymat { padding: 40px; border-radius: var(--radius-lg); margin-bottom: 40px; }
 .main-imagemat { width: 100%; border-radius: var(--radius-md); margin-bottom: 30px; }
 
 .article-text p { margin-bottom: 24px; font-size: 1.1rem; color: #e5e7eb; }
 .article-text h2 { font-size: 1.8rem; font-weight: 700; margin: 40px 0 20px; color: white; }
 .article-text h3 { font-size: 1.4rem; font-weight: 700; margin: 30px 0 15px; color: white; }
 
 .quote-block {
 border-left: 4px solid var(--accent-1);
 background: rgba(139, 92, 246, 0.05);
 padding: 24px 32px;
 margin: 32px 0;
 border-radius: 0 var(--radius-md) var(--radius-md) 0;
 font-style: italic;
 font-size: 1.2rem;
 }

 /* ================= SIDEBAR ================= */
 .sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
 .sidebar-widget { padding: 24px; border-radius: var(--radius-lg); }
 .widget-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; }

 .author-card { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
 .author-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent-1); }
 .author-name { font-weight: 700; font-size: 1rem; }
 .author-role { font-size: 0.75rem; color: var(--accent-1); text-transform: uppercase; font-weight: 700; }

 /* ================= COMMENTS ================= */
 .comments-section { padding: 40px; border-radius: var(--radius-lg); }
 .comment-form textarea {
 width: 100%; background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border);
 border-radius: var(--radius-md); padding: 16px; color: white; resize: none; margin-bottom: 16px; outline: none;
 }

 /* ================= SIMILAR ARTICLES ================= */
 .similar-sectionstat { margin-top: 60px; }
 .similar-gridstat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
 .similar-cardstat { 
 border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
 text-decoration: none; color: inherit; height: 100%; display: flex; flex-direction: column;
 }
 .similar-cardstat:hover { transform: translateY(-5px); border-color: var(--accent-1); }
 .similar-imgstat { width: 100%; height: 200px; object-fit: cover; }
 .similar-contentstat { padding: 20px; flex: 1; }
 .similar-titlestat { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
 .similar-descstat { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 1000px) {
 .grid-layout { grid-template-columns: 1fr; }
 .sidebar { position: static; }

 .similar-gridstat { grid-template-columns: 1fr 1fr; }
 }

textarea {
color:#fff;
padding:10px 10px;
 background: rgba(0, 0, 0, 0.2);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-md);
 padding: 15px;
 color: white;
 font-family: inherit;
 resize: vertical;
 min-height: 100px;
 outline: none;
 transition: var(--transition);
margin-top:10px;
}

textarea:focus {
 border-color: var(--accent-1);
 background: rgba(0,0,0,0.3);
 }

input:focus {
 border-color: var(--accent-1);
 background: rgba(0,0,0,0.3);
outline: 0 !important;
 }

hr {background: linear-gradient(90deg, var(--accent-1), transparent);
 border: 0;
 height: 1px;
opacity: 0.3;}

input {
 background: rgba(0, 0, 0, 0.2);
 border: 1px solid var(--glass-border);
 border-radius: var(--radius-md);
 color: #fff;
 padding: 12px 16px;
 opacity:.8;
}
input:focus {
 border: 1px solid var(--accent-1);
 color: #fff;
 outline: 0!important
}
input:hover {
 opacity:1;
}

.u-comboeditcell {
 background: rgba(0, 0, 0, 0.2);
 border: 1px solid var(--glass-border);
border-radius: var(--radius-md);
 vertical-align: top;
 border-spacing: 0;
color:#fff;
}
.u-combolist {
 color:#fff;
 font-weight: 400;
 overflow: auto;
 position: relative;
 border: 1px solid var(--glass-border);
 border-top: 0;
 background: rgba(0, 0, 0, 0.2);
padding:10px;
}

.u-comboedit {
color: #fff;
font-size: 14px;
}

select {
 background: rgba(0, 0, 0, 0.2);
 border: 1px solid var(--glass-border);
 border-radius: 6px;
 color: #fff;
 cursor: pointer;
 font-size: 14px;
 font-weight: 400;
 line-height: 24px;
 margin: 0;
 opacity: 1;
 position: relative;
padding:10px;
}

select:active,select:focus,select:hover {
 background: rgba(0, 0, 0, 0.2);
 border: 1px solid var(--accent-1);
}

select:active,select:focus {
 opacity: .8
}