body {
    margin: 0;
    color: white;
    background-color: #000;
    background-image: 
        radial-gradient(
            circle at 50% 50%, 
            rgba(255, 0, 0, 0.2) 0%, 
            rgba(255, 0, 0, 0.05) 40%, 
            rgba(0, 0, 0, 0) 70%
        ),
        repeating-linear-gradient(
            -30deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.04) 1px,
            transparent 3px,
            transparent 40px
        );

    background-size: 100% 1000px, auto; 
    background-repeat: no-repeat, repeat;
    background-attachment: scroll;
}

body, html {
    margin: 0;
    padding: 0;
}

.hat-cont {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}
.hat-cent {
    max-height: 51px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 51px;
}

.logo-cont {
    display: flex;
    align-items: center;
    gap: 5px;
}
.logo-img {
    height: 18px;
    width: 28px;
    display: block;
}
.logo-name {
    font-family: "Segoe UI Black", "Segoe UI", Roboto, sans-serif;
    font-size: 16.8px;
    font-weight: 800;
    letter-spacing: 0.672px;
    color: rgb(26, 26, 26);
    line-height: 19.32px;
    text-transform: none;
    text-decoration: none;
}

.separator {
    color: rgb(0, 0, 0) !important;
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #444;
    margin: 0 10px;
    vertical-align: middle;
}

.navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 28px; 
    padding: 0;
}

.navigation a {
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.52px;
    color: rgb(51, 51, 51);
    line-height: 18.85px;
    text-decoration: none;
}
.navigation a:hover {
    color: #ff0015 !important;
    transition: color 0.2s ease;
}

.lang-switcher {
    position: relative;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 101;
}
.lang-switcher.active {
    border-color: #e60012;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.lang-switcher span {
    color: rgb(26, 26, 26) !important;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 1px); 
    left: -1px;
    width: calc(100% + 2px); 
    background: white;
    border: 1px solid #e60012;
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    z-index: 100;
    box-sizing: border-box;
}
.lang-switcher.active .lang-dropdown {
    display: block;
}
.lang-dropdown li {
    padding: 8px 15px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    transition: background 0.2s, color 0.2s
}

.lang-dropdown li:hover {
    background-color: #f5f5f5;
    color: #e60012;
}
.lang-switcher:hover span {
    color: #ff0015 !important;
}

.arrow {
    margin-left: 4px;
    font-size: 10px;
    color: rgb(0, 0, 0);
}

.lang-icon {
    width: 18px;
    height: 18px;
    display: block;
    margin-right: 5px;
}


.login-btn {
    color: rgb(26, 26, 26);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}
.login-btn:hover {
    color: #ff0015 !important;
    transition: color 0.2s ease;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: -10px;
}

/* Оформление кнопки поиска */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5.6px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover .search-icon {
    /* Этот фильтр превращает черный в красный */
    filter: invert(12%) sepia(94%) saturate(7465%) hue-rotate(357deg) brightness(91%) contrast(114%);
    transition: filter 0.2s ease;
}

.search-icon {
    width: 20px;
    height: 20px;
    display: block;
}



/* Черная шапка */
.sub-hat {
    width: 100%;
    background-color: #000000; /* Глубокий черный */
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #252424;
}

.sub-hat-cont {
    width: 100%;
    max-width: 1850px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between; /* было flex-start */
    align-items: center;
}

.sub-nav {
    display: flex;
    gap: 25px;
    position: relative;
}

.sub-nav a {
    color: rgb(252, 252, 252); 
    text-decoration: none;

    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18.85px;
    
    display: inline-block;
    transition: color 0.2s ease;
}

.sub-hat-cont .sub-nav.sub-nav-home {
    gap: 50px !important;
}   

.sub-nav a, .sub-nav-right a {
    color: rgb(252, 252, 252);
    text-decoration: none;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18.85px;
    display: inline-block;
    transition: color 0.2s ease;
}
.sub-nav a:hover, .sub-nav-right a:hover {
    color: #e60012;
}

.sub-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.separator-light {
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
    vertical-align: middle;
}

.arrow-down {
    margin-left: 2px;
    font-size: 13px;
    color: rgba(252, 252, 252, 0.7);
}


/* Поисковик */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 0;
    opacity: 0;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 0;
    transition: all 0.4s ease;
    outline: none;
    margin-right: 0;
}

.search-input.active {
    width: 200px;
    opacity: 1;
    padding: 5px 15px;
}

@keyframes blink-red {
    0%, 100% { color:inherit; }
    50% { color: #e60012; }
}

.highlight {
    background-color: transparent !important;
    font-weight: bold;
    animation: blink-red 0.8s ease-in-out infinite; 
}

.i18n-changing {
    opacity: 0;
}

[data-i18n] {
    transition: opacity 0.15s ease-in-out;
    will-change: opacity;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center; 
}

.daily-check-container {
    display: inline-block;
}


.daily-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0; /* растягивает окно до правого края .sub-nav, т.е. до «Поддержка» */

    min-height: 150px;
    background-color: #000000;
    border-radius: 16px;
    border: 2px solid #ff0000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 20px 24px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.daily-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(15px);
}


.daily-dropdown p {
    color: #333;
    margin: 0;
}


/* ОСНОВА */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 40px 0;
}

.hero-container {
    /* ЕДИНЫЙ РАЗМЕР ТУТ */
    --container-w: 1400px;
    --container-h: 700px;

    width: var(--container-w);
    height: var(--container-h);
    position: relative;
    background: none; /* Почти прозрачный */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px; /* Немного скруглим для стиля */
    position: relative;
}

/* Обертка для позиционирования внутренних элементов отдельно */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
}

.hero-card {
    margin: 0;
    width: 100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
    display: none;
    position: absolute; 
    top: 0;
    left: 0;
}
.hero-card.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.hero-img-container {
    width: 500px;
    height: 300px;
    transform: translate(280px, 125px) perspective(1000px) rotateY(-15deg) rotateX(5deg);
    border: 5px solid rgba(255, 255, 255, 0.4);
    outline: 4px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
    box-shadow: 0 30px 90px rgba(255, 0, 0, 0.5);
    border-radius: 2px;
    background: #000;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.hero-img-container:hover {
    transform: translate(280px, 125px) perspective(1000px) rotateY(-15deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}


.hero-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 450px;
    color: white;
    transform: translate(-300px, -155px);
}
.hero-category {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 0px;
}
.hero-text-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    margin-top: 0;
}
.hero-description {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0px;
}

.hero-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.prev { left: 30px; }
.next { right: 25px; }


.hero-range {
    width: 100%;
    cursor: pointer;
    accent-color: red;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.hero-author {
    font-size: 14px;
    color: #aaa;
}

/* Ползунок */
.hero-pagination {
    display: flex;
    gap: 30px;
    width: 85%;
    margin-top: 50px auto;
    bottom: 132px;
    position: absolute;
    z-index: 5;
}

.pagination-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pagination-label {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.pagination-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.pagination-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #ff0000;
    transition: width 5s linear; 
}
.pagination-item.active .pagination-label {
    color: #fff;
}

.pagination-item.active .pagination-bar::after {
    width: 100%;
}
.pagination-item.finished .pagination-bar::after {
    width: 100%;
    transition: none !important;
}
.pagination-item:hover .pagination-label {
    color: #fff;
    cursor: pointer;
}
.pagination-item.reset .pagination-bar::after {
    width: 0;
    transition: none;
}
.pagination-item.no-transition .pagination-bar::after {
    transition: none !important;
}
.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #ff0000;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.hero-btn:hover {
    background-color: #cc0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}
.game1-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
}

.game1-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: -10vh;
    padding: 0;
}

.game1-container {
    --container-w: 2500px;
    --container-h: 900px;

    width: var(--container-w);
    height: var(--container-h);
    position: relative;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px;
    position: relative;
}

.game1-card {
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.game1-card.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game1-img {
    width: 700px;
    height: 700px;
    object-fit: cover;
    display: block;
    border-radius: 0px;
}

.game1-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 1905px;
    height: 780px;
    z-index: 1;
    background: #000;
}

.game1-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 450px;
    color: white;
    position: relative;
    z-index: 2; 
    transform: translate(410px, 250px); 
}
.game1-category {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 0px;
}
.game1-text-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px; /* Крупный размер */
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    margin-top: 0;
}
.game1-text-card {
    position: absolute;
    top: 50%;
    left: 13%;
    transform: translateY(-50%);
    width: 30%;
    max-width: 700px;
    height: auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.85);
    border: 3px solid #ff0000;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    z-index: 10;
}
.game1-description {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0px;
}

.game-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.prev { left: 30px; }
.next { right: 25px; }


.game-range {
    width: 100%;
    cursor: pointer;
    accent-color: red;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.game1-author {
    font-size: 14px;
    color: #aaa;
}

/* Ползунок */
.game-pagination {
    display: flex;
    gap: 40px; /* Расстояние между сегментами */
    width: 85%; /* Настрой ширину под свой макет */
    margin-top: 50px auto;
    bottom: 150px;
    position: absolute;
    z-index: 5;
}

.pagination1-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pagination1-label {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.pagination1-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pagination1-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: #ff0000;
}

/* Стили для АКТИВНОГО сегмента */
.pagination1-item.active .pagination-label {
    color: #fff;
}
.pagination1-item.active .pagination1-bar::after {
  width: 100%;
  transition: width 5s linear;
}
.pagination1-item.finished .pagination1-bar::after {
  width: 100%;
  transition: none !important;
}

.pagination1-item.active .pagination-bar::after {
    width: 100%;
}
.pagination1-item.finished .pagination-bar::after {
    width: 100%;
    transition: none !important;
}

/* Эффект при наведении */
.pagination1-item:hover .pagination-label {
    color: #fff;
    cursor: pointer;
}
.pagination1-item.reset .pagination-bar::after {
    width: 0;
    transition: none;
}
.pagination1-item.no-transition .pagination-bar::after {
    transition: none !important;
}

.game1-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 13px;
    background-color: #ff0000;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.game1-btn:hover {
    background-color: #cc0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

/* Серая панель под слайдером */
.panel1-container {
    position: relative;
    z-index: 10;
    width: 100%;
    background-color: #1c1c1c;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: -120px;
}
.panel1-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.panel1-wrapper::-webkit-scrollbar {
    display: none;
}
.panel1-nav {
    display: flex;
    align-items: center;
    gap: 100px;
    white-space: nowrap;
    height: 50px;
}
.panel1-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    height: 100%;
    position: relative;
    transition: color 0.3s ease;
}
.panel1-btn:hover {
    color: #fff;
}
.panel1-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}
.panel1-content-container {
    max-width: 1200px; /* Ограничиваем максимальную ширину всей зоны */
    margin: 0 auto;    /* Центрируем невидимый контейнер по центру сайта */
    padding: 30px 20px;
    color: #fff;
}
.panel1-content {
    display: none;
    animation: fadeIn1 0.4s ease;
}
.panel1-content.active {
    display: block;
}

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

.news-list1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 850px; 
    
    flex-shrink: 0;
}

.news-list1 .news-card1:not(:last-child) {
  margin-bottom: 20px;
}
.news-right-container .news-card2 {
    width: 100%;
    display: flex; 
}
.news-right-container .news-card2 .news-img-box2 {
    width: 50%;
}
.news-right-container .news-card2 .news-info1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.news-card1 {
    display: flex;
    background-color: #222222;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: 160px;
}

.news-card1:hover {
    transform: translateY(-2px);
    border-color: #555;
}

.news-img-box1 {
    width: 280px;
    flex-shrink: 0;
    background-color: #1a1a1a;
}

.news-img1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-img-placeholder1 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 14px;
}

.news-info1 {
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-game-title1 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.news-headline1 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Подвал карточки: кнопка и дата --- */
.news-footer1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.news-read-btn1 {
    display: inline-block;
    padding: 6px 10px;
    background-color: #ff0000de;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.news-read-btn1:hover {
    background-color: #cc0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    color: #000000;
}

.news-date1 {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .news-card1 {
        flex-direction: column;
        height: auto;
    }
    .news-img-box1 {
        width: 100%;
        height: 180px;
    }
    .news-headline1 {
        -webkit-line-clamp: 3;
        margin-bottom: 15px;
    }
}

.jason-mask-fx {
    position: fixed;
    width: 40px;
    height: 40px;
    background-image: url('photo/mask.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    animation: maskFly1 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes maskFly1 {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1.2) rotate(var(--r));
        opacity: 0;
    }
}

.news-layout-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    width: 100%;
    margin-left: -250px; 
}

.sidebar-column {
  flex-shrink: 0;
  width: 450px;
}
.promo-card {
  width: 100%;
  background-color: #222222;
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  font-family: sans-serif;
  
  transition: transform 0.2s ease, border-color 0.2s ease; 
}
.promo-card:hover {
  transform: translateY(-2px);
  border-color: #555;
}

.promo-card__image {
  width: 100%;
  display: block;
}
.promo-card__content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.promo-card__category {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #888888;
  margin-bottom: 20px;
}
.promo-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}
.promo-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  margin: 0 0 25px 0;
}
.promo-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

@media (max-width: 1024px) {
  .news-layout-wrapper {
    flex-direction: column;
  }
  .sidebar-column {
    width: 100%;
  }
}

.news-read-btn2 {
    display: inline-block;
    padding: 6px 10px;
    background-color: #ff0000de;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.news-read-btn2:hover {
    background-color: #cc0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    color: #000000;
}
.news-date2 {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.news-right-container {
    flex-shrink: 0; 
    margin-left: 1150px;
    width: 420px; 
    transform: translateY(-750px); 
}

.promo-card-vertical {
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.promo-img-box {
    width: 100%;
    height: 260px; 
    overflow: hidden;
}

.promo-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promo-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promo-category {
    color: #888888;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.promo-headline {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.promo-text {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.promo-footer {
    margin-top: 10px;
}

.promo-btn {
    display: inline-block;
    background-color: #e50914;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.promo-btn:hover {
    background-color: #ff1523;
}

.promo-header-block {
    width: 100%;
    margin-bottom: 15px; /* Отступ от линии до самой карточки */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Расстояние между текстом и белой линией */
}

/* Стиль надписи "Самое популярное" */
.promo-top-title {
    color: #ffffff; /* Чистый белый цвет текста */
    font-family: 'Oswald';
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Белая полоса под текстом */
.promo-white-line {
    width: 100%; /* Растягивается ровно по ширине правой карточки */
    height: 2px; /* Толщина полосы */
    background-color: #ffffff; /* Белый цвет линии */
    border-radius: 2px;
}

.glow-holder {
    position: relative;
    width: 100%;
    border-radius: 20px; /* Должно совпадать со скруглeнием карточки */
    overflow: hidden;    /* Прячет углы вращающегося квадрата с градиентом */
    padding: 2px;        /* ТОЛЩИНА ЛУЧА. 2px — луч будет изящным. Хочешь ярче — поставь 3px или 4px */
    background: #333333; /* Базовый цвет рамки, пока луч не добежал */
    display: flex;
}

/* Сам вращающийся бело-серый световой луч (задний фон) */
.glow-holder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Конический градиент: яркий белый луч переходит в глубокий серый и черный, создавая эффект вспышки */
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 160deg,
        #888888 240deg,
        #ffffff 320deg,
        transparent 360deg
    );
    /* Запуск бесконечной анимации вращения луча */
    animation: rotate-glow 4s linear infinite;
    z-index: 1;
}

/* Возвращаем саму карточку на передний план поверх крутящегося градиента */
.glow-holder .promo-card-vertical {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #222222; /* Карточка перекрывает центр градиента своим фоном */
    border: none !important;    /* Стираем старую статичную рамку, теперь она не нужна */
}

/* Описание анимации вращения на 360 градусов */
@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Драйвера */
#driver-section-wrapper,
#driver-section-wrapper *, 
#driver-section-wrapper *::before, 
#driver-section-wrapper *::after {
    box-sizing: border-box;
}

/* Общий контейнер всей секции */
#driver-section-wrapper {
    position: relative;
    width: 100%; /* Занимает всю ширину страницы */
    
    /* === НАСТРОЙКА СМЕЩЕНИЯ ВСЕГО БЛОКА ЛЕВЕЕ/ПРАВЕЕ === */
    margin-left: 400px; 
}

/* --- 1. Белая полоса и заголовок --- */
.driver-divider-line {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    
    /* === НАСТРОЙКА ПОДЪЕМА ВСЕГО БЛОКА ВЫШЕ/НИЖЕ === */
    margin-top: -400px; 
    margin-bottom: 30px;
}

.driver-divider-title {
    position: absolute;
    background-color: #0d0d0d; /* Цвет фона сайта перекрывает белую линию */
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 24px;
}

/* --- 2. Контейнер для формы выбора (поля в одну строку) --- */
.driver-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 25px; /* Отступ от инпутов до текстового результата снизу */
}

/* --- 3. Окно выбора вендора (NVIDIA / AMD / ARC) --- */
.driver-select-box {
    position: relative;
    font-family: Arial, sans-serif;
}

#driver-vendor-trigger {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 2px solid #ff0000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    
    /* Ручные настройки размеров кнопки */
    width: 150px;
    height: 45px;
    padding-left: 15px;
}

/* Выпадающий список вендоров (идеально ровный) */
#driver-vendor-dropdown {
    position: absolute;
    left: 0;
    z-index: 1000;
    background-color: #1a1a1a;
    border: 2px solid #ff0000;
    border-top: none;
    border-radius: 0 0 4px 4px;
    width: 100%; 
    top: 43px; /* Нахлест на нижнюю рамку триггера, чтобы скрыть стык */
}

.driver-vendor-hidden {
    display: none !important;
}

/* Элемент списка вендоров */
.driver-vendor-item {
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

/* Красный фон при наведении в меню */
.driver-vendor-item:hover {
    background-color: #ff0000;
    color: #ffffff;
}

/* --- 4. Поисковое поле ввода моделей --- */
.driver-search-box {
    position: relative;
}

.driver-search-box input {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 2px solid #ff0000;
    border-radius: 4px;
    outline: none;
    font-size: 16px;

    /* Ручные настройки размеров инпута */
    width: 320px;
    height: 45px;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- 5. Всплывающие подсказки вариантов RTX (идеально ровный) --- */
#driver-search-suggestions {
    position: absolute;
    left: 0;
    z-index: 999;
    background-color: #1a1a1a;
    border: 2px solid #ff0000; 
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%; 
    top: 43px; /* Нахлест на нижнюю рамку инпута */
}

.driver-suggestions-hidden {
    display: none !important;
}

.driver-sug-item {
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.driver-sug-item:hover {
    background-color: #252525;
    color: #ff0000;
}

/* --- 6. Кастомный ползунок скролла (Белый с чёрными границами) --- */
#driver-search-suggestions::-webkit-scrollbar {
    width: 12px; /* Ширина всей дорожки скролла */
}

#driver-search-suggestions::-webkit-scrollbar-track {
    background: #000000; /* Полностью черный фон дорожки */
    border-radius: 0 0 4px 0;
}

#driver-search-suggestions::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* Белый ползунок */
    border: 2px solid #000000; /* Чёрная рамка вокруг ползунка */
    border-radius: 6px;
}

#driver-search-suggestions::-webkit-scrollbar-thumb:hover {
    background-color: #e6e6e6; /* Слегка серый при наведении для отклика */
}

/* --- 7. Блок вывода результатов (появляется внизу текстом) --- */
#driver-results-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Отступ между текстом и красной ссылкой */
    margin: 0 auto;
    
    /* Настройки размеров выводимого текстового блока */
    width: 100%;
    max-width: 800px;
    height: 60px;
    padding: 10px;
}

.driver-results-hidden {
    display: none !important;
}

/* Стиль текста описания драйвера */
.driver-res-text {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* Стиль ссылки "Перейти на сайт для скачивания" */
.driver-res-link {
    color: #ff0000;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.2s ease;
}

.driver-res-link:hover {
    color: #ffffff;
}

/* Поддержка сайта */
/* --- Общий контейнер страницы поддержки --- */
#support-page-wrapper {
    position: relative;
    width: 1900px;
    height: 750px;
    background-color: #0d0d0d; /* Цвет фона твоего сайта */
    font-family: 'Inter', Arial, sans-serif;
    color: #ffffff;
    
    /* Ручные настройки отступов всей страницы */
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- Заголовки и тексты (Формат NVIDIA) --- */
.support-main-title {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    
    /* Настройки главного заголовка */
    font-size: 36px;
    margin-bottom: 20px;
}

.support-subtitle {
    text-align: center;
    color: #cccccc;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
    
    /* Настройки верхнего абзаца */
    font-size: 16px;
    margin-bottom: 15px;
}

.support-sub-notice {
    text-align: center;
    color: #aaaaaa;
    
    /* Настройки второго абзаца */
    font-size: 15px;
    margin-bottom: 50px; /* Отступ до карточек */
}

/* --- Сетка для карточек --- */
.support-cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px; /* Расстояние между карточками */
    width: 100%;
    margin-bottom: 40px; /* Отступ от карточек до кнопки снизу */
}

/* --- Сами карточки --- */
.support-card {
    background-color: #111111; /* Чуть светлее основного фона */
    border: 1px solid #222222;
    border-radius: 4px;
    
    /* НАСТРАИВАЙ РАЗМЕРЫ И ОТСТУПЫ КАРТОЧЕК ТУТ */
    width: 420px;
    min-height: 350px;
    padding: 30px;
}

/* Заголовки внутри карточек */
.support-card h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.support-card-desc {
    color: #888888;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Списки ссылок внутри карточек */
.support-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 25px;
}

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

.support-links-list li a {
    color: #ff0000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.support-links-list li a:hover {
    color: #ffffff; 
    text-decoration: underline;
}


.support-card-more {
    display: inline-block;
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s ease;
}

.support-card-more:hover {
    color: #ffffff;
}


.support-btn-box {
    display: flex;
    justify-content: center;
    width: 100%;
}

.support-hero-btn {
    display: inline-block;
    background-color: #ff0000;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    text-align: center;
    margin-top: 30px;
    padding: 12px 30px;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Эффект наведения для кнопки */
.support-hero-btn:hover {
    background-color: #cc0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
    cursor: pointer;
}

.daily-month-title {
    color: #ffffff;
    font-weight: 700;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-align: center;
    width: 100%;
}

.daily-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
}

.day-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 8px 0;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.4s ease;
}

.day-cell.reward-day {
    border-color: #ff3b3b;
}

.day-num {
    font-size: 11px;
    color: #aaaaaa;
    font-family: Arial, sans-serif;
}

.day-emoji {
    font-size: 16px;
    line-height: 1;
}

.day-cell:hover {
    background-color: rgba(255, 0, 0, 0.25);
}

.day-cell.claimed {
    animation: day-burn 0.5s ease forwards;
    pointer-events: none;
}

@keyframes day-burn {
    0%   { opacity: 1;    transform: scale(1); }
    50%  { opacity: 0.5;  transform: scale(1.08); }
    100% { opacity: 0.35; transform: scale(1); }
}

/* Серая панель "Самое популярное" */
.popular-panel-container {
    position: relative;
    z-index: 10;
    width: 100%;
    background-color: #1c1c1c;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: -190px;
}

.popular-panel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-panel-title {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popular-panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

/* Тёмно-серая подложка перехода под панелью + сама сетка карточек */
.popular-news-container {
    width: 100%;
    background-color: #141414;
}

.popular-news-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 12px 20px 75px;
}

.popular-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 420px);
    gap: 25px;
    justify-content: center;
}

/* Ширина карточки — размеры самой карточки берутся из твоих promo-* классов без изменений */
.popular-card-wrap {
    display: flex;
    flex-direction: column;
    height: 100%; /* тянется на всю высоту строки грида */
}
.popular-card-wrap .glow-holder.popular-card {
    flex: 1; /* растягивает светящуюся рамку на всю оставшуюся высоту */
}
.popular-card-wrap .promo-card-vertical {
    height: 100%;
}
.popular-card-wrap .promo-info {
    flex: 1; /* даёт место для news-footer1 (у него margin-top: auto) прижаться к низу */
}

.popular-card {
    width: 100%;
}
