* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #F50057;
    --dark-bg: #19040e;
    --darker-bg: #110A18;
    --card-bg: #230C16;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --gradient-register: linear-gradient(90deg, rgb(95, 5, 255), rgb(2, 235, 255));
    --neon-glow: 0 0 20px rgba(245, 0, 87, 0.5);
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary-pink);
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    border: 1px solid var(--card-bg);
}

.page-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 0, 87, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
        url('img/bg_left.webp'),
        url('img/bg_right.webp');
    background-repeat: no-repeat;
    background-position: 0 0, 0 0, left top, right top;
    background-size: auto, auto, 500px auto, 500px auto;
    background-attachment: scroll;
}


body.no-scroll {
    overflow: hidden;
}

/* --- ОБЩИЕ СТИЛИ КНОПОК --- */
.btn { display: inline-block; position: relative; padding: 0.8rem 2.2rem; border: none; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 0.9rem; color: white; cursor: pointer; transition: all 0.3s ease; transform: skewX(-15deg); }
.btn-text { display: inline-block; transform: skewX(15deg); font-style: italic; }
.btn:hover { filter: brightness(1.2); transform: skewX(-15deg) translateY(-3px); }
.btn.btn-primary { background: var(--gradient-register); }
.btn.btn-pink { background: var(--primary-pink); }
.btn.btn-outline { background: rgba(0, 0, 0, 0.2); border: 1px solid var(--primary-pink); }
.btn.btn-outline .btn-text { color: white; }
.bonus-badge { position: absolute; top: -10px; right: -5px; background: #F50057; color: white; padding: 2px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: bold; transform: skewX(15deg); }


/* --- ЭКРАН ЗАГРУЗКИ --- */
.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--darker-bg); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease; }
.loading-logo { animation: pulse 2s infinite; }
.loading-logo img { height: 40px; }
.loading-spinner { display: none; }
@keyframes pulse { 50% { opacity: 0.7; transform: scale(1.05); } }

/* --- ШАПКА --- */
header { position: fixed; top: 0; width: 100%; background: rgba(25, 4, 14, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(245, 0, 87, 0.2); z-index: 1002; padding: 1rem 0;padding-top: 2rem; height: 80px; display: flex; align-items: center; }
.header-container { width: 100%; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; gap: 2rem; }
.header-left { display: flex; align-items: center; gap: 2rem; flex-grow: 1; }
.logo img { height: 30px; }
.search-form { position: relative; flex-grow: 1; }
.search-form input { width: 100%; background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.7rem 3rem 0.7rem 1rem; color: white; }
.search-form button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: transparent; border: 1px solid var(--primary-pink); color: white; cursor: pointer; border-radius: 8px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.search-form button:hover { background: var(--primary-pink); color: white; }
.header-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.mobile-menu-toggle { display: none; }

/* --- ОСНОВНОЙ КОНТЕНТ --- */
main {
    margin-top: calc(70px + 2rem);
}

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.promo-section, .tournament-banner-section, .wins-tournament-section, .games-section, .info-section, .faq-section, .jackpot-section, .hero, .categories-bar, .providers-section, .info-text-section {
    padding: 2rem 0;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 3rem; font-style: italic; }
.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- PROMO SECTION --- */
.banner-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-pink);
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 5; /* поднят z-index чтобы был выше всего */
    font-style: italic;
    transform: skewX(-15deg);
    transform-origin: top left;
}
.banner-tag span {
    display: inline-block;
    transform: skewX(15deg);
}
#mobile-slider-container { display: none; }
.promo-grid-top { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.promo-card-large, .promo-card-small { border-radius: 10px; overflow: hidden; position: relative; display: flex; align-items: center; /* ОБЩЕЕ ВЫРАВНИВАНИЕ */ }
.promo-card-large { background: url('img/kent_header_BG.webp') center center / cover no-repeat; padding: 2.5rem; height: 320px; }
.promo-card-small { background: url('img/BannerCat_1-31.webp') center center / cover no-repeat; padding: 2rem; height: 320px; }
.banner-content.full-width { width: 100%; text-align: center; }
.promo-card-large .banner-content {
    width: 100%;
    text-align: left;
    padding-top: 3rem; /* Отступ равный высоте плашки */
}
.promo-card-large .banner-character, .promo-card-small .banner-character { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; pointer-events: none; z-index: 1; }
.promo-grid-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.promo-card-slider { position: relative; border-radius: 10px; overflow: hidden; height: 180px; }
.slider-wrapper { display: flex; height: 100%; user-select: none; }
.slider-wrapper.grabbing { cursor: grabbing; }
.slide { flex: 1 0 100%; position: relative; display: flex; align-items: center; padding: 1.5rem 2rem; background-size: cover; background-position: center; }
.slide-1 { background-image: url('img/weekly_bonuses_header_BG.webp'); }
.slide-2 { background-image: url('img/shop_header_BG.webp'); }
.slide .banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 2rem; /* Отступ равный высоте плашки */
}
.banner-main-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; margin-bottom: 0.25rem; font-style: italic; }
.banner-subtitle { font-size: 1.1rem; color: var(--text-gray); font-style: italic; }
.promo-description { color: var(--text-gray); font-size: 0.9rem; font-style: italic;}
.promo-description.large-text { font-size: 1.5rem; font-weight: bold; color: white; margin-top: 0.5rem;}
.promo-card-slider .banner-character { position: absolute; right: 10px; bottom: 0; height: 90%; z-index: 1; pointer-events: none; }
.slider-nav-container { position: absolute; bottom: 15px; right: 15px; z-index: 3; display: flex; gap: 5px; }
.slider-dots { display: none; }

.carousel-arrow, .btn-skew {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 0; 
    cursor: pointer;
    transform: skewX(-15deg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow { opacity: 0.6; }
.carousel-arrow:hover, .btn-skew:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    opacity: 1;
}

.carousel-arrow i, .btn-skew i { transform: skewX(15deg); }

/* --- БЛОК КАТЕГОРИЙ --- */
.categories-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.category-list { display: flex; gap: 5px; overflow-x: auto;padding-left: 5px; -ms-overflow-style: none; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-item { display: flex; align-items: center; gap: 0.5rem; background: var(--card-bg); padding: 0.6rem 1rem; border-radius: 2px; text-decoration: none; color: var(--text-light); transition: background .3s; white-space: nowrap; transform: skewX(-15deg); }
.category-item:hover, .category-item.active { background: var(--primary-pink); }
.category-item > * { transform: skewX(15deg); }
.category-item span { font-weight: 600; font-size: 0.9rem; font-style: italic; }
.category-tools { display: flex; gap: 0.5rem; }


/* --- HERO SECTION --- */
.hero { text-align: center; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; color: var(--text-light); font-style: italic;}
.hero p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .auth-buttons { justify-content: center; margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- СТИЛИ ДЛЯ GAMES SECTION --- */
.games-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.section-header-left { display: flex; align-items: center; gap: 1rem; }
.section-header-left i { font-size: 1.5rem; color: var(--text-light); }
.section-header-left h3 { font-size: 1.8rem; font-weight: 700; font-style: italic; text-transform: uppercase; }
.section-header-right { display: flex; align-items: center; gap: 1rem; }
.view-all-link { color: var(--primary-pink); text-decoration: none; font-weight: 600; font-style: italic; }
.section-nav-arrows { display: flex; gap: 0.5rem; }

.games-carousel, .providers-carousel { 
    display: flex; 
    gap: 1.5rem; 
    overflow-x: auto; 
    padding-bottom: 1rem; 
    scroll-behavior: smooth; 
}
.games-carousel::-webkit-scrollbar, .providers-carousel::-webkit-scrollbar { 
    display: none; 
}
.games-carousel, .providers-carousel { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.game-card { background: transparent; border-radius: 15px; overflow: hidden; flex: 0 0 200px; }
.game-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}
.game-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; }
.game-card:hover .game-image img { transform: scale(1.1); }
.game-info { padding: 1rem 0; text-align: left; }
.game-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic;}

.game-card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.75rem; opacity: 0; transition: opacity 0.3s ease; }
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-overlay .btn { padding: 0.6rem 1.8rem; font-size: 0.8rem; min-width: 120px; text-align: center; }

/* --- JACKPOT SECTION --- */
.jackpot-section {
    background: rgba(245, 0, 87, 0.05);
    margin: 4rem 0;
}
.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.jackpot-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    animation: pulse-border 3s infinite;
    border: 2px solid rgba(245, 0, 87, 0.2);
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.jackpot-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}
.jackpot-card:hover .jackpot-card-bg {
    transform: scale(1.1);
}
.jackpot-card-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5));
    z-index: 2;
}
.jackpot-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    padding-top: 4rem; /* Добавляем отступ сверху для плашки */
}
.jackpot-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}
.jackpot-card:hover .jackpot-card-hover-overlay {
    opacity: 1;
}
.jackpot-card-hover-overlay .btn {
    padding: 0.8rem 2.5rem;
}
@keyframes pulse-border {
    0%, 100% { border-color: rgba(245, 0, 87, 0.2); }
    50% { border-color: rgba(245, 0, 87, 0.6); }
}
.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #000, 0 0 25px var(--primary-pink), 0 0 35px var(--primary-pink);
}
.jackpot-name {
    font-size: 1.2rem;
    font-weight: 600;
}
.jackpot-provider {
    color: var(--text-gray);
}


/* --- INFO & FAQ & FOOTER --- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.info-card { background: var(--card-bg); border: 1px solid rgba(245, 0, 87, 0.1); border-radius: 15px; padding: 2.5rem; text-align: center; }
.info-icon { font-size: 3rem; color: var(--primary-pink); margin-bottom: 1.5rem; }
.info-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.info-description { color: var(--text-gray); line-height: 1.6; }

/* --- PROVIDERS SECTION --- */
.providers-section {
    background-color: transparent;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.provider-item {
    flex: 0 0 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 70px;
}
.provider-item img {
    max-width: 100%;
    height: 35px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease-in-out;
}
.provider-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}


.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid rgba(245, 0, 87, 0.1); border-radius: 10px; margin-bottom: 1rem; overflow: hidden; }
.faq-question { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-gray); line-height: 1.6; display: none; }
.faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- INFO TEXT SECTION --- */
.info-text-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid rgba(245, 0, 87, 0.2);
}
.info-text-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.info-text-section p, .info-text-section li {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.info-text-section h3 {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.info-text-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}
.info-text-section .info-text-separator {
    height: 1px;
    background: rgba(245, 0, 87, 0.2);
    margin: 2rem auto;
    width: 50%;
}
.info-text-section .info-note {
    background: rgba(245, 0, 87, 0.05);
    border-left: 4px solid var(--primary-pink);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}
.info-text-section .info-note p {
    margin-bottom: 0;
}
.info-text-section .kbd {
    background: var(--darker-bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    color: var(--text-light);
    font-size: 0.9rem;
}
.info-text-section .info-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
    grid-template-columns: repeat(3, 1fr);
}
.info-text-section .info-grid.half {
    grid-template-columns: repeat(2, 1fr);
}
.info-text-section .info-card {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}
.info-text-section .info-card.full-width {
    grid-column: 1 / -1;
}
.info-text-section .info-card h4 {
    margin-top: 0;
}
.info-text-section ul, .info-text-section ol {
    padding-left: 25px;
}
.info-text-section ul li::marker {
    color: var(--primary-pink);
    font-size: 1.2em;
}
.info-text-section .seo-tags-block {
    margin-top: 2rem;
    text-align: center;
}
.info-text-section .seo-tag {
    display: inline-block;
    background: var(--card-bg);
    color: var(--text-gray);
    padding: 0.4rem 1rem;
    margin: 0.3rem;
    border-radius: 5px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.info-text-section .seo-tag:hover {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
}


footer { background: var(--darker-bg); padding: 3rem 0 1rem; border-top: 1px solid rgba(245, 0, 87, 0.2); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--primary-pink); font-size: 1.2rem; margin-bottom: 1rem; }
.footer-logo img { height: 30px; margin-bottom: 1rem; }
.footer-section a, .footer-section p { color: var(--text-gray); text-decoration: none; display: block; margin-bottom: 0.5rem; line-height: 1.6;}
.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-link { font-size: 1.5rem; color: var(--text-gray); transition: color 0.3s ease; }
.social-link:hover { color: var(--primary-pink); }
.footer-legal-text { margin: 2rem 0; padding-top: 2rem; border-top: 1px solid rgba(245, 0, 87, 0.2); }
.footer-legal-text p { font-size: 0.75rem; color: #6c757d; line-height: 1.6; }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid rgba(245, 0, 87, 0.2); }
.scroll-top { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: var(--primary-pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; opacity: 0; visibility: hidden; z-index: 1000; transition: opacity 0.3s, visibility 0.3s; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* --- СТИЛИ ДЛЯ СТАРОГО БАННЕРА ТУРНИРА --- */
.tournament-banner-section {
    padding-top: 0;
}
.tournament-banner {
    display: flex;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}
.tournament-banner-image { flex: 0 0 55%; }
.tournament-banner-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tournament-banner-content { flex: 1; padding: 2rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.tournament-title { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; font-style: italic; margin-bottom: 1.5rem; }
.countdown-timer { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.time-block { background: var(--primary-pink); padding: 0.5rem; text-align: center; min-width: 60px; transform: skewX(-10deg); }
.time-value { display: block; font-size: 2rem; font-weight: 700; line-height: 1; transform: skewX(10deg); }
.time-label { display: block; font-size: 0.7rem; text-transform: uppercase; font-weight: 600; transform: skewX(10deg); }
.tournament-subtitle { font-size: 1rem; color: var(--text-gray); margin-bottom: 2rem; }
.btn-outline-skewed { display: inline-block; padding: 0.7rem 2rem; border: 2px solid white; text-decoration: none; color: white; font-weight: 700; transform: skewX(-15deg); align-self: flex-start; transition: all 0.3s ease; }
.btn-outline-skewed:hover { background: white; color: var(--dark-bg); }
.btn-outline-skewed span { display: inline-block; transform: skewX(15deg); font-style: italic; text-transform: uppercase; }

/* --- СТИЛИ ДЛЯ НОВОГО КОМБИНИРОВАННОГО БЛОКА --- */
.wins-tournament-section {
    padding-top: 0;
}
.wins-tournament-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: stretch;
}
/* Левая колонка - выигрыши */
.latest-wins-block {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
    padding-top: 60px;
}
.wins-header {
    background: var(--primary-pink);
    color: white;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    font-style: italic;
    position: absolute;
    top: 0;
    left: 0;
    transform: skewX(-15deg);
    transform-origin: top left;
}
.wins-header span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transform: skewX(15deg);
}
.wins-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    overflow: hidden; 
    position: relative;
    height: 330px; 
}
.win-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    width: 100%;
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.win-item.entering { opacity: 0; }
.win-item.exiting { opacity: 0; }
.win-item-game-img { width: 40px; height: 40px; border-radius: 5px; flex-shrink: 0; }
.win-item-info { flex-grow: 1; overflow: hidden; }
.win-item-title { font-size: 0.9rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.win-item-user { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-gray); }
.win-item-user img { width: 16px; height: auto; }
.win-item-amount { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.win-item-arrow { width: 25px; height: 25px; border: 1px solid var(--primary-pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-pink); flex-shrink: 0; }

/* Правая колонка - турнир v2 */
.tournament-block-v2 {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(90deg, rgba(25, 4, 14, 0.95) 30%, rgba(25, 4, 14, 0.7) 55%, rgba(25, 4, 14, 0.2) 100%), url('img/small-tourn_desc-9.jpg');
    background-size: cover;
    background-position: center;
}
.tournament-header-tabs {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
.tournament-header-tabs .tab {
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    transform: skewX(-15deg);
    transition: background-color 0.3s ease;
}
.tournament-header-tabs .tab:first-child {
    transform-origin: top left;
}
.tournament-header-tabs .tab:not(:first-child) {
    margin-left: -10px;
}
.tournament-header-tabs .tab.active {
    background: var(--primary-pink);
    color: white;
    z-index: 2;
}
.tournament-header-tabs .tab:not(.active) {
    background: #fff;
    color: var(--dark-bg);
    z-index: 1;
}
.tournament-header-tabs .tab span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: skewX(15deg);
}
.tournament-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    padding-top: 80px;
}
.tournament-main-info {
    flex-basis: 60%;
    z-index: 2;
}
.prize-pool {
    background: var(--gradient-register);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
}
.prize-pool-title {
    font-size: 1rem;
    font-style: italic;
}
.prize-pool-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}
.simple-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 2rem;
}
.simple-countdown i {
    color: var(--primary-pink);
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 1200px) {
    .wins-tournament-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {
    .header-left .search-form { display: none; }
    .mobile-menu-toggle { display: none; }
    
    .tournament-banner {
        flex-direction: column;
    }
    .tournament-banner-content {
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }
    .btn-outline-skewed {
        align-self: center;
    }
}

@media (max-width: 768px) {
    #desktop-sliders-container { display: none; }
    #mobile-slider-container { display: block; margin-bottom: 2rem; }
    .promo-grid-top { grid-template-columns: 1fr; }
    .promo-card-large { display: none; }
    .promo-card-small { height: 200px; }
    .container, .header-container { padding: 0 1rem; }
    .promo-section, .tournament-banner-section, .wins-tournament-section, .games-section, .info-section, .faq-section, .jackpot-section, .hero, .categories-bar, .providers-section, .info-text-section { padding: 1.5rem 0; }
    .section-title { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }
    .promo-card-slider { height: 180px; }
    .slide { padding: 1rem 1.5rem; text-align: left; }
    .slide .banner-content { width: 100%; padding-top: 2rem; text-align: left;}
    .promo-card-slider .banner-character { height: 140px; right: 10px; }
    .banner-main-title { font-size: 1.3rem; }
    .banner-subtitle { font-size: 1rem; }
    .slider-dots { display: flex; justify-content: center; gap: 8px; position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 3; }
    .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: background 0.3s ease; cursor: pointer; }
    .dot.active { background: white; }
    .section-header-right .view-all-link { display: none; } 
    .section-header-left h3 { font-size: 1.4rem; }
    .section-header-left i { font-size: 1.2rem; }
    
    .games-carousel { 
      scroll-snap-type: x mandatory; 
      padding-left: 1rem;
      padding-right: 1rem;
      margin: 0 -1rem; /* Компенсация padding у container */
    }
    .game-card { 
      flex: 0 0 90%; 
      scroll-snap-align: center; 
    }
    .game-card:first-child {
      scroll-snap-margin-left: 1rem;
    }
    .game-card:last-child {
      scroll-snap-margin-right: 1rem;
    }


    .tournament-block-v2 {
        background-image: linear-gradient(0deg, rgba(25, 4, 14, 0.95) 20%, rgba(25, 4, 14, 0.7) 50%, rgba(25, 4, 14, 0.2) 100%), url('img/small-tourn_desc-9.jpg');
        background-position: top center;
    }
    .tournament-header-tabs {
        position: relative;
        padding: 0 1.5rem 1.5rem 1.5rem;
        justify-content: center;
        left: auto;
        top: auto;
    }
    .tournament-content {
        justify-content: center;
        text-align: center;
        padding: 0 1.5rem 1.5rem 1.5rem;
        padding-top: 0;
    }
    .tournament-main-info {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-text-section .info-grid, .info-text-section .info-grid.half {
        grid-template-columns: 1fr;
    }
    .info-text-section .section-title {
        font-size: 1.8rem;
    }
    .info-text-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-left .logo { font-size: 2rem; }
    .header-left { flex-grow: 0; }
    .header-container { gap: 1rem; }
    .header-right { gap: 0.5rem; }
    .header-right .btn { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
    .header-right .bonus-badge { display: block; }
    .section-nav-arrows { display: none; } 
    .game-card { flex: 0 0 85%; }
    .time-block { min-width: 50px; }
    .time-value { font-size: 1.5rem; }

    .provider-item {
      flex-basis: 120px;
    }
    .provider-item img {
        height: 30px;
    }
}