/* CYBER-NOIR LUXURY DESIGN 2026 
   Custom Styles for Casino Review Platform
*/

:root {
    --bg-main: #0a0b10;
    --bg-secondary: #12141c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-gold: #ffcc00;
    --accent-gold-hover: #ffdb4d;
    --accent-green: #00ff88;
    --text-white: #ffffff;
    --text-gray: #a0a0a5;
    --text-dim: #6b6b72;
    --border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 20px rgba(255, 204, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Глобальные сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* 2. Шапка (Header) */
.main-header {
    background: rgba(10, 11, 16, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-white);
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--accent-gold);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.btn-calc {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-calc:hover {
    background: var(--accent-gold);
    color: #000;
}

/* 3. Hero Section */
/* Обновленный блок для фона */
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    /* Основной фон - картинка из папки images */
    background-image: url('images/hero-bg.jpg');
    /* Настройки для правильного отображения */
    background-size: cover;          /* Картинка растягивается на весь блок */
    background-position: center;     /* Центрируется */
    background-repeat: no-repeat;    /* Не повторяется */
    background-attachment: fixed;    /* Красивый эффект параллакса при скролле */
    
    /* Затемнение поверх картинки, чтобы текст читался (очень важно) */
    position: relative;
}

/* Добавляем затемняющий слой перед текстом */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Черный цвет с прозрачностью 70% */
    z-index: 1;
}

/* Поднимаем текст над затемняющим слоем */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.text-gold {
    color: var(--accent-gold);
    text-shadow: var(--neon-glow);
}

.hero-desc {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 19px;
}

/* 4. Карточки Казино (Рейтинг) */
.rating-section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    border-left: 5px solid var(--accent-gold);
    padding-left: 20px;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.glass-morphism {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    display: grid;
    grid-template-columns: 140px 1fr 220px;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-morphism:hover {
    transform: scale(1.01) translateX(10px);
    border-color: rgba(255, 204, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.casino-logo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    background: #000;
    padding: 5px;
}

.casino-details h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.stars {
    color: var(--accent-gold);
    font-size: 18px;
    letter-spacing: 2px;
}

.promo-info {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
}

.casino-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-play {
    background: var(--accent-gold);
    color: #000;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
}

.btn-play:hover {
    background: var(--accent-gold-hover);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.4);
}

.btn-review {
    color: var(--text-white);
    text-align: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.btn-review:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 5. SEO Контент (Объемные блоки) */
.seo-article {
    padding: 100px 0;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.content-block h3 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.content-block p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.content-block ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-block li {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.individual-review {
    background: #12141c;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 30px;
    margin: 50px 0;
}

/* 6. Калькулятор */
.calculator-section {
    padding-bottom: 100px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--accent-gold);
}

.result-box {
    margin-top: 30px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px dashed var(--accent-green);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

/* 7. FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    color: var(--accent-gold);
    font-size: 20px;
    margin-bottom: 10px;
}

/* 8. Подвал (Footer) */
.main-footer {
    background: #050508;
    padding: 80px 0 40px;
}

/* 9. Адаптивность */
@media (max-width: 992px) {
    .glass-morphism {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .casino-logo-wrap {
        width: 120px;
        margin: 0 auto;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
}