.page-casino {
    color: #FFF3E6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0D0E12; /* Background */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-casino__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-casino__highlight {
    color: #FFA53A; /* Auxiliary color */
    font-weight: bold;
}

.page-casino__inline-link {
    color: #FFA53A; /* Auxiliary color for inline links */
    text-decoration: underline;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: #0D0E12; /* Ensure background consistency */
}

.page-casino__hero-video-wrapper {
    width: 100%; /* Explicitly set for desktop as well */
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.page-casino__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.page-casino__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: -100px; /* Pull content up slightly over video */
}

.page-casino__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 clamp for responsiveness */
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.7); /* Glow */
}

.page-casino__hero-description {
    font-size: 1.3em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-cta-buttons,
.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-casino__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #ffffff;
    border: 2px solid #FFA53A;
}

.page-casino__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Lighter glow on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 77, 0.4); /* Enhanced glow */
}

.page-casino__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FFA53A; /* Auxiliary color */
    border: 2px solid #FFA53A;
}

.page-casino__btn-secondary:hover {
    background: #FFA53A;
    color: #17191F; /* Card BG */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 77, 0.4);
}

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

/* Games Section */
.page-casino__games-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

.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-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 176, 77, 0.4); /* Glow */
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-casino__game-title {
    font-size: 1.5em;
    color: #FFB04D; /* Glow */
    margin-bottom: 10px;
}

.page-casino__game-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

/* Benefits Section */
.page-casino__benefits-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-casino__benefit-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 176, 77, 0.4); /* Glow */
}

.page-casino__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__benefit-title {
    font-size: 1.4em;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
}

.page-casino__benefit-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

/* How to Start Section */
.page-casino__how-to-start-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-casino__step-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 176, 77, 0.4); /* Glow */
}

.page-casino__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #D96800; /* Deep Orange */
    margin-bottom: 15px;
}

.page-casino__step-title {
    font-size: 1.5em;
    color: #FFB04D; /* Glow */
    margin-bottom: 10px;
}

.page-casino__step-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
}

.page-casino__btn-text {
    color: #FFA53A;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.page-casino__btn-text:hover {
    color: #FFB04D;
    text-decoration: underline;
}

/* Tips Section */
.page-casino__tips-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-casino__tips-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-casino__tips-text-block {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
}

.page-casino__tips-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-casino__tips-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFA53A"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #FFF3E6; /* Text Main */
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-casino__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    transition: background-color 0.3s ease;
}

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

.page-casino__faq-item summary:hover {
    background-color: rgba(255, 165, 58, 0.1); /* Light hover effect */
}

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

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

.page-casino__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    line-height: 1.6;
}

/* Conclusion Section */
.page-casino__conclusion-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

/* Buttons for text links like "Đăng Ký Ngay" in steps */
.page-casino__btn-text {
    color: #FFA53A;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}
.page-casino__btn-text:hover {
    color: #FFB04D;
    text-decoration: underline;
}

/* Image responsive base */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Video responsive base */
.page-casino video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-casino__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-casino__hero-content {
        margin-top: -50px; /* Adjust for smaller screens */
    }

    .page-casino__hero-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-casino__hero-description {
        font-size: 1em;
    }

    .page-casino__hero-cta-buttons,
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-casino__btn-primary,
    .page-casino__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-casino__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-casino__container {
        padding: 15px;
    }

    .page-casino__game-grid,
    .page-casino__benefits-grid,
    .page-casino__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-casino__tips-content {
        flex-direction: column;
    }

    .page-casino__tips-image {
        max-width: 100%;
        min-width: unset;
    }

    .page-casino__tips-text-block {
        max-width: 100%;
        min-width: unset;
    }

    /* Mobile image rules */
    .page-casino img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
}