/* style/casino.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --background-dark: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-casino__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

.page-casino__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.page-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-casino__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
    text-align: justify;
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-casino__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.page-casino__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-casino__main-title {
    font-size: clamp(36px, 6vw, 60px);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-casino__description {
    font-size: 19px;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-casino__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-casino__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-casino__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

.page-casino__btn-large {
    min-width: 200px;
}

.page-casino__btn-text {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.page-casino__btn-text:hover {
    color: var(--glow-color);
}

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

.page-casino__game-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--divider-color);
}

.page-casino__game-title {
    font-size: 24px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-casino__game-description {
    font-size: 16px;
    color: var(--text-secondary-color);
    line-height: 1.5;
}

/* Providers Section */
.page-casino__providers-section {
    background-color: var(--deep-green-color);
}

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

.page-casino__provider-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-casino__provider-logo {
    max-width: 180px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino__provider-name {
    font-size: 22px;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-casino__provider-description {
    font-size: 15px;
    color: var(--text-secondary-color);
}

/* Advantages Section */
.page-casino__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__advantage-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-casino__advantage-icon {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--divider-color);
}

.page-casino__advantage-title {
    font-size: 22px;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-casino__advantage-description {
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* Guide Section */
.page-casino__guide-section {
    background-color: var(--deep-green-color);
}

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

.page-casino__step-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 70px;
}

.page-casino__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    border: 3px solid var(--background-dark);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.6);
}

.page-casino__step-title {
    font-size: 24px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-casino__step-description {
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* FAQ Section */
.page-casino__faq-section {
    background-color: var(--background-dark);
}

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

.page-casino__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-casino__faq-question::-webkit-details-marker {
    display: none;
}

.page-casino__faq-item[open] .page-casino__faq-question {
    background-color: var(--primary-color);
}

.page-casino__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-color);
    margin-left: 15px;
}

.page-casino__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: var(--text-secondary-color);
    line-height: 1.6;
    background-color: var(--card-bg-color);
}

.page-casino__faq-answer p {
    margin-bottom: 10px;
}

.page-casino__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-casino__cta-final-section {
    padding: 80px 0;
    background-color: var(--deep-green-color);
    text-align: center;
}

/* Images responsiveness */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-casino__container {
        padding: 0 15px;
    }

    .page-casino__hero-section {
        padding-bottom: 40px;
    }

    .page-casino__hero-content {
        padding: 20px 15px;
    }

    .page-casino__main-title {
        font-size: clamp(30px, 8vw, 48px);
    }

    .page-casino__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino a[class*="button"],
    .page-casino a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-casino__cta-buttons,
    .page-casino__button-group,
    .page-casino__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-casino__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }

    .page-casino__game-grid,
    .page-casino__provider-list,
    .page-casino__advantage-list,
    .page-casino__step-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino__game-image,
    .page-casino__advantage-icon {
        height: 180px;
    }

    .page-casino__step-item {
        padding: 60px 20px 30px;
    }

    .page-casino__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
        top: -20px;
    }

    .page-casino__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-casino__faq-answer {
        padding: 15px 20px;
        font-size: 15px;
    }

    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-casino__section,
    .page-casino__card,
    .page-casino__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-casino__hero-section {
        padding-top: 10px !important;
    }
}