:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-primary: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-slot-games-new-releases {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main); /* Default text color for light background */
    background-color: var(--background-primary);
    line-height: 1.6;
}

/* Hero Section */
.page-slot-games-new-releases__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback for image */
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
}

.page-slot-games-new-releases__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-slot-games-new-releases__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff; /* White text on primary color background */
    z-index: 1;
}

.page-slot-games-new-releases__main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-slot-games-new-releases__description {
    font-size: 18px;
    margin-bottom: 30px;
}

.page-slot-games-new-releases__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games-new-releases__btn-primary,
.page-slot-games-new-releases__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    min-width: 180px;
}

.page-slot-games-new-releases__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-new-releases__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games-new-releases__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-new-releases__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-slot-games-new-releases__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games-new-releases__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-slot-games-new-releases__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main);
}

/* Games Showcase Section */
.page-slot-games-new-releases__games-showcase {
    padding: 60px 0;
    background-color: var(--background-primary);
}

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

.page-slot-games-new-releases__game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.page-slot-games-new-releases__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games-new-releases__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.page-slot-games-new-releases__game-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 15px 10px;
    color: var(--text-main);
}

.page-slot-games-new-releases__game-provider {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.page-slot-games-new-releases__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    max-width: calc(100% - 30px); /* Adjust for card padding */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-new-releases__btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games-new-releases__view-all-cta {
    text-align: center;
    margin-top: 50px;
}

/* Features Section */
.page-slot-games-new-releases__features {
    padding: 60px 0;
    background-color: var(--primary-color); /* Dark section */
    color: #ffffff; /* White text on dark background */
}

.page-slot-games-new-releases__features .page-slot-games-new-releases__section-title,
.page-slot-games-new-releases__features .page-slot-games-new-releases__section-description {
    color: #ffffff;
}

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

.page-slot-games-new-releases__feature-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-slot-games-new-releases__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games-new-releases__feature-icon {
    width: 200px; /* Enforce minimum size as per requirements */
    height: 200px;
    object-fit: contain; /* Use contain to prevent cropping large source images */
    margin: 0 auto 20px auto;
    display: block;
}

.page-slot-games-new-releases__feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games-new-releases__feature-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games-new-releases__faq-section {
    padding: 60px 0;
    background-color: var(--background-primary);
}

.page-slot-games-new-releases__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-slot-games-new-releases__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games-new-releases__faq-qtext {
  flex: 1;
  text-align: left;
}
.page-slot-games-new-releases__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-slot-games-new-releases__faq-item .page-slot-games-new-releases__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-slot-games-new-releases__main-title {
        font-size: 40px;
    }
    .page-slot-games-new-releases__section-title {
        font-size: 32px;
    }
    .page-slot-games-new-releases__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-slot-games-new-releases__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General content area padding */
    .page-slot-games-new-releases__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-slot-games-new-releases__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        margin-bottom: 30px;
    }
    .page-slot-games-new-releases__hero-image-wrapper {
        max-height: 250px;
    }
    .page-slot-games-new-releases__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games-new-releases__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games-new-releases__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games-new-releases__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games-new-releases__btn-primary,
    .page-slot-games-new-releases__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Styling */
    .page-slot-games-new-releases__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-slot-games-new-releases__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Games Showcase Section */
    .page-slot-games-new-releases__games-showcase {
        padding: 40px 0;
    }
    .page-slot-games-new-releases__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-slot-games-new-releases__game-card {
        padding-bottom: 15px;
    }
    .page-slot-games-new-releases__game-thumbnail {
        height: 180px;
    }
    .page-slot-games-new-releases__game-title {
        font-size: 20px;
        margin: 0 10px 8px;
    }
    .page-slot-games-new-releases__game-provider {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .page-slot-games-new-releases__btn-play {
        font-size: 15px;
        padding: 10px 20px;
        max-width: calc(100% - 20px) !important; /* Adjust for card padding */
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games-new-releases__view-all-cta {
        margin-top: 40px;
    }

    /* Features Section */
    .page-slot-games-new-releases__features {
        padding: 40px 0;
    }
    .page-slot-games-new-releases__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-slot-games-new-releases__feature-item {
        padding: 20px;
    }
    .page-slot-games-new-releases__feature-icon {
        width: 200px !important; /* Enforce minimum size as per requirements */
        height: 200px !important;
        margin: 0 auto 15px auto;
    }
    .page-slot-games-new-releases__feature-title {
        font-size: 20px;
    }
    .page-slot-games-new-releases__feature-description {
        font-size: 15px;
    }

    /* FAQ Section */
    .page-slot-games-new-releases__faq-section {
        padding: 40px 0;
    }
    .page-slot-games-new-releases__faq-list {
        margin-top: 30px;
    }
    details.page-slot-games-new-releases__faq-item summary.page-slot-games-new-releases__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-slot-games-new-releases__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games-new-releases__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-slot-games-new-releases__faq-item .page-slot-games-new-releases__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    /* Image responsive force */
    .page-slot-games-new-releases img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}