/* POKER.OK-220.RU MAIN STYLES */

:root {
    --bg-color: #1C1C1C;
    --text-color: #E0E0E0;
    --accent-color: #D81E05; /* PokerOK Red */
    --card-bg-color: #282828;
    --header-bg-color: rgba(28, 28, 28, 0.85);
    --border-color: #444;
}

/* Общие стили */
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-color); text-decoration: none; transition: filter 0.3s ease; }
a:hover { filter: brightness(1.2); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
h1 { font-size: 3.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: #fff;
}
.btn-primary {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(216, 30, 5, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(216, 30, 5, 0.35);
}
.btn-lg { padding: 18px 40px; font-size: 1.2rem; }

/* 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 img { height: 40px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 5px;
    position: relative;
}
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); 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; }
.btn-header-reg {
    padding: 10px 22px;
    font-size: 0.9rem;
    background-color: var(--accent-color);
    color: #fff;
}
.btn-header-reg:hover { transform: none; filter: brightness(1.1); box-shadow: 0 0 15px rgba(216, 30, 5, 0.4); }
.btn-mobile-reg { display: none; }

/* HERO SECTION */
.hero {
    position: relative;
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    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(28, 28, 28, 1), rgba(28, 28, 28, 0.2)); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; max-width: 800px; }
.hero-content h1 { font-size: 4.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; color: #ccc; }

/* Секции */
.section { padding: 80px 0; }
.section.bg-dark { background-color: var(--card-bg-color); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { text-align: center; margin-bottom: 50px; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Grids */
.advantages-grid, .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.advantage-item, .step-item { background-color: var(--card-bg-color); border-radius: 12px; padding: 30px; border: 1px solid var(--border-color); }
.advantage-item img, .step-item img { margin-bottom: 20px; }
.advantage-item h3, .step-item h3 { color: var(--accent-color); }
.advantage-item p, .step-item p { color: #aaa; }

/* Бонус-код */
.bonus-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-color);
    border: 1px dashed var(--accent-color);
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: system-ui;
}
.bonus-code:hover { background-color: #333; }
.bonus-code svg { width: 20px; height: 20px; fill: #fff; }
.bonus-code-alt { background-color: rgba(216, 30, 5, 0.1); padding: 3px 8px; border-radius: 4px; font-family: 'Roboto', sans-serif; color: var(--accent-color); font-weight: 700; }

/* FOOTER */
.footer { padding: 60px 0; background-color: #111; 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 { color: #fff; font-size: 1.2rem; margin-bottom: 15px; }
.footer p, .footer-bottom p { font-size: 0.9rem; margin: 0 0 10px 0; line-height: 1.7; }
.footer-links { text-align: right; }
.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-about .footer-review { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.footer-review blockquote { margin: 0; padding: 0 0 0 45px; font-style: italic; color: #ccc; position: relative; font-size: 0.9rem; }
.footer-review blockquote::before { content: '“'; position: absolute; left: 0; top: -15px; font-size: 4rem; color: var(--accent-color); font-family: Georgia, serif; opacity: 0.3; }
.footer-review cite { display: block; text-align: right; margin-top: 10px; font-style: normal; font-weight: bold; color: #fff; }
.footer-bottom { padding-top: 20px; border-top: 1px solid #333; text-align: center; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 20px 20px 0 20px; }

/* ADAPTIVE */
.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: inline-block; margin: 30px; padding: 15px 40px; background-color: var(--accent-color); color: #fff; font-size: 1.2rem; width: auto; max-width: 80%; }
    .burger-menu { display: block; }
}
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    h1 { font-size: 2.8rem; } h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3.5rem; } .hero-content p { font-size: 1.1rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links { text-align: center; }
    .footer-review blockquote { padding: 0; text-align: center; }
    .footer-review blockquote::before { display: none; }
    .footer-review cite { 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; }
}

/* ===================================================
   NEW DOWNLOAD-CLIENT PAGE STYLES
   =================================================== */

.hero-download {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-2.webp');
    min-height: 500px;
}

.lead-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 30px auto 30px auto;
    color: #ccc;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.download-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.download-card img {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.download-card h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.download-card p {
    color: #aaa;
    flex-grow: 1;
    margin-bottom: 30px;
}

.download-card .btn {
    width: 100%;
    max-width: 280px;
}

.feature-layout-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.feature-layout-alt .section-title { text-align: left; }
.feature-layout-alt .feature-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.benefits-list { list-style: none; padding: 0; margin: 0; }
.benefits-list li {
    font-size: 1.1rem;
    color: #ccc;
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
}
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1.2;
}
.benefits-list li strong { color: var(--text-color); }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }


@media (max-width: 768px) {
    .feature-layout-alt {
        grid-template-columns: 1fr;
    }
    .feature-layout-alt .section-title {
        text-align: center;
    }
    .feature-layout-alt .feature-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* ===================================================
   NEW REGISTRATION PAGE STYLES
   =================================================== */

.hero-registration {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-3.webp');
    min-height: 500px;
}

.feature-layout-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    justify-items: center;
}
.feature-layout-alt .section-title { text-align: left; }
.feature-layout-alt .feature-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.benefits-list { list-style: none; padding: 0; margin: 0; }
.benefits-list li {
    font-size: 1.1rem;
    color: #ccc;
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
}
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1.2;
}
.benefits-list li strong { color: var(--text-color); }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }

.registration-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.registration-steps-list ol {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}
.registration-steps-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}
.registration-steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.registration-steps-list h4 {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: var(--text-color);
}
.registration-steps-list p { margin: 0; color: #ccc; }
.registration-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
}
.image-caption {
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
    margin-top: 15px;
}

.promo-image {
    max-width: 750px;
    width: 100%;
    margin: 0 auto 30px auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .feature-layout-alt { grid-template-columns: 1fr; }
    .feature-layout-alt .section-title { text-align: center; }
    .feature-layout-alt .feature-image { order: -1; margin-bottom: 30px; }
    .registration-layout { grid-template-columns: 1fr; gap: 40px; }
    .registration-image { order: -1; }
}

/* ===================================================
   NEW PROMOTIONS PAGE STYLES
   =================================================== */

.hero-bonus {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-4.webp');
    min-height: 500px;
}

.bonus-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.bonus-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
}

.bonus-card h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.bonus-card p {
    color: #ccc;
    font-size: 1.1rem;
}

.bonus-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.promo-code-box {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.promo-code-box img {
    width: 100%;
    margin: 0 auto 30px auto;
    display: block;
}
.promo-code-box h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.bonus-code-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}
.bonus-code-wrapper p {
    margin: 0;
    font-size: 1.2rem;
}

.feature-layout-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.feature-layout-alt .section-title { text-align: left; }
.feature-layout-alt .feature-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.benefits-list { list-style: none; padding: 0; margin: 0; }
.benefits-list li {
    font-size: 1.1rem;
    color: #ccc;
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
}
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1.2;
}
.benefits-list li strong { color: var(--text-color); }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }

@media (max-width: 900px) {
    .bonus-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .feature-layout-alt {
        grid-template-columns: 1fr;
    }
    .feature-layout-alt .section-title {
        text-align: center;
    }
    .feature-layout-alt .feature-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* ===================================================
   NEW FREEROLLS PAGE STYLES
   =================================================== */

.hero-freerolls {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-5.webp');
    min-height: 500px;
}

.flow-list {
    padding-left: 0;
    list-style: none;
    counter-reset: flow-counter;
}
.flow-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
    color: #ccc;
}
.flow-list li::before {
    counter-increment: flow-counter;
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .flow-list li {
        font-size: 1.1rem;
    }
}

/* ===================================================
   NEW MOBILE-APP PAGE STYLES
   =================================================== */

.hero-mobile {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-6.webp');
    min-height: 500px;
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.install-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.install-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
}

.install-card h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.install-card p {
    color: #aaa;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mobile-steps {
    text-align: left;
    padding-left: 20px;
    color: #ccc;
    flex-grow: 1;
    margin-bottom: 30px;
    list-style-type: decimal;
    max-width: 90%;
}
.mobile-steps li {
    margin-bottom: 10px;
}

.install-card .btn {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 768px) {
    .install-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================================
   NEW REVIEWS PAGE STYLES
   =================================================== */

.hero-reviews {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-7.webp');
    min-height: 500px;
}

.reviews-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.review-author h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    color: #fff;
}

.review-author span {
    font-size: 0.9rem;
    color: #aaa;
}

.review-body p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    font-style: italic;
}

.review-body strong {
    color: var(--accent-color);
    font-style: normal;
}

/* ===================================================
   NEW POKER-SCHOOL PAGE STYLES
   =================================================== */

.hero-school {
    background-image: url('https://cdn.jsdelivr.net/gh/files2026/poker-cdn@main/one-8.webp');
    min-height: 500px;
}

.hand-ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hand-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.hand-item img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hand-text-list p {
    background-color: var(--card-bg-color);
    padding: 10px 15px;
    border-radius: 6px;
    margin: 0 0 10px 0;
    border-left: 3px solid var(--accent-color);
}
.hand-text-list strong {
    color: #fff;
}

.flow-list {
    padding-left: 0;
    list-style: none;
    counter-reset: flow-counter;
}
.flow-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
    color: #ccc;
}
.flow-list li::before {
    counter-increment: flow-counter;
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hand-ranking-grid {
        grid-template-columns: 1fr;
    }
}