:root {
    --main-bg-color: #ffc700;
    --content-bg: #fff7d6;
    --text-color: #333;
    --link-color: #000;
    --footer-bg: #ffc700;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--content-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--content-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.icon--svg {
    fill: currentColor;
}

/* Game Container Styles */
.game__play {
    padding: 20px 0;
    background-color: var(--content-bg);
}

.iframe-box {
    background-color: var(--content-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.inner-frame-box {
    position: relative;
}

iframe {
    display: block;
    width: 100%;
    border: none;
}

.header-game {
    padding: 15px;
    border-top: 1px solid #eee;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-full-rate {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #FFD700;
    letter-spacing: 2px;
}

.score {
    font-weight: bold;
}

.header-game-extend {
    display: flex;
    gap: 15px;
}

.comment-btn, .expand-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.comment-btn svg, .expand-btn svg {
    width: 24px;
    height: 24px;
    fill: #666;
}

/* Grid Game Styles */
.grid__game {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.grid__game--item {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.grid__game--item:hover {
    transform: translateY(-5px);
}

.grid__game--item img {
    width: 100%;
    height: auto;
    display: block;
}

.grid__game--item-title {
    padding: 10px;
    background: var(--content-bg);
}

.text-overflow {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    padding: 20px 0;
    margin-top: 40px;
}

.inner-row-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.inner-row-footer a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.inner-row-footer a:hover {
    opacity: 0.8;
} 

/* 更新标题样式 */
.title-karmatic {
    color: #000;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
} 

/* Content Sections */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.features-list li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--text-color);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 

/* About Section Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-content h3 {
    color: #000;
    font-size: 1.5em;
    margin: 30px 0 15px;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.about-intro, .about-game, .about-impact {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-game ul {
    padding-left: 20px;
    margin: 15px 0;
}

.about-game li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.about-impact p:last-child {
    margin-bottom: 0;
} 