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

/* General Styling */
.page-contact-us {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background-color-page); /* #08160F */
}

.page-contact-us__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-contact-us__section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 50px;
  line-height: 1.2;
}

/* Hero Section */
.page-contact-us__hero-section {
    display: flex;
    flex-direction: column; /* Image above text for hero */
    align-items: center;
    text-align: center;
    padding: 10px 0 40px; /* Small top padding */
    background-color: var(--card-bg); /* #11271B */
    border-bottom: 2px solid var(--divider); /* #1E3A2A */
}

.page-contact-us__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.page-contact-us__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-contact-us__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-contact-us__main-title {
  font-size: clamp(28px, 4vw, 42px); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact-us__description {
  font-size: 18px;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

.page-contact-us__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact-us__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact-us__cta-button--bottom {
    margin-top: 40px;
}

/* Contact Methods Section */
.page-contact-us__contact-methods {
    padding: 60px 0;
}

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

.page-contact-us__method-card {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-contact-us__method-card:hover {
    transform: translateY(-5px);
}

.page-contact-us__card-title {
    font-size: 24px;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact-us__card-description {
    font-size: 16px;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
}

.page-contact-us__card-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-contact-us__card-button:hover {
    opacity: 0.9;
}

.page-contact-us__phone-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main); /* #F2FFF6 */
    margin-top: 15px;
}

.page-contact-us__operating-hours {
    font-size: 16px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-contact-us__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-contact-us__social-link {
    color: var(--glow); /* #57E38D */
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.page-contact-us__social-link:hover {
    color: #ffffff;
}

/* Contact Form */
.page-contact-us__form-wrapper {
    margin-top: 20px;
}

.page-contact-us__contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.page-contact-us__form-group {
    margin-bottom: 10px;
}

.page-contact-us__form-label {
    display: block;
    font-size: 16px;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 5px;
    font-weight: 500;
}

.page-contact-us__form-input,
.page-contact-us__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 5px;
    background-color: var(--deep-green); /* #0A4B2C */
    color: var(--text-main); /* #F2FFF6 */
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-us__form-input::placeholder,
.page-contact-us__form-textarea::placeholder {
    color: var(--text-secondary); /* #A7D9B8 */
    opacity: 0.7;
}

.page-contact-us__form-input:focus,
.page-contact-us__form-textarea:focus {
    border-color: var(--glow); /* #57E38D */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-contact-us__form-textarea {
    resize: vertical;
}

.page-contact-us__form-button {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact-us__form-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}


/* FAQ Section */
.page-contact-us__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green); /* #0A4B2C */
}

.page-contact-us__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-contact-us__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* #2E7A4E */
  overflow: hidden;
  background: var(--card-bg); /* #11271B */
}
details.page-contact-us__faq-item summary.page-contact-us__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;
}
details.page-contact-us__faq-item summary.page-contact-us__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact-us__faq-item summary.page-contact-us__faq-question:hover {
  background: var(--deep-green); /* #0A4B2C */
}
.page-contact-us__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* #F2FFF6 */
}
.page-contact-us__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact-us__faq-item .page-contact-us__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green); /* #0A4B2C */
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary); /* #A7D9B8 */
}
details.page-contact-us__faq-item .page-contact-us__faq-answer p {
    margin-bottom: 0;
}


/* Why Choose Us Section */
.page-contact-us__why-choose-us {
    padding: 60px 0 80px;
}

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

.page-contact-us__benefit-card {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-contact-us__benefit-card:hover {
    transform: translateY(-5px);
}

/* Fixed homepage trial CSS for 1023px and 1024px breakpoints - REQUIRED TEMPLATE INCLUSION */
@media (max-width: 1023px) {
  .page-contact-us__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-contact-us__hero-brand,
  .page-contact-us__hero-jackpot {
    display: none !important;
  }
  .page-contact-us__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-contact-us__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-topbar,
  .page-contact-us__game-trial-bottombar {
    display: none !important;
  }
  .page-contact-us__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-contact-us__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-contact-us__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-contact-us__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-contact-us__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-contact-us__hero-brand,
  .page-contact-us__hero-jackpot,
  .page-contact-us__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-contact-us__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-contact-us__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-contact-us__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}