:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f4f4;
    --background-dark: #222222;
    --border-color: #e0e0e0;
}

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

.page-index h1,
.page-index h2,
.page-index h3,
.page-index h4,
.page-index h5,
.page-index h6 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-index h1 {
    font-size: 3em;
    text-align: center;
    color: var(--text-light);
}

.page-index h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-index h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-index p {
    margin-bottom: 15px;
}

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

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

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

.page-index .cta-button,
.page-index .btn-small {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index .cta-button:hover,
.page-index .btn-small:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index .secondary-cta {
    background: var(--secondary-color);
    color: var(--text-light);
    margin-left: 15px;
}

.page-index .secondary-cta:hover {
    background: var(--primary-color);
    color: var(--text-dark);
}

.page-index .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-index .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-index .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-index .intro-section {
    padding: 80px 0;
    background-color: var(--background-light);
    text-align: center;
}

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

.page-index .intro-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-index .intro-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-index .quick-access-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-index .quick-access-section h2,
.page-index .quick-access-section p {
    color: var(--text-light);
}

.page-index .access-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-index .access-link-item {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 25px 15px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .access-link-item:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index .access-link-item img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 4px;
}

.page-index .access-link-item span {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

.page-index .games-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index .game-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.page-index .game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-index .game-card h3 {
    margin: 20px 15px 10px;
    color: var(--secondary-color);
    font-size: 1.6em;
}

.page-index .game-card h3 a {
    color: var(--secondary-color);
}

.page-index .game-card h3 a:hover {
    color: var(--primary-color);
}

.page-index .game-card p {
    padding: 0 15px;
    font-size: 0.95em;
    flex-grow: 1;
}

.page-index .game-card .btn-small {
    margin: 15px;
    align-self: center;
}

.page-index .promo-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index .promo-card {
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.page-index .promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-index .promo-card h3 {
    margin: 20px 15px 10px;
    color: var(--secondary-color);
    font-size: 1.6em;
}

.page-index .promo-card h3 a {
    color: var(--secondary-color);
}

.page-index .promo-card h3 a:hover {
    color: var(--primary-color);
}

.page-index .promo-card p {
    padding: 0 15px;
    font-size: 0.95em;
    flex-grow: 1;
}

.page-index .promo-card .btn-small {
    margin: 15px;
    align-self: center;
}

.page-index .security-cskh-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-index .security-cskh-section h2,
.page-index .security-cskh-section p {
    color: var(--text-light);
}

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

.page-index .info-card {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index .info-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-index .info-card:hover h3 {
    color: var(--text-dark);
}

.page-index .info-card:hover a {
    color: var(--text-dark);
}

.page-index .info-card img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.page-index .info-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-index .info-card p {
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-index .info-card .btn-small {
    background: var(--primary-color);
    color: var(--text-dark);
}

.page-index .info-card:hover .btn-small {
    background: var(--secondary-color);
    color: var(--text-light);
}

.page-index .faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-index .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-index .faq-question:hover {
    background: var(--background-light);
}

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

.page-index .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-index .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-index .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-index .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-index .blog-section {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.page-index .blog-post-card:hover {
    transform: translateY(-5px);
}

.page-index .blog-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-index .blog-post-card h3 {
    margin: 20px 15px 10px;
    font-size: 1.4em;
    color: var(--secondary-color);
}

.page-index .blog-post-card h3 a {
    color: var(--secondary-color);
}

.page-index .blog-post-card h3 a:hover {
    color: var(--primary-color);
}

.page-index .blog-post-card p {
    padding: 0 15px 15px;
    font-size: 0.9em;
    flex-grow: 1;
}

.page-index .blog-post-card .btn-small {
    margin: 0 15px 15px;
    align-self: flex-start;
}

@media (max-width: 992px) {
    .page-index h1 {
        font-size: 2.8em;
    }
    .page-index h2 {
        font-size: 2em;
    }
    .page-index .hero-content p {
        font-size: 1.1em;
    }
    .page-index .intro-grid,
    .page-index .access-links-grid,
    .page-index .games-grid,
    .page-index .promo-grid,
    .page-index .security-cskh-grid,
    .page-index .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index .hero-section {
        padding: 40px 15px;
    }
    .page-index .hero-image img {
        border-radius: 4px;
    }
    .page-index .hero-content h1 {
        font-size: 2.2em;
    }
    .page-index .hero-content p {
        font-size: 1em;
    }
    .page-index .cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-left: 0;
        margin-top: 15px;
    }
    .page-index .secondary-cta {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-index .intro-section,
    .page-index .quick-access-section,
    .page-index .games-section,
    .page-index .promo-section,
    .page-index .security-cskh-section,
    .page-index .faq-section,
    .page-index .blog-section {
        padding: 40px 0;
    }
    .page-index h2 {
        font-size: 1.8em;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .page-index .faq-question {
        padding: 15px 20px;
    }
    .page-index .faq-question h3 {
        font-size: 1.1em;
    }
    .page-index .faq-answer {
        padding: 0 20px;
    }
    .page-index .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index .cta-button {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }
    .page-index .secondary-cta {
        width: 100%;
        display: block;
        margin-left: 0;
    }
    .page-index .access-links-grid {
        grid-template-columns: 1fr;
    }
    .page-index .access-link-item img,
    .page-index .info-card img {
        min-width: 200px;
        min-height: 200px;
        max-width: 250px;
        max-height: 250px;
    }
}