/* FoxNovaPlay - Main Styles */
:root {
--primary-color: #6c5ce7;
--secondary-color: #a29bfe;
--accent-color: #fd79a8;
--dark-color: #2d3436;
--light-color: #dfe6e9;
--success-color: #00b894;
--warning-color: #fdcb6e;
--danger-color: #d63031;
}

body {
font-family: 'Roboto', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-attachment: fixed;
color: #333;
min-height: 100vh;
margin: 0;
}

/* Навбар */
.navbar {
background: linear-gradient(135deg, rgba(45, 52, 54, 0.95), rgba(108, 92, 231, 0.95)) !important;
backdrop-filter: blur(10px);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.brand-text {
font-family: 'Orbitron', sans-serif;
font-weight: 900;
background: linear-gradient(45deg, #fd79a8, #6c5ce7);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 1.5rem;
}

.nav-link {
transition: all 0.3s ease;
position: relative;
color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
color: #fd79a8 !important;
transform: translateY(-2px);
}

.main-content {
padding-top: 76px;
min-height: calc(100vh - 200px);
}

/* Карточки */
.card {
border: none;
border-radius: 20px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Кнопки */
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
padding: 12px 30px;
border-radius: 50px;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
color: white;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(108, 92, 231, 0.6);
}

.btn-success {
background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
border: none;
border-radius: 50px;
padding: 12px 30px;
font-weight: bold;
color: white;
box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
}

.btn-warning {
background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
border: none;
border-radius: 50px;
padding: 12px 30px;
font-weight: bold;
box-shadow: 0 4px 15px rgba(253, 203, 110, 0.4);
}

/* Аватар */
.avatar-large {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
border: 5px solid var(--primary-color);
box-shadow: 0 0 30px rgba(108, 92, 231, 0.5);
transition: all 0.3s ease;
}

.avatar-large:hover {
transform: scale(1.05);
box-shadow: 0 0 40px rgba(108, 92, 231, 0.7);
}

/* Игровые карточки */
.game-card {
position: relative;
overflow: hidden;
border-radius: 20px;
}

.game-card .card-img-top {
height: 250px;
object-fit: cover;
transition: all 0.5s ease;
}

.game-card:hover .card-img-top {
transform: scale(1.1);
}

.game-card-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
opacity: 0;
transition: all 0.3s ease;
display: flex;
align-items: flex-end;
padding: 20px;
}

.game-card:hover .game-card-overlay {
opacity: 1;
}

/* Свайпер */
.swiper {
width: 100%;
height: 500px;
border-radius: 20px;
}

.swiper-slide {
position: relative;
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: center;
}

/* Затемнение убрано */

.slide-content {
position: relative;
z-index: 2;
}

/* Футер */
.footer {
background: linear-gradient(135deg, rgba(45, 52, 54, 0.95), rgba(108, 92, 231, 0.95)) !important;
}

/* ============================================
   ФИКС ФОРМ - ПОЛЯ ВВОДА ДОЛЖНЫ БЫТЬ ВИДНЫ
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    padding: 40px !important;
    margin: 0 auto;
}

.auth-card h2 {
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: #333 !important;
    background-color: #ffffff !important;
    border: 2px solid #ddd !important;
    border-radius: 12px !important;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #6c5ce7 !important;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15) !important;
}

.form-group input::placeholder {
    color: #999;
}

.form-group .errorlist {
    color: #d63031;
    font-size: 0.85rem;
    list-style: none;
    margin-top: 5px;
}

.form-group .helptext {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group .helptext ul {
    list-style: none;
    padding-left: 0;
}

.form-group .helptext ul li {
    padding-left: 15px;
    position: relative;
}

.form-group .helptext ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6c5ce7;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.submit-btn-success {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-link a {
    color: #6c5ce7;
    font-weight: 600;
}

.auth-link a:hover {
    color: #fd79a8;
}

/* Медиа запросы */
@media (max-width: 768px) {
.brand-text {
font-size: 1.2rem;
}
.swiper {
height: 300px;
}
.avatar-large {
width: 100px;
height: 100px;
}
.auth-card {
    padding: 25px !important;
}
}

@media (max-width: 576px) {
.main-content {
padding-top: 60px;
}
.btn {
padding: 8px 20px !important;
font-size: 14px !important;
}
}

/* ============================================ */
/* АДАПТИВНАЯ ВЕРСТКА СЛАЙДЕРА (МОБИЛЬНЫЕ)     */
/* ============================================ */
@media (max-width: 767px) {
    .swiper.hero-slider {
        margin-left: 15px !important;
        margin-right: 15px !important;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        max-width: calc(100% - 30px) !important;
    }
    
    .swiper.hero-slider .swiper-slide {
        border-radius: 20px;
    }
    
    .swiper.hero-slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
    }
    
    .hero-slider {
        height: 250px !important;
    }
}

/* ============================================ */
/* КАРТОЧКИ НОВОСТЕЙ                           */
/* ============================================ */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1e2e !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(253, 121, 168, 0.3);
}

.news-cover-wrapper {
    background: #0B0E14;
}

.news-cover-wrapper img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-cover-wrapper img {
    transform: scale(1.03);
}

.hover-glow {
    transition: color 0.3s ease;
}

.hover-glow:hover {
    color: #fd79a8 !important;
    text-shadow: 0 0 20px rgba(253, 121, 168, 0.3);
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .news-cover-wrapper {
        max-width: 100% !important;
        height: 200px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
}/* ============================================ */
/* АДАПТИВНАЯ ВЕРСТКА СЛАЙДЕРА (МОБИЛЬНЫЕ)     */
/* ============================================ */
@media (max-width: 767px) {
    .swiper.hero-slider {
        margin-left: 15px !important;
        margin-right: 15px !important;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        max-width: calc(100% - 30px) !important;
    }
    
    .swiper.hero-slider .swiper-slide {
        border-radius: 20px;
    }
    
    .swiper.hero-slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
    }
    
    .hero-slider {
        height: 250px !important;
    }
}

/* ============================================ */
/* КАРТОЧКИ НОВОСТЕЙ                           */
/* ============================================ */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1e2e !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(253, 121, 168, 0.3);
}

.news-cover-wrapper {
    background: #0B0E14;
}

.news-cover-wrapper img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-cover-wrapper img {
    transform: scale(1.03);
}

.hover-glow {
    transition: color 0.3s ease;
}

.hover-glow:hover {
    color: #fd79a8 !important;
    text-shadow: 0 0 20px rgba(253, 121, 168, 0.3);
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .news-cover-wrapper {
        max-width: 100% !important;
        height: 200px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
}

/* ============================================ */
/* КАРТОЧКИ НОВОСТЕЙ (Glassmorphism + Неон)    */
/* ============================================ */

.news-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Неоновый градиентный бордер при наведении */
.news-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, #FF6B35, #8B5CF6, #FF6B35);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

/* Заголовок в карточке */
.news-content h3 a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.news-content h3 a:hover {
    background: linear-gradient(135deg, #FF6B35, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

/* Кнопка "Читать далее" */
.news-card .btn-outline-primary {
    color: #FF6B35 !important;
    border-color: rgba(255, 107, 53, 0.3) !important;
    background: rgba(255, 107, 53, 0.05) !important;
    transition: all 0.3s ease;
}

.news-card .btn-outline-primary:hover {
    background: #FF6B35 !important;
    color: #fff !important;
    border-color: #FF6B35 !important;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

/* Дата и просмотры */
.news-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.news-meta i {
    color: #8B5CF6;
    margin-right: 6px;
}

/* Описание */
.news-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Анимация градиента для бордера */
@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Адаптив для мобильных */
@media (max-width: 767px) {
    .news-card {
        border-radius: 16px !important;
    }
    
    .news-content h3 a {
        font-size: 1.1rem;
    }
    
    .news-cover-wrapper {
        height: 180px !important;
    }
}

/* Разделитель с неоновым свечением */
.news-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B5CF6, #FF6B35, transparent);
    margin: 30px 0;
    opacity: 0.3;
}

/* ============================================ */
/* МОБИЛЬНАЯ СТРАНИЦА ИГРЫ (order-классы)      */
/* ============================================ */
@media (max-width: 767px) {
    .hero-cover {
        min-height: 200px !important;
        border-radius: 16px !important;
    }
    
    .hero-cover h1 {
        font-size: 1.6rem !important;
    }
    
    .info-card {
        border-radius: 16px !important;
        padding: 1.25rem !important;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .screenshot-grid img {
        border-radius: 12px !important;
        height: 120px;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .info-card {
        position: sticky;
        top: 90px;
    }
}

/* ============================================ */

/* ============================================ */

/* ============================================ */
/* ИНФО-КАРТОЧКА (Идеальный баланс)            */
/* ============================================ */

.info-card {
    background: rgba(20, 25, 45, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 1.75rem !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Легкий фиолетовый отлив внутри */
.info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.info-card > * {
    position: relative;
    z-index: 1;
}

/* Неоновая обводка при наведении — деликатная */
.info-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(139, 92, 246, 0.3), rgba(255, 107, 53, 0.3));
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 107, 53, 0.15);
}

/* Заголовки полей — элегантный полупрозрачный */
.info-label {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Иконки — фирменный фиолетовый, приглушенный */
.info-icon {
    color: #8B5CF6 !important;
    font-size: 1.1rem;
    width: 30px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.info-card:hover .info-icon {
    opacity: 1;
}

/* Значения полей — чисто белые, без градиента */
.info-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff !important;
}

/* Цена — мягкий оранжевый, без агрессивного свечения */
.info-value.price {
    color: #FF6B35 !important;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Разделители — едва заметные */
.info-divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 0.7rem 0;
}

/* Кнопки — элегантные, без излишней агрессии */
.info-card .btn {
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* Кнопка "Войти" — тонкая оранжевая обводка */
.info-card .btn-outline-primary {
    color: #FF6B35 !important;
    border: 1.5px solid rgba(255, 107, 53, 0.3) !important;
    background: rgba(255, 107, 53, 0.05) !important;
}

.info-card .btn-outline-primary:hover {
    background: rgba(255, 107, 53, 0.15) !important;
    border-color: #FF6B35 !important;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.1);
    transform: scale(1.02);
}

/* Кнопка "Играть" — спокойный зелёный */
.info-card .btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border: none !important;
}

.info-card .btn-success:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

/* Кнопка "Купить" — спокойный оранжевый */
.info-card .btn-warning {
    background: linear-gradient(135deg, #FF6B35, #ea580c) !important;
    border: none !important;
    color: #fff !important;
}

.info-card .btn-warning:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

/* Кнопка "Недостаточно" */
.info-card .btn-secondary:disabled {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Адаптив для мобильных */
@media (max-width: 767px) {
    .info-card {
        padding: 1.25rem !important;
        border-radius: 16px !important;
        background: rgba(20, 25, 45, 0.75) !important;
    }
    
    .info-value {
        font-size: 1rem !important;
    }
    
    .info-value.price {
        font-size: 1.2rem !important;
    }
    
    .info-card .btn {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .info-icon {
        font-size: 1rem !important;
        width: 26px !important;
    }
}

/* Десктоп: липкая карточка */
@media (min-width: 992px) {
    .info-card {
        position: sticky;
        top: 90px;
    }
}

/* ===== НОВЫЙ ДИЗАЙН НОВОСТЕЙ ===== */

.news-card {
    background: rgba(20, 25, 45, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.news-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 40px 60px -12px rgba(255, 107, 53, 0.15);
}

.news-image-wrapper {
    height: 220px;
    background: #0B0E14;
}

.news-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-cover-img {
    transform: scale(1.05);
}

.news-placeholder-img {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
}

.news-card .h5 a {
    transition: color 0.3s ease;
}

.news-card .h5 a:hover {
    color: #FF6B35 !important;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.news-hero {
    min-height: 60vh;
    position: relative;
}

.news-body {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 1.1rem;
}

.news-body p {
    margin-bottom: 1.8rem;
}

.news-body strong {
    color: #FF6B35;
}

.news-body a {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dashed rgba(139, 92, 246, 0.3);
}

.news-body a:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.news-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(139, 92, 246, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-card:hover::after {
    opacity: 1;
}

@media (max-width: 767px) {
    .news-image-wrapper {
        height: 180px;
    }
    .news-hero {
        min-height: 50vh;
    }
    .news-hero .display-3 {
        font-size: 2rem;
    }
    .news-body {
        font-size: 1rem;
    }
}

/* ===== ПРЕМИУМ-НОВОСТИ v2.0 ===== */
.news-body p {
    margin-bottom: 1.5rem;
}
.news-body strong {
    color: #FF6B35;
    font-weight: 700;
}
.news-body a {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dashed rgba(139, 92, 246, 0.3);
}
.news-body a:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(255, 107, 53, 0.2) !important;
}
.card:hover .object-fit-cover {
    transform: scale(1.03);
}

.page-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
.page-item.active .page-link {
    background: #FF6B35 !important;
    border-color: #FF6B35 !important;
}

/* ===== НОВОСТИ НА ГЛАВНОЙ (ГОРИЗОНТАЛЬНЫЕ КАРТОЧКИ) ===== */
.news-card-horizontal {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.3s ease;
}
.news-card-horizontal:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2) !important;
}
.news-card-horizontal:hover .object-fit-cover {
    transform: scale(1.05);
}
@media (max-width: 767px) {
    .news-card-horizontal { border-radius: 16px !important; }
    .news-image-wrapper { max-width: 100% !important; height: 160px !important; }
    .news-card-horizontal .card-body { padding: 1.25rem !important; }
}
.btn-outline-primary {
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background: #FF6B35 !important;
    border-color: #FF6B35 !important;
    color: #fff !important;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

/* ===== ЛЕГКИЙ БЛОК НОВОСТЕЙ (ГЛАВНАЯ) ===== */
.news-item {
    transition: background 0.2s ease;
    border-radius: 12px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}
.news-item:hover {
    background: rgba(255, 255, 255, 0.02);
}
.hover-glow {
    transition: color 0.2s ease;
}
.hover-glow:hover {
    color: #FF6B35 !important;
}
.news-item .col-auto img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover .col-auto img {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

/* ===== ПРЕМИУМ-БЛОК НОВОСТЕЙ НА ГЛАВНОЙ ===== */
.news-card-premium { position: relative; }
.news-card-premium::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,107,53,0.3), rgba(139,92,246,0.3), rgba(255,107,53,0.3));
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: gradientBorder 4s ease infinite;
}
.news-card-premium:hover::after { opacity: 1; }
.news-card-premium:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -15px rgba(255,107,53,0.2); }
.news-card-premium:hover .object-fit-cover { transform: scale(1.05); }
.hover-glow { transition: color 0.2s ease, text-shadow 0.2s ease; }
.hover-glow:hover { color: #FF6B35 !important; text-shadow: 0 0 20px rgba(255,107,53,0.2); }
.btn-lg { transition: all 0.3s ease; }
.btn-lg:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(255,107,53,0.4) !important; }
@media (max-width: 767px) {
    .news-card-premium { border-radius: 16px !important; }
    .news-card-premium .position-relative { height: 160px !important; }
    .news-card-premium .card-body { padding: 1.25rem !important; }
    .display-4 { font-size: 2rem !important; }
    .btn-lg { padding: 10px 24px !important; font-size: 0.9rem !important; }
}
