/* --- Homepage Game Trial CSS (Mandatory Inclusion per prompt, even if page doesn't use it) --- */
@media (max-width: 1023px) {
  .page-vip-club__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-vip-club__hero-brand,
  .page-vip-club__hero-jackpot {
    display: none !important;
  }
  .page-vip-club__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-vip-club__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-vip-club__game-trial-topbar,
  .page-vip-club__game-trial-bottombar {
    display: none !important;
  }
  .page-vip-club__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-vip-club__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-vip-club__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-vip-club__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-vip-club__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-vip-club__hero-brand,
  .page-vip-club__hero-jackpot,
  .page-vip-club__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-vip-club__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-vip-club__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-vip-club__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-vip-club__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-vip-club__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* --- General Homepage/Inner Page Responsive Rules (Mandatory Inclusion per prompt) --- */
@media (max-width: 768px) {
  .page-vip-club__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
  .page-vip-club__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile image adaptation */
  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-vip-club__section,
  .page-vip-club__card,
  .page-vip-club__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button adaptation */
  .page-vip-club__cta-button,
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary,
  .page-vip-club a[class*="button"],
  .page-vip-club a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-vip-club__cta-buttons,
  .page-vip-club__button-group,
  .page-vip-club__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-vip-club__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* FAQ specific mobile styles */
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 15px; }
}

/* --- VIP Club Specific Styles --- */

:root {
    --page-vip-club-bg: #08160F;
    --page-vip-club-card-bg: #11271B;
    --page-vip-club-text-main: #F2FFF6;
    --page-vip-club-text-secondary: #A7D9B8;
    --page-vip-club-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-vip-club-border: #2E7A4E;
    --page-vip-club-glow: #57E38D;
    --page-vip-club-gold: #F2C14E;
    --page-vip-club-divider: #1E3A2A;
    --page-vip-club-deep-green: #0A4B2C;
}

.page-vip-club {
    background: var(--page-vip-club-bg);
    color: var(--page-vip-club-text-main);
    font-family: 'Arial', sans-serif;
}

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

/* Hero Section */
.page-vip-club__home-hero {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vip-club__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-vip-club__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-vip-club__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin-top: -80px; /* Overlap slightly for visual effect */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    background: var(--page-vip-club-card-bg); /* Use card BG for hero content */
    border: 1px solid var(--page-vip-club-border);
}

.page-vip-club__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    max-width: 100%; /* Ensure H1 doesn't overflow */
    box-sizing: border-box;
}

.page-vip-club__hero-description {
    font-size: 1.2em;
    color: var(--page-vip-club-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-vip-club__btn-primary {
    background: var(--page-vip-club-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-vip-club__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-vip-club__btn-secondary {
    background: transparent;
    color: var(--page-vip-club-glow);
    border: 2px solid var(--page-vip-club-glow);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-vip-club__btn-secondary:hover {
    background: var(--page-vip-club-glow);
    color: var(--page-vip-club-deep-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* General Section Styles */
.page-vip-club__intro-section,
.page-vip-club__benefits-section,
.page-vip-club__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-vip-club__dark-section {
    background: var(--page-vip-club-card-bg);
    color: var(--page-vip-club-text-main);
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-vip-club__light-bg {
    background: var(--page-vip-club-text-main); /* Using text-main as a light background */
    color: var(--page-vip-club-deep-green); /* Darker text for contrast */
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-vip-club__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-vip-club__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    color: inherit;
}

/* VIP Tiers */
.page-vip-club__tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club__tier-card {
    background: var(--page-vip-club-deep-green);
    border: 1px solid var(--page-vip-club-border);
    border-radius: 10px;
    padding: 25px;
    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-vip-club__tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-vip-club__tier-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.page-vip-club__tier-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
}

.page-vip-club__tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-vip-club__tier-benefits li {
    font-size: 1em;
    color: var(--page-vip-club-text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-vip-club__tier-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-vip-club-glow);
}

/* Benefits Section */
.page-vip-club__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club__benefit-item {
    background: var(--page-vip-club-deep-green);
    border: 1px solid var(--page-vip-club-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-vip-club__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-vip-club__benefit-icon {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-vip-club__benefit-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
}

.page-vip-club__benefit-text {
    font-size: 1em;
    color: var(--page-vip-club-text-secondary);
    line-height: 1.6;
}

/* How to Join Section */
.page-vip-club__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club__step-item {
    background: var(--page-vip-club-deep-green);
    border: 1px solid var(--page-vip-club-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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-vip-club__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-vip-club__step-number {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
    line-height: 1;
}

.page-vip-club__step-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--page-vip-club-gold);
    margin-bottom: 15px;
}

.page-vip-club__step-text {
    font-size: 1em;
    color: var(--page-vip-club-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-vip-club__step-image {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin: 15px auto;
    display: block;
}

.page-vip-club__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
details.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--page-vip-club-border);
  overflow: hidden;
  background: var(--page-vip-club-deep-green);
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--page-vip-club-text-main);
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}
details.page-vip-club__faq-item summary.page-vip-club__faq-question:hover {
  background: var(--page-vip-club-border);
}
.page-vip-club__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--page-vip-club-text-main);
}
.page-vip-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-vip-club-gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-vip-club__faq-item .page-vip-club__faq-answer {
  padding: 0 20px 20px;
  background: var(--page-vip-club-card-bg);
  border-radius: 0 0 5px 5px;
  color: var(--page-vip-club-text-secondary);
}

@media (max-width: 768px) {
  .page-vip-club__main-title {
    font-size: 2.2em;
  }
  .page-vip-club__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }
  .page-vip-club__section-title {
    font-size: 1.8em;
  }
  .page-vip-club__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-vip-club__tiers-grid,
  .page-vip-club__benefits-grid,
  .page-vip-club__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-vip-club__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-vip-club__btn-primary, .page-vip-club__btn-secondary {
    width: 100%;
  }
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 15px; }
}

/* --- General Overlay and Modal Styles (Mandatory Inclusion per prompt) --- */
.page-vip-club__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
}
.page-vip-club__game-trial-overlay.is-hidden{
  display:none!important;
  pointer-events:none!important;
}
.page-vip-club__game-trial-start{
  z-index:6;
  pointer-events:auto;
  touch-action:manipulation;
}
.page-vip-club__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}
.page-vip-club__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}
.page-vip-club__reward-modal[hidden] {
  display: none;
}
.page-vip-club__reward-modal-content {
  background: var(--page-vip-club-card-bg);
  color: var(--page-vip-club-text-main);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.page-vip-club__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--page-vip-club-text-secondary);
  cursor: pointer;
}
.page-vip-club__reward-modal-close:hover {
  color: var(--page-vip-club-text-main);
}
.page-vip-club__reward-modal h3 {
  color: var(--page-vip-club-gold);
  font-size: 1.8em;
  margin-bottom: 15px;
}
.page-vip-club__reward-modal p {
  font-size: 1.1em;
  margin-bottom: 25px;
}
.page-vip-club__reward-modal .page-vip-club__btn-primary {
  width: auto;
  padding: 12px 25px;
}

/* Ensure h1 font-size is not fixed and too large for mobile */
.page-vip-club__main-title {
    font-size: clamp(2.2em, 5vw, 3.2em);
}