:root {
    --color-primary: #F66C09;        /* accent */
    --color-primary-hover: #F99853;  /* accent hover */
    --color-bg-dark: #0a0a0a;        /* background footer */
    --color-bg-card: #1a1a2e;        /* background card */
    --color-bg-overlay: rgba(0, 0, 0, 0.8);
    --color-bg-section: rgba(0, 0, 0, 0.4);
    --color-text-white: #ffffff;
    --color-text-light: #E6E6E6; /* text */
    --color-text-gray: #888888;
    --color-text-dark: #666666;
    --color-border: rgba(255, 215, 0, 0.3);
    --color-border-table: #099079;  /* table */
    --gradient-body: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    --radius-buttons: 50px;
    --radius-elements: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-white);
    background: var(--gradient-body);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h1 span {
    color: var(--color-primary);
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 10px auto 0;
    border-radius: var(--radius-elements);
}

h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

h4 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

h5 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-text-white);
}

h6 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

p {
    margin-bottom: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

strong, b {
    font-weight: 700;
    color: var(--color-primary);
}

em, i {
    font-style: italic;
}

ul, ol {
    margin: 20px 0 20px 40px;
    color: var(--color-text-light);
}

ul li, ol li {
    margin-bottom: 8px;
    padding-left: 5px;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

ul ul, ol ol, ul ol, ol ul {
    margin: 10px 0 10px 30px;
}

ul li::marker {
    color: var(--color-primary);
}

ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--color-border-table);
}

table th,
table td {
    border: 1px solid var(--color-border-table);
    padding: 8px;
}

@media screen and (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    table th,
    table td {
        min-width: 100px;
    }
}

.faq-section,
.faq-block {
    padding: 40px 0;
}

.faq-item,
.faq-block-item {
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-elements);
    overflow: hidden;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.faq-item:hover,
.faq-block-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.faq-question,
.faq-item h3,
.faq-item h4,
.faq-block-item h3,
.faq-block-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding: 18px 20px;
    cursor: pointer;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover,
.faq-item h3:hover,
.faq-item h4:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.faq-question::after,
.faq-item h3::after,
.faq-item h4::after {
    content: '+';
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after,
.faq-item.active h3::after,
.faq-item.active h4::after {
    content: '−';
}

.faq-answer,
.faq-item p,
.faq-block-item p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer,
.faq-item.active p {
    display: block;
}

.faq-item:not(.accordion) p,
.faq-block-item:not(.accordion) p {
    display: block;
    padding: 0 20px 20px 20px;
}

.block_content,
.content-area,
.info-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.block_content img,
.content-area img,
.info-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: var(--radius-elements);
}

blockquote {
    margin: 25px 0;
    padding: 20px 30px;
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-elements);
    font-style: italic;
    color: var(--color-text-white);
}

blockquote p {
    margin-bottom: 0;
}

code, pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--color-primary);
}

pre {
    padding: 15px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    padding: 0;
    background: none;
}

hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
    border-radius: var(--radius-buttons);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-card);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-card);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 6px 16px;
    font-size: 14px;
}

.header {
    background-color: var(--color-bg-overlay);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-elements);
    margin-bottom: 10px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header__center {
    flex: 1;
    display: flex;
    align-items: center;
}

.header__right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    max-width: 240px;
    width: 100%;
    border-radius: var(--radius-elements);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 24px;
    margin-right: 20px;
}

@media (max-width: 992px) {
    .nav-menu {
        display: block;
        gap: 10px;
    }
}

.nav-link {
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

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

.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 200;
}

.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-checkbox {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-bg-card);
    z-index: 150;
    padding: 80px 25px 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-right: 2px solid var(--color-primary);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.burger-checkbox:checked ~ .mobile-menu {
    transform: translateX(0);
}

.burger-checkbox:checked ~ .header .burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-checkbox:checked ~ .header .burger-icon span:nth-child(2) {
    opacity: 0;
}

.burger-checkbox:checked ~ .header .burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav .nav-link {
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    display: block;
}

.mobile-nav .nav-link:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mobile-buttons .btn {
    text-align: center;
    width: 100%;
}

.hero {
    padding: 80px 0;
    text-align: center;
    background-position: center;
    border-radius: var(--radius-elements);
    margin: 20px 0;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url(/wp-content/themes/casino-theme/assets/images/logo-wp.webp);
}

.hero-title {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-text {
    margin: 0 auto 30px;
    font-size: 18px;
}

.casino-cards {
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.card-link {
    display: block;
    text-decoration: none;
    max-width: 300px;
    width: 100%;
}

.card {
    position: relative;
    width: 100%;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-bg-card);
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-elements);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-elements);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-elements);
}

.card:hover::before {
    background-color: rgba(0, 0, 0, 0.6);
}

.card::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-section {
    padding: 60px 0;
    background-color: var(--color-bg-section);
    border-radius: var(--radius-elements);
    margin: 20px 0;
}

.faq-section {
    padding: 60px 0;
}

.footer {
    background-color: var(--color-bg-dark);
    padding: 40px 0 20px;
    border-top: 1px solid var(--color-border);
    border-radius: var(--radius-elements);
    margin-top: 20px;
}

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

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-warning {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 12px;
    color: var(--color-text-gray);
}

.footer-warning a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-copyright {
    font-size: 11px;
    color: var(--color-text-dark);
}

@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 992px) {
    .header__right .nav-menu,
    .header__right .btn-outline {
        display: none;
    }
    
    .burger-icon {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .card::after {
        font-size: 32px;
    }
    
    ul, ol {
        margin-left: 25px;
    }
    
    .faq-question,
    .faq-item h3,
    .faq-item h4 {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .card::after {
        font-size: 28px;
    }
    
    .mobile-menu {
        width: 85%;
        max-width: 280px;
    }
    
    .mobile-nav .nav-link {
        font-size: 18px;
        padding: 10px 0;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .faq-question,
    .faq-item h3,
    .faq-item h4 {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .faq-answer,
    .faq-item p {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header__right {
        gap: 12px;
    }
}

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

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

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

.text-primary {
    color: var(--color-primary);
}

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.no-scroll {
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}