.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-support__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-support__section-description {
    font-size: 18px;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(139, 0, 0, 0.4));
    overflow: hidden;
    padding-top: 0; /* shared.css handles body padding-top */
}

.page-support__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-support__hero-content {
    flex: 1;
    padding-right: 40px;
    text-align: left;
}

.page-support__hero-title {
    font-size: 52px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-support__hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-support__hero-cta-group {
    display: flex;
    gap: 20px;
}

.page-support__hero-image {
    flex: 1;
    max-width: 50%;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: #FFD700;
    color: #0a0a0a; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
}

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

.page-support__btn-secondary:hover {
    background: #FFD700;
    color: #0a0a0a;
}

.page-support__btn-link {
    background: #8B0000;
    color: #ffffff;
    border: 2px solid #8B0000;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

.page-support__btn-link:hover {
    background: #a00000;
    border-color: #a00000;
}

.page-support__btn-full-width {
    display: block;
    width: 100%;
    max-width: 400px; /* Optional: constrain width for block buttons */
    margin: 40px auto 20px auto;
}


/* Contact Channels Section */
.page-support__contact-channels-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background */
}

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

.page-support__channel-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
    min-height: 350px; /* Ensure cards have similar height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__channel-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 215, 0, 0.15); /* Hover with gold tint */
}

.page-support__channel-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-support__channel-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__channel-text {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

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

.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1); /* Darker background for question */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff;
}

.page-support__faq-question:hover {
    background: rgba(255, 215, 0, 0.1); /* Lighter gold tint on hover */
    border-color: #FFD700;
}

.page-support__faq-question:active {
    background: rgba(255, 215, 0, 0.15);
}

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #FFD700; /* Gold text for question title */
}

.page-support__faq-toggle {
    font-size: 28px; /* Larger toggle for better visibility */
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    color: #ffffff; /* White toggle when active */
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px; /* Initial padding matches question */
    opacity: 0;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
    border-radius: 0 0 5px 5px;
    font-size: 16px;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-support__faq-answer p {
    margin-bottom: 0;
}

/* Guides Section */
.page-support__guides-section {
    padding: 80px 0;
    background-color: rgba(139, 0, 0, 0.1); /* Red tint background */
}

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

.page-support__guide-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.page-support__guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__guide-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-support__guide-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__guide-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-support__guide-text {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Security Section */
.page-support__security-section {
    padding: 80px 0;
    background-color: rgba(255, 215, 0, 0.1); /* Gold tint background */
}

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

.page-support__security-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-support__security-item img {
    max-width: 100%; /* Allow scaling down */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: contain; /* Use contain for icon-like images to prevent cropping */
}

.page-support__security-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__security-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 44px;
    }
    .page-support__hero-description {
        font-size: 18px;
    }
    .page-support__hero-image {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section-title {
        font-size: 28px;
    }

    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Hero Section Mobile */
    .page-support__hero-section {
        padding: 60px 0;
    }
    .page-support__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-support__hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .page-support__hero-title {
        font-size: 36px;
    }
    .page-support__hero-description {
        font-size: 16px;
    }
    .page-support__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__hero-image {
        max-width: 100%;
    }
    .page-support__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }

    /* Sections Mobile */
    .page-support__contact-channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__security-section {
        padding: 50px 0;
    }
    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__security-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__security-item {
        padding: 25px;
        min-height: auto; /* Allow height to adjust */
    }

    .page-support__channel-card img,
    .page-support__guide-card img,
    .page-support__security-item img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }

    /* FAQ Mobile */
    .page-support__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-support__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-support__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px !important;
    }
    
    /* Buttons Mobile */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-link {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
    }
    .page-support__hero-cta-group {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden;
      flex-direction: column;
      gap: 15px;
    }
    .page-support__btn-full-width {
        max-width: 100% !important;
        width: 100% !important;
        margin: 30px auto 15px auto;
    }
}