/* style/casino.css */

/* --- Base Styles --- */
.page-casino {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-casino__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

/* --- Buttons --- */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-register,
.page-casino__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-casino__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-casino__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-casino__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-casino__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* Custom colors for Register/Login */
.page-casino__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-casino__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-casino__btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-casino__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-casino__cta-center {
    margin-top: 40px;
}

.page-casino__cta-center .page-casino__btn-primary {
    margin: 0 auto;
}

/* --- Hero Section --- */
.page-casino__hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-casino__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability */
}

.page-casino__hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make overlay clickable */
    cursor: pointer;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-casino__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

/* --- Introduction Section --- */
.page-casino__introduction {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    padding: 80px 0;
}

.page-casino__intro-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-casino__intro-content {
    flex: 1;
}

.page-casino__intro-content p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-casino__intro-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-casino__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Games Section --- */
.page-casino__games {
    background-color: #0a0a0a;
    padding: 80px 0;
}

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

.page-casino__game-card {
    background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    display: block;
}

.page-casino__game-card-title {
    font-size: 1.6em;
    margin: 15px 15px 10px;
    color: #ffffff;
}

.page-casino__game-card-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__game-card-link:hover {
    color: #017439;
}

.page-casino__game-card-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
}

/* --- Promotions Section --- */
.page-casino__promotions {
    background-color: #1a1a1a;
    padding: 80px 0;
}

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

.page-casino__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__promo-card-image {
    width: 100%;
    height: 220px; /* Fixed height for promo cards */
    object-fit: cover;
    display: block;
}

.page-casino__promo-card-title {
    font-size: 1.6em;
    margin: 15px 15px 10px;
    color: #ffffff;
}

.page-casino__promo-card-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__promo-card-link:hover {
    color: #017439;
}

.page-casino__promo-card-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
}

/* --- Security Section --- */
.page-casino__security {
    background-color: #0a0a0a;
    padding: 80px 0;
}

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

.page-casino__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-casino__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-casino__feature-description {
    color: #cccccc;
}

/* --- Guide Section --- */
.page-casino__guide {
    background-color: #1a1a1a;
    padding: 80px 0;
}

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

.page-casino__guide-step {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__guide-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-casino__guide-text {
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

/* --- Support Section --- */
.page-casino__support {
    background-color: #0a0a0a;
    padding: 80px 0;
}

.page-casino__support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.page-casino__support-contact,
.page-casino__support-faq {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__support-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: #ffffff;
}

.page-casino__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-casino__contact-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #cccccc;
}

.page-casino__contact-list li i {
    color: #017439;
    margin-right: 10px;
    font-size: 1.2em;
}

/* FAQ Styling */
.page-casino__faq-list {
    margin-top: 20px;
}

.page-casino__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

.page-casino__faq-qtext {
    flex-grow: 1;
}

.page-casino__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
    content: "−";
}

.page-casino__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #cccccc;
    line-height: 1.7;
}

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

/* For div-based FAQ (if used, though details is preferred) */
.page-casino__faq-item:not([open]) .page-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 2000px; /* Sufficiently large */
    transition: max-height 0.5s ease-in;
}
.page-casino__faq-item.active .page-casino__faq-toggle {
    content: "−";
}


/* --- Responsible Gaming Section --- */
.page-casino__responsible-gaming {
    background-color: #1a1a1a;
    padding: 80px 0;
}

.page-casino__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-casino__responsible-image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__responsible-list {
    flex: 1;
    list-style: none;
    padding: 0;
}

.page-casino__responsible-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #f0f0f0;
    position: relative;
    padding-left: 25px;
}