/* POKEROK.GG-GET.RU MAIN STYLES */

:root {
    --bg-color: #0D1B2A; /* Глубокий темно-синий */
    --text-color: #FFFFFF;
    --accent-color: #00BFFF; /* Яркий голубой (Deep Sky Blue) */
    --card-bg-color: #1B263B; /* Чуть светлее фона */
    --header-bg-color: rgba(13, 27, 42, 0.9); /* Полупрозрачный фон для хедера */
    --border-color: #415A77;
}

/* --- ИЗМЕНЕНИЕ: Глобальный фикс для горизонтального скролла --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Общие стили */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* --- ДОБАВЛЕНО: Принудительно убираем горизонтальный скролл на всем HTML --- */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    filter: brightness(1.2);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-color);
    letter-spacing: 1px;
    margin-top: 0;
    word-break: break-word; /* Добавляем перенос длинных слов */
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: var(--bg-color);
}

.btn-primary {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.7);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.5rem;
}

/* ===================================================
   HEADER
   =================================================== */
.header {
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--header-bg-color);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    flex-shrink: 0;
}

.header .logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    margin: 30px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.btn-header-reg {
    padding: 8px 20px;
    font-size: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-header-reg:hover {
    transform: none;
    filter: brightness(1.1);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.btn-mobile-reg {
    display: none;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
    position: relative;
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/gg-get@main/one-page.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #888;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.footer h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.footer p {
    margin: 0 0 10px 0;
    line-height: 1.7;
    font-size: 0.9rem;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.2s ease; font-size: 1rem; }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ===================================================
   ADAPTIVE / RESPONSIVE (Медиазапросы)
   =================================================== */

.burger-menu {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 11px; }
.burger-menu span:nth-child(3) { top: 22px; }

.burger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 900px) {
    .main-nav {
        display: none;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        z-index: 900;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .main-nav.active { 
        display: flex;
        transform: translateX(0);
    }
    .main-nav ul { flex-direction: column; gap: 25px; }
    .main-nav a { font-size: 1.5rem; }
    
    .btn-header-reg { display: none; }
    .btn-mobile-reg { 
        display: block; 
        margin-top: 30px;
        padding: 15px 30px;
        background-color: var(--accent-color);
        color: var(--bg-color);
    }

    .burger-menu { display: block; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1rem; }
    .btn { padding: 12px 25px; font-size: 1rem; }
}

/* Стили для новых блоков, которые были добавлены ранее */
.section {
    padding: 80px 0;
}

.section.bg-dark {
    background-color: var(--card-bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 3rem;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 2px;
}
.section-title-alt {
    text-align: center;
    margin-bottom: 30px;
    font-size: 3rem;
    color: var(--text-color);
}
.lead-text {
    text-align: center;
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.text-center {
    text-align: center;
}
.mt-40 {
    margin-top: 40px;
}
.advantages-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.advantage-item, .step-item {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}
.advantage-item img, .step-item img {
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}
.advantage-item h3, .step-item h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    word-break: break-word;
}
.advantage-item p, .step-item p {
    font-size: 1rem;
    color: #ccc;
}

/* ===================================================
   BONUS CODE STYLES
   =================================================== */

.bonus-code {
    display: inline-block;
    background-color: var(--card-bg-color);
    border: 1px dashed var(--accent-color);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    color: var(--accent-color);
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.bonus-code:hover {
    background-color: #2a3b58;
}

.copy-icon {
    margin-left: 8px;
    font-size: 1.1em;
    vertical-align: middle;
}

.bonus-code-alt {
    background-color: rgba(0, 191, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    color: var(--accent-color);
    font-weight: 700;
}

/* ===================================================
   DOWNLOAD PAGE SPECIFIC STYLES
   =================================================== */

.hero-download {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/gg-get@main/two-page.webp');
    min-height: 550px;
}
.hero-download h1 { font-size: 3.8rem; }
.hero-download p { font-size: 1.3rem; }

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.download-buttons .btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    font-size: 1.3rem;
    gap: 10px;
}
.download-buttons .btn img {
    height: 24px;
    width: auto;
}

.platform-section {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
.platform-section h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 25px;
    justify-content: center;
}
.platform-section .platform-icon {
    height: 40px;
}
.platform-section ol {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 30px auto;
    padding-left: 20px;
    list-style: decimal-leading-zero;
    color: #ccc;
    font-size: 1.1rem;
}
.platform-section ol li { margin-bottom: 15px; }
.platform-section ol li::marker { color: var(--accent-color); font-weight: bold; }

@media (max-width: 768px) {
    .hero-download h1 { font-size: 2.8rem; }
    .hero-download p { font-size: 1.1rem; }
    .download-buttons .btn { font-size: 1.1rem; }
}
@media (max-width: 550px) {
    .download-buttons { flex-direction: column; }
    .download-buttons .btn { width: 100%; max-width: 300px; margin: 0 auto; justify-content: center; }
}

/* ===================================================
   NEW REGISTRATION PAGE STYLES
   =================================================== */

.hero-registration {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/gg-get@main/three-page.webp');
}

.why-reg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    text-align: center;
}

.why-reg-item {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.why-reg-item h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.why-reg-item p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.reg-process-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.reg-process-image img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--accent-color);
    line-height: 1;
    opacity: 0.7;
}

.step-text h4 {
    font-size: 1.6rem;
    margin: 0 0 5px 0;
}

.step-text p {
    margin: 0;
    color: #ccc;
}

/* Копирование бонус-кода */
.bonus-code {
    display: inline-block;
    background-color: var(--bg-color);
    border: 1px dashed var(--accent-color);
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: 700;
    color: var(--accent-color);
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Roboto', sans-serif;
}
.bonus-code:hover { background-color: #2a3b58; }
.copy-icon { margin-left: 5px; font-size: 1em; vertical-align: middle; }


@media (max-width: 768px) {
    .reg-process-layout {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   NEW BONUS PAGE SPECIFIC STYLES
   =================================================== */

.hero-bonus {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/gg-get@main/four-page.webp');
}

.bonus-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.bonus-option {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.bonus-option img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.bonus-option h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.bonus-option p {
    color: #ccc;
    font-size: 1.1rem;
}

.promo-code-box {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promo-code-box h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.promo-code-box p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.bonus-code-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.bonus-code-wrapper p {
    margin: 0;
    font-size: 1.2rem;
}

.bonus-code {
    display: inline-block;
    background-color: var(--bg-color);
    border: 2px dashed var(--accent-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Roboto', sans-serif;
}
.bonus-code:hover { background-color: #2a3b58; }
.copy-icon { margin-left: 10px; font-size: 1.1em; vertical-align: middle; }
.mt-20 { margin-top: 20px; }


.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.feature-text ul {
    padding-left: 20px;
    font-size: 1.1rem;
    color: #ccc;
}

.feature-text ul li {
    margin-bottom: 15px;
    list-style: disc;
}
.feature-text ul li::marker {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .bonus-options {
        grid-template-columns: 1fr;
    }
    .feature-layout {
        grid-template-columns: 1fr;
    }
    .feature-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* ===================================================
   NEW HISTORY PAGE SPECIFIC STYLES
   =================================================== */

.hero-history {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/gg-get@main/six-page.webp');
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Кружочки на линии */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

/* Располагаем контейнеры слева и справа */
.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* Стрелочки у контейнеров */
.timeline-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--border-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--border-color);
}

.timeline-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--border-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border-color) transparent transparent;
}

/* Поправляем кружочки для правых контейнеров */
.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* Контент внутри */
.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg-color);
    position: relative;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.timeline-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}
.timeline-content h3 {
    margin-top: 0;
    color: var(--text-color);
}
.timeline-content p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
}
.timeline-image img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}


/* Адаптивность для таймлайна */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(odd) {
        left: 0%;
    }
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    .timeline-item::after {
        left: 10px;
    }
    .timeline-item::before {
        left: 40px;
        border: medium solid var(--border-color);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--border-color) transparent transparent;
    }
}

/* ===================================================
   NEW FOOTER REVIEW STYLES
   =================================================== */

.footer-review {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-review blockquote {
    margin: 0;
    padding: 0;
    font-style: italic;
    color: #ccc;
    position: relative;
    padding-left: 40px;
    font-size: 1rem;
}

.footer-review blockquote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-color);
    font-family: Georgia, serif;
}

.footer-review cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #fff;
}