* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-name:hover {
    color: #667eea;
}

.home-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    margin-bottom: 1.5rem;
}

.home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.home-button:active {
    transform: translateY(0);
}

/* 主内容区域 */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}

/* 卡片样式 */
.game-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: block;
    color: inherit;
}

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.card-image-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 320px;
    height: 350px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
}

.card-image-description {
    position: absolute;
    left: 20px;
    top: 35px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    z-index: 1;
    white-space: nowrap;
    opacity: 0;
}

.card-image-description.show {
    opacity: 1;
}

.card-info {
    flex: 1;
    padding: 2rem;
    padding-left: 1.5rem;
    align-self: center;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Play Now 按钮样式 */
.play-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.play-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-container {
        padding: 0;
    }

    .logo {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .site-name {
        font-size: 1.25rem;
    }

    .home-button {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .card-content {
        flex-direction: column;
        gap: 0;
    }

    .card-image-wrapper {
        width: 100%;
        max-width: 375px;
        height: 400px;
        margin: 0 auto;
    }

    .card-image-description {
        left: 5vw;
        top: 7vh;
        font-size: 4vw;
    }

    .card-info {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 1rem;
    }

    .play-button {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .site-name {
        font-size: 1.1rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .card-image-wrapper {
        width: 100%;
        height: 300px;
    }

    .card-image-description {
        left: 4vw;
        top: 12vh;
        font-size: 3.5vw;
    }

    .card-info {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .card-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .play-button {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-image-wrapper {
        width: 250px;
        height: 320px;
    }

    .card-image-description {
        left: 16px;
        top: 5vh;
        font-size: 16px;
    }

    .card-title {
        font-size: 1.75rem;
    }

    .card-description {
        font-size: 1.05rem;
    }
}

/* 中等屏幕适配 */
@media (min-width: 1025px) and (max-width: 1440px) {
    .card-image-wrapper {
        width: 300px;
        height: 330px;
    }

    .card-image-description {
        left: 18px;
        top: 65px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* PC端大屏幕适配 */
@media (min-width: 1441px) {
    .card-image-wrapper {
        width: 320px;
        height: 350px;
    }

    .card-image-description {
        left: 20px;
        top: 75px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Footer 样式 */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 1rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

