/* General styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Header styling for the navigation bar */
.header {
    background-color: #fff;
    padding: 0 20px; /* Padding for internal spacing */
    position: sticky;
    top: 0;
    width: 100%; /* Full-width navigation bar */
    height: 60px; /* Fixed height */
    z-index: 1000;
    display: flex;
    justify-content: flex-start; /* Left-align the title */
    align-items: center;
    border-bottom: 1px solid #eaeaea; /* Light border for separation */
}

/* Left-aligned artistic title */
.header .logo {
    font-family: 'Playfair Display', serif; /* Artistic font */
    font-size: 24px; /* Larger size for emphasis */
    font-weight: bold;
    color: #333; /* Dark color */
    text-decoration: none;
    margin-left: 20px; /* Adjust spacing to move it away from the edge */
}

/* Minimalistic Navigation Links (if needed in the future) */
.header .top-nav {
    position: absolute;
    right: 20px; /* If you want navigation links on the right in the future */
}

.top-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-left: 20px;
}

.top-nav a:hover {
    color: #0073e6; /* Same blue hover effect as seen in the logo */
}

/* Games section styling */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: left;
    position: relative;
}

.game-promo {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.game-info {
    display: flex;
    align-items: center;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 10px;
}

.game-details {
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.game-category {
    font-size: 14px;
    color: #777;
    margin: 5px 0;
}

.game-rating {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.rating-star {
    color: #FFD700;
    margin-left: 5px;
}

/* Footer Section */
footer {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}
footer {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

.footer-links a {
    display: inline-block;
    margin: 0 15px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    background-color: #555;
    transition: background-color 0.3s ease;
}

.footer-links a:hover {
    background-color: #0073e6;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}
.content h1, .content h2 {
    color: #333;
}
/* Privacy Policy Content Styles */
.text {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 16px;
    color: #444;
}

.text h3 {
    font-size: 22px;
    color: #222;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 5px;
}

.text p {
    margin-bottom: 18px;
}

/* 父级列表继续使用数字编号 */
.text ol {
    counter-reset: section;
    list-style: none;
    padding-left: 0;
}

.text ol > li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.text ol > li::before {
    counter-increment: section;
    content: counters(section, ".") ".";
    position: absolute;
    left: 0;
    color: #0073e6;
    font-weight: bold;
}

/* 新增：嵌套子列表使用字母编号 (a,b,c...) */
.text ol ol {
    counter-reset: subsection;
    padding-left: 0;
}

.text ol ol > li {
    padding-left: 25px;
    position: relative;
}

.text ol ol > li::before {
    counter-increment: subsection;
    content: counter(subsection, lower-alpha) "."; /* 小写字母 a, b, c */
    position: absolute;
    left: 0;
    color: #555;
    font-weight: bold;
}


.text a {
    color: #0073e6;
    text-decoration: none;
}

.text a:hover {
    text-decoration: underline;
}
