:root {
    --primary-red: #e63946;    /* Яркий красный для CTA */
    --dark-red: #c12a36;
    --dark-blue: #1d3557;   /* Глубокий синий для элементов */
    --bg-dark: #0b132b;     /* Основной фон (почти черный) */
    --bg-card: #16223a;     /* Фон для блоков/карточек */
    --text-white: #f1faee;
    --text-gray: #a8dadc;
    --accent-blue: #457b9d;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Общие стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden; /* Важно для мобильных */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Красивые дефолтные стили для списков (ul) во всем контенте */
main ul {
    list-style: none;
    margin: 20px 0;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-blue);
}

main ul li {
    position: relative;
    padding: 10px 10px 10px 15px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

main ul li:last-child {
    border-bottom: none;
}

/* Если в списке используются иконки FontAwesome (как в html примере) */
main ul li i {
    color: var(--primary-red);
    margin-right: 10px;
}

/* Красивые дефолтные стили для ТАБЛИЦ (table) */
main table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden; /* Чтобы скруглить углы */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

main table thead {
    background-color: var(--dark-blue);
}

main table th {
    color: var(--primary-red);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 18px 15px;
    text-align: left;
    border-bottom: 2px solid var(--primary-red);
}

main table td {
    padding: 15px;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

main table tbody tr:last-child td {
    border-bottom: none;
}

main table tbody tr:hover td {
    background-color: rgba(69, 123, 157, 0.1);
}

/* Иконки в таблицах */
main table td i {
    margin-right: 8px;
    color: var(--accent-blue);
}


/* Хедер */
.main-header {
    background: rgba(11, 19, 43, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.3);
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--text-white);
}

.logo span {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--primary-red);
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Кнопки */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--accent-blue);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Уникальный красивый Баннер (Hero) */
.hero {
    position: relative;
    padding: 180px 0 100px 0; /* Отступ сверху из-за фикс. хедера */
    background: var(--bg-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Фоновый градиент */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(29, 53, 87, 0.6) 0%, rgba(11, 19, 43, 1) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.badget {
    display: inline-block;
    background: rgba(69, 123, 157, 0.2);
    color: var(--text-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid var(--accent-blue);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-white);
}

.hero h1 span {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.bonus-text {
    color: #ffd700; /* Золотой для бонуса */
    font-size: 1rem;
    font-weight: 600;
}

.hero-image-slots {
    justify-self: center;
    position: relative;
}

.hero-image-slots img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.3));
    /* В реальном проекте здесь будет прозрачный PNG персонажа или автомата */
}

/* Декоративные плавающие элементы */
.hero-visual-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

.floating-chip {
    position: absolute;
    width: 40px; height: 40px;
    background: url('https://via.placeholder.com/40/e63946/fff?text=C') no-repeat center/cover;
    border-radius: 50%;
    opacity: 0.5;
}

.chip-1 { top: 20%; left: 10%; animation: float 6s infinite ease-in-out; }
.chip-2 { bottom: 30%; left: 45%; animation: float 8s infinite ease-in-out 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Секция контента */
.content-section {
    padding: 60px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-white);
}

.view-all {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.info-block {
    margin-bottom: 50px;
}

.info-block h2 {
    margin-bottom: 15px;
    color: var(--accent-blue);
}

/* Сетка слотов */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.slot-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.slot-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.slot-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.slot-info {
    padding: 15px;
    text-align: center;
}

.slot-info h3 {
    font-size: 1rem;
    color: var(--text-white);
}

/* Секция отзывов */
.testimonials {
    background-color: var(--bg-card);
    padding: 80px 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top:0; left:0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.section-center-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(69, 123, 157, 0.1);
    transition: var(--transition);
}

.testimonial-item:hover {
    border-color: var(--accent-blue);
}

.rating {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.feedback {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1rem;
    min-height: 70px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
}

.user-info span {
    font-weight: 600;
    color: var(--text-white);
}

/* Футер */
.main-footer {
    background: #050a18;
    padding: 60px 0 30px 0;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.partner-logos {
    display: flex;
    gap: 20px;
    font-weight: bold;
}

.footer-legal {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.license, .disclaimer {
    margin-bottom: 15px;
    line-height: 1.6;
}

.responsible-gambling {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.responsible-gambling a {
    color: var(--primary-red);
    text-decoration: none;
}

/* АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 50px;}
    .hero-text { order: 2; display: flex; flex-direction: column; align-items: center; }
    .hero-image-slots { order: 1; max-width: 300px; }
    .hero p { margin-bottom: 25px; }
    .cta-group { align-items: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Просто скрываем меню на мобильных для простоты лэндинга */
    
    .hero { padding: 140px 0 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    
    .section-title h2 { font-size: 1.6rem; }
    
    main table {
        font-size: 0.8rem;
    }
    main table th, main table td {
        padding: 10px 8px;
    }

    .footer-logos { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
    .header-btns .btn { padding: 8px 15px; font-size: 0.8rem; }
    .logo { font-size: 1.4rem; }
    .hero h1 { font-size: 1.8rem; }
    .btn-large { width: 100%; padding: 15px; }
    
    /* Таблица на очень маленьких экранах может скроллиться */
    .info-block { overflow-x: auto; }
}