/* Base styles for page-contact */
.page-contact {
    background: #140C0C; /* Custom background color */
    color: #FFF1E8; /* Custom main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Space for potential fixed footer or just general padding */
}

/* Ensure body padding-top is handled by shared.css, this page's first section needs small top margin */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.page-contact__hero-image-wrapper {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__hero-content {
    text-align: center;
    margin-bottom: 50px;
}

.page-contact__main-title {
    font-size: 3.2em; /* Using em for relative sizing */
    font-weight: 700;
    color: #F3C54D; /* Gold color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    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__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-contact__section-description {
    font-size: 1em;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #FFF1E8;
}

/* Form Section */
.page-contact__form-section,
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__info-section,
.page-contact__location-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

.page-contact__form-label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #F3C54D; /* Gold for labels */
}

.page-contact__form-input,
.page-contact__form-textarea {
    padding: 12px 15px;
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 5px;
    background: #140C0C; /* Background color */
    color: #FFF1E8; /* Text Main */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 241, 232, 0.6); /* Lighter placeholder text */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #F3C54D; /* Gold on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 197, 77, 0.3);
}

.page-contact__submit-button {
    padding: 15px 25px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start; /* Align button to start */
    max-width: 200px; /* Limit button width */
}

.page-contact__submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Other Contact Methods */
.page-contact__method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background: #140C0C; /* Background color */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-contact__card-text {
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__card-phone {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 15px;
}

.page-contact__phone-link {
    color: #FFB04A; /* Gold-like color for phone link */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__phone-link:hover {
    color: #F3C54D;
    text-decoration: underline;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.page-contact__social-link {
    color: #FFB04A; /* Gold-like color for social links */
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
    color: #F3C54D;
    transform: translateY(-2px);
}

.page-contact__card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
    max-width: 180px;
    width: 100%;
    box-sizing: border-box;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    border: none;
}

.page-contact__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #FFB04A; /* Gold-like text */
    border: 1px solid #FFB04A; /* Gold-like border */
}

.page-contact__btn-secondary:hover {
    background: #FFB04A; /* Gold-like background on hover */
    color: #140C0C; /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #140C0C; /* Background color */
}
details.page-contact__faq-item summary.page-contact__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: #F3C54D; /* Gold for FAQ questions */
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #2A1212; /* Card BG on hover */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A; /* Gold-like for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #2A1212; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8; /* Text Main */
}
.page-contact__faq-answer p {
    margin-bottom: 10px;
}
.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

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

.page-contact__info-block {
    background: #140C0C; /* Background color */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
}

.page-contact__info-block-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold for titles */
    margin-bottom: 15px;
}

.page-contact__info-block p {
    color: #FFF1E8; /* Text Main */
}

.page-contact__bottom-cta-button {
    display: block;
    width: fit-content;
    margin: 60px auto 0;
    padding: 18px 40px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    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__bottom-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Location Section */
.page-contact__map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
}

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

/* --- Responsive Styles --- */

/* For smaller desktops and tablets (less than 1024px) */
@media (max-width: 1023px) {
    .page-contact__main-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__hero-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-contact__form-section,
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__info-section,
    .page-contact__location-section {
        margin: 40px auto;
        padding: 25px;
    }
    .page-contact__method-cards,
    .page-contact__info-blocks {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* For larger desktops (min-width 1024px) - copied boilerplate as requested */
@media (min-width: 1024px) {
  .page-contact__home-hero { /* This class is not in contact.html, but required to be output */
    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__hero-brand, /* Not in contact.html */
  .page-contact__hero-jackpot, /* Not in contact.html */
  .page-contact__game-trial { /* Not in contact.html */
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact__game-trial { /* Not in contact.html */
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-contact__game-trial-shell { /* Not in contact.html */
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-contact__game-trial-viewport { /* Not in contact.html */
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-contact__game-trial-frame { /* Not in contact.html */
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-contact__hero-jackpot-claim { /* Not in contact.html */
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-contact__promo-strip { /* Not in contact.html */
    margin-top: 16px;
  }
}

/* For mobile devices (max-width 768px) */
@media (max-width: 768px) {
    .page-contact {
        font-size: 15px;
        line-height: 1.5;
    }
    .page-contact__main-title {
        font-size: 2em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__hero-section {
        padding-top: 5px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-contact__hero-content {
        margin-bottom: 30px;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* All images responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-image-wrapper,
    .page-contact__map-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-contact__form-section,
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__info-section,
    .page-contact__location-section {
        margin: 30px auto;
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons and button containers */
    .page-contact__submit-button,
    .page-contact__card-button,
    .page-contact__bottom-cta-button {
        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-contact__method-cards,
    .page-contact__info-blocks {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }
    .page-contact__social-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .page-contact__social-link {
        flex-basis: 45%; /* Allow two per row */
        max-width: 45%;
        text-align: center;
        border: 1px solid #6A1E1E;
        padding: 8px;
        border-radius: 5px;
        box-sizing: border-box;
    }

    /* FAQ specific for mobile */
    details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
    .page-contact__faq-qtext { font-size: 15px; }
    details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }

    /* Homepage modules - placeholders as strictly required */
    .page-contact__promo-strip-track { /* Placeholder for __promo-strip */
      grid-template-columns: repeat(2, 1fr) !important;
      overflow-x: hidden !important;
      gap: 15px !important;
    }
    .page-contact__hot-games-grid { /* Placeholder for __hot-games */
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 15px !important;
    }
    .page-contact__brand-intro { /* Placeholder for __brand-intro */
      display: block !important;
    }
    .page-contact__winner-ticker { /* Placeholder for __winner-ticker */
      position: fixed !important;
      bottom: 0 !important;
      left: 0 !important;
      width: 100% !important;
      z-index: 999 !important;
    }
    body { /* Placeholder for winner-ticker body padding */
      padding-bottom: 60px !important; /* Adjust based on ticker height */
    }
}