/* ========================================
   POKEROK OFFICIAL - УНИКАЛЬНЫЕ СТИЛИ 2026
   ======================================== */

/* Цветовая палитра */
:root {
    --accent-crimson: #d32f2f;
    --accent-deep: #b71c1c;
    --surface-light: #fafafa;
    --surface-mid: #eceff1;
    --text-primary: #263238;
    --text-secondary: #546e7a;
    --bg-white: #ffffff;
    --highlight-gold: #ffb300;
    --shadow-soft: rgba(33, 33, 33, 0.08);
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

/* Анимированный фон */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #fafafa 25%, transparent 25%),
                linear-gradient(-45deg, #fafafa 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
                linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.4;
    animation: backgroundShift 20s linear infinite;
}

@keyframes backgroundShift {
    0% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    100% { background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px; }
}

/* Навигационная панель */
.top-navigation-bar {
    background: var(--text-primary);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--accent-crimson);
}

.nav-wrapper {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.menu-items {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
}

.menu-item-link {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item-link:hover,
.menu-item-link.current-page {
    color: var(--accent-crimson);
}

.menu-item-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-crimson);
    transition: width 0.3s ease;
}

.menu-item-link:hover::before,
.menu-item-link.current-page::before {
    width: 100%;
}

.hamburger-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--bg-white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.hamburger-toggle:hover {
    color: var(--accent-crimson);
}

/* Контейнер страницы */
.page-wrapper {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

/* Хлебные крошки */
.page-breadcrumbs {
    background: var(--bg-white);
    padding: 18px 30px;
    border-radius: 10px;
    margin: 30px 0;
    font-size: 1rem;
    box-shadow: 0 3px 12px var(--shadow-soft);
    border-left: 5px solid var(--accent-crimson);
}

.page-breadcrumbs a {
    color: var(--accent-crimson);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-breadcrumbs a:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

.page-breadcrumbs .divider {
    color: var(--text-secondary);
    margin: 0 12px;
    font-weight: 300;
}

.page-breadcrumbs .current {
    color: var(--text-secondary);
}

/* Главный герой-блок */
.hero-banner {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 50px;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.primary-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1.1;
}

.primary-heading .accent-text {
    color: var(--accent-crimson);
    position: relative;
    display: inline-block;
}

.primary-heading .accent-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-crimson);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.action-buttons-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.action-btn.primary-style {
    background: linear-gradient(135deg, var(--accent-crimson) 0%, var(--accent-deep) 100%);
    color: var(--bg-white);
    box-shadow: 0 5px 18px rgba(211, 47, 47, 0.35);
}

.action-btn.primary-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.45);
}

.action-btn.outline-style {
    background: var(--bg-white);
    color: var(--accent-crimson);
    border: 3px solid var(--accent-crimson);
    box-shadow: 0 3px 12px var(--shadow-soft);
}

.action-btn.outline-style:hover {
    background: var(--accent-crimson);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.action-btn.large-size {
    padding: 22px 45px;
    font-size: 1.3rem;
}

.promo-highlight-box {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--surface-light) 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 3px solid var(--highlight-gold);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.promo-highlight-box::before {
    content: '★';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    color: rgba(255, 179, 0, 0.05);
    transform: rotate(15deg);
}

/* Секция загрузки */
.download-cards-section {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 50px 40px;
    margin: 60px 0;
    box-shadow: 0 8px 30px var(--shadow-soft);
    border-top: 5px solid var(--accent-crimson);
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    color: var(--text-primary);
    margin-bottom: 45px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-crimson), transparent);
    border-radius: 2px;
}

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

.feature-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--surface-light) 100%);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--surface-mid);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-crimson), var(--accent-deep));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
}

.card-icon-wrapper {
    font-size: 3.5rem;
    color: var(--accent-crimson);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.feature-card:hover .card-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Основной контентный блок */
.main-article-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px var(--shadow-soft);
}

.main-article-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
    padding-bottom: 20px;
    border-bottom: 4px solid var(--accent-crimson);
}

.main-article-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 45px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--surface-mid);
    position: relative;
    padding-left: 25px;
}

.main-article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 15px;
    width: 6px;
    background: var(--accent-crimson);
    border-radius: 3px;
}

.main-article-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 35px 0 20px;
    font-weight: 700;
}

.main-article-content p {
    margin-bottom: 22px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.main-article-content ul,
.main-article-content ol {
    margin: 25px 0 25px 40px;
    color: var(--text-secondary);
}

.main-article-content li {
    margin-bottom: 15px;
    line-height: 1.7;
    padding-left: 10px;
}

.main-article-content ul li::marker {
    color: var(--accent-crimson);
}

.main-article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.main-article-content a {
    color: var(--accent-crimson);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-article-content a:hover {
    border-bottom-color: var(--accent-crimson);
}

/* Секции контента */
.content-section {
    margin-bottom: 60px;
}

.content-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 35px;
    position: relative;
    padding-left: 25px;
}

.content-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 8px;
    background: linear-gradient(180deg, var(--accent-crimson), var(--accent-deep));
    border-radius: 4px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.instruction-step {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--surface-mid);
    transition: all 0.3s ease;
    position: relative;
}

.instruction-step:hover {
    border-color: var(--accent-crimson);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(211, 47, 47, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-crimson), var(--accent-deep));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.instruction-step h3 {
    color: var(--text-primary);
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.instruction-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-link {
    color: var(--accent-crimson);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.text-link:hover {
    text-decoration: underline;
    color: var(--accent-deep);
}

/* Секция с подсветкой */
.highlighted-section {
    background: linear-gradient(135deg, var(--accent-crimson) 0%, var(--accent-deep) 100%);
    border-radius: 15px;
    padding: 50px 40px;
    margin: 60px 0;
    color: var(--bg-white);
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.4);
    position: relative;
    overflow: hidden;
}

.highlighted-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.highlighted-section .section-heading {
    color: var(--bg-white);
}

.highlighted-section .section-heading::after {
    background: linear-gradient(90deg, transparent, var(--bg-white), transparent);
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    color: var(--text-primary);
}

/* FAQ секция */
.faq-accordion {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-soft);
}

.faq-entry {
    border-bottom: 2px solid var(--surface-mid);
}

.faq-entry:last-child {
    border-bottom: none;
}

.faq-trigger {
    padding: 25px 30px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-trigger:hover {
    background: rgba(211, 47, 47, 0.05);
}

.faq-trigger::after {
    content: '+';
    font-size: 2rem;
    color: var(--accent-crimson);
    transition: transform 0.3s ease;
    font-weight: 400;
}

.faq-entry[open] .faq-trigger::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 30px 30px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.12rem;
}

.center-aligned {
    text-align: center;
}

/* Подвал сайта */
.site-footer {
    background: var(--text-primary);
    color: var(--bg-white);
    padding: 60px 0 35px;
    margin-top: 80px;
    border-top: 5px solid var(--accent-crimson);
}

.footer-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.footer-section h4 {
    color: var(--bg-white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-crimson);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--surface-mid);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-crimson);
    transform: translateX(5px);
}

.footer-bottom-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .top-navigation-bar {
        padding: 15px 0;
    }

    .nav-wrapper {
        padding: 0 20px;
    }

    .menu-items {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--text-primary);
        flex-direction: column;
        padding: 25px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .menu-items.is-active {
        display: flex;
    }

    .menu-item-link {
        padding: 18px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-item-link:last-child {
        border-bottom: none;
    }

    .hamburger-toggle {
        display: block;
    }

    .brand-logo img {
        height: 38px;
    }

    .page-wrapper {
        padding: 0 20px;
    }

    .page-breadcrumbs {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .primary-heading {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        padding: 0 15px;
    }

    .action-buttons-row {
        flex-direction: column;
        gap: 18px;
        padding: 0 15px;
    }

    .action-btn {
        width: 100%;
        padding: 20px 25px;
    }

    .download-cards-section {
        padding: 40px 25px;
        margin: 50px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .main-article-content {
        padding: 30px 25px;
    }

    .main-article-content h1 {
        font-size: 2rem;
    }

    .main-article-content h2 {
        font-size: 1.6rem;
    }

    .content-section-title {
        font-size: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .instruction-step {
        padding: 25px 20px;
    }

    .faq-trigger {
        padding: 20px 25px;
        font-size: 1.15rem;
    }

    .faq-content {
        padding: 0 25px 25px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .primary-heading {
        font-size: 2.2rem;
    }

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

    .action-btn {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .main-article-content h1 {
        font-size: 1.8rem;
    }

    .main-article-content h2 {
        font-size: 1.4rem;
    }

    .content-section-title {
        font-size: 1.7rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-wrapper,
    .page-wrapper,
    .footer-container {
        max-width: 95%;
    }

    .primary-heading {
        font-size: 3.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Утилиты */
.mb-small { margin-bottom: 15px; }
.mb-medium { margin-bottom: 30px; }
.mb-large { margin-bottom: 50px; }
.mt-small { margin-top: 15px; }
.mt-medium { margin-top: 30px; }
.mt-large { margin-top: 50px; }
