:root {
    --primary-green: #00ff87;
    --dark-green: #0a2e1f;
    --deep-bg: #051610;
    --text-light: #e0f2f1;
    --accent-gold: #ffcc00;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

body { background-color: var(--deep-bg); color: var(--text-light); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: rgba(10, 46, 31, 0.95); padding: 15px 0; border-bottom: 2px solid var(--primary-green); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: 2px; color: #fff; }
.logo span { color: var(--primary-green); }

/* Buttons */
.btn { padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; font-weight: bold; transition: 0.3s; display: inline-block; text-align: center; }
.btn-primary { background: var(--primary-green); color: var(--dark-green); }
.btn-primary:hover { filter: brightness(1.2); transform: translateY(-2px); }
.btn-secondary { color: var(--primary-green); border: 1px solid var(--primary-green); margin-right: 10px; }
.full-width { width: 100%; margin-top: 20px; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(0, 255, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); } }
.pulse { animation: pulse 2s infinite; }

/* Hero / Demo Section */
.hero-section { padding: 40px 0; background: radial-gradient(circle at top, #0f4d36 0%, var(--deep-bg) 70%); }
.grid-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }

.demo-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border: 3px solid var(--primary-green); box-shadow: 0 0 20px rgba(0,255,135,0.3); }
.demo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('img/image3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.demo-overlay { display: flex; flex-direction: column; gap: 15px; }
.btn-demo { background: var(--primary-green); color: #000; padding: 15px 30px; font-size: 1.1rem; }
.btn-real {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

#iframe-target { width: 100%; height: 100%; display: none; }
#iframe-target iframe { width: 100%; height: 100%; border: none; }

/* Table */
.game-info { background: rgba(255,255,255,0.05); padding: 25px; border-radius: 10px; border-left: 4px solid var(--primary-green); }
.info-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.info-table td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-table td:last-child { text-align: right; font-weight: bold; color: var(--primary-green); }

/* Badges */
.badges { background: var(--dark-green); padding: 30px 0; margin: 20px 0; }
.badge-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.badge-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge-item i { font-size: 2rem; color: var(--primary-green); margin-bottom: 10px; }

/* Content Section */
/* Основной контейнер */
.content-sector { 
    padding: 60px 0; 
    line-height: 1.7; /* Чуть увеличил межстрочный интервал для легкости */
    color: #ffffff; 
}

.placeholder-text { 
    background: rgba(255,255,255,0.02); 
    padding: 40px; 
    border-radius: 15px; 
}

/* Заголовки */
.content-sector h2, 
.content-sector h3 {
    color: #ffffff;
    text-align: center;
    margin-top: 2.5rem;   /* Больше отступа сверху до заголовка */
    margin-bottom: 1.5rem; /* Отступ под заголовком */
    font-weight: 700;
}

/* Абзацы — теперь с заметными отступами */
.content-sector p {
    margin-bottom: 2rem; /* Увеличенный отступ между абзацами */
    text-align: left;
}

/* Списки */
.content-sector ul, 
.content-sector ol {
    margin-bottom: 2rem;
    padding-left: 25px;
}

.content-sector li {
    margin-bottom: 1rem; /* Отступы между пунктами списка */
}

/* Адаптивная таблица */
.content-sector table {
    display: block;
    width: 100%;
    max-width: fit-content;
    margin: 3rem auto;    /* Увеличил отступы вокруг таблицы */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    border: 1px solid rgba(255,255,255,0.1);
}

.content-sector th, 
.content-sector td {
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

.content-sector th {
    background: rgba(255,255,255,0.07);
}

/* Убираем лишний отступ у самого последнего элемента в блоке */
.content-sector *:last-child {
    margin-bottom: 0;
}

/* FAQ */
.faq-section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 30px; color: var(--primary-green); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 10px; border: 1px solid rgba(0,255,135,0.2); border-radius: 5px; }
.faq-question { width: 100%; padding: 15px; background: none; border: none; color: #fff; text-align: left; cursor: pointer; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease; background: rgba(255,255,255,0.03); }
.faq-answer p { padding: 15px; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active i { transform: rotate(45deg); color: var(--primary-green); }

/* Author */
.author-box { display: flex; align-items: center; gap: 25px; background: linear-gradient(90deg, #0a2e1f, transparent); padding: 30px; border-radius: 20px; margin: 50px auto; }
.author-avatar { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--primary-green); object-fit: cover; }

/* Footer */
.footer { background: #000; padding: 40px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--dark-green); }
.disclaimer { opacity: 0.7; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.contacts { color: var(--primary-green); display: flex; justify-content: center; gap: 20px; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .grid-hero { grid-template-columns: 1fr; }
    .nav-menu { display: flex; gap: 5px; }
    .btn { padding: 10px 15px; font-size: 0.8rem; }
    .logo { font-size: 18px; }
    .author-box { flex-direction: column; text-align: center; }
    .contacts { flex-direction: column; gap: 10px; }
}
