/* style/index.css */
/* 页面完整样式代码 - 注意：所有选择器必须添加页面前缀 */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text on dark background */
    background-color: #0A1931; /* Main dark background */
    line-height: 1.6;
}

.page-index .highlight-text {
    color: #FFD700; /* Accent color for highlights */
}

/* Hero Section */
.page-index-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A1931 0%, #1a2a47 100%); /* Gradient background for hero */
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue_gold]') no-repeat center center/cover; /* Abstract background pattern */
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #0A1931; /* Dark text on accent background */
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Accent text on dark background */
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-hero-image {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.page-index-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index-section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

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

/* Features Section */
.page-index-features,
.page-index-game-categories,
.page-index-promotions,
.page-index-responsible-gaming,
.page-index-detail-pages,
.page-index-about-us {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-features {
    background-color: #0A1931;
}

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

.page-index-feature-item {
    background-color: #1a2a47; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-feature-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-index-feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFD700; /* Accent color for feature titles */
}

.page-index-feature-item p {
    font-size: 1em;
    color: #c0c0c0;
}

/* Game Categories Section */
.page-index-game-categories {
    background-color: #0A1931;
}

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

.page-index-category-item {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-category-item img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-category-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-index-category-item p {
    font-size: 0.95em;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.page-index-btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background-color: #FFD700;
    color: #0A1931;
    border: 2px solid #FFD700;
}

.page-index-btn-small:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}


/* Promotions Section */
.page-index-promotions {
    background-color: #0A1931;
}

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

.page-index-promo-item {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-promo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-promo-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-promo-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-index-promo-item p {
    font-size: 0.95em;
    color: #c0c0c0;
    margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
    background: linear-gradient(90deg, #0A1931, #1a2a47);
    color: #ffffff;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-app-content {
    text-align: center;
    max-width: 700px;
}

.page-index-app-download .page-index-section-title {
    color: #ffffff;
}

.page-index-app-download .page-index-section-title::after {
    background-color: #FFD700;
}

.page-index-app-download .page-index-section-description {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-index-app-image img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
}

.page-index-app-note {
    margin-top: 20px;
    font-style: italic;
    color: #c0c0c0;
}

/* Responsible Gaming Section */
.page-index-responsible-gaming {
    background-color: #0A1931;
}

.page-index-responsible-gaming p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #d0d0d0;
}

/* Detail Pages Section */
.page-index-detail-pages {
    background-color: #0A1931;
}

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