/* style/resources-fanvip-platform-guide.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Deep Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

.page-resources-fanvip-platform-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-fanvip-platform-guide__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-resources-fanvip-platform-guide__section:nth-child(even) {
    background-color: #f0f0f0;
}

.page-resources-fanvip-platform-guide h1,
.page-resources-fanvip-platform-guide h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources-fanvip-platform-guide h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-resources-fanvip-platform-guide p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-resources-fanvip-platform-guide ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-resources-fanvip-platform-guide li {
    margin-bottom: 8px;
}

.page-resources-fanvip-platform-guide__button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    text-align: center;
}

.page-resources-fanvip-platform-guide__button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
}

.page-resources-fanvip-platform-guide__link-text {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-fanvip-platform-guide__link-text:hover {
    color: var(--primary-color);
}

/* Hero Section */
.page-resources-fanvip-platform-guide__hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%);
    color: var(--text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-fanvip-platform-guide__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources-fanvip-platform-guide__hero h1 {
    color: var(--primary-color);
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-fanvip-platform-guide__hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-fanvip-platform-guide__hero-image {
    width: 100%;
    max-width: 900px;
}

.page-resources-fanvip-platform-guide__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-fanvip-platform-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-fanvip-platform-guide__cta-button:hover {
    background-color: #ffd700cc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Registration Steps */
.page-resources-fanvip-platform-guide__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-resources-fanvip-platform-guide__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-resources-fanvip-platform-guide__step-item:hover {
    transform: translateY(-5px);
}

.page-resources-fanvip-platform-guide__step-icon {
    width: 150px; /* Minimum 200px requirement, this is a content image, not icon */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-fanvip-platform-guide__step-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
}

/* Game Grid */
.page-resources-fanvip-platform-guide__game-grid,
.page-resources-fanvip-platform-guide__promo-grid,
.page-resources-fanvip-platform-guide__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-fanvip-platform-guide__game-card,
.page-resources-fanvip-platform-guide__promo-card,
.page-resources-fanvip-platform-guide__blog-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-fanvip-platform-guide__game-card:hover,
.page-resources-fanvip-platform-guide__promo-card:hover,
.page-resources-fanvip-platform-guide__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-fanvip-platform-guide__game-image,
.page-resources-fanvip-platform-guide__promo-image,
.page-resources-fanvip-platform-guide__blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-resources-fanvip-platform-guide__game-card h3,
.page-resources-fanvip-platform-guide__promo-card h3,
.page-resources-fanvip-platform-guide__blog-card h3 {
    padding: 15px 20px 0;
    font-size: 1.3em;
}

.page-resources-fanvip-platform-guide__game-card h3 a,
.page-resources-fanvip-platform-guide__promo-card h3 a,
.page-resources-fanvip-platform-guide__blog-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-fanvip-platform-guide__game-card h3 a:hover,
.page-resources-fanvip-platform-guide__promo-card h3 a:hover,
.page-resources-fanvip-platform-guide__blog-card h3 a:hover {
    color: var(--primary-color);
}

.page-resources-fanvip-platform-guide__game-card p,
.page-resources-fanvip-platform-guide__promo-card p,
.page-resources-fanvip-platform-guide__blog-card p {
    padding: 0 20px 20px;
    font-size: 0.95em;
}

.page-resources-fanvip-platform-guide__blog-date {
    display: block;
    padding: 0 20px 15px;
    font-size: 0.85em;
    color: #777;
}

/* FAQ */
.page-resources-fanvip-platform-guide__faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.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 20px;
    background-color: #fcfcfc;
}

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

.faq-item.active .faq-answer p {
    margin-bottom: 0;
}

/* Floating Buttons */
.page-resources-fanvip-platform-guide__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-resources-fanvip-platform-guide__floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources-fanvip-platform-guide__floating-button:hover {
    transform: scale(1.05);
    background-color: #f0c400;
}

.page-resources-fanvip-platform-guide__register-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-fanvip-platform-guide__register-button:hover {
    background-color: #a00000;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-fanvip-platform-guide__hero h1 {
        font-size: 2.5em;
    }
    .page-resources-fanvip-platform-guide__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-resources-fanvip-platform-guide__game-grid,
    .page-resources-fanvip-platform-guide__promo-grid,
    .page-resources-fanvip-platform-guide__blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-fanvip-platform-guide__section {
        padding: 40px 0;
    }
    .page-resources-fanvip-platform-guide h1 {
        font-size: 2em;
    }
    .page-resources-fanvip-platform-guide h2 {
        font-size: 1.8em;
    }
    .page-resources-fanvip-platform-guide__hero {
        padding: 60px 15px;
    }
    .page-resources-fanvip-platform-guide__hero-content {
        margin-bottom: 30px;
    }
    .page-resources-fanvip-platform-guide__hero h1 {
        font-size: 2.2em;
    }
    .page-resources-fanvip-platform-guide__hero p {
        font-size: 1em;
    }
    .page-resources-fanvip-platform-guide__cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-resources-fanvip-platform-guide__steps {
        grid-template-columns: 1fr;
    }
    .page-resources-fanvip-platform-guide__game-grid,
    .page-resources-fanvip-platform-guide__promo-grid,
    .page-resources-fanvip-platform-guide__blog-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-fanvip-platform-guide__floating-buttons {
        flex-direction: row;
        bottom: 15px;
        right: 50%;
        transform: translateX(50%);
        width: auto;
        gap: 8px;
    }
    .page-resources-fanvip-platform-guide__floating-button {
        width: 100px;
        height: 45px;
        font-size: 1em;
    }
    .faq-question {
        padding: 12px 15px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-fanvip-platform-guide__container {
        padding: 15px;
    }
    .page-resources-fanvip-platform-guide h1 {
        font-size: 1.8em;
    }
    .page-resources-fanvip-platform-guide h2 {
        font-size: 1.5em;
    }
    .page-resources-fanvip-platform-guide__floating-buttons {
        width: 90%;
        justify-content: space-around;
    }
    .page-resources-fanvip-platform-guide__floating-button {
        width: 90px;
        height: 40px;
        font-size: 0.9em;
    }
}