:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --background-general: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-main: #333333;
    --border-color: #E0E0E0;
    --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-general);
}

.page-casino__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-casino__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-casino__text-block {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-general);
    overflow: hidden;
}

.page-casino__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-casino__main-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-casino__description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__cta-button.page-casino__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-casino__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button.page-casino__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--card-bg);
}

.page-casino__about-us {
    background-color: var(--background-general);
}

.page-casino__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-casino__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__feature-description {
    font-size: 16px;
    line-height: 1.7;
}

.page-casino__game-types {
    background-color: var(--card-bg);
}

.page-casino__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__game-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-casino__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__game-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-casino__game-description {
    font-size: 15px;
    padding: 0 15px 20px;
    line-height: 1.6;
}

.page-casino__game-card .page-casino__btn-primary {
    margin-bottom: 20px;
    padding: 10px 25px;
    font-size: 16px;
}

.page-casino__promotions {
    background-color: var(--background-general);
}

.page-casino__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__promo-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-casino__promo-card img {
    width: 100%;
    
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-casino__promo-description {
    font-size: 15px;
    padding: 0 15px 20px;
    line-height: 1.6;
}

.page-casino__center-button {
    text-align: center;
    margin-top: 50px;
}

.page-casino__app-experience {
    background-color: var(--card-bg);
}

.page-casino__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-casino__app-text {
    flex: 1;
    min-width: 300px;
}

.page-casino__app-subtitle {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-casino__app-benefits li {
    font-size: 17px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--text-main);
}

.page-casino__app-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-casino__app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-casino__app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-casino__payment-support {
    background-color: var(--background-general);
}

.page-casino__flex-columns {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-casino__column {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-casino__column-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__payment-methods,
.page-casino__support-channels {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-casino__payment-methods li,
.page-casino__support-channels li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-main);
}

.page-casino__payment-methods li::before,
.page-casino__support-channels li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 20px;
    line-height: 1;
}

.page-casino__column .page-casino__btn-secondary {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
}

.page-casino__faq {
    background-color: var(--card-bg);
}

.page-casino__faq-list {
    margin-top: 40px;
}

details.page-casino__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text-main);
}
details.page-casino__faq-item summary.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
    display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
    background: #f5f5f5;
}
.page-casino__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-casino__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}

.page-casino__cta-final {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.page-casino__cta-final .page-casino__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-casino__cta-final .page-casino__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-casino__cta-final .page-casino__cta-button {
    background: var(--button-gradient);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-final .page-casino__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

@media (max-width: 1024px) {
    .page-casino__section-title {
        font-size: 32px;
    }
    .page-casino__main-title {
        font-size: 40px;
    }
    .page-casino__description {
        font-size: 18px;
    }
    .page-casino__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-casino__app-text, .page-casino__app-image {
        min-width: unset;
        width: 100%;
    }
    .page-casino__app-benefits {
        text-align: left;
    }
    .page-casino__flex-columns {
        flex-direction: column;
    }
}