/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    margin: 40px 0 20px;
    color: #222;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.logo span {
    color: #333;
}

/* Кнопки */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: #28a745; color: #fff; }
.btn-outline { border: 2px solid #28a745; color: #28a745; margin-right: 10px; }
.btn-demo { background: #007bff; color: #fff; margin-bottom: 10px; }
.btn-money { background: #dc3545; color: #fff; }

/* Hero Image */
.hero-image-container {
    width: 100%;
    background: #e9ecef;
    margin-bottom: 30px;
}

.hero-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
}

/* Game Section */
.game-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.demo-block {
    flex: 2;
    min-width: 300px;
}

.demo-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.demo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
}

.info-table-block {
    flex: 1;
    min-width: 250px;
}

/* Таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #dee2e6;
    padding: 15px;
    text-align: left;
}

table thead {
    background: #f1f3f5;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Content Area */
.content-area p {
    margin-bottom: 20px;
}

/* FAQ */
.faq-container {
    margin-bottom: 50px;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 15px;
}

/* Author */
.author-block {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.author-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.contacts {
    font-size: 0.85rem;
    color: #222;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 15px; }
    .game-flex { flex-direction: column; }
    .author-flex { flex-direction: column; text-align: center; }
}