/* 首页专用样式 */

/* 英雄区域增强样式 */
.hero-section {
    background: rgba(45, 124, 20, 0.6);
    padding: 2.5rem 0;
    margin: 1rem 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-section p {
    color: #e9ecef;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Featured Games Section - New Design */
.featured-games-section {
    background: linear-gradient(135deg, #1a5c0a 0%, #2d7c14 50%, #225911 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.featured-games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #e9ecef;
    opacity: 0.8;
    margin-bottom: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.game-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.2) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 游戏卡片悬停效果 - 基于现有模板 */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.3) !important;
}

.feature-card a:hover img {
    transform: scale(1.08);
}

.feature-card a:hover > div:first-child > div:last-child {
    opacity: 1 !important;
}

/* 游戏卡片左侧图片悬停效果 */
.game-feature-card a:hover img {
    transform: scale(1.1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.6s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.featured-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 193, 7, 0.3) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.featured-card:hover {
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.35);
}

.game-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Image sizing for game icons */
.game-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: inline-block;
}

@media (max-width: 480px) {
    .game-icon img {
        width: 192px;
        height: 192px;
    }
}

.game-content {
    text-align: center;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.game-description {
    font-size: 1rem;
    color: #e9ecef;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.game-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
    color: #1a1a1a;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(253, 216, 53, 0.35);
    position: relative;
    overflow: hidden;
}

.game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.game-btn:hover::before {
    left: 100%;
}

.game-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(253, 216, 53, 0.55);
    color: #1a1a1a;
    text-decoration: none;
}

.btn-icon {
    font-style: normal;
    transition: transform 0.3s ease;
}

.game-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-games-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-title {
        font-size: 1.3rem;
    }
    
    .game-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .featured-games-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-card {
        padding: 1.2rem;
    }
    
    .game-icon {
        font-size: 2rem;
    }
    
    .game-title {
        font-size: 1.2rem;
    }
    
    .game-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* 导航菜单当前页面高亮 */
.nav-menu a[href="index.html"] {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.3) 100%);
    color: #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    position: relative;
    overflow: hidden;
}

.nav-menu a[href="index.html"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav-menu a[href="index.html"]:hover::before {
    left: 100%;
}

/* 首页导航特殊样式 */
.nav-menu .nav-item:first-child .nav-link {
    position: relative;
}

.nav-menu .nav-item:first-child .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

/* 响应式图片样式 */
.feature-hero-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-radius: 2rem;
}

.feature-card-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-radius: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
        margin: 0.5rem 0;
        border-radius: 15px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section p {
        margin-bottom: 0.75rem;
    }
    
    .game-highlight {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .featured-games {
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .featured-games::before {
        border-radius: 17px;
    }
    
    .feature-hero-image,
    .feature-card-image {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    /* 移动端防止图片溢出 */
    body {
        overflow-x: hidden;
    }
    
    section {
        overflow-x: hidden;
    }
    
    section img {
        max-width: 100%;
        height: auto;
    }
    
    .col-12 img,
    .col-lg-6 img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .feature-hero-image,
    .feature-card-image {
        margin: 0.75rem auto;
    }
    
    /* 强制所有图片在小屏幕上自适应 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Game Section Hero - 超大明显的游戏板块 */
.game-section-hero {
    background: linear-gradient(135deg, rgba(26, 92, 10, 0.95) 0%, rgba(45, 124, 20, 0.98) 50%, rgba(34, 89, 17, 0.95) 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.game-section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.game-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 0 1rem;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.game-header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.4);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.game-section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #FFEB3B;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0 0 1rem 0;
}

.game-section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 游戏网格容器 - 2列并排 */
.game-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* Game Card Hero - 超大卡片设计（2列并排，放大版） */
.game-card-hero {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.2) 50%, rgba(255, 152, 0, 0.15) 100%);
    border-radius: 24px;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    min-height: 600px;
}

.game-card-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-card-hero:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4),
                0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 2px 0 rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.7);
}

.game-card-hero:hover::before {
    opacity: 1;
}

.game-card-hero-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* 图片区域 - 缩小版（缩小1/3） */
.game-card-hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 43%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.game-card-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card-hero:hover .game-card-hero-overlay {
    opacity: 1;
}

.game-card-hero:hover .game-card-hero-image {
    transform: scale(1.15);
}

.game-card-hero-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 215, 0, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a5c0a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.game-card-hero:hover .game-card-hero-play-btn {
    transform: scale(1);
}

.play-icon {
    font-size: 1.5rem;
}

.play-text {
    letter-spacing: 1px;
}

.game-card-hero-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FF5722 0%, #E91E63 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.5);
    z-index: 2;
}

.badge-text {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 内容区域 - 放大版，适合30个单词的描述 */
.game-card-hero-content {
    padding: 2.5rem;
}

.game-card-hero-date {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.date-icon {
    font-size: 1.2rem;
}

.date-text {
    color: rgba(255, 255, 255, 0.9);
}

.game-card-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1.3rem 0;
    color: #FFD700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.7rem;
}

.game-card-hero:hover .game-card-hero-title {
    color: #FFEB3B;
}

.game-card-hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    display: block;
    overflow: visible;
    max-height: none;
}

.game-card-hero-footer {
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 1rem;
}

.game-card-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
    font-weight: 700;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.game-card-hero:hover .game-card-hero-cta {
    gap: 0.75rem;
    color: #FFEB3B;
}

/* 响应式设计 */
@media (min-width: 992px) {
    .game-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 0 3rem;
    }
    
    .game-card-hero {
        min-height: 650px;
    }
    
    .game-card-hero-image-wrapper {
        padding-bottom: 40%;
    }
    
    .game-card-hero-content {
        padding: 2.8rem;
    }
    
    .game-card-hero-title {
        font-size: 2rem;
        min-height: 5.2rem;
    }
    
    .game-card-hero-description {
        font-size: 1.15rem;
        line-height: 1.8;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .game-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 2rem;
    }
    
    .game-card-hero {
        min-height: 580px;
    }
    
    .game-card-hero-image-wrapper {
        padding-bottom: 43%;
    }
    
    .game-card-hero-content {
        padding: 2.2rem;
    }
    
    .game-card-hero-title {
        font-size: 1.6rem;
        min-height: 4.5rem;
    }
    
    .game-card-hero-description {
        font-size: 1.05rem;
    }
    
    .game-section-title {
        font-size: 2.8rem;
    }
    
    .game-section-subtitle {
        font-size: 1.6rem;
    }
    
    .game-section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .game-section-hero {
        padding: 3rem 0.5rem;
    }
    
    .game-section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .game-grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .game-card-hero {
        min-height: 520px;
    }
    
    .game-card-hero-image-wrapper {
        padding-bottom: 47%;
    }
    
    .game-card-hero-content {
        padding: 2rem;
    }
    
    .game-card-hero-title {
        font-size: 1.4rem;
        min-height: 4rem;
    }
    
    .game-card-hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .game-section-title {
        font-size: 2.2rem;
    }
    
    .game-section-subtitle {
        font-size: 1.3rem;
    }
    
    .game-section-description {
        font-size: 1rem;
    }
    
    .game-card-hero-content {
        padding: 1.5rem;
    }
    
    .game-card-hero-title {
        font-size: 1.2rem;
        min-height: 3.2rem;
    }
    
    .game-card-hero-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .game-grid-container {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 0 0.75rem;
    }
    
    .game-card-hero {
        min-height: 480px;
    }
    
    .game-card-hero-image-wrapper {
        padding-bottom: 50%;
    }
    
    .game-card-hero-content {
        padding: 1.8rem;
    }
    
    .game-card-hero-title {
        font-size: 1.3rem;
        min-height: 3.6rem;
    }
    
    .game-card-hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .game-section-title {
        font-size: 1.8rem;
    }
    
    .game-section-subtitle {
        font-size: 1.1rem;
    }
    
    .game-card-hero-image-wrapper {
        padding-bottom: 80%;
    }
    
    .game-card-hero-title {
        font-size: 1.1rem;
        min-height: 3rem;
    }
}

/* Game Section - 游戏板块样式（现代化设计 - 更大空间）*/
.game-card-modern {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 193, 7, 0.18) 50%, rgba(255, 152, 0, 0.12) 100%);
    padding: 1.2rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.12), 
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.game-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.game-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.35), 
                0 4px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.65);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 193, 7, 0.24) 50%, rgba(255, 152, 0, 0.18) 100%) !important;
}

.game-card-modern:hover::before {
    left: 100%;
}

.game-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

/* 游戏图片容器 */
.game-image-wrapper {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.game-card-modern:hover .game-image {
    transform: scale(1.08);
}

.game-card-modern:hover .game-image-overlay {
    opacity: 0.3;
}

/* 游戏内容区域 */
.game-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 时间标签 */
.game-date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* 游戏标题 */
.game-title {
    color: #FFD700;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.6rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(255, 215, 0, 0.3);
    min-height: 4rem;
}

.game-card-modern:hover .game-title {
    color: #FFEB3B;
}

/* 游戏描述 */
.game-description {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* 自定义列宽 - 让5个卡片完美并排 */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .game-card-modern {
        padding: 1.2rem;
    }
    
    .game-image-wrapper {
        padding-bottom: 70%;
        margin-bottom: 0.9rem;
    }
    
    .game-card-modern {
        min-height: 420px;
    }
    
    .game-title {
        font-size: 1rem;
        min-height: 4rem;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .game-description {
        font-size: 0.8rem;
        line-height: 1.5;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .game-date {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* 平板端 - 3列布局 */
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .game-card-modern {
        padding: 1.1rem;
    }
    
    .game-image-wrapper {
        padding-bottom: 75%;
        margin-bottom: 0.8rem;
    }
    
    .game-card-modern {
        min-height: 400px;
    }
    
    .game-title {
        font-size: 0.95rem;
        min-height: 3.8rem;
        margin-bottom: 0.55rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .game-description {
        font-size: 0.78rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .game-date {
        font-size: 0.72rem;
        margin-bottom: 0.45rem;
    }
}

/* 移动端 - 2列布局 */
@media (max-width: 767px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .game-card-modern {
        padding: 0.95rem;
    }
    
    .game-image-wrapper {
        padding-bottom: 70%;
        margin-bottom: 0.7rem;
    }
    
    .game-card-modern {
        min-height: 380px;
    }
    
    .game-title {
        font-size: 0.88rem;
        min-height: 3.5rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .game-description {
        font-size: 0.74rem;
        line-height: 1.4;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .game-date {
        font-size: 0.68rem;
        margin-bottom: 0.4rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .game-card-modern {
        padding: 0.8rem;
    }
    
    .game-image-wrapper {
        padding-bottom: 75%;
        margin-bottom: 0.6rem;
    }
    
    .game-card-modern {
        min-height: 360px;
    }
    
    .game-title {
        font-size: 0.82rem;
        min-height: 3.3rem;
        margin-bottom: 0.45rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .game-description {
        font-size: 0.7rem;
        line-height: 1.35;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .game-date {
        font-size: 0.65rem;
        margin-bottom: 0.35rem;
    }
}