/* World of Warcraft 3.3.5 Светлый дизайн */

:root {
    /* Минималистичная палитра */
    --primary-color: #6c757d;        /* Серый */
    --secondary-color: #868e96;      /* Светло-серый */
    --success-color: #6c757d;        /* Серый */
    --danger-color: #6c757d;         /* Серый */
    --warning-color: #6c757d;        /* Серый */
    --info-color: #6c757d;           /* Серый */
    --light-color: #f8f9fa;          /* Очень светло-серый */
    --dark-color: #495057;           /* Темно-серый */
    
    /* Нейтральные цвета */
    --wow-gold: #6c757d;             /* Серый */
    --wow-silver: #adb5bd;           /* Светло-серый */
    --wow-bronze: #6c757d;           /* Серый */
    --wow-purple: #6c757d;           /* Серый */
    --wow-green: #6c757d;            /* Серый */
    --wow-blue: #6c757d;             /* Серый */
    --wow-red: #6c757d;              /* Серый */
    --wow-orange: #6c757d;           /* Серый */
    
    /* Мягкие градиенты */
    --gradient-gold: linear-gradient(135deg, #f8f9fa, #e9ecef);
    --gradient-silver: linear-gradient(135deg, #f8f9fa, #e9ecef);
    --gradient-magic: linear-gradient(135deg, #f8f9fa, #e9ecef);
    --gradient-nature: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: var(--dark-color);
    text-shadow: none;
}

h1 {
    font-size: 2rem;
    color: var(--dark-color);
}

/* Минималистичная навигация */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Эффект для меню при прокрутке */
.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--dark-color) !important;
    text-shadow: none;
}

.navbar-nav .nav-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: var(--dark-color) !important;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0;
    margin: 0;
}

.navbar-nav .nav-link:hover {
    background: #f8f9fa !important;
    color: var(--primary-color) !important;
    transform: none;
}

.navbar-toggler {
    border: 1px solid #e9ecef;
    background: #ffffff;
}

/* Минималистичные карточки */
.card {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    display: none;
}

.card:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: var(--dark-color);
}

.card-body {
    padding: 1rem;
}

/* Минималистичные кнопки */
.btn {
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.btn::before {
    display: none;
}

.btn-primary {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
    box-shadow: none;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: none;
    box-shadow: none;
    border-color: #495057;
    color: #495057;
}

.btn-success {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
}

.btn-danger {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
}

.btn-warning {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
}

.btn-info {
    background: #ffffff;
    border-color: #6c757d;
    color: #6c757d;
}

.btn-group .btn {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Минималистичные таблицы */
.table {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.table th {
    border-top: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: normal;
    background: #f8f9fa;
    color: var(--dark-color);
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.table-hover tbody tr:hover {
    background: #f8f9fa;
    transform: none;
    transition: all 0.2s ease;
}

/* Минималистичные алерты */
.alert {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}

.alert::before {
    display: none;
}

.alert-success {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

.alert-danger {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

.alert-info {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

.alert-warning {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

/* Минималистичные формы */
.form-control {
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
    background: white;
    transform: none;
}

.form-label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #6c757d;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    color: #6c757d;
}

/* Минималистичный jumbotron */
.jumbotron {
    background: #f8f9fa;
    color: #495057;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.jumbotron h1 {
    font-weight: 400;
}

/* Иконки */
.fa-3x {
    font-size: 3rem;
}

/* Цвета для иконок */
.text-purple {
    color: #6f42c1 !important;
}

/* Подвал */
footer {
    margin-top: auto;
}

footer h5 {
    color: #fff;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
    
    .jumbotron h1 {
        font-size: 2rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Стили для новостей */
.news-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-card .card-title a:hover {
    color: #0d6efd !important;
}

.news-card .card-text {
    line-height: 1.5;
    min-height: 60px;
}

/* Новый дизайн новостей с overlay */
.news-card-overlay {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
}

.news-card-overlay:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-overlay:hover .news-image {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    z-index: 2;
}

.news-date {
    font-size: 0.75rem;
    color: #ccc;
    margin-bottom: 5px;
    font-weight: 500;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-title a {
    color: white !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: #ffd700 !important;
}

.news-excerpt {
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 1.4;
    margin-bottom: 0;
}

.news-no-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Большая новость (главная) */
.news-card-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
}

.news-card-main:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.news-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-main:hover .news-image-main {
    transform: scale(1.03);
}

.news-no-image-main {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-main {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.news-overlay-main {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 30px 25px 25px;
    z-index: 2;
}

.news-date-main {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
    font-weight: 500;
}

.news-title-main {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-title-main a {
    color: white !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title-main a:hover {
    color: #ffd700 !important;
}

.news-excerpt-main {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 0;
}


/* Сетка 3 колонки по всей ширине */
.news-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.75rem;
    width: 100%;
}

/* Главный баннер (2x2) */
.news-item-hero {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.news-card-hero {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 15vh;
}

.news-card-hero:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.15);
}

.news-image-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-hero:hover .news-image-hero {
    transform: scale(1.03);
}

.news-no-image-hero {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-hero {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.news-overlay-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 0.75rem 0.75rem 0.75rem;
    z-index: 2;
}

.news-date-hero {
    font-size: 0.7rem;
    color: #ccc;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.news-title-hero {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    line-height: 1.2;
}

.news-title-hero a {
    color: white !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title-hero a:hover {
    color: #ffd700 !important;
}

.news-excerpt-hero {
    font-size: 0.8rem;
    color: #e0e0e0;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Маленькие новости (1x1) */
.news-item-small {
    position: relative;
}

.news-card-small {
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 8vh;
}

.news-card-small:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.news-image-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-small:hover .news-image-small {
    transform: scale(1.05);
}

.news-no-image-small {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-small {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.news-overlay-small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 0.625rem 0.5rem 0.5rem;
    z-index: 2;
}

.news-date-small {
    font-size: 0.6rem;
    color: #ccc;
    margin-bottom: 0.1875rem;
    font-weight: 500;
}

.news-title-small {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.news-title-small a {
    color: white !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title-small a:hover {
    color: #ffd700 !important;
}

.news-excerpt-small {
    font-size: 0.65rem;
    color: #e0e0e0;
    line-height: 1.2;
    margin-bottom: 0;
}

/* 6 маленьких новостей внизу в сетке 3x2 */
.news-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 200px;
}

.news-item-bottom {
    position: relative;
}

.news-card-bottom {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.news-card-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-image-bottom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-bottom:hover .news-image-bottom {
    transform: scale(1.05);
}

.news-no-image-bottom {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-bottom {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.news-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 10px 8px 8px;
    z-index: 2;
}

.news-date-bottom {
    font-size: 0.6rem;
    color: #ccc;
    margin-bottom: 3px;
    font-weight: 500;
}

.news-title-bottom {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.1;
}

.news-title-bottom a {
    color: white !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title-bottom a:hover {
    color: #ffd700 !important;
}

.news-excerpt-bottom {
    font-size: 0.65rem;
    color: #e0e0e0;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Адаптивность для мобильных */
@media (max-width: 991.98px) {
    .news-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .news-item-hero {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .news-card-hero {
        min-height: 12vh;
    }
    
    .news-card-small {
        min-height: 6vh;
    }
}

@media (max-width: 767.98px) {
    .news-grid-container {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }
    
    .news-item-hero {
        grid-column: 1;
        grid-row: 1;
    }
    
    .news-card-hero {
        min-height: 10vh;
    }
    
    .news-card-small {
        min-height: 5vh;
    }
}

/* Sticky Footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Стили для выбора платформы оплаты */
.payment-platform-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
}

.payment-platform-card:hover {
    border-color: #6c757d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.payment-platform-card.selected {
    border-color: #6c757d;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

.payment-platform-card .form-check-input {
    margin-top: 0.25rem;
}

.payment-platform-card .form-check-label {
    cursor: pointer;
    margin-bottom: 0;
}

.payment-platform-card .platform-icon {
    font-size: 1.5rem;
    color: #6c757d;
    margin-right: 0.5rem;
}

.payment-platform-card .platform-name {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.25rem;
}

.payment-platform-card .platform-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

.payment-methods-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.payment-methods-container.show {
    opacity: 1;
    max-height: 500px;
    overflow: visible;
}

.payment-methods-container.hide {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    margin-top: 0;
}

.payment-method-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-method-item:hover {
    border-color: #6c757d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-method-item.selected {
    border-color: #6c757d;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.payment-method-item:last-child {
    margin-bottom: 0;
}

.payment-method-item .form-check-input {
    margin-top: 0.25rem;
}

.payment-method-item .form-check-label {
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.payment-method-item .method-icon {
    font-size: 1.25rem;
    color: #6c757d;
    margin-right: 0.5rem;
}

/* Анимация появления */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

.payment-methods-container.animating-down {
    animation: slideDown 0.3s ease-out;
}

.payment-methods-container.animating-up {
    animation: slideUp 0.3s ease-out;
}

/* Стили для страницы голосования */
.voting-site-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.voting-site-card.can-vote {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
}

.voting-site-card.cannot-vote {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fffdf7, #ffffff);
    opacity: 0.8;
}

.voting-site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.voting-site-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    border: 2px solid #e9ecef;
}

.voting-reward {
    text-align: center;
}

.voting-reward .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.btn-vote {
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
}

.btn-vote:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-claim {
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
}

.btn-claim:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.voting-timer .alert {
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

.voting-timer .timer {
    font-weight: 600;
    color: #dc3545;
}

/* Статистика голосов */
.stat-item {
    padding: 0.5rem;
}

.stat-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-item small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* История голосов */
.vote-history {
    max-height: 300px;
    overflow-y: auto;
}

.vote-history-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.vote-history-item:last-child {
    border-bottom: none;
}

.vote-history-item:hover {
    background: #f8f9fa;
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 4px;
}

.vote-history-item strong {
    color: #495057;
    font-size: 0.9rem;
}

.vote-history-item .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Анимации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.voting-site-card.can-vote .voting-site-icon {
    animation: pulse 2s infinite;
}

/* Адаптивность для голосования */
@media (max-width: 768px) {
    .voting-site-card {
        margin-bottom: 1rem;
    }
    
    .voting-site-icon {
        width: 50px;
        height: 50px;
    }
    
    .voting-site-icon i {
        font-size: 1.5rem !important;
    }
    
    .stat-item {
        padding: 0.25rem;
    }
    
    .stat-item h4 {
        font-size: 1.2rem;
    }
}

/* Стили для страницы онлайн игроков */
.online-indicator {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse-online 2s infinite;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
}

@keyframes pulse-online {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.online-player-row {
    transition: all 0.2s ease;
}

.online-player-row:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.stat-item {
    padding: 0.5rem;
    text-align: center;
}

.stat-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-item small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.server-info {
    font-size: 0.9rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    width: 16px;
    text-align: center;
}

/* Адаптивность для онлайн игроков */
@media (max-width: 768px) {
    .online-player-row td {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .server-info {
        font-size: 0.8rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
}

/* Анимация появления строк */
.online-player-row {
    animation: fadeInUp 0.3s ease-out;
}

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

/* Стили для пустого состояния */
.text-center.py-5 {
    padding: 3rem 1rem;
}

.text-center.py-5 i {
    opacity: 0.5;
}

/* Утилиты */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ НОВОСТЕЙ ===== */

/* Основные переменные для новостей */
:root {
    --color-primary: #ef972f;
}

/* ===== HERO СЕКЦИЯ ===== */

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%236c757d" stop-opacity="0.05"/><stop offset="100%" stop-color="%236c757d" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="400" cy="700" r="250" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero__content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__text {
    color: var(--dark-color);
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
    width: 100%;
}

.hero__title-accent {
    color: var(--primary-color);
    font-weight: 900;
}

.hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.hero__features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
}

.hero__feature i {
    font-size: 20px;
    color: var(--primary-color);
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.hero__button:hover::before {
    left: 100%;
}

.hero__button--primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.hero__button--primary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: #ffffff;
}

.hero__button--secondary {
    background: #ffffff;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
}

.hero__button--secondary:hover {
    background: var(--light-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    color: var(--dark-color);
}


/* Адаптивность для hero секции */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 60px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .hero__features {
        justify-content: center;
        gap: 20px;
    }
    
    .hero__buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .hero__button {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Контейнер новостей */
.news {
    padding: 40px 0 60px;
    position: relative;
    scroll-margin-top: 100px;
}

.container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Заголовок секции новостей */
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(239, 151, 47, 0.2);
    padding-bottom: 20px;
    position: relative;
    width: 100%;
}

.news__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
}

.news__title:after {
    display: none !important;
    content: none !important;
}

/* Верхняя секция с главной новостью и боковыми блоками */
.news__top-section {
    display: grid;
    grid-template-columns: calc(66.666% + 7.5px) calc(33.333% - 7.5px);
    gap: 15px;
    margin-bottom: 15px;
    align-items: stretch;
    width: 100%;
}

.news__main-block {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.news__side-blocks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.news__side-blocks .news__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

/* Нижняя сетка новостей */
.news__bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

/* Базовые стили для элементов новостей */
.news__item {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.news__item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(239, 151, 47, 0.3);
}

/* Контейнер изображения */
.news__item-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0d0c0b;
    transform: translateZ(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news__item:hover .news__item-image-container {
    transform: translateZ(0) scale(1.02);
}

.news__item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    image-rendering: auto;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    filter: brightness(0.9) contrast(1.1);
    -webkit-filter: brightness(0.9) contrast(1.1);
    -webkit-transform: translateZ(0) scale(1);
    -ms-interpolation-mode: bicubic;
    max-width: none;
    image-orientation: from-image;
}

.news__item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
    -webkit-filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

/* Тег категории */
.news__category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 3;
    color: #b49a84;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: none;
    width: auto;
    max-width: 140px;
    text-align: center;
}

/* Оверлей с контентом */
.news__content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.85) 100%);
    padding: 50px 20px 20px;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 160px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news__item:hover .news__content-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%);
    padding: 60px 25px 25px;
}

/* Дата новости */
.news__date {
    position: relative;
    color: var(--color-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.news__item:hover .news__date {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Заголовок новости */
.news__main-title {
    position: relative;
    font-size: 18px;
    font-weight: 800;
    color: #b49a84;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.news__item:hover .news__main-title {
    color: #d4a574;
    transform: translateY(-3px);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95);
}

/* Подзаголовок новости */
.news__subtitle {
    position: relative;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    margin-top: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    opacity: 0.9;
}

.news__item:hover .news__subtitle {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    opacity: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.news__bottom-info {
    display: none;
}

/* Стили для разных категорий */
.news__category-tag[data-category="raid"] {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.news__category-tag[data-category="update"] {
    background: linear-gradient(135deg, #d4a574, #b8956b);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.news__category-tag[data-category="release"] {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.news__category-tag[data-category="beta"] {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.news__category-tag[data-category="event"] {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.news__category-tag[data-category="general"] {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    border: 1px solid rgba(52, 73, 94, 0.3);
}

/* Главная новость */
.news__item-main {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.news__item-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(239, 151, 47, 0.1), transparent, rgba(239, 151, 47, 0.1));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.news__item-main:hover::before {
    opacity: 1;
}

.news__item-main .news__content-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.7));
}

.news__item-main .news__main-title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.news__item-main .news__date {
    font-size: 14px;
    font-weight: 700;
}

.news__item-main .news__category-tag {
    font-size: 14px;
    padding: 12px 18px;
    top: 25px;
    left: 25px;
    border-radius: 25px;
}

.news__item-main .news__subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-top: 6px;
}

.news__item-main .news__item-image-container {
    height: 420px;
}

/* Боковые новости */
.news__item-side {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.news__item-side .news__content-overlay {
    padding: 40px 18px 18px;
    min-height: 140px;
}

.news__item-side .news__main-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.news__item-side .news__date {
    font-size: 14px;
    font-weight: 700;
}

.news__item-side .news__category-tag {
    font-size: 11px;
    padding: 8px 12px;
    top: 18px;
    left: 18px;
}

.news__item-side .news__subtitle {
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

.news__item-side .news__item-image-container {
    height: 100%;
}

/* Новости в сетке */
.news__item-grid {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.news__item-grid .news__content-overlay {
    padding: 35px 15px 15px;
    min-height: 120px;
}

.news__item-grid .news__main-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.news__item-grid .news__date {
    font-size: 14px;
    font-weight: 700;
}

.news__item-grid .news__category-tag {
    font-size: 10px;
    padding: 6px 10px;
    top: 15px;
    left: 15px;
}

.news__item-grid .news__subtitle {
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
}

.news__item-grid .news__item-image-container {
    height: 100%;
}

.news__item:hover .news__category-tag {
    transform: none;
    box-shadow: none;
}

/* Кнопка новостей */
.news__btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: #1a0f08;
    border-radius: 4px;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.news__btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: skew(-15deg);
}

.news__btn:hover {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: none;
    box-shadow: none;
}

.news__btn:hover:before {
    left: 100%;
}

/* Адаптивность для больших экранов */
@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .news__top-section {
        grid-template-columns: calc(65.666% + 10.5px) calc(33.333% - 7.5px);
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .news__bottom-grid,
    .news__side-blocks {
        gap: 15px;
    }
    
    .news__item-main .news__content-overlay {
        min-height: 200px;
    }
    
    .news__item-main .news__item-image-container {
        height: 470px;
    }
    
    .news__item-side .news__item-image-container {
        height: 100%;
    }
    
    .news__item-grid .news__item-image-container {
        height: 270px;
    }
}

/* Планшеты */
@media (min-width: 992px) and (max-width: 1199px) {
    .news__top-section {
        grid-template-columns: calc(66.666% + 7.5px) calc(33.333% - 7.5px);
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .news__bottom-grid,
    .news__side-blocks {
        gap: 15px;
    }
    
    .news__item-main .news__content-overlay {
        min-height: 190px;
    }
    
    .news__item-main .news__item-image-container {
        height: 400px;
    }
    
    .news__item-side .news__item-image-container {
        height: 195px;
    }
    
    .news__item-grid .news__item-image-container {
        height: 220px;
    }
}

/* Средние планшеты */
@media (min-width: 768px) and (max-width: 991px) {
    .news__top-section {
        grid-template-columns: calc(50% + 7.5px) calc(50% - 7.5px);
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .news__bottom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news__side-blocks {
        gap: 15px;
    }
    
    .news__title {
        font-size: 28px;
    }
    
    .news__item-main .news__content-overlay {
        min-height: 170px;
    }
    
    .news__item-main .news__item-image-container {
        height: 340px;
    }
    
    .news__item-side .news__item-image-container {
        height: 170px;
    }
    
    .news__item-grid .news__item-image-container {
        height: 200px;
    }
}

/* Мобильные устройства */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .news__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .news__title {
        font-size: 24px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .news__btn {
        font-size: 13px;
        padding: 12px 25px;
    }
    
    .news__top-section {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .news__side-blocks {
        gap: 15px;
    }
    
    .news__bottom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news__item-main .news__content-overlay {
        padding: 40px 20px 20px;
        min-height: 150px;
    }
    
    .news__item-main .news__item-image-container {
        height: 270px;
    }
    
    .news__item-side .news__item-image-container,
    .news__item-grid .news__item-image-container {
        height: 220px;
    }
    
    .news__btn-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Специальные стили для кнопок */
#newsViewAllBtn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news #newsViewAllBtn,
.news .news__header .news__btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.news #newsViewAllBtn:before,
.news .news__header .news__btn:before {
    display: none !important;
    content: none !important;
}

/* Оптимизация для Retina дисплеев */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .news__item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: -moz-crisp-edges;
        image-rendering: pixelated;
        image-rendering: auto;
        -webkit-transform: translateZ(0) scale(1.0001);
        transform: translateZ(0) scale(1.0001);
    }
}

/* Анимации для устройств с поддержкой движения */
@media (prefers-reduced-motion: no-preference) {
    .news__item img {
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
}

/* ===== СЕКЦИЯ "КАК НАЧАТЬ ИГРАТЬ" ===== */

.how-to-start {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 60px;
    scroll-margin-top: 100px;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.how-to-start .container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 15px;
}

.how-to-start__header {
    text-align: center;
    margin-bottom: 60px;
}

.how-to-start__title {
    font-size: 36px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.how-to-start__subtitle {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    opacity: 0.8;
}

.how-to-start__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.how-to-start__step {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.how-to-start__step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c757d, #adb5bd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.how-to-start__step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.how-to-start__step:hover::before {
    opacity: 1;
}

.how-to-start__step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.how-to-start__step:hover .how-to-start__step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.how-to-start__step-title {
    font-size: 20px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.3;
}

.how-to-start__step-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.how-to-start__step-button {
    display: inline-block;
    background: #6c757d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.how-to-start__step-button:hover {
    background: #495057;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

/* Стили для ссылок на патчи в 5-м блоке */
.how-to-start__patches-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.how-to-start__patch-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    color: #495057;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.how-to-start__patch-link:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.how-to-start__patch-link i {
    font-size: 14px;
    color: #6c757d;
    width: 16px;
    text-align: center;
}

.how-to-start__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.how-to-start__info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.how-to-start__info-item i {
    font-size: 32px;
    color: #6c757d;
    width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.how-to-start__info-item:hover i {
    color: #495057;
    transform: scale(1.1);
}

.how-to-start__info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 5px;
}

.how-to-start__info-item p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}


/* Адаптивность для секции "Как начать играть" */
@media (max-width: 1200px) {
    .how-to-start__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .how-to-start__info {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .how-to-start {
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .how-to-start__title {
        font-size: 28px;
    }
    
    .how-to-start__subtitle {
        font-size: 16px;
    }
    
    .how-to-start__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .how-to-start__step {
        padding: 25px 20px;
    }
    
    .how-to-start__info {
        padding: 25px;
    }
    
    .how-to-start__info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .how-to-start__steps {
        grid-template-columns: 1fr;
    }
    
    .how-to-start__patches-links {
        gap: 8px;
    }
    
    .how-to-start__patch-link {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .how-to-start__title {
        font-size: 24px;
    }
    
    .how-to-start__step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .how-to-start__step-title {
        font-size: 18px;
    }
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */

.main-content {
    margin-top: 20px !important;
}

/* Адаптивность для основного контейнера */
@media (max-width: 768px) {
    .main-content {
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 10px !important;
    }
}

/* ===== СТИЛИ ДЛЯ FOOTER ===== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__brand-title {
    font-size: 24px;
    font-weight: 800;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.footer__brand-description {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.footer__column-title {
    font-size: 18px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer__nav-list li {
    margin-bottom: 12px;
}

.footer__nav-list a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__nav-list a:hover {
    color: #6c757d;
    transform: translateX(5px);
}

.footer__clickable-link {
    cursor: pointer;
}

.footer__social-networks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social-link:hover {
    background: #6c757d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.footer__payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer__payment-icon {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.footer__payment-icon:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.footer__payment-banners {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 15px;
}

.footer__payment-banner {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer__payment-banner:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer__payment-text-banner {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer__payment-text-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.footer__payment-text-banner:nth-child(3) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.footer__payment-text-banner:nth-child(4) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.footer__payment-icon-text {
    margin-right: 6px;
    font-size: 16px;
}

.footer__banners {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer__banners:hover {
    opacity: 1;
    transform: scale(1.02);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__legal a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer__legal a:hover {
    color: #6c757d;
}

.footer__separator {
    color: #666666;
    font-size: 16px;
}

.footer__copyright {
    color: #999999;
    font-size: 13px;
    margin: 0;
    text-align: right;
    line-height: 1.5;
}

/* Адаптивность для footer */
@media (max-width: 1200px) {
    .footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer__main {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer__copyright {
        text-align: center;
    }
    
    .footer__social-networks {
        justify-content: center;
    }
    
    .footer__payment-methods {
        justify-content: center;
    }
    
    .footer__payment-banners {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        margin-top: 30px;
    }
    
    .footer__legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer__social-networks {
        gap: 10px;
    }
    
    .footer__social-link {
        width: 40px;
        height: 40px;
    }
}

/* Стили для текстового редактора */
.simple-editor {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: white;
    min-height: 300px;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.simple-editor:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.editor-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 0.375rem 0.375rem 0 0;
}

.editor-toolbar .btn {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #ced4da;
    background: white;
    color: #495057;
    transition: all 0.15s ease-in-out;
}

.editor-toolbar .btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.editor-toolbar .btn:active,
.editor-toolbar .btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.editor-content {
    padding: 12px;
    min-height: 250px;
    outline: none;
    font-family: inherit;
    line-height: 1.5;
    color: #495057;
}

.editor-content:focus {
    outline: none;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.2;
}

.editor-content h1 { font-size: 2rem; }
.editor-content h2 { font-size: 1.75rem; }
.editor-content h3 { font-size: 1.5rem; }
.editor-content h4 { font-size: 1.25rem; }
.editor-content h5 { font-size: 1.1rem; }
.editor-content h6 { font-size: 1rem; }

.editor-content p {
    margin: 0.5rem 0;
}

.editor-content ul,
.editor-content ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.editor-content li {
    margin: 0.25rem 0;
}

.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 0.5rem 0;
}

.editor-content a {
    color: #007bff;
    text-decoration: underline;
}

.editor-content a:hover {
    color: #0056b3;
    text-decoration: none;
}

.editor-content blockquote {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-left: 4px solid #dee2e6;
    background: #f8f9fa;
    font-style: italic;
}

.editor-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.editor-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.editor-content pre code {
    background: none;
    padding: 0;
}

/* Стили для активных кнопок в панели инструментов */
.editor-toolbar .btn[data-command="bold"]:active,
.editor-toolbar .btn[data-command="italic"]:active,
.editor-toolbar .btn[data-command="underline"]:active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

/* Адаптивность для редактора */
@media (max-width: 768px) {
    .editor-toolbar {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .editor-toolbar .btn {
        min-width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .editor-content {
        padding: 8px;
        min-height: 200px;
    }
}

/* Стили для валидации */
.simple-editor.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.simple-editor.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* ===== СТИЛИ ДЛЯ КОММЕНТАРИЕВ ===== */

.news-content {
    line-height: 1.6;
    font-size: 16px;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.news-content h1 { font-size: 2em; }
.news-content h2 { font-size: 1.5em; }
.news-content h3 { font-size: 1.25em; }

.news-content p {
    margin-bottom: 1em;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.news-content li {
    margin-bottom: 0.5em;
}

.news-content blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
    color: #6c757d;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1em 0;
}

.news-content table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
}

.news-content table th,
.news-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.news-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.news-content a {
    color: #0d6efd;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-content code {
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.news-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1em 0;
}

.news-content pre code {
    background: none;
    padding: 0;
}

/* Стили для комментариев */
.comments-section {
    max-width: 100%;
}

.comment {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.comment.reply {
    margin-left: 40px;
    background: #ffffff;
    border-left: 3px solid #007bff;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author {
    font-weight: 600;
    color: #495057;
    font-size: 0.95em;
}

.comment-date {
    color: #6c757d;
    font-size: 0.85em;
    margin-left: 5px;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}

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

.comment-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8em;
    border-radius: 4px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.comment-edit-form {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.comment-edit-form.active {
    display: block;
}

.replies {
    margin-top: 10px;
}

/* Стили для формы комментария в стиле карточки */
.comment-form-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f4;
}

.comment-form-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-form-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.comment-form-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 20px;
}

.comment-form-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comment-form-username {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

.comment-form-level {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
}

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

.comment-form-action-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-form-action-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-form-content {
    margin-bottom: 15px;
}

.comment-form-textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}

.comment-form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.comment-form-actions-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.comment-form-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-form-quote {
    color: #6c757d;
    font-size: 14px;
    margin-left: 8px;
}

.comment-form-submit {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-submit:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Стили для новой формы комментария в стиле карточки как на изображении */
.comment-form-card-new {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
}

.comment-form-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.comment-form-avatar-new {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px dashed #28a745;
}

.comment-form-avatar-placeholder-new {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 24px;
    border: 2px dashed #28a745;
}

.comment-form-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form-avatar-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 40px;
    justify-content: center;
}

.comment-form-avatar-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-form-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.comment-form-username-new {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    margin: 0;
}

.comment-form-level-new {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 500;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.comment-form-time {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

.comment-form-menu {
    position: absolute;
    right: 0;
    top: 0;
}

.comment-form-menu-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.comment-form-menu-btn:hover {
    background: #f8f9fa;
}

.comment-form-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form-textarea-container {
    width: 100%;
}

.comment-form-textarea-new {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #f8f9fa;
}

.comment-form-textarea-new:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background: #ffffff;
}

.comment-form-actions-new {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-form-action-btn-new {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.comment-form-action-btn-new:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-form-quote-new {
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.comment-form-quote-new:hover {
    color: #495057;
}

/* Стили для комментариев в стиле карточки как на изображении */
.comment-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0;
}

.comment-card.reply {
    margin-left: 40px;
    background: #f8f9fa;
}

/* Стили для комментариев с фоном профиля */
.comment-card[style*="background-image"] {
    position: relative;
    overflow: visible;
    border-radius: 12px;
}

.comment-card[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    z-index: 1;
    overflow: hidden;
}

.comment-card[style*="background-image"] > * {
    position: relative;
    z-index: 2;
}

.comment-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 200px;
    padding-right: 20px;
    border-right: 1px solid #e9ecef;
}

/* Стили для предупреждения о модерации */
.moderation-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.moderation-warning i {
    color: #f39c12;
    font-size: 16px;
}

/* Стили для богатой формы комментариев */
.comment-form-rich {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
}

.comment-form-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comment-form-avatar-rich {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.comment-form-avatar-placeholder-rich {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 24px;
    border: 2px solid #e9ecef;
}

.comment-form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Простое текстовое поле для комментариев */
.comment-editor-container {
    border: 2px solid #ff6b35;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.comment-editor-container textarea {
    min-height: 120px;
    border: none;
    padding: 16px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
    resize: vertical;
}

.comment-editor-container textarea:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.comment-editor-container textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Секция прикрепления файлов */
.attachment-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
}

.attachment-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.attachment-icon {
    color: #6c757d;
    font-size: 16px;
}

.attachment-text {
    color: #495057;
    font-size: 14px;
    flex: 1;
}

.attachment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #6c757d;
}

.other-media-btn {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 6px 12px;
    color: #495057;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.other-media-btn:hover {
    background: #e9ecef;
    color: #212529;
}

/* Нижняя панель */
.comment-form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.subscribe-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #2196F3;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.submit-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Стили для лайков */
.like-btn {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
}

.like-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.like-btn.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.like-btn[data-like-type="dislike"].active {
    background: #dc3545;
    border-color: #dc3545;
}

.like-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comment-rating {
    margin-left: 8px;
}

.comment-rating .badge {
    font-size: 0.75rem;
}

/* Стили для рейтинга автора */
.author-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    font-size: 0.8rem;
}

.author-rating i {
    color: #ffc107;
    font-size: 0.7rem;
}

.rating-value {
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

.rating-value.positive {
    background-color: #d4edda;
    color: #155724;
}

.rating-value.negative {
    background-color: #f8d7da;
    color: #721c24;
}

.comment-username-new {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Бейдж "Команда Проекта" */
.author-team-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Стили для новости в стиле комментария */
.news-card {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    min-height: 200px;
}

.news-card .comment-avatar-section {
    min-width: 120px;
    padding: 20px 15px;
    border-right: 2px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px 0 0 8px;
}

.news-card .comment-avatar-section img {
    width: 80px !important;
    height: 80px !important;
}

.news-card .comment-content-section {
    padding: 20px;
    flex: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.news-title h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.3;
}

.news-image {
    text-align: center;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
}

.news-image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.news-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content h2, .news-content h3, .news-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-content ul, .news-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.news-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #6c757d;
}

/* Стили для меню новости */
.news-card .comment-header-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-card .comment-menu {
    position: relative;
    display: inline-block;
}

.news-card .comment-menu-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1;
}

.news-card .comment-menu-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.news-card .comment-menu .comment-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
    min-width: 150px;
    display: none;
}

.news-card .comment-menu-list {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 5px 0;
    margin: 0;
    list-style: none;
}

.news-card .comment-menu-item {
    margin: 0;
}

.news-card .comment-menu-link {
    display: block;
    padding: 8px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.news-card .comment-menu-link:hover {
    background: #f8f9fa;
    color: #495057;
}

.news-card .comment-menu-link i {
    margin-right: 8px;
    width: 16px;
}

/* Отладочные стили для кнопки меню новости */
.news-card .comment-menu-btn {
    /* Убираем отладочные стили */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-card .comment-avatar-section {
        min-width: auto;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        border-radius: 8px 8px 0 0;
        padding: 15px;
    }
    
    .news-card .comment-content-section {
        padding: 15px;
    }
    
    .news-image img {
        max-height: 250px;
    }
}

.comment-avatar-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
}

.comment-avatar-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 40px;
    justify-content: center;
}

.comment-avatar-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.comment-header-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.comment-username-new {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    margin: 0;
}

.comment-level-new {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 500;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.comment-time {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

.comment-menu {
    position: absolute;
    right: 0;
    top: 0;
}

.comment-menu-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.comment-menu-btn:hover {
    background: #f8f9fa;
}

.comment-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0;
}

.comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: #212529;
    margin: 10px 0;
}

.comment-actions-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.comment-action-btn-new {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.comment-action-btn-new:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-quote-new {
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.comment-quote-new:hover {
    color: #495057;
}

.comment-edit-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.comment-edit-btn,
.comment-delete-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 6px 12px;
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-edit-btn:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.comment-delete-btn:hover {
    background: #ffebee;
    color: #d32f2f;
}

.comment-edit-form {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.comment-edit-textarea {
    margin-bottom: 10px;
}

.comment-edit-textarea-field {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

.comment-edit-textarea-field:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-edit-buttons {
    display: flex;
    gap: 8px;
}

.comment-save-btn,
.comment-cancel-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-save-btn {
    background: #007bff;
    color: white;
}

.comment-save-btn:hover {
    background: #0056b3;
}

.comment-cancel-btn {
    background: #6c757d;
    color: white;
}

.comment-cancel-btn:hover {
    background: #5a6268;
}

.replies {
    margin-top: 10px;
}

.comment-login-prompt {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: #1976d2;
    margin-bottom: 20px;
}

/* Выпадающее меню для комментариев */
.comment-menu-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.comment-menu-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 6px 12px;
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-menu-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    min-width: 120px;
}

.comment-menu-list {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.comment-menu-item {
    margin: 0;
}

.comment-menu-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.comment-menu-link:hover {
    background: #f8f9fa;
    color: #212529;
}

.comment-menu-link i {
    margin-right: 8px;
    width: 16px;
}

/* Форма ответа на комментарий */
.comment-reply-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.comment-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-reply-title {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.comment-reply-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.comment-reply-close:hover {
    background: #e9ecef;
    color: #495057;
}

.comment-reply-textarea textarea {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
}

.comment-reply-textarea textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.comment-reply-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.comment-reply-submit,
.comment-reply-cancel {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-reply-submit {
    background: #007bff;
    color: white;
    border: none;
}

.comment-reply-submit:hover {
    background: #0056b3;
}

.comment-reply-cancel {
    background: #6c757d;
    color: white;
    border: none;
}

.comment-reply-cancel:hover {
    background: #5a6268;
}

/* Адаптивность */
@media (max-width: 768px) {
    .comment.reply {
        margin-left: 20px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-actions {
        margin-top: 10px;
    }
    
    .comment-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .comment-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .comment-form-actions-left {
        justify-content: center;
    }
}

/* Стили для голосований */
.poll-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.poll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.poll-question {
    margin: 0;
    color: #212529;
    font-size: 1.25rem;
    font-weight: 600;
}

.poll-question i {
    color: #007bff;
    margin-right: 8px;
}

.poll-stats {
    color: #6c757d;
    font-size: 0.9rem;
}

.poll-options {
    margin-bottom: 20px;
}

.poll-option {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.poll-option:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.poll-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.poll-option-text {
    font-weight: 500;
    color: #212529;
    flex: 1;
}

.poll-option-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.poll-votes-count {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.poll-percentage {
    color: #6c757d;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.poll-progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.poll-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.poll-vote-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.poll-vote-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.poll-vote-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.poll-user-vote {
    margin-top: 15px;
}

.poll-login-required {
    margin-top: 15px;
}

.poll-create-form {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.poll-create-form h5 {
    color: #212529;
    margin-bottom: 20px;
    font-weight: 600;
}

.poll-create-form h5 i {
    color: #007bff;
    margin-right: 8px;
}

.poll-option-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.poll-option-input input {
    flex: 1;
}

.poll-option-input button {
    flex-shrink: 0;
}

/* Footer voting platforms */
.footer__column--voting {
    flex: 1;
    min-width: 200px;
}

.footer__voting-platforms {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer__voting-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.footer__voting-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer__voting-banner {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.footer__voting-link:hover .footer__voting-banner {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for footer voting */
@media (max-width: 768px) {
    .footer__column--voting {
        min-width: 100%;
        margin-top: 20px;
    }
    
    .footer__voting-platforms {
        align-items: center;
    }
}
