/* style/support.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #B22222; /* Firebrick */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-dark: #1a1a1a;
    --background-light: #f5f5f5;
    --card-background: #2a2a2a;
    --border-color: #444444;
    --hover-color: #e0b800;
}

.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-light);
    background-color: var(--background-dark);
    line-height: 1.6;
}

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

.page-support a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support a:hover {
    color: var(--hover-color);
}

.page-support .main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    margin-top: 60px;
    font-weight: bold;
}

.page-support .section-description {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-support .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.page-support .cta-button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-support .hero-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(178, 34, 34, 0.15)), url('[GALLERY:bg:abstract gold red, vip 66, support]') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.page-support .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-support .hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-support .hero-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Contact Channels Section */
.page-support .contact-channels {
    padding: 80px 0;
    background-color: var(--background-dark);
}

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

.page-support .channel-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-support .channel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support .channel-icon {
    width: 100px; /* Min size 200px requirement is for content images, not decorative icons. This is an icon, so smaller size is okay. */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-support .channel-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-support .channel-text {
    color: #b0b0b0;
    font-size: 1em;
    margin-bottom: 20px;
}

.page-support .channel-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support .channel-link:hover {
    background-color: #a01a1a;
}

/* Guide Section */
.page-support .guide-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    border-top: 1px solid var(--border-color);
}

.page-support .guide-category {
    margin-bottom: 60px;
}

.page-support .category-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.page-support .guide-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.page-support .guide-card {
    background-color: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.page-support .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-support .card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    min-height: 80px;
}

.page-support .card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-support .card-title a:hover {
    color: var(--hover-color);
}

.page-support .card-text {
    color: #b0b0b0;
    font-size: 0.95em;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-support .card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    font-weight: bold;
    margin: 0 20px 20px 20px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page-support .card-button:hover {
    background-color: #a01a1a;
}

/* Account Security Section */
.page-support .account-security-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    border-top: 1px solid var(--border-color);
}

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

.page-support .info-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-support .info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support .item-icon {
    width: 100px; /* Min size 200px requirement is for content images, not decorative icons. This is an icon, so smaller size is okay. */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-support .item-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-support .item-text {
    color: #b0b0b0;
    font-size: 1em;
    margin-bottom: 20px;
}

.page-support .item-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support .item-link:hover {
    background-color: #a01a1a;
}

/* FAQ Section */
.page-support .faq-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    border-top: 1px solid var(--border-color);
}

.page-support .faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #3a3a3a;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #4a4a4a;
}

.page-support .faq-q-title {
    font-size: 1.25em;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: var(--card-background);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-support .faq-a-text {
    color: #cccccc;
    font-size: 1em;
    margin: 0;
}

/* Latest News Section */
.page-support .latest-news-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    border-top: 1px solid var(--border-color);
}

.page-support .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support .news-card {
    background-color: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.page-support .news-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-support .news-card .card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    min-height: 70px;
}

.page-support .news-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-support .news-card .card-title a:hover {
    color: var(--hover-color);
}

.page-support .news-card .card-text {
    color: #b0b0b0;
    font-size: 0.9em;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-support .news-card .card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border-radius: 5px;
    font-weight: bold;
    margin: 0 20px 20px 20px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page-support .news-card .card-button:hover {
    background-color: #a01a1a;
}

.page-support .view-all-news {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support .main-title {
        font-size: 2.8em;
    }
    .page-support .section-title {
        font-size: 2.2em;
    }
    .page-support .hero-description {
        font-size: 1.1em;
    }
    .page-support .channels-grid, .page-support .guide-cards-grid, .page-support .info-grid, .page-support .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support .main-title {
        font-size: 2.2em;
    }
    .page-support .section-title {
        font-size: 1.8em;
    }
    .page-support .hero-section {
        padding: 60px 0;
    }
    .page-support .hero-description {
        font-size: 1em;
    }
    .page-support .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-support .channel-item, .page-support .guide-card, .page-support .info-item, .page-support .news-card {
        padding: 20px;
    }
    .page-support .channel-icon, .page-support .item-icon {
        width: 80px;
        height: 80px;
    }
    .page-support .channel-title, .page-support .item-title {
        font-size: 1.5em;
    }
    .page-support .category-title {
        font-size: 1.7em;
    }
    .page-support .card-image {
        height: 200px;
    }
    .page-support .card-title {
        font-size: 1.2em;
        min-height: auto;
    }
    .page-support .news-card .card-image {
        height: 180px;
    }
    .page-support .news-card .card-title {
        font-size: 1.1em;
        min-height: auto;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .page-support .faq-q-title {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-support .main-title {
        font-size: 1.8em;
    }
    .page-support .section-title {
        font-size: 1.5em;
    }
    .page-support .section-description {
        font-size: 0.95em;
    }
    .page-support .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-support .channels-grid, .page-support .guide-cards-grid, .page-support .info-grid, .page-support .news-grid {
        grid-template-columns: 1fr;
    }
    .page-support .channel-item, .page-support .guide-card, .page-support .info-item, .page-support .news-card {
        padding: 15px;
    }
    .page-support .channel-title, .page-support .item-title {
        font-size: 1.3em;
    }
    .page-support .category-title {
        font-size: 1.5em;
    }
    .page-support .card-title, .page-support .news-card .card-title {
        font-size: 1.1em;
        padding: 15px 15px 8px 15px;
    }
    .page-support .card-text, .page-support .news-card .card-text {
        font-size: 0.85em;
        padding: 0 15px 15px 15px;
    }
    .faq-question {
        padding: 12px 15px;
    }
    .page-support .faq-q-title {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .faq-answer {
        padding: 12px 15px;
    }
}