/* style/slot-games.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --bg-dark: #000000;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark);
    padding-bottom: 60px;
}

/* Ensure content is not hidden by fixed header */
.page-slot-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Desktop: Adjust based on actual header height */
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(139,0,0,0.8));
}

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

.page-slot-games__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.page-slot-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from blocking click */
}

.page-slot-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-slot-games__video-link:hover .page-slot-games__video-overlay {
    opacity: 1;
}

.page-slot-games__video-click-hint {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-slot-games__play-now-button {
    display: inline-block;
    padding: 15px 45px;
    background: var(--primary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-slot-games__play-now-button:hover {
    background: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-slot-games__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-slot-games__title-section,
.page-slot-games__features-section,
.page-slot-games__games-showcase,
.page-slot-games__faq-section,
.page-slot-games__brand-section,
.page-slot-games__blog-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-slot-games__title-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-slot-games__main-title {
    font-size: 44px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-slot-games__title-description {
    font-size: 18px;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-slot-games__cta-button {
    display: inline-block;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-dark);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__features-section {
    background: rgba(139, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__features-title,
.page-slot-games__games-title,
.page-slot-games__faq-title,
.page-slot-games__brand-title,
.page-slot-games__blog-title {
    font-size: 38px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

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

.page-slot-games__feature-item {
    background: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.2);
}

.page-slot-games__feature-icon {
    width: 150px; /* Increased size */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle glow */
}

.page-slot-games__feature-heading {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 16px;
    color: var(--text-color-light);
}

.page-slot-games__games-showcase {
    padding-top: 80px;
}

.page-slot-games__games-description {
    text-align: center;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-color-light);
}

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

.page-slot-games__game-card {
    background: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
    color: var(--text-color-light);
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color-dark);
}

.page-slot-games__game-name {
    font-size: 22px;
    color: var(--primary-color);
    padding: 15px 20px 5px;
    margin: 0;
}

.page-slot-games__game-provider {
    font-size: 14px;
    color: #cccccc;
    padding: 0 20px 10px;
}

.page-slot-games__game-info {
    font-size: 16px;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-slot-games__game-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 0;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-slot-games__game-button:hover {
    background: #a30000;
    transform: translateY(-2px);
}

.page-slot-games__faq-section {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games__faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #cccccc;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-color-dark);
    border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    color: var(--text-color-light);
    font-size: 16px;
}

.page-slot-games__brand-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(139,0,0,0.6));
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__brand-title {
    color: var(--primary-color);
}

.page-slot-games__brand-content p {
    font-size: 17px;
    margin-bottom: 25px;
    color: var(--text-color-light);
}

.page-slot-games__brand-item h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-slot-games__brand-item ul {
    list-style: none;
    padding-left: 0;
}

.page-slot-games__brand-item ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color-light);
}

.page-slot-games__brand-item ul li::before {
    content: '★';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 1.6;
}

.page-slot-games__blog-section {
    padding-top: 80px;
}

.page-slot-games__blog-description {
    text-align: center;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-color-light);
}

.page-slot-games__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__blog-item {
    background: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
}

.page-slot-games__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.page-slot-games__blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-slot-games__blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color-dark);
}

.page-slot-games__blog-item-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 15px 20px 10px;
    line-height: 1.3;
}

.page-slot-games__blog-item-excerpt {
    font-size: 16px;
    color: #cccccc;
    margin: 0 20px 15px;
    flex-grow: 1;
}

.page-slot-games__blog-item-date {
    font-size: 14px;
    color: #999999;
    margin: 0 20px 20px;
    display: block;
}

.page-slot-games__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__view-all-button:hover {
    background: #a30000;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 38px;
    }
    .page-slot-games__features-title,
    .page-slot-games__games-title,
    .page-slot-games__faq-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 34px;
    }
    .page-slot-games__feature-icon {
        width: 120px;
    }
    .page-slot-games__feature-heading {
        font-size: 22px;
    }
    .page-slot-games__game-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-slot-games__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px;
        overflow: hidden !important;
    }
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        object-fit: contain; /* Use contain to ensure video is fully visible */
    }
    .page-slot-games__video-cta {
        margin-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-slot-games__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 30px !important;
        font-size: 18px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__title-section,
    .page-slot-games__features-section,
    .page-slot-games__games-showcase,
    .page-slot-games__faq-section,
    .page-slot-games__brand-section,
    .page-slot-games__blog-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games__title-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__features-title,
    .page-slot-games__games-title,
    .page-slot-games__faq-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__feature-item {
        padding: 25px;
    }
    .page-slot-games__feature-icon {
        width: 100px;
    }
    .page-slot-games__feature-heading {
        font-size: 20px;
    }
    .page-slot-games__game-image {
        height: 160px;
    }
    .page-slot-games__game-name {
        font-size: 20px;
    }
    .page-slot-games__game-info {
        font-size: 15px;
    }
    .page-slot-games__game-button {
        font-size: 15px;
        padding: 10px 0;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px !important;
    }
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }
    .page-slot-games__brand-item h3 {
        font-size: 24px;
    }
    .page-slot-games__brand-content p,
    .page-slot-games__brand-item ul li {
        font-size: 15px;
    }
    .page-slot-games__blog-image {
        height: 180px;
    }
    .page-slot-games__blog-item-title {
        font-size: 18px;
    }
    .page-slot-games__blog-item-excerpt {
        font-size: 14px;
    }
    .page-slot-games__blog-item-date {
        font-size: 13px;
    }
    .page-slot-games__view-all-button {
        font-size: 15px;
        padding: 10px 25px;
    }

    /* Ensure all images are responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__features-title,
    .page-slot-games__games-title,
    .page-slot-games__faq-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 24px;
    }
    .page-slot-games__play-now-button {
        font-size: 16px !important;
        padding: 12px 25px !important;
    }
    .page-slot-games__video-click-hint {
        font-size: 16px;
        padding: 10px 20px;
    }
    .page-slot-games__feature-item {
        padding: 20px;
    }
    .page-slot-games__feature-icon {
        width: 80px;
    }
    .page-slot-games__game-name {
        font-size: 18px;
    }
    .page-slot-games__blog-item-title {
        font-size: 16px;
    }
}