/* ===== Глобальні стилі ===== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffc107;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-color: #dee2e6;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Шапка сайту ===== */
.header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Героїчна секція ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    color: var(--text-light);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.feature-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

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

/* ===== Секція введення ===== */
.intro-section {
    padding: 5rem 0;
    background: white;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Секція бонусів ===== */
.bonuses-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.bonus-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.bonus-card.featured {
    border: 3px solid var(--primary-color);
}

.bonus-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.casino-logo {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.casino-name {
    text-align: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.bonus-amount {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bonus-description {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.bonus-features {
    list-style: none;
    margin-bottom: 2rem;
}

.bonus-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.bonus-features i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.bonus-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* ===== Секція типів бонусів ===== */
.types-section {
    padding: 5rem 0;
    background: white;
}

.types-content {
    display: grid;
    gap: 3rem;
}

.type-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.type-icon i {
    font-size: 2rem;
    color: white;
}

.type-card h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.type-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

.type-card p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.type-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Секція фріспінів ===== */
.freespins-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
}

.freespins-section .section-header h2,
.freespins-section .section-header p {
    color: var(--text-light);
}

.freespins-content {
    display: grid;
    gap: 3rem;
}

.content-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content-block h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-block strong {
    color: var(--accent-color);
    font-weight: 600;
}

.freespins-types {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.fs-type {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--accent-color);
}

.fs-type h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-type i {
    color: var(--accent-color);
}

.games-list, .conditions-list {
    list-style: none;
    margin-top: 1.5rem;
}

.games-list li, .conditions-list li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.games-list li::before, .conditions-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.games-list li strong {
    color: var(--accent-color);
}

/* ===== Секція кешбеку ===== */
.cashback-section {
    padding: 5rem 0;
    background: white;
}

.cashback-content {
    display: grid;
    gap: 3rem;
}

.cashback-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cb-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cb-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cb-type h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-type i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tips-list {
    list-style: none;
    margin-top: 1.5rem;
}

.tips-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.tips-list strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cashback-comparison {
    margin-top: 3rem;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row.header {
    background: var(--dark-bg);
    color: var(--text-light);
    font-weight: 700;
}

.comparison-row:not(.header):hover {
    background: #f8f9fa;
}

/* ===== Секція гіду ===== */
.guide-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.guide-content {
    display: grid;
    gap: 3rem;
}

.guide-block {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.guide-block h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.guide-block h3 i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.step-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.step-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.wager-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wager-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    border-top: 4px solid var(--primary-color);
}

.wager-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tip-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.mistakes-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.mistake-item {
    background: #fff3cd;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--danger-color);
}

.mistake-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--danger-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mistake-item i {
    font-size: 1.5rem;
}

.safety-list {
    list-style: none;
    margin-top: 1.5rem;
}

.safety-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #d4edda;
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.safety-list strong {
    color: var(--success-color);
    font-weight: 700;
}

/* ===== Секція FAQ ===== */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-content {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Секція висновку ===== */
.conclusion-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-light);
}

.conclusion-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.conclusion-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.conclusion-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== Футер ===== */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.keywords {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===== Адаптивність ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

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

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .step {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .type-card {
        padding: 1.5rem;
    }

    .content-block {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .bonus-amount {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .guide-block h3 {
        font-size: 1.5rem;
        flex-direction: column;
    }
}

/* ===== Анімації ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Smooth scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Кастомна прокрутка ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}