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

html, body {
    height: 100%;
    font-family: 'Arial', sans-serif;
    width: 100vw;
}

body {

    color: #ffffff;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.night-sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.sky{
      background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #3a3a3a 100%);
      margin-bottom:-10px;
}


.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent),
        radial-gradient(1px 1px at 200px 120px, #ffffff, transparent),
        radial-gradient(2px 2px at 250px 60px, #ffffff, transparent),
        radial-gradient(1px 1px at 300px 90px, #ffffff, transparent),
        radial-gradient(2px 2px at 350px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 400px 150px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 500px 500px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

/* Луна */
.moon {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: #e8e8e8;
    border-radius: 50%;
    box-shadow: 
        0 0 40px 15px rgba(232, 232, 232, 0.3),
        0 0 80px 30px rgba(232, 232, 232, 0.2),
        inset -8px -8px 15px rgba(0, 0, 0, 0.3),
        inset 5px 5px 10px rgba(255, 255, 255, 0.4);
    animation: moonRise 2s ease-out forwards;
    opacity: 0;
    transform: translateY(100px);
}

/* Текстура луны */
.moon::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 25%;
    height: 25%;
    background: #d8d8d8;
    border-radius: 50%;
    box-shadow: 
        30% 20% 0 -5% #d0d0d0,
        15% 45% 0 -3% #d8d8d8,
        55% 40% 0 -7% #d0d0d0,
        70% 65% 0 -4% #d8d8d8;
}

/* Горы НА ВСЮ ШИРИНУ ЭКРАНА */
.mountains-fullscreen {
    position: fixed;
    bottom: -270px; 
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 2;
    
}
.st81{
    margin-top:25px;
}

.mountains-img {
    width: 100vw;
    height: auto;
    display: block;
    min-width: 520px;
    transform: translateY(200px);
}

/* Контент поверх всего */
.content-fullscreen {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 100%;
    pointer-events: none;
}

.content-fullscreen * {
    pointer-events: auto;
}

/* Анимации для текста */
.animate-title {
    opacity: 0;
    transform: translateY(50px) translateZ(-100px);
    animation: textRise 1.5s ease-out 0.5s forwards;
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.animate-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: textRise 1.5s ease-out 1s forwards;
    font-size: 1.5rem;
    color: #e0e0e0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.animate-btn {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: buttonRise 1s ease-out 1.5s forwards;
}

/* Кнопка в серых тонах */
.start-btn {
    background: linear-gradient(135deg, #ffffff, #f0f0f0, #e8e8e8);
    color: #333333;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 25px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3);
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(255, 255, 255, 0.6),
        0 0 25px rgba(255, 255, 255, 0.4);
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:active {
    transform: translateY(-1px);
}

/* Секция с описанием проекта - С ФОНОВЫМ ИЗОБРАЖЕНИЕМ */
.about-project {
    position: relative;
    background: 
        url('../images/home/bg.png') no-repeat center center,
        linear-gradient(180deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.8) 100%);
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;
    padding: 100px 0;
    min-height: 100vh;
    z-index: 4;
}

/* Затемнение для лучшей читаемости текста */
.about-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-project .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about-project h2 h3 h4 {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.about-project .lead {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.about-project .description-content {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.about-project .description-content {
    margin-bottom: 1.5rem;
}

/* Анимации */
@keyframes moonRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Для очень широких экранов */
@media (min-width: 1920px) {
    .mountains-img {
        width: 100%;
        min-width: auto;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .content-fullscreen {
        top: 25%;
    }
    
    .animate-title {
        font-size: 2.5rem;
    }
    
    .animate-subtitle {
        font-size: 1.2rem;
    }
    
    .moon {
        width: 60px;
        height: 60px;
        right: 10%;
    }
    
    .start-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .about-project h2 {
        font-size: 2rem;
    }
    
    .about-project .lead {
        font-size: 1.2rem;
    }
    
    .about-project .description-content {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .animate-title {
        font-size: 2rem;
    }
    
    .animate-subtitle {
        font-size: 1rem;
    }
    
    .content-fullscreen {
        top: 20%;
        padding: 0 20px;
    }
    
    .moon {
        width: 50px;
        height: 50px;
        right: 5%;
    }
    
    .about-project {
        padding: 60px 0;
    }
    
    .about-project h2 {
        font-size: 1.8rem;
    }
    
    .about-project .lead {
        font-size: 1.1rem;
    }
    
    .about-project .description-content {
        font-size: 1rem;
    }
}

/* Анимации для описания проекта */
.about-project .description-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-project h2 h3 h4{
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-project .lead {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-project.animated h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.about-project.animated .lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.about-project.animated .description-content p:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.about-project.animated .description-content p:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.about-project.animated .description-content p:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.about-project.animated .description-content p:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.my-projects, .my-stek {
    background: 
        url('../images/home/bg.png') no-repeat center center,
        linear-gradient(180deg, rgba(45, 45, 45, 0.9) 0%, rgba(58, 58, 58, 0.8) 100%);
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
}

.my-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.my-projects .container {
    position: relative;
    z-index: 1;
}

.my-projects-title h2 h3 h4 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

.wed-project {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}


.project-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-logo {
    max-width: 75px;
    height: auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.role-text {
    opacity: 0.9;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Адаптивность карточек */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1.5rem;
    }
    .card-logo {
        max-width: 40px;
    }
}

/* Анимация появления карточек */

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



.card-body {
    padding: 2rem;
}

.web-linc {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.web-linc:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.project-card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    color: #e8e8e8;
    height: 100%;
}

.project-card a:hover .role-text {
    color: rgba(255, 255, 255, 0.95) !important;
}

.not-work {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.last-projects {
    background: 
        url('../images/home/bg.png') no-repeat center center,
        linear-gradient(180deg, rgba(58, 58, 58, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
}

/* Затемнение для лучшей читаемости текста */
.last-projects::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.last-projects h2 {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Если backdrop-filter не поддерживается (старые браузеры) */
@supports not (backdrop-filter: blur(10px)) {
    .project-card {
        background: rgba(30, 30, 30, 0.9) !important;
    }
}

/* Для мобильных устройств - отключаем фиксированный фон */
@media (max-width: 768px) {
    .about-project,
    .my-projects,
    .last-projects {
        background-attachment: scroll !important;
    }
}

.my-stek, .my-projects{
    color: #ffffff;
}

/*Карточки языков программирования*/
/*Карточки языков программирования*/
.lang-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.lang-card-horizontal {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    min-height: 120px; 
    width: 340px; 
}

.lang-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(100, 150, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Контент карточки */
.lang-card-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 16px;
    gap: 2rem;
}

/* Логотип слева */
.lang-logo-left {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lang-card-horizontal:hover .lang-logo-left {
    transform: scale(1.05);
}

.lang-img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Информация справа */
.lang-info-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Заголовок - ИСПРАВЛЕНО */
.lang-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Распределяем пространство */
    margin-bottom: 0.5rem;
    width: 100%;
    gap: 10px; /* Небольшой отступ между элементами */
}

.lang-title {
    color: #ffffff;
    font-size: 1.4rem; /* Уменьшил размер */
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Троеточие если не помещается */
    flex-shrink: 1; /* Позволяем сжиматься */
    min-width: 0; /* Важно для работы ellipsis */
}

.lang-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem; /* Уменьшил шрифт */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0; /* Не сжимается */
    margin-left: auto; /* Выталкиваем вправо */
}

/* Описание */
.lang-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Кнопка */
.lang-footer {
    margin-top: auto;
    text-align: right; /* Кнопка справа */
}

.lang-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px; /* Уменьшил padding */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.9rem; /* Уменьшил шрифт */
    text-decoration: none !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 110px; /* Уменьшил минимальную ширину */
}

.lang-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.btn-arrow {
    width: 16px; /* Уменьшил размер */
    height: 16px;
    transition: transform 0.3s ease;
}

.lang-action-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .lang-card-horizontal {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .lang-card-content {
        padding: 14px;
        gap: 1.5rem;
    }
    
    .lang-logo-left {
        width: 60px;
        height: 60px;
    }
    
    .lang-title {
        font-size: 1.2rem; /* Еще меньше на мобильных */
    }
    
    .lang-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    
    .lang-footer {
        text-align: center; /* На мобильных центрируем */
    }
    
    .lang-action-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .lang-header {
        flex-wrap: nowrap; /* Не переносим */
    }
    
    .lang-title {
        font-size: 1.1rem;
    }
    
    .lang-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

/* Анимация появления */
.lang-card-horizontal {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Карточка проекта */
.simple-project-card {
    height: 200px;
    width:340px ;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.simple-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.project-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.project-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.project-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.project-name-left h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.project-languages-right {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.project-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 27, 27, 0.8);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    border-radius: 7px;
}

.simple-project-card:hover .project-hover-info {
    opacity: 1;
}

.project-hover-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hover-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 8px 20px;
    background: rgba(255, 59, 59, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hover-link:hover {
    background: rgba(255, 18, 18, 0.2);
    text-decoration: none;
    color: white;
}
.lang-tag {
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

/*Админка*/

    .dashboard-card {
        background: white;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        color: #333;
    }

    .admin-card-title {
        font-size: 16px;
        color: #000000;
        margin-bottom: 10px;
        font-weight: normal;
    }

    .card-number {
        font-size: 32px;
        font-weight: bold;
        color: #000;
        margin-bottom: 15px;
    }

    .card-stat {
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }

    .card-stat-value {
        font-size: 20px;
        font-weight: bold;
        color: #000;
        margin-bottom: 15px;
    }

    .card-btn {
        background: transparent;
        border: 1px solid #ddd;
        color: #333;
        padding: 8px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        text-decoration: none;
        display: inline-block;
    }

    .row-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    /* Адаптация для телефона */
    @media (max-width: 768px) {
        .row-cards {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .dashboard-card {
            padding: 15px;
        }
        
        .card-number {
            font-size: 28px;
        }
    }

.navbar{
    background-color:#3a3a3a;
    padding: 15px 0;
}
.admin{
    margin-left: 5px;
    color: #ffffff;
}

.me-2{
    margin-bottom: 5px;
}
.link-dark{
    margin-bottom: -5px;
}

/* Стили для статусов */
.status-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 10px;
}

.status-rel {
    background-color: #28a745;
    color: white;
}

/* Стили для меток технологий */
.tech-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e9ecef;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
}

/* Обложка проекта */
.project-cover img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

/* Версия */
.version {
    font-size: 14px;
    color: #6c757d;
    font-family: monospace;
}

/*языки программирования*/
.lang-card-horizontal {
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}

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

.lang-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-logo-left {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lang-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.lang-info-right {
    flex: 1;
}

.lang-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.lang-title {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.lang-badge {
    background-color: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.lang-footer {
    display: flex;
    justify-content: flex-end;
}

.lang-action-btn {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-action-btn:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    text-decoration: none;
}

 /*карточка языка*/
.lang-badge {
    background-color: #6c757d !important;
    color: white !important;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.lang-title {
    font-weight: 700;
    color: inherit;
    font-size: 16px;
    margin: 0 0 4px 0;
}

.lang-action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    color: white !important;
    border: none;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.lang-action-btn:hover {
    opacity: 0.8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lang-img, .lang-placeholder {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.lang-card-horizontal {
    border-radius: 10px;
}

/*проекты*/
.project-card-preview {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        position: relative;
    }
    
    .project-card-image {
        position: relative;
        height: 200px;
    }
    
    .project-gradient {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }
    
    .project-card-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
    }
    
    .project-technologies {
        margin-bottom: 8px;
    }
    
    .tech-badge {
        display: inline-block;
        background: rgba(255,255,255,0.9);
        color: #333;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        margin-right: 6px;
        margin-bottom: 6px;
        font-weight: 500;
    }
    
    .project-title {
        color: white;
        font-weight: 700;
        font-size: 18px;
        margin: 0;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

      .project-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        position: relative;
        transition: all 0.3s ease;
        height: 300px;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .project-card-image {
        position: relative;
        height: 100%;
    }
    
    .project-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .project-image-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    
    .project-gradient {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    }
    
    .project-card-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
    }
    
    .project-technologies {
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .tech-badge {
        display: inline-block;
        background: rgba(255,255,255,0.9);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    .project-title {
        color: white;
        font-weight: 700;
        font-size: 20px;
        margin: 0;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .card {
        background: white;
        border-radius: 20px;
    }
    
    .badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .bg-active {
        background-color: #28a745 !important;
    }
    
    .bg-in_progress {
        background-color: #ffc107 !important;
        color: #000 !important;
    }
    
    .bg-planned {
        background-color: #6c757d !important;
    }
    
    .bg-completed {
        background-color: #17a2b8 !important;
    }

        .lang-badge {
        background-color: #6c757d !important;
        color: white !important;
        font-size: 12px;
        padding: 3px 10px;
        border-radius: 12px;
        font-weight: 400;
        opacity: 0.8;
    }
    
    .lang-title {
        font-weight: 700;
        color: inherit;
        font-size: 16px;
        margin: 0 0 4px 0;
    }
    
    .lang-action-btn {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.2s;
        color: white !important;
        border: none;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .lang-action-btn:hover {
        opacity: 0.8;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .lang-img, .lang-placeholder {
        width: 75px !important;
        height: 75px !important;
        object-fit: contain;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: bold;
        color: white;
    }

/*Пользовательский навбар*/
   

.user-info {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.user-status {
    font-size: 14px;
    color: #c2c2c2;
    margin-top: 5px;
}

.nav-menu {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 12px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 25px;
}

.news-list {
    background-color: #404040;
    margin-bottom: 5px;
    margin-bottom: 10px;
    padding: 5px;
}

.news-item {
    display: flex;
    margin-bottom: -15px;
    padding-bottom: 20px;
}

.news-content {
    flex-grow: 1;
}

.news-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}

.news-header {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-text {
    font-size: 13px;
    color: #d8d8d8;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-date {
    font-size: 12px;
    color: #999999;
}

.view-all {
    margin-top: 20px;
    text-align: center;
}

.view-all-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #dfdfdf;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background-color: #e0e0e0;
}

.content {
    flex-grow: 1;
    padding: 20px;
}

.nav-item{
    color: #fff;
}

.ne-news{
    padding-bottom: 10px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}


/* МОБИЛЬНЫЙ НАВБАР */
.mobile-navbar {
    background-color: #3a3a3a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    min-height: 56px;
}

.mobile-navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

.fixed-logo {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  display: block;
}

.fixed-logo-desktop {
  width: 80px !important;
  height: auto;
  object-fit: contain;
  display: block;
}

.mobile-logo img,
.desktop-navbar img {
  max-width: none !important;
  max-height: none !important;
  min-width: auto !important;
  min-height: auto !important;
}

.dropdown-menu{
    background-color: #17a1b6;
}

.mobile-navbar-right {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.mobile-user-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-user-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-login-btn {
    padding: 6px 12px;
    font-size: 14px;
}

/* Мобильное меню */
.mobile-menu {
    background-color: #2a2a2a;
    padding: 10px 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background-color 0.2s;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background-color: rgba(255,255,255,0.1);
}

/* ОБЛОЖКА ПРОЕКТА */
.project-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin: 0;
}

@media (min-width: 768px) {
    .project-cover {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .project-cover {
        height: 350px;
        margin: 10px 10px 0 0;
    }
}

.cover-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.2) 10%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.5) 100%
    );
}

/* ТЕХНОЛОГИИ */
.tech-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 30px);
}


.tech-label {
    background-color: rgba(255,255,255,0.95);
    color: #333;
    margin-top: 10px ;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}



.project-name-center {
    position: absolute;
    left: 20px;
    bottom: 30px;
    text-align: left;
    width: auto;
    max-width: 80%;
    z-index: 2;
}

.project-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
}

@media (min-width: 768px) {
    .project-title {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .project-title {
        font-size: 32px;
    }
}


.description-preview {
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .description-preview {
        font-size: 15px;
    }
}

/* ВЕРСИЯ И СТАТУС */
.version-info {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

@media (min-width: 768px) {
    .version-info {
        bottom: 20px;
        right: 20px;
    }
}

.status-label {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .status-label {
        font-size: 11px;
        padding: 4px 12px;
    }
}

.status-dev {
    background-color: #868686;
    color: #ffffff;
}


.version {
    color: white;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-weight: 500;
}

@media (min-width: 768px) {
    .version {
        font-size: 14px;
    }
}

/* КОНТЕНТ ПРОЕКТА */
.content-wrapper {
    padding: 10px;
}

.col-lg-2{
    margin-left:0;
}

@media (min-width: 992px) {
    .content-wrapper {
        padding: 0;
    }
}
.content-wrapper {
        padding: 10px;
    } 
.project-content {
    padding: 10px 10px;
}

@media (min-width: 768px) {
    .project-content {
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .project-content {
        margin: 0 10px 10px 0;
    }
}

.content-card {
    max-width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #f0f0f0;
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #525252;
}

.section-title:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 20px;
    }
}

.description-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

@media (min-width: 768px) {
    .description-text {
        font-size: 15px;
    }
}

/* СКРИНШОТЫ */
.screenshots {
    margin-top: 20px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .screenshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.screenshot-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s;
}

.screenshot-placeholder:hover {
    border-color: #adb5bd;
    background-color: #e9ecef;
}

.screenshot-placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #adb5bd;
}

.screenshot-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .screenshot-placeholder {
        height: 180px;
    }
}

/* пк сайдбар*/
.sidebar {
    background-color: #323232;
    top: 0; 
    height: 1500px; 
    padding: 0 10px 10px 10px;
    overflow-y: auto; 
    z-index: 100;
}

.user-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

.user-details {
    color: white;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.user-status {
    font-size: 13px;
    color: #aaa;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 14px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-link.active {
    background-color: rgba(255,255,255,0.15);
    color: white;
    font-weight: 500;
}

.news-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.news-title {
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-header {
    color: white;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-text {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.news-date {
    color: #888;
    font-size: 11px;
}

/* МОБИЛЬНАЯ ПАНЕЛЬ НАВИГАЦИИ */
.mobile-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    padding: 6px;
    flex: 1;
    max-width: 80px;
}

.mobile-nav-item.active {
    color: #007bff;
}

.mobile-nav-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .mobile-navigation {
        display: none;
    }
}

/* УЛУЧШЕНИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ */
@media (max-width: 360px) {
    .project-cover {
        height: 200px;
    }
    
    .tech-label {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .version-info {
        bottom: 10px;
        right: 10px;
    }
    
    .project-content {
        padding: 15px 12px;
    }
}

/* ПОДДЕРЖКА ЛАНДШАФТНОЙ ОРИЕНТАЦИИ */
@media (max-height: 500px) and (orientation: landscape) {
    .project-cover {
        height: 200px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .tech-labels {
        top: 10px;
        left: 10px;
    }
}


/* ОПТИМИЗАЦИЯ ДЛЯ TOUCH-УСТРОЙСТВ */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .mobile-menu-item,
    .mobile-user-btn{
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }
}

.col-lg-2, .d-none, .d-lg-block{
    padding: 0;
}

.col-lg-2.d-none.d-lg-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.description {
    margin-bottom: 0 !important;
}
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.status-rel {
    background-color: #28a745;
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}


/* Стили для языков программирования */
.tech-stack .language-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-stack .language-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tech-stack .language-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Скриншоты */
.screenshots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.screenshot-item {
    position: relative;
    width: calc(33.333% - 10px);
}

.screenshot-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.screenshot-img:hover {
    transform: scale(1.03);
}

.screenshot-type {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.no-screenshots {
    text-align: center;
    padding: 30px;
    color: #6c757d;
}

.no-screenshots i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* Модальное окно - затемненный фон */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* Затемненный фон */
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* Кликабельный фон */
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    cursor: default; /* Картинка не кликабельна */
}

/* Адаптивность */
@media (max-width: 768px) {
    .screenshot-item {
        width: calc(50% - 8px);
    }
    
    .screenshot-img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .screenshot-item {
        width: 100%;
    }
    
    .screenshot-img {
        height: 200px;
    }
}

/*Версии*/
    .version-type {
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: bold;
    }   
 .version-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px;
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 8px;
        cursor: pointer;
        margin-bottom: 5px;
    }
    
    .version-header.active {
        background: #3d3d3d;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .version-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .version-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .version-date {
        color: #aaa;
        font-size: 14px;
    }
    
    .version-number {
        background: #555;
        color: white;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
    }
    
    .version-content {
        background: #2d2d2d;
        border: 1px solid #444;
        border-top: none;
        padding: 15px;
        border-radius: 0 0 8px 8px;
        margin-bottom: 10px;
        display: none;
    }
    
    .version-content.show {
        display: block;
    }
    
    .arrow {
        color: #aaa;
        transition: transform 0.3s;
    }
    
    .arrow.up {
        transform: rotate(180deg);
    }

        /* Стили для карточки запроса доступа */
    .access-request-card {
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 8px;
        padding: 25px;
        margin-top: 30px;
    }
    
    .access-request-title {
        color: #f0f0f0;
        font-size: 1.5rem;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .access-request-form .form-control {
        background: #3d3d3d;
        border: 1px solid #555;
        color: #f0f0f0;
    }
    
    .access-request-form .form-control:focus {
        background: #4d4d4d;
        border-color: #17a2b8;
        box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
        color: #f0f0f0;
    }
    
    .access-request-form .form-label {
        color: #ccc;
        font-weight: 500;
    }
    
    .access-request-btn {
        background: linear-gradient(135deg, #17a2b8, #138496);
        border: none;
        padding: 12px 30px;
        font-size: 1.1rem;
        transition: all 0.3s;
    }
    
    .access-request-btn:hover {
        background: linear-gradient(135deg, #138496, #117a8b);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .access-info {
        background: rgba(23, 162, 184, 0.1);
        border-left: 4px solid #17a2b8;
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 0 4px 4px 0;
    }

    /*Запросы досттупа*/
    .nav-tabs .nav-link {
        color: #5f92be;
        border: 1px solid transparent;
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }
    
    .nav-tabs .nav-link:hover {
        color: #495057;
        border-color: #e9ecef #e9ecef #dee2e6;
    }
    
    .nav-tabs .nav-link.active {
        color: #495057;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        font-weight: 600;
    }
    
    .table th {
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
    }
    
    .table td {
        vertical-align: middle;
    }

    .text-body-secondary{
        color: var(--bs-secondary-color) !important;
    }

    .footer-item{
        background-color: #191a1a;
        border-top: 2px solid #5e5e5e;
        padding: 2rem 0;
    }

    /*Новости*/

.news-header {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 0;
}

.project-filter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding: 0;
    background: none;
    border: none;
}

.project-filter-label {
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.project-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.project-label-btn {
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #6c757d;
    background-color: #767676;
    color: #ffffff;
    white-space: nowrap;
}

.project-label-btn:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    text-decoration: none;
}

.project-label-btn.active {
    background: #7AA2AC;
    color: white;
}

.news-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 30px 0 20px 0;
}

.news-card {
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.news-card-img {
    width: 100%;
    object-fit: cover;
    background: #3d3d3d;
}

.news-card-with-image .news-card-img {
    height: 160px;
}

.news-card-no-image .news-card-body {
    padding-top: 20px;
}

.news-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.news-card-with-image .news-card-body {
    height: calc(100% - 160px);
}

.news-card-no-image .news-card-body {
    height: 100%;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card-text {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 15px;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #444;
    margin-top: auto;
}

.news-card-info-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-card-project {
    background: #0d6efd;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.news-card-date {
    color: #6c757d;
    font-size: 0.75rem;
    white-space: nowrap;
}

.news-stats {
    display: flex;
    gap: 15px;
}

.news-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.like-stat {
    color: #28a745;
}

.dislike-stat {
    color: #dc3545;
}

.news-project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #7AA2AC;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
}

.news-image-container {
    position: relative;
}

.news-card-with-image .news-image-container {
    height: 160px;
}

.news-single-container {
    margin: 0 auto;
    padding: 20px 15px;
}

.news-single-header {
    margin-bottom: 30px;
}

.news-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-single-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.news-single-info-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-single-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-single-stats {
    display: flex;
    gap: 15px;
}

.news-single-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.news-single-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    background: #3d3d3d;
}

.news-single-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.news-single-content p {
    margin-bottom: 1.5rem;
}

.news-divider {
    height: 1px;
    background: #444;
    margin: 40px 0;
    border: none;
}

.related-news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.comments-count {
    font-size: 0.9rem;
    color: #6c757d;
    margin-left: 10px;
}

.comment-form {
    margin-bottom: 40px;
}

.comment-form textarea {
    background: #2d2d2d;
    border: 1px solid #444;
    color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    min-height: 120px;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.comment-form button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form button:hover {
    background: #0b5ed7;
}

.comments-list {
    margin-top: 30px;
}

.no-comments {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    font-style: italic;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.news-back-link:hover {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .project-filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-labels {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .project-label-btn {
        white-space: nowrap;
    }
    
    .news-header {
        font-size: 1.3rem;
    }
    
    .news-card-info-right {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
    }
    
    .news-single-info-right {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
    
    .news-single-title {
        font-size: 1.5rem;
    }
    
    .news-single-cover {
        height: 250px;
    }
    
    .news-single-content {
        font-size: 1rem;
    }
}

        .news-form-container {
        padding: 20px 0;
    }
    
    .form-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 25px;
    }
    
    .form-title {
        color: #2c3e50;
        font-weight: 600;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f8f9fa;
    }
    
    .form-label {
        font-weight: 500;
        color: #495057;
        margin-bottom: 8px;
    }
    
    .form-control, .form-select {
        border-radius: 6px;
        border: 1px solid #ced4da;
        padding: 10px 15px;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }
    
    .image-preview {
        width: 150px;
        height: 100px;
        object-fit: cover;
        border-radius: 6px;
        border: 2px dashed #dee2e6;
        margin-bottom: 15px;
    }
    
    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    
    .btn-cancel {
        background: #6c757d;
        border: none;
        color: white;
        padding: 10px 25px;
        border-radius: 6px;
        font-weight: 500;
    }
    
    .required-asterisk {
        color: #e74c3c;
    }

    .news-single-container {
    margin: 0 auto;
    padding: 20px 15px;
}

.news-single-header {
    margin-bottom: 30px;
}

.news-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.news-single-project {
    background: #7AA2AC;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.news-single-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-single-stats {
    display: flex;
    gap: 15px;
}

.news-single-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.news-single-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    background: #3d3d3d;
}

.news-single-no-image {
    width: 100%;
    height: 400px;
    background: #3d3d3d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.news-single-no-image i {
    font-size: 4rem;
    color: #6c757d;
}

.news-single-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.news-single-content p {
    margin-bottom: 1.5rem;
}

.news-divider {
    height: 1px;
    background: #444;
    margin: 40px 0;
    border: none;
}

.related-news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.comments-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.comments-count {
    font-size: 0.9rem;
    color: #6c757d;
    margin-left: 10px;
}

.comment-form {
    margin-bottom: 40px;
}

.comment-form textarea {
    background: #2d2d2d;
    border: 1px solid #444;
    color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    min-height: 120px;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.comment-form button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form button:hover {
    background: #0b5ed7;
}

.comments-list {
    margin-top: 30px;
}

.no-comments {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    font-style: italic;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.news-back-link:hover {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .news-single-title {
        font-size: 1.5rem;
    }
    
    .news-single-cover {
        height: 250px;
    }
    
    .news-single-no-image {
        height: 250px;
    }
    
    .news-single-content {
        font-size: 1rem;
    }
    
    .news-single-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}
    /* Список новостей */
    .news-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    
    .news-link {
        display: block;
        padding: 5px;
        background: #3c3c3c;
        border: 1px solid #333;
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        width: 350px ;
    }
    
    .news-link:hover {
        background: #2d2d2d;
        text-decoration: none;
        color: inherit;
    }
    
    /* Контейнер карточки */
    .news-content-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Картинка слева */
    .news-image-container {
        flex-shrink: 0;
    }
    
    .news-image {
        width: 50px;
        height: 50px;
        border-radius: 4px;
        object-fit: cover;
    }
    
    .news-image-placeholder {
        width: 50px;
        height: 50px;
        background: #3d3d3d;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
    }
    
    .news-image-placeholder i {
        font-size: 1.2rem;
    }
    
    /* Текст справа */
    .news-text-container {
        flex-grow: 1;
        min-width: 0; /* Для правильного обрезания текста */
    }
    
    .news-header {
        font-size: 0.85rem;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 4px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    
    .news-text {
        font-size: 0.75rem;
        color: #b0b0b0;
        margin-bottom: 4px;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    
    .news-date {
        font-size: 0.7rem;
        color: #6c757d;
    }
    /*Футтер*/
    .footer {
            background-color: #232525;
            padding: 2rem 0;
            margin-top: auto;
        }
        
        .footer-logo {
            max-height: 40px;
            width: auto;
        }
        
        .footer-heading {
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 1rem;
            color: #333;
        }
        
        .footer-link {
            color: #6c757d;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
            transition: color 0.2s;
        }
        
        .footer-link:hover {
            color: #0d6efd;
        }
        
        .support-email {
            color: #6c757d;
            text-decoration: none;
        }
        
        .copyright {
            color: #6c757d;
            font-size: 0.875rem;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #e9ecef;
        }
        
        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: #f1f1f1;
            border-radius: 50%;
            color: #6c757d;
            text-decoration: none;
            transition: all 0.3s;
            margin-right: 0.5rem;
        }
        
        .social-icon:hover {
            background-color: #0d6efd;
            color: white;
            transform: translateY(-3px);
        }
        
        .telegram-icon {
            font-size: 1.2rem;
        }

        .text-decoration-none{
            color: #dee2e6;
         }
        
        /* Для мобильных устройств */
        @media (max-width: 768px) {
            .footer-col {
                margin-bottom: 1.5rem;
            }
        }

/*Профиль*/
.profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #f0f0f0;
    }
    .comment-item {
        background: #333;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .comment-meta {
        color: #aaa;
        font-size: 0.9em;
    }
        .settings-card {
        background: #333;
        border-radius: 10px;
        padding: 30px;
        margin-top: 15px;
    }
    .current-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #f0f0f0;
    }

    .rside{
        background-color: #323232;
    }
    .text-muted{
        color:#f0f0f0;
    }

        /* Мобильные стили (до 991px) */
    @media (max-width: 991px) {
        .mobile-profile-card {
            background: #333;
            border-radius: 10px;
            padding: 25px 20px;
            margin-top: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        
        .mobile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #515151;
            margin-bottom: 15px;
        }
        
        .mobile-stats {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
            padding: 15px 0;
            border-top: 1px solid #444;
            border-bottom: 1px solid #444;
        }
        
        .mobile-stat-item {
            text-align: center;
        }
        
        .mobile-stat-value {
            font-size: 1.4em;
            font-weight: bold;
            color: #ffffff;
        }
        
        .mobile-stat-label {
            font-size: 0.8em;
            color: #aaa;
        }
        
        .comments-header {
            padding: 0 15px;
            margin-bottom: 20px;
        }
        
        .container-fluid {
            padding-left: 10px;
            padding-right: 10px;
        }
    }
    
    /* Десктоп стили */
    @media (min-width: 992px) {
        .d-lg-none {
            display: none !important;
        }
        .mobile-profile-card {
            display: none;
        }
    }
    

    /* Стили для комментариев */
    .comments-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .comments-count {
        font-size: 1rem;
    }
    
    .comment-form {
        background: #2a2a2a;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    
    .comment-form textarea {
        width: 100%;
        min-height: 100px;
        padding: 15px;
        background: #1e1e1e;
        border: 1px solid #444;
        border-radius: 10px;
        color: #fff;
        font-size: 1rem;
        resize: vertical;
        margin-bottom: 15px;
    }
    
    .comment-form textarea:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
    }

     .comment-form button {
        background: #17a1b6;
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 10px;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .comment-form button:hover {
        background: #178fa1;
        transform: translateY(-2px);
    }
    
    .comments-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .comment-item {
        background: #2a2a2a;
        border-radius: 12px;
        padding: 15px;
    }
    
    .comment-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    .comment-user-info {
        flex: 1;
    }
    
    .comment-user-name {
        color: #fff;
        font-weight: 600;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .admin-badge {
        background: #dc3545;
        color: white;
        padding: 3px 10px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .comment-date {
        color: #aaa;
        font-size: 0.85rem;
    }
    
    .comment-actions {
        display: flex;
        gap: 15px;
        padding-left: 57px;
    }
    
    .reply-btn {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-radius: 20px;
        transition: all 0.3s;
    }
    
    .reply-btn:hover {
        background: rgba(13,110,253,0.1);
    }
    
    .delete-btn {
        background: none;
        border: none;
        color: #dc3545;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-radius: 20px;
        transition: all 0.3s;
    }
    
    .delete-btn:hover {
        background: rgba(220,53,69,0.1);
    }
    
    .replies {
        margin-top: 20px;
        margin-left: 57px;
        padding-left: 20px;
        border-left: 2px solid #444;
    }
    
    .reply-form {
        margin-top: 15px;
        margin-left: 57px;
        background: #1e1e1e;
        padding: 15px;
        border-radius: 10px;
    }
    
    .reply-form textarea {
        width: 100%;
        min-height: 80px;
        padding: 12px;
        background: #2a2a2a;
        border: 1px solid #444;
        border-radius: 8px;
        color: #fff;
        margin-bottom: 10px;
    }
    
    .reply-form-actions {
        display: flex;
        gap: 10px;
    }
    
    .reply-submit {
        background: #0d6efd;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 50px;
        cursor: pointer;
    }
    
    .reply-cancel {
        background: #6c757d;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 50px;
        cursor: pointer;
    }
    
    .no-comments {
        text-align: center;
        padding: 40px;
        color: #aaa;
        background: #2a2a2a;
        border-radius: 12px;
        font-size: 1.1rem;
    }
    
    /* Стили для лайков */
    .news-single-stats {
        display: flex;
        gap: 15px;
    }
    
    .news-single-stat {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 20px;
        background: #2a2a2a;
        border: 2px solid #444;
        border-radius: 50px;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .news-single-stat:hover {
        border-color: #0d6efd;
        background: #3a3a3a;
    }
    
    .news-single-stat.active {
        background: #0d6efd;
        border-color: #0d6efd;
    }
    
    .news-single-stat i {
        font-size: 1.2rem;
    }
    
.comment-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }
    /* Мобильные стили */
    @media (max-width: 768px) {
        
        .comments-title {
            font-size: 1.5rem;
        }
        
        .comment-content {
            padding-left: 0;
            margin-top: 10px;
        }
        
        .comment-actions {
            padding-left: 0;
        }
        
        .replies {
            margin-left: 20px;
            padding-left: 15px;
        }
        
        .reply-form {
            margin-left: 20px;
        }
        
        .news-single-stat {
            padding: 6px 15px;
            font-size: 0.9rem;
        }
    }


/*Регистрация/ вход*/


    /* Центрирование формы */
    .auth-wrapper {
        position: relative;
        z-index: 10;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    /* Форма */
    .auth-card {
        width: 100%;
        max-width: 400px;
        padding: 40px;
        background-color: #303030;
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .auth-card h1 {
        text-align: center;
        font-size: 36px;
        margin: 0 0 10px 0;
        color: white;
        letter-spacing: 2px;
    }

    .auth-card h2 {
        text-align: center;
        font-size: 24px;
        margin: 0 0 30px 0;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 300;
    }

    /* Логотип */
    .logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .logo img {
        max-width: 200px;
        height: auto;
        filter: brightness(0) invert(1);
    }

    /* Поля ввода */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
    }

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: white;
        font-size: 16px;
        box-sizing: border-box;
    }

    .form-group input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .form-group input:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.15);
    }

    /* Чекбокс и ссылки */
    .form-options {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
        font-size: 14px;
    }

    .checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
    }

    .checkbox input {
        width: 16px;
        height: 16px;
        margin: 0;
    }

    .forgot-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
    }

    .forgot-link:hover {
        color: white;
        text-decoration: underline;
    }

    /* Кнопка */
    .btn-submit {
        width: 100%;
        padding: 14px;
        background-color: #ffffff;
        border: none;
        border-radius: 50px;
        color: rgb(0, 0, 0);
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .btn-submit:hover {
        background-color: #f0f0f0;
    }

    /* Ссылки внизу */
    .auth-links {
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .auth-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        margin-left: 5px;
    }

    .auth-links a:hover {
        text-decoration: underline;
    }

    /* Ошибки */
    .error-message {
        color: #ff6b6b;
        font-size: 12px;
        margin-top: 5px;
    }
        /* Горы на весь экран - ВНЕ stars-container */
    .mountains-fullscreen {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        pointer-events: none;
        opacity: 0;
        animation: slideUp 1.5s ease-out forwards;
    }

    @keyframes slideUp {
        from { 
            opacity: 0;
            transform: translateY(50px);
        }
        to { 
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mountains-svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom;
    }

    /* Центрирование формы */
    .auth-wrapper {
        position: relative;
        z-index: 10;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    /* Форма */
    .auth-card {
        width: 100%;
        max-width: 400px;
        padding: 40px;
        background-color: #303030;
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        opacity: 0;
        animation: fadeInScale 0.8s ease-out forwards;
    }

    @keyframes fadeInScale {
        from { 
            opacity: 0;
            transform: scale(0.95);
        }
        to { 
            opacity: 1;
            transform: scale(1);
        }
    }

    .auth-card h1 {
        text-align: center;
        font-size: 28px;
        margin: 0 0 30px 0;
        color: white;
        font-weight: bold;
    }

    /* Логотип */
    .logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .logo img {
        max-width: 200px;
        height: auto;
        filter: brightness(0) invert(1);
    }

    /* Поля ввода */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group input {
        width: 100%;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        color: white;
        font-size: 16px;
        box-sizing: border-box;
    }

    .form-group input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-group input:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.15);
    }

    /* Чекбокс */
    .form-options {
        margin-bottom: 25px;
        font-size: 14px;
    }

    .checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
    }

    .checkbox input {
        width: 16px;
        height: 16px;
        margin: 0;
    }

    /* Кнопка */
    .btn-submit {
        width: 100%;
        padding: 15px;
        background-color: #ffffff;
        border: none;
        border-radius: 50px;
        color: rgb(0, 0, 0);
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .btn-submit:hover {
        background-color: #f0f0f0;
    }

    /* Ссылки внизу */
    .auth-links {
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .auth-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        margin-left: 5px;
    }

    .auth-links a:hover {
        text-decoration: underline;
    }

    /* Ошибки */
    .error-message {
        color: #ff6b6b;
        font-size: 12px;
        margin-top: 5px;
    }

    .projects-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #444;
    }

    .projects-title {
        font-size: 32px;
        font-weight: bold;
        color: #f0f0f0;
    }

        @media (max-width: 767px) {
        .row {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .col-md-4 {
            width: 100%;
            max-width: 100%;
            margin: 0;
        }
        
        .simple-project-card {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
        }
    }

    .language-header {
        margin-bottom: 30px;
        padding: 20px 0;
        border-bottom: 1px solid #444;
    }

    .language-info {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .language-logo-large {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        object-fit: cover;
    }

    .language-placeholder-large {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        font-weight: bold;
        color: white;
        border: 2px solid #444;
    }

    .language-title {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #f0f0f0;
    }

    .language-label {
        display: inline-block;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 14px;
        background: #333;
        color: #ccc;
    }


    .project-hover-info p {
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hover-link {
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        display: inline-block;
        border-bottom: 2px solid white;
        padding-bottom: 2px;
        align-self: flex-start;
    }

    .no-projects {
        text-align: center;
        padding: 60px 20px;
        background: #2d2d2d;
        border-radius: 8px;
        border: 1px solid #444;
        color: #aaa;
    }

    .no-projects i {
        font-size: 64px;
        margin-bottom: 20px;
        color: #444;
    }

    .news-card-body{
        background-color: #3a3a3a;
    }
    .back-link {
        display: inline-block;
        margin-bottom: 20px;
        color: #aaa;
        text-decoration: none;
        transition: color 0.2s;
    }

    .pagination {
        margin-top: 30px;
        justify-content: center;
    }

    .projects-row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .projects-row .col-md-4 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* На телефоне */
    @media (max-width: 767px) {
        .projects-row {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .projects-row .col-md-4 {
            width: 100%;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-bottom: 15px;
        }
        
        .simple-project-card {
            width: 100% !important;
        }
    }