/* style/index-vip-privileges.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-light: #f1f3f5;
    --background-card: #ffffff;
    --border-color: #e0e0e0;
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --gradient-silver: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    --gradient-bronze: linear-gradient(135deg, #CD7F32, #B87333);
    --gradient-orange: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.page-index-vip-privileges {
    color: var(--text-color-dark);
    background: var(--background-light);
}

/* HERO Section */
.page-index-vip-privileges__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), #003380); /* Darker blue for background */
    color: var(--text-color-light);
}

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

.page-index-vip-privileges__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-vip-privileges__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-vip-privileges__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-vip-privileges__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-index-vip-privileges__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-color-light);
    line-height: 1.5;
}

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

.page-index-vip-privileges__cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Game Leaderboard Section */
.page-index-vip-privileges__game-leaderboard-section {
    padding: 60px 20px;
    background: var(--background-light);
    max-width: 1400px;
    margin: 0 auto;
}

.page-index-vip-privileges__page-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

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

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

.page-index-vip-privileges__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index-vip-privileges__game-card-segment {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-index-vip-privileges__segment-1 {
    width: 150px;
    min-width: 120px;
    padding-left: 0;
    border-right: 1px solid var(--border-color);
    position: relative;
}

.page-index-vip-privileges__segment-2 {
    flex: 1;
    border-right: 1px solid var(--border-color);
}

.page-index-vip-privileges__segment-3 {
    width: 180px;
    min-width: 150px;
    border-right: 1px solid var(--border-color);
}

.page-index-vip-privileges__segment-4 {
    width: 200px;
    min-width: 180px;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-index-vip-privileges__rank-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-vip-privileges__rank-1 {
    background: var(--gradient-gold);
}

.page-index-vip-privileges__rank-2 {
    background: var(--gradient-silver);
}

.page-index-vip-privileges__rank-3 {
    background: var(--gradient-bronze);
}

.page-index-vip-privileges__rank-badge:not(.page-index-vip-privileges__rank-1):not(.page-index-vip-privileges__rank-2):not(.page-index-vip-privileges__rank-3) {
    background: var(--gradient-orange);
}

.page-index-vip-privileges__game-icon {
    max-width: 100px;
    height: auto;
    display: block;
    margin-top: 20px; /* Space for rank badge */
    border-radius: 4px;
}

.page-index-vip-privileges__game-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-index-vip-privileges__game-name-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-vip-privileges__game-name-link:hover {
    color: #003380;
    text-decoration: underline;
}

.page-index-vip-privileges__game-description {
    font-size: 14px;
    color: var(--text-color-dark);
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-index-vip-privileges__game-description a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

.page-index-vip-privileges__game-description a:hover {
    color: #004499;
    text-decoration: underline;
}

.page-index-vip-privileges__game-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.page-index-vip-privileges__stars {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: bold;
}

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

.page-index-vip-privileges__promotion-text {
    font-size: 14px;
    color: #0066cc;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-index-vip-privileges__promotion-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-vip-privileges__promotion-link:hover {
    color: #004499;
    text-decoration: underline;
}

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

.page-index-vip-privileges__cta-button {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.page-index-vip-privileges__btn-download {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-index-vip-privileges__btn-download:hover {
    background: #003380;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-index-vip-privileges__btn-review {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-index-vip-privileges__btn-review:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Brand Review Content Section */
.page-index-vip-privileges__review-content-section {
  padding: 40px 20px;
  background: var(--background-light);
}

.page-index-vip-privileges__review-content-container {
  max-width: 1400px; /* Wider than leaderboard cards, for better readability */
  margin: 0 auto;
}

.page-index-vip-privileges__review-content-card {
  background: var(--background-card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-color-dark);
}

.page-index-vip-privileges__review-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-vip-privileges__review-body h3 {
  font-size: 20px;
  font-weight: bold; /* Small titles bold */
  color: var(--primary-color);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index-vip-privileges__review-body {
  color: var(--text-color-dark);
  line-height: 1.7;
}

.page-index-vip-privileges__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-index-vip-privileges__review-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-index-vip-privileges__section {
    padding: 60px 20px;
}

.page-index-vip-privileges__section--intro {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-index-vip-privileges__section--games {
    background: var(--background-light);
    color: var(--text-color-dark);
}

.page-index-vip-privileges__section--promotions {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-index-vip-privileges__section--blog {
    background: var(--background-light);
    color: var(--text-color-dark);
}

.page-index-vip-privileges__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-vip-privileges__heading {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from section */
}

.page-index-vip-privileges__heading--centered {
    text-align: center;
}

.page-index-vip-privileges__paragraph {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-index-vip-privileges__text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-vip-privileges__text-link:hover {
    text-decoration: underline;
}

.page-index-vip-privileges__highlight-text {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-index-vip-privileges__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-index-vip-privileges__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-index-vip-privileges__game-card-small {
    background: var(--background-card);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

.page-index-vip-privileges__game-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index-vip-privileges__game-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
    display: block;
}

.page-index-vip-privileges__game-card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-vip-privileges__game-card-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-index-vip-privileges__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index-vip-privileges__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.page-index-vip-privileges__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index-vip-privileges__btn-secondary:hover {
    background: #003380;
    transform: translateY(-2px);
}

/* Promotions List */
.page-index-vip-privileges__promotion-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-index-vip-privileges__promotion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    color: var(--text-color-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-index-vip-privileges__promotion-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Blog Grid */
.page-index-vip-privileges__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-index-vip-privileges__blog-card {
    background: var(--background-card);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

.page-index-vip-privileges__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index-vip-privileges__blog-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
    display: block;
}

.page-index-vip-privileges__blog-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-index-vip-privileges__blog-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-vip-privileges__blog-link:hover {
    color: #003380;
    text-decoration: underline;
}

.page-index-vip-privileges__blog-summary {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-index-vip-privileges__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-vip-privileges__btn-text:hover {
    color: #003380;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-vip-privileges__hero-title {
        font-size: 40px;
    }
    .page-index-vip-privileges__hero-description {
        font-size: 18px;
    }
    .page-index-vip-privileges__page-title,
    .page-index-vip-privileges__heading {
        font-size: 32px;
    }
    .page-index-vip-privileges__game-card-segment {
        padding: 0 15px;
    }
    .page-index-vip-privileges__segment-1 {
        width: 120px;
    }
    .page-index-vip-privileges__segment-3 {
        width: 160px;
    }
    .page-index-vip-privileges__segment-4 {
        width: 160px;
    }
    .page-index-vip-privileges__game-name {
        font-size: 20px;
    }
    .page-index-vip-privileges__game-icon {
        max-width: 80px;
    }
    .page-index-vip-privileges__review-content-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-vip-privileges__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-vip-privileges__hero-title {
        font-size: 32px;
    }
    .page-index-vip-privileges__hero-description {
        font-size: 16px;
    }
    .page-index-vip-privileges__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-vip-privileges__game-leaderboard-section,
    .page-index-vip-privileges__review-content-section,
    .page-index-vip-privileges__section {
        padding: 30px 15px;
    }
    .page-index-vip-privileges__page-title,
    .page-index-vip-privileges__heading {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-index-vip-privileges__review-title {
        font-size: 24px;
    }
    .page-index-vip-privileges__review-body h3 {
        font-size: 18px;
    }
    .page-index-vip-privileges__review-body p {
        font-size: 15px;
    }
    .page-index-vip-privileges__game-card {
        flex-wrap: wrap;
        padding: 15px;
    }
    .page-index-vip-privileges__game-card-segment {
        width: 100%;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .page-index-vip-privileges__segment-1 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }
    .page-index-vip-privileges__rank-badge {
        position: static;
        margin-right: 10px;
    }
    .page-index-vip-privileges__game-icon {
        max-width: 80px;
        margin-top: 0;
    }
    .page-index-vip-privileges__segment-2,
    .page-index-vip-privileges__segment-3 {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .page-index-vip-privileges__segment-4 {
        width: 100%;
        padding-top: 15px;
        padding-bottom: 0;
        border-bottom: none;
    }
    .page-index-vip-privileges__game-name {
        font-size: 20px;
    }
    .page-index-vip-privileges__game-description {
        font-size: 13px;
    }
    .page-index-vip-privileges__btn-download,
    .page-index-vip-privileges__btn-review {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        min-width: auto !important;
    }
    .page-index-vip-privileges__game-grid,
    .page-index-vip-privileges__promotion-list,
    .page-index-vip-privileges__blog-grid {
        gap: 20px;
    }
    .page-index-vip-privileges__game-card-small,
    .page-index-vip-privileges__promotion-item,
    .page-index-vip-privileges__blog-card {
        padding: 20px;
    }
    .page-index-vip-privileges__game-card-title,
    .page-index-vip-privileges__promotion-title,
    .page-index-vip-privileges__blog-card-title {
        font-size: 18px;
    }
    .page-index-vip-privileges__paragraph,
    .page-index-vip-privileges__game-card-description,
    .page-index-vip-privileges__promotion-description,
    .page-index-vip-privileges__blog-summary {
        font-size: 15px;
    }
    /* Mobile image scaling */
    .page-index-vip-privileges img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-vip-privileges__section,
    .page-index-vip-privileges__card,
    .page-index-vip-privileges__container,
    .page-index-vip-privileges__game-leaderboard-section,
    .page-index-vip-privileges__review-content-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-vip-privileges__hero-title {
        font-size: 28px;
    }
    .page-index-vip-privileges__page-title,
    .page-index-vip-privileges__heading {
        font-size: 24px;
    }
    .page-index-vip-privileges__review-title {
        font-size: 20px;
    }
    .page-index-vip-privileges__game-name {
        font-size: 18px;
    }
    .page-index-vip-privileges__game-icon {
        max-width: 60px;
    }
    .page-index-vip-privileges__rank-badge {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    .page-index-vip-privileges__stars,
    .page-index-vip-privileges__rating-number {
        font-size: 14px;
    }
    .page-index-vip-privileges__promotion-text {
        font-size: 12px;
    }
    .page-index-vip-privileges__cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}