/* style/index-core-game-features.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-grey: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-core-game-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for dark body background */
    background: var(--dark-bg-1);
}

.page-index-core-game-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Highlight text for keywords */
.page-index-core-game-features .highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* HERO Section */
.page-index-core-game-features__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #002D62);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-index-core-game-features__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-index-core-game-features__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-core-game-features__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-index-core-game-features__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-index-core-game-features__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    color: var(--text-color-light);
}

.page-index-core-game-features__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--text-color-light);
}

.page-index-core-game-features__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-core-game-features__cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-index-core-game-features__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index-core-game-features__section-subtitle {
    font-size: 18px;
    color: #cccccc;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Leaderboard Section */
.page-index-core-game-features__game-leaderboard-section {
    background: var(--background-grey);
    padding: 60px 20px;
    color: var(--text-color-dark);
}

.page-index-core-game-features__game-leaderboard-section .page-index-core-game-features__page-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 40px;
}

.page-index-core-game-features__game-leaderboard {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-index-core-game-features__game-card {
    display: flex;
    align-items: center;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-core-game-features__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-core-game-features__game-card-segment {
    padding: 0 20px;
    position: relative;
    height: 100%; /* Ensure segments take full height for consistent dividers */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-index-core-game-features__game-card-segment:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: var(--border-color);
}

.page-index-core-game-features__segment-1 {
    min-width: 130px;
    max-width: 130px;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.page-index-core-game-features__rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-weight: bold;
    font-size: 16px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default for 4+ */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-core-game-features__rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-index-core-game-features__rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.page-index-core-game-features__rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B87333);
}

.page-index-core-game-features__game-icon {
    max-width: 80px;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-core-game-features__segment-2 {
    flex: 1;
    text-align: center;
}

.page-index-core-game-features__game-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.page-index-core-game-features__game-name-link {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-core-game-features__game-name-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-core-game-features__game-description {
    font-size: 14px;
    color: var(--text-color-dark);
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-index-core-game-features__game-description a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-index-core-game-features__game-description a:hover {
    color: #002D62;
    text-decoration: underline;
}

.page-index-core-game-features__segment-3 {
    min-width: 180px;
    max-width: 180px;
    text-align: center;
}

.page-index-core-game-features__game-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.page-index-core-game-features__stars {
    color: var(--secondary-color);
    font-size: 18px;
    margin-right: 5px;
    font-weight: bold;
}

.page-index-core-game-features__rating-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color-dark);
}

.page-index-core-game-features__promotion-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-index-core-game-features__promotion-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.page-index-core-game-features__promotion-link:hover {
    text-decoration: underline;
}

.page-index-core-game-features__hot-badge {
    background: #FF4500;
    color: var(--text-color-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.page-index-core-game-features__segment-4 {
    min-width: 220px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
}

.page-index-core-game-features__cta-button {
    display: block;
    width: 100%;
    padding: 12px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-core-game-features__btn-download {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-index-core-game-features__btn-download:hover {
    background: #002D62;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-core-game-features__btn-review {
    background: var(--secondary-color);
    color: var(--text-color-dark);
}

.page-index-core-game-features__btn-review:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Brand Review Content Section */
.page-index-core-game-features__review-content-section {
  padding: 40px 20px;
  background: var(--background-grey);
  color: var(--text-color-dark);
}

.page-index-core-game-features__review-content-container {
  max-width: 1400px; /* Wider for better readability */
  margin: 0 auto;
}

.page-index-core-game-features__review-content-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index-core-game-features__review-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-core-game-features__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin-top: 28px;
  margin-bottom: 15px;
}

.page-index-core-game-features__review-body {
  color: var(--text-color-dark);
  line-height: 1.7;
}

.page-index-core-game-features__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Homepage Introduction Section */
.page-index-core-game-features__intro-section {
    background: var(--dark-bg-1);
    padding: 60px 20px;
    color: var(--text-color-light);
}

.page-index-core-game-features__intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-index-core-game-features__intro-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-index-core-game-features__text-block {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.page-index-core-game-features__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #f0f0f0;
}

.page-index-core-game-features__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-core-game-features__btn-primary:hover {
    background: #002D62;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Core Game Features Section */
.page-index-core-game-features__features-section {
    background: linear-gradient(135deg, #002D62, var(--primary-color));
    padding: 60px 20px;
    color: var(--text-color-light);
}

.page-index-core-game-features__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-core-game-features__feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-core-game-features__feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.page-index-core-game-features__feature-icon {
    max-width: 250px; /* Increased size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-core-game-features__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-index-core-game-features__feature-description {
    font-size: 16px;
    color: #e0e0e0;
}

/* Promotions Section */
.page-index-core-game-features__promotions-section {
    background: var(--background-grey);
    padding: 60px 20px;
    color: var(--text-color-dark);
}

.page-index-core-game-features__promotions-section .page-index-core-game-features__section-title {
    color: var(--text-color-dark);
}

.page-index-core-game-features__promotions-section .page-index-core-game-features__section-subtitle {
    color: #555555;
}

.page-index-core-game-features__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-core-game-features__promo-card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-core-game-features__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-core-game-features__promo-image {
    max-width: 300px; /* Increased size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index-core-game-features__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-core-game-features__promo-description {
    font-size: 16px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index-core-game-features__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--card-background);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-core-game-features__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Blog Section */
.page-index-core-game-features__blog-section {
    background: var(--dark-bg-1);
    padding: 60px 20px;
    color: var(--text-color-light);
}

.page-index-core-game-features__blog-section .page-index-core-game-features__section-title {
    color: var(--text-color-light);
}

.page-index-core-game-features__blog-section .page-index-core-game-features__section-subtitle {
    color: #cccccc;
}

.page-index-core-game-features__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-core-game-features__blog-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-core-game-features__blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.page-index-core-game-features__blog-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.page-index-core-game-features__blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-index-core-game-features__blog-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-index-core-game-features__blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-core-game-features__blog-title a:hover {
    color: #FFC107;
    text-decoration: underline;
}

.page-index-core-game-features__blog-excerpt {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-core-game-features__read-more {
    display: inline-block;
    color: var(--primary-color);
    background: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-core-game-features__read-more:hover {
    background: #FFC107;
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-core-game-features__hero-title {
        font-size: 40px;
    }

    .page-index-core-game-features__hero-description {
        font-size: 18px;
    }

    .page-index-core-game-features__section-title {
        font-size: 30px;
    }

    .page-index-core-game-features__game-card-segment {
        padding: 0 15px;
    }

    .page-index-core-game-features__segment-1 {
        min-width: 100px;
        max-width: 100px;
    }

    .page-index-core-game-features__rank-badge {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .page-index-core-game-features__game-icon {
        max-width: 70px;
    }

    .page-index-core-game-features__game-name {
        font-size: 20px;
    }

    .page-index-core-game-features__game-description {
        font-size: 13px;
    }

    .page-index-core-game-features__segment-3 {
        min-width: 150px;
        max-width: 150px;
    }

    .page-index-core-game-features__segment-4 {
        min-width: 180px;
        max-width: 180px;
    }

    .page-index-core-game-features__cta-button {
        font-size: 14px;
        padding: 10px 12px;
    }

    .page-index-core-game-features__review-title {
        font-size: 28px;
    }

    .page-index-core-game-features__review-content-card h3 {
        font-size: 20px;
    }

    .page-index-core-game-features__intro-content {
        flex-direction: column;
    }

    .page-index-core-game-features__intro-image,
    .page-index-core-game-features__text-block {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile specific padding for fixed header */
    .page-index-core-game-features__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-core-game-features__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-index-core-game-features__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-index-core-game-features__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-index-core-game-features__section-title {
        font-size: 26px;
        padding-top: 30px;
    }

    .page-index-core-game-features__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-index-core-game-features__game-leaderboard-section .page-index-core-game-features__page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-index-core-game-features__game-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .page-index-core-game-features__game-card-segment {
        width: 100%;
        padding: 10px 0;
        text-align: left;
    }

    .page-index-core-game-features__game-card-segment:not(:first-child)::before {
        display: none;
    }

    .page-index-core-game-features__segment-1 {
        flex-direction: row;
        justify-content: flex-start;
        min-width: auto;
        max-width: 100%;
        gap: 15px;
    }

    .page-index-core-game-features__rank-badge {
        font-size: 14px;
        width: 28px;
        height: 28px;
    }

    .page-index-core-game-features__game-icon {
        max-width: 60px;
    }

    .page-index-core-game-features__segment-2 {
        order: 1;
        text-align: center;
    }

    .page-index-core-game-features__game-name {
        font-size: 20px;
        text-align: center;
    }

    .page-index-core-game-features__game-description {
        font-size: 13px;
        text-align: center;
    }

    .page-index-core-game-features__segment-3 {
        order: 2;
        min-width: auto;
        max-width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        align-items: center;
    }

    .page-index-core-game-features__segment-4 {
        order: 3;
        min-width: auto;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-index-core-game-features__cta-button {
        font-size: 12px;
        padding: 8px 12px;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        box-sizing: border-box;
    }

    .page-index-core-game-features__review-content-section {
        padding: 20px 15px;
    }

    .page-index-core-game-features__review-content-card {
        padding: 24px 20px;
    }

    .page-index-core-game-features__review-title {
        font-size: 24px;
    }

    .page-index-core-game-features__review-content-card h3 {
        font-size: 18px;
    }

    .page-index-core-game-features__review-body p {
        font-size: 15px;
    }

    .page-index-core-game-features__intro-image {
        min-width: 100%;
    }

    .page-index-core-game-features__features-grid,
    .page-index-core-game-features__promotions-grid,
    .page-index-core-game-features__blog-grid {
        grid-template-columns: 1fr;
    }

    .page-index-core-game-features__feature-icon,
    .page-index-core-game-features__promo-image {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-index-core-game-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-core-game-features__container,
    .page-index-core-game-features__intro-content,
    .page-index-core-game-features__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}