/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.main-header {
    background-color: rgba(12, 36, 97, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(90deg, #4a90e2, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.main-nav .nav-list a:hover {
    color: #4a90e2;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-play-real {
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: white;
}

.btn-play-real:hover {
    background: linear-gradient(90deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
}

.btn-play-demo {
    background: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn-play-demo:hover {
    background-color: rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Герой секция */
.hero-section {
    padding: 80px 0 60px;
    background: url('../assets/images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 36, 97, 0.9) 0%, rgba(30, 55, 153, 0.8) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #4a90e2, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #ddd;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-real {
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: white;
    padding: 16px 32px;
    font-size: 18px;
}

.btn-hero-real:hover {
    background: linear-gradient(90deg, #e67e22, #d35400);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(230, 126, 34, 0.4);
}

.btn-hero-demo {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 32px;
    font-size: 18px;
}

.btn-hero-demo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
}

.feature i {
    color: #4a90e2;
    font-size: 20px;
}

.hero-image {
    flex: 1;
}

.game-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.preview-frame {
    width: 100%;
    height: 400px;
    background-color: #000;
}

.demo-iframe {
    width: 100%;
    height: 100%;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
}

.demo-hint {
    font-size: 16px;
    margin: 0;
}

/* Основной контент */
.main-content {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.content-section {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #0c2461;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4a90e2;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
}

/* Обзор игры */
.overview-text {
    margin-bottom: 30px;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table tr {
    border-bottom: 1px solid #eee;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 15px 10px;
    font-size: 16px;
}

.info-table td:first-child {
    font-weight: 600;
    color: #0c2461;
    width: 40%;
}

/* Особенности игры */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    color: #0c2461;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Стратегия игры */
.tip-card {
    background-color: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.tip-card h4 {
    color: #0c2461;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-card h4 i {
    color: #f39c12;
}

.strategy-table-content {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.strategy-table-content thead {
    background-color: #0c2461;
    color: white;
}

.strategy-table-content th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.strategy-table-content tbody tr {
    border-bottom: 1px solid #eee;
}

.strategy-table-content tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.strategy-table-content td {
    padding: 15px;
    font-size: 16px;
}

.table-note {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Игры Pragmatic Play */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.game-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.game-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 0 20px;
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    font-size: 22px;
    color: #0c2461;
    margin-bottom: 12px;
}

.game-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-features {
    display: flex;
    justify-content: space-between;
    color: #4a90e2;
    font-weight: 500;
    font-size: 15px;
}

/* Новости */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #4a90e2;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

.news-card h3 {
    font-size: 20px;
    color: #0c2461;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
}

/* Отзывы */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.reviewer-info h4 {
    font-size: 18px;
    color: #0c2461;
    margin-bottom: 5px;
}

.review-rating {
    color: #f39c12;
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.review-date {
    color: #888;
    font-size: 14px;
}

/* FAQ */
.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #0c2461;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #eef5ff;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

/* Футер */
.main-footer {
    background-color: #0c2461;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    background: linear-gradient(90deg, #4a90e2, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ddd;
    font-size: 16px;
    max-width: 500px;
}

.footer-games h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
}

.footer-game-tiles {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-game-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
}

.tile-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.footer-game-tile span {
    font-size: 14px;
    text-align: center;
    color: #ddd;
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.footer-disclaimer p {
    color: #ddd;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.copyright {
    color: #aaa;
    font-size: 14px;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    color: #0c2461;
    margin-bottom: 20px;
    font-size: 28px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 17px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-modal-close {
    background-color: #4a90e2;
    color: white;
    padding: 12px 24px;
}

.btn-modal-close:hover {
    background-color: #3a80d2;
}