/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: var(--background-color); /* Inherit from shared.css, expected #0A0A0A */
}

/* Container for main content width */
.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section styling */
.page-casino__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino__dark-section {
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.page-casino__light-bg {
    background-color: #111111;
    color: #FFF6D6;
}

/* Headings */
.page-casino__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFD36B;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

/* Buttons */
.page-casino__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    background: transparent;
    color: #F2C14E;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid #F2C14E;
    cursor: pointer;
    font-size: 1em;
    margin: 10px;
}

.page-casino__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111;
    transform: translateY(-3px);
}

.page-casino__hero-cta-buttons,
.page-casino__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-casino__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0A0A0A;
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 15px;
    max-width: 900px;
    text-align: center;
    background-color: #0A0A0A;
    margin-top: -50px;
    border-radius: 10px;
}

.page-casino__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: #FFD36B;
    margin-bottom: 15px;
    font-weight: 800;
}

.page-casino__hero-description {
    font-size: 1.2em;
    color: #FFF6D6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section & Features Grid */
.page-casino__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__feature-item {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #3A2A12;
}

.page-casino__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-casino__feature-text {
    color: #FFF6D6;
}

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

.page-casino__game-category-card {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-casino__category-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.page-casino__category-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-casino__category-text {
    color: #FFF6D6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-casino__category-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #F2C14E;
    color: #111111;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-casino__category-link:hover {
    background-color: #FFD36B;
}

/* Promotions Section */
.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-color: #111111;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: left;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
}

.page-casino__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-casino__promo-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin: 20px 20px 10px;
}

.page-casino__promo-text {
    color: #FFF6D6;
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary,
.page-casino__promo-card .page-casino__btn-secondary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

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

.page-casino__security-item {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid #3A2A12;
}

.page-casino__security-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-casino__security-text {
    color: #FFF6D6;
}

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

.page-casino__step-item {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__step-number {
    width: 50px;
    height: 50px;
    background-color: #F2C14E;
    color: #111111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-casino__step-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-casino__step-text {
    color: #FFF6D6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-casino__step-link {
    color: #FFD36B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino__step-link:hover {
    color: #F2C14E;
}

/* Mobile Section */
.page-casino__mobile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}

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

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

.page-casino__mobile-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Partners Section */
.page-casino__partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
    align-items: center;
}

.page-casino__partner-logo {
    width: 167px;
    height: 127px;
    object-fit: contain;
    padding: 10px;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-casino__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-casino__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-casino__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
    transform: rotate(45deg);
}

.page-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 1000px !important;
    padding: 15px 20px 20px;
}

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

.page-casino__faq-answer a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-casino__faq-answer a:hover {
    color: #F2C14E;
}

/* Conclusion Section */
.page-casino__conclusion-section .page-casino__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__section-title {
        font-size: 2.2em;
    }
}