/* ========================================
   POKERDOM OFFICIAL CASINO - UNIQUE STYLES 2026
   ======================================== */

/* Цветовая схема Pokerdom */
:root {
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-green: #34d399;
    --white-bg: #ffffff;
    --light-gray: #f9fafb;
    --medium-gray: #e5e7eb;
    --dark-text: #1a1a1a;
    --gray-text: #4b5563;
    --light-text: #6b7280;
    --gold-accent: #f59e0b;
    --shadow-color: rgba(16, 185, 129, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white-bg);
    color: var(--dark-text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

/* Фоновый паттерн */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    background-color: var(--white-bg);
}

/* Хедер */
.main-header {
    background: var(--white-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-green);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-link img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.2));
}

.navigation-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.nav-link:hover,
.nav-link.active-link {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-green);
    font-size: 1.9rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Основной контент */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 35px;
    position: relative;
    z-index: 10;
}

/* Хлебные крошки */
.breadcrumb-nav {
    background: var(--light-gray);
    padding: 20px 35px;
    border-radius: 12px;
    margin: 35px 0;
    font-size: 1.02rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--primary-green);
}

.breadcrumb-nav a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--light-text);
    margin: 0 15px;
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--gray-text);
}

/* Герой-секция */
.hero-section {
    text-align: center;
    padding: 70px 0;
    margin-bottom: 60px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--dark-text);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.title-highlight {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    opacity: 0.25;
    border-radius: 3px;
}

.hero-text {
    font-size: 1.45rem;
    color: var(--gray-text);
    max-width: 900px;
    margin: 0 auto 45px;
    line-height: 1.65;
    font-weight: 500;
}

.buttons-group {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 38px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.18rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 350px;
    height: 350px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white-bg);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: var(--white-bg);
    color: var(--primary-green);
    border: 3px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white-bg);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.btn-lg {
    padding: 24px 48px;
    font-size: 1.35rem;
}

.btn-light {
    background: var(--white-bg);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white-bg);
    border: 3px solid var(--white-bg);
}

.btn-outline-light:hover {
    background: var(--white-bg);
    color: var(--primary-green);
}

.promo-card {
    background: linear-gradient(135deg, var(--white-bg) 0%, var(--light-gray) 100%);
    padding: 35px;
    border-radius: 16px;
    margin-top: 45px;
    border: 3px solid var(--gold-accent);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '★';
    position: absolute;
    top: -25px;
    right: -25px;
    font-size: 160px;
    color: rgba(245, 158, 11, 0.04);
    transform: rotate(20deg);
}

/* Секция игр */
.games-section {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 60px 45px;
    margin: 70px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--primary-green);
}

.section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    border-radius: 3px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.game-card {
    background: var(--white-bg);
    padding: 40px;
    border-radius: 14px;
    text-align: center;
    border: 2px solid var(--medium-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
    border-color: var(--primary-green);
}

.game-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    transition: transform 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
}

.game-card h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.game-card p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Контентная статья */
.content-article {
    background: var(--white-bg);
    padding: 50px 45px;
    border-radius: 14px;
    margin: 70px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border-left: 5px solid var(--primary-green);
}

.content-article h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.4rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 800;
}

.content-article h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2rem;
    color: var(--dark-text);
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-gray);
    font-weight: 700;
}

.content-article p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.08rem;
}

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

/* Секция шагов */
.steps-section {
    margin: 70px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.step-card {
    background: var(--white-bg);
    padding: 40px 35px;
    border-radius: 14px;
    text-align: center;
    border: 2px solid var(--medium-gray);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
    border-color: var(--primary-green);
}

.step-num {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 auto 28px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.step-card h3 {
    color: var(--dark-text);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.step-card p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 1.05rem;
}

.inline-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Бонусная секция */
.bonus-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-radius: 16px;
    padding: 60px 45px;
    margin: 70px 0;
    color: var(--white-bg);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.35);
    position: relative;
    overflow: hidden;
}

.bonus-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.section-title-white {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    color: var(--white-bg);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    font-weight: 800;
}

.section-title-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--white-bg), transparent);
    border-radius: 3px;
}

.bonus-content {
    position: relative;
    z-index: 10;
}

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

.bonus-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 35px;
    border-radius: 14px;
    color: var(--dark-text);
    text-align: center;
    transition: transform 0.3s ease;
}

.bonus-item:hover {
    transform: translateY(-6px);
}

.bonus-item h3 {
    color: var(--dark-text);
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 700;
}

.bonus-item p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* FAQ секция */
.content-section {
    margin: 70px 0;
}

.content-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 45px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    font-weight: 800;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    border-radius: 3px;
}

.faq-list {
    background: var(--white-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid var(--medium-gray);
}

.faq-item {
    border-bottom: 2px solid var(--light-gray);
}

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

.faq-question {
    padding: 28px 35px;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--dark-text);
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(16, 185, 129, 0.04);
}

.faq-question::after {
    content: '+';
    font-size: 2.2rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
    font-weight: 400;
}

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

.faq-answer {
    padding: 0 35px 32px;
    color: var(--gray-text);
    line-height: 1.75;
    font-size: 1.12rem;
}

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

/* Футер */
.main-footer {
    background: var(--dark-text);
    color: var(--white-bg);
    padding: 70px 0 40px;
    margin-top: 90px;
    border-top: 4px solid var(--primary-green);
}

.footer-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 35px;
}

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

.footer-col h4 {
    color: var(--white-bg);
    font-size: 1.45rem;
    margin-bottom: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

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

.footer-col li {
    margin-bottom: 18px;
}

.footer-col a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.05rem;
}

.footer-col a:hover {
    color: var(--primary-green);
    transform: translateX(8px);
}

.footer-info {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

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

    .header-container {
        padding: 0 25px;
    }

    .navigation-menu {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--white-bg);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .navigation-menu.menu-active {
        display: flex;
    }

    .nav-link {
        padding: 20px 0;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .logo-link img {
        height: 40px;
    }

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

    .breadcrumb-nav {
        padding: 18px 25px;
        font-size: 0.98rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .buttons-group {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        padding: 22px 28px;
    }

    .games-section {
        padding: 45px 30px;
        margin: 60px 0;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .game-card {
        padding: 35px 30px;
    }

    .content-article {
        padding: 35px 30px;
    }

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

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

    .section-title {
        font-size: 2.1rem;
    }

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

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

    .faq-question {
        padding: 25px 30px;
        font-size: 1.2rem;
    }

    .faq-answer {
        padding: 0 30px 30px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .btn {
        padding: 20px 24px;
        font-size: 1.08rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

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

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

    .content-title {
        font-size: 1.8rem;
    }
}

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

    .hero-title {
        font-size: 3.7rem;
    }

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

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

/* Утилиты */
.mb-small { margin-bottom: 18px; }
.mb-medium { margin-bottom: 32px; }
.mb-large { margin-bottom: 55px; }
.mt-small { margin-top: 18px; }
.mt-medium { margin-top: 32px; }
.mt-large { margin-top: 55px; }