.page-contact {
    color: #ffffff;
    background-color: #0f0f1a; /* Inherited from body, but explicitly set for scope */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__section-title {
    font-size: 2.8em;
    color: #e94560;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background for hero */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-contact__hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-contact__hero-content {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #e94560;
    font-weight: 700;
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-contact__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-contact__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-contact__button--primary {
    background-color: #e94560;
    color: #ffffff;
}

.page-contact__button--primary:hover {
    background-color: #d13a53;
    transform: translateY(-2px);
}

.page-contact__button--secondary {
    background-color: transparent;
    color: #e94560;
    border: 2px solid #e94560;
}

.page-contact__button--secondary:hover {
    background-color: rgba(233, 69, 96, 0.1);
    transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #0f0f1a;
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-contact__card-title {
    font-size: 1.8em;
    color: #e94560;
    margin-bottom: 15px;
}

.page-contact__card-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__card-contact-detail {
    font-size: 1.1em;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 15px;
}

.page-contact__link-text {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__link-text:hover {
    color: #d13a53;
    text-decoration: underline;
}

.page-contact__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-contact__commitment {
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__commitment-title {
    font-size: 2.2em;
    color: #e94560;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__commitment-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #cccccc;
    text-align: justify;
}

/* Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #121223;
}

.page-contact__form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__form-group {
    margin-bottom: 25px;
}

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: #e94560;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #33334d;
    border-radius: 8px;
    background-color: #0f0f1a;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #777777;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__button--submit {
    width: 100%;
    padding: 15px;
    background-color: #e94560;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__button--submit:hover {
    background-color: #d13a53;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #0f0f1a;
}

.page-contact__faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #1a1a2e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: #e94560;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
}

.page-contact__faq-image-container {
    margin-top: 50px;
    text-align: center;
}

.page-contact__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Responsible Gambling Section */
.page-contact__responsible-gambling-section {
    padding: 80px 0;
    background-color: #121223;
}

.page-contact__responsible-gambling-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-contact__responsible-gambling-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-contact__responsible-gambling-text {
    flex: 2;
    color: #cccccc;
    line-height: 1.7;
    font-size: 1.1em;
}

.page-contact__responsible-gambling-text p {
    margin-bottom: 20px;
}

.page-contact__support-note {
    font-style: italic;
    margin-top: 20px;
    color: #999999;
}

/* Social Media Section */
.page-contact__social-media-section {
    padding: 80px 0;
    background-color: #0f0f1a;
    text-align: center;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-contact__social-icon-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.page-contact__social-icon {
    width: 64px; /* Ensure icons are not too small */
    height: 64px;
    object-fit: contain;
    min-width: 64px;
    min-height: 64px;
    border-radius: 50%; /* Optional: for circular icons */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-contact__section-title {
        font-size: 2.2em;
    }
    .page-contact__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__hero-section {
        min-height: 500px;
        padding: 60px 0;
    }
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__card-title {
        font-size: 1.6em;
    }
    .page-contact__commitment {
        padding: 30px;
    }
    .page-contact__commitment-title {
        font-size: 1.8em;
    }
    .page-contact__form {
        padding: 30px;
    }
    .page-contact__faq-question {
        font-size: 1.2em;
    }
    .page-contact__responsible-gambling-content {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__responsible-gambling-image {
        max-width: 100%;
    }
    .page-contact__social-links {
        gap: 20px;
    }

    /* Enforce image sizing for mobile to prevent overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
    .page-contact__social-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__hero-section {
        min-height: 400px;
    }
    .page-contact__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}