.platform-icon{background-color:hsla(0,0%,100%,.9);width:29px;height:29px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;color:#333;box-shadow:0 2px 4px rgba(0,0,0,.1)}
.platform-icon.windows{color:#0078d7}
.platform-icon.mac{color:#555}
.platform-icon.android{color:#a4c639}
.platform-icon.apple{color:#555}
.game-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin:0 auto;max-width:100%;padding:0}
.game-card{display:block;background:0 0;border:none;box-shadow:none;position:relative;transition:all .3s ease;border-radius:8px;padding:15px;text-decoration:none;color:inherit;min-width:0}
.game-card:hover{background-color:rgba(0,0,0,.05);transform:translateY(-2px);text-decoration:none}
.game-card:hover .game-image img{transition:transform .3s ease}
.game-image{display:flex;align-items:center;justify-content:center;border-radius:8px}
.game-image img{width:100%;height:100%;object-fit:cover;border-radius:8px;transition:transform .3s ease}
.game-platforms{top:10px;gap:6px}
.game-info{padding:10px 0}
.game-title{display:block;font-size:16px;font-weight:600;color:#333;margin-bottom:4px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.developer{display:none!important}
.game-rating{gap:2px;margin:0;font-size:12px}
.game-rating i{color:gold;font-size:14px}
.game-rating span{margin-left:4px;font-weight:600;color:#333;font-size:12px}
.tag{background-color:transparent;color:#666;font-size:12px;padding:0;border:none;display:inline-block;margin:0;line-height:1.2;transition:none}
.game-meta{align-items:flex-start;gap:4px}
.platform-category{margin-bottom:30px;background:0 0;padding:0;border:none;box-shadow:none;position:relative}
.platform-header{margin-bottom:15px;border-bottom:1px solid #e0e0e0;padding-bottom:10px}
.platform-title{font-size:20px;font-weight:700;color:#333;margin:0;display:flex;align-items:center;gap:10px;transition:none}
.platform-title i{transition:none;font-size:22px}
.platform-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 auto;max-width:100%}
.category-links{margin-top:10px;padding-bottom:20px}
.tag-link{display:inline-block;padding:8px 16px;background-color:rgba(66,133,244,.1);text-decoration:none;border-radius:20px;font-size:14px;transition:all .3s ease;margin-top:12px}
.tag-link,.tag-link:nth-child(6n+1){color:#4285f4}
.tag-link:nth-child(6n+2){color:#f44336}
.tag-link:nth-child(6n+3){color:#34a853}
.tag-link:nth-child(6n+4){color:#ff9800}
.tag-link:nth-child(6n+5){color:#9c27b0}
.tag-link:nth-child(6n){color:#757575}
.tag-link:hover{transform:translateY(-2px)}
.btn-view-all{background-color:#4285f4;color:#fff;font-weight:600;padding:10px 24px;border-radius:8px;transition:background-color .3s ease;border:none;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-view-all:hover{background-color:#3367d6;transform:none;box-shadow:none}
.tags-container{margin-top:20px;padding:0 15px}
.game-detail-container{display:flex;align-items:flex-start;gap:30px;margin-top:30px}
.game-main-info{flex:1;min-width:300px}
.game-sidebar{width:300px;position:relative;top:0;background:hsla(0,0%,100%,.95);padding:0}
.game-sidebar .creator-section .title-h2{margin:0}
html{scroll-behavior:smooth}
.developer-header{display:flex;justify-content:space-between;align-items:center}
.developer-header h2{margin:0;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}
.developer-header:hover,.developer-link{text-decoration:none}
.developer-link{color:#007aff;display:flex;align-items:center;transition:opacity .3s ease}
.developer-link:hover{opacity:.8;text-decoration:none}
.developer-games{margin-top:10px}
.developer-games .game-details{display:block;overflow:hidden}
.developer-game-item{display:flex;align-items:center;padding:8px 0;border-bottom:1px solid #f0f0f0;transition:background-color .2s ease;text-decoration:none}
.developer-game-item:hover{text-decoration:none;padding:8px;background:#f5f5f5;border-radius:8px}
.developer-game-item:hover .game-icon img{transform:scale(1.05)}
.developer-game-item:last-child{border-bottom:none}
.game-icon{width:66px;height:66px;border-radius:8px;overflow:hidden;margin-right:12px;flex-shrink:0}
.game-icon img{width:100%;height:100%;object-fit:cover}
.game-details{flex:1;min-width:0;min-width:auto}
.game-developer{color:#666;font-size:13px;margin-bottom:4px}
.game-rating{display:flex;align-items:center}
.rating-score{margin-left:5px;font-size:12px;color:#666}
.game-header{display:flex;gap:20px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--border-color)}
.game-logo{width:120px;height:120px;border-radius:8px;overflow:hidden;box-shadow:0 4px 8px rgba(0,0,0,.1)}
.game-logo img{width:100%;height:100%;object-fit:cover}
.game-title-section h1{font-size:28px;margin-bottom:10px;color:var(--text-primary)}
.game-meta-details{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:15px}
.meta-item{gap:5px;color:var(--text-secondary);font-size:14px}
.download-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.download-btn{display:block;align-items:center;gap:8px;border-radius:6px;font-weight:600;transition:background-color .3s ease;color:#fff;border:none;padding:16px 28px;white-space:nowrap;font-size:18px;text-align:center;width:auto;height:100%}
.download-btn.pc{background-color:#0078d7}
.download-btn.android{background-color:var(--success-color)}
.download-btn.mac{background-color:#000}
.section-card{background-color:#fff;border-radius:8px;padding:0;margin-bottom:30px}
.download-btn:hover{text-decoration:none;color:#fff;filter:brightness(1.2)}
.view-btn{padding:6px 18px;background:#ecf3fe;color:#007aff;border:none;border-radius:110px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .3s ease,transform .2s ease;display:flex;align-items:center;justify-content:center;gap:6px}
.section-card h3{font-size:22px;margin:0 0 10px;line-height:28px}
.section-card h3,.section-card h4{color:var(--text-primary);font-weight:600}
.section-card h4{font-size:16px;margin:0 0 5px}
.section-card h5{font-size:14px;margin:12px 0 6px;color:var(--text-primary);font-weight:600}
.collection-showcase{margin-top:25px}
.collection-link{background:#f9f9f9;border-radius:8px;overflow:hidden;transition:transform .3s ease}
.collection-link:hover{box-shadow:0 4px 12px rgba(0,0,0,.1)}
.collection-image{width:200px}
.collection-title{margin:0 0 10px;font-size:18px;font-weight:600}
.collection-description{margin:0 0 15px}
.collection-games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.collection-game-item{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:transform .2s ease}
.collection-game-item:hover{transform:translateY(-2px)}
.game-thumbnail{margin-bottom:8px;border-radius:6px;overflow:hidden;background:#f0f0f0}
.game-thumbnail img{width:100%;height:auto;display:block}
.game-name{font-weight:600;margin-bottom:4px;font-size:14px;font-weight:500;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#333}
.game-grid{display:grid;margin-top:5px;max-width:none;width:930px;margin-left:-15px}
.creator-section .game-grid{grid-template-columns:repeat(3,1fr);gap:0;margin-top:20px}
.creator-section .game-card{padding:0}
.creator-section .game-card:hover{padding:12px}
.creator-section .game-grid .game-card{margin-bottom:15px}
.creator-section .game-info .website{color:#666;margin:0;display:inline-flex;align-items:center;font-size:14px;font-weight:400}
.creator-section .game-info .website i{margin-right:5px}
.creator-section .game-info .description{font-size:13px;color:#666;line-height:1.5;margin-top:8px}
.game-tags{width:100%;display:block;margin:0;padding:0}
.game-image{position:relative;overflow:hidden}
.game-card:hover .game-image img{transform:scale(1.05)}
.game-platforms{position:absolute;bottom:10px;right:10px;display:flex;gap:5px}
.developer-info{display:flex;align-items:center;gap:15px;margin-bottom:15px}
.developer-avatar{width:60px;height:60px;border-radius:50%;overflow:hidden}
.developer-avatar img{width:100%;height:100%;object-fit:cover}
.screenshots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px;margin-top:15px}
.screenshot-item{border-radius:6px}
.screenshot-item:hover{transform:scale(1.03)}
.game-description{margin:25px 0 0;line-height:1.8;color:var(--text-primary)}
.game-description p{margin-bottom:15px;font-size:16px;line-height:1.65;letter-spacing:.2px}
.related-games{margin-top:30px}
.related-games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}
.related-game-item{border-radius:6px;overflow:hidden;transition:transform .3s ease}
.related-game-item:hover{transform:translateY(-5px)}
.related-game-image{width:100%;aspect-ratio:4/3;overflow:hidden}
.related-game-image img{width:100%;height:100%;object-fit:cover}
.related-game-title{padding:10px;font-size:14px;font-weight:600}
.breadcrumb ol{display:flex;list-style:none;padding:0;margin:0}
.breadcrumb li{margin-right:10px;color:var(--text-secondary)}
.breadcrumb li a{color:var(--text-secondary);text-decoration:none;transition:color .3s ease}
.breadcrumb li a:hover{color:var(--primary-color)}
.breadcrumb li:not(:last-child):after{content:">";margin-left:10px;color:var(--text-secondary)}
.breadcrumb li.active{color:var(--text-primary);font-weight:600}
.game-info-card{position:relative;border-radius:12px;overflow:hidden;margin-bottom:30px;box-shadow:0 4px 16px rgba(0,0,0,.1)}
.game-info-bg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}
.game-info-bg img{width:100%;height:100%;object-fit:cover;filter:blur(20px) brightness(.3);transform:scale(1.1)}
.game-info-content{position:relative;z-index:2;padding:30px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;color:#fff}
.game-info-content .game-logo{width:190px;height:190px;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.2);flex-shrink:0}
.game-info-content .game-logo img{width:100%;height:100%;object-fit:cover}
.game-details h1{font-size:28px;margin-bottom:15px;color:#fff;line-height:36px}
.game-meta{display:flex;flex-direction:column;gap:10px}
.meta-row{display:flex;gap:30px;flex-wrap:wrap}
.meta-item{display:flex;align-items:center;gap:8px}
.meta-label{font-size:14px;color:hsla(0,0%,100%,.8)}
.meta-value{font-size:14px;font-weight:600;color:#fff}
.text-yellow{color:#fc0!important}
.game-actions{display:flex;align-items:center;gap:15px;flex-shrink:0; flex-wrap:wrap; width: 100%;}
.screenshots-slider{position:relative;margin-top:15px;padding:0 20px}
.swiper-container{width:100%;height:auto;overflow:hidden}
.screenshot-item{cursor:pointer;border-radius:8px;overflow:hidden;transition:transform .3s ease}
.screenshot-item:hover{transform:scale(1.02)}
.screenshot-item img{width:100%;height:auto;object-fit:cover}
.lightbox-content{width:90%;max-width:900px;height:90%;max-height:700px}
.lightbox-swiper{width:100%;height:100%}
.lightbox-swiper img{max-height:100%}
.swiper-button-next,.swiper-button-prev{color:#5f6368;width:56px;height:56px;border-radius:50%;background:#fff;box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}
.swiper-button-next:after,.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{font-size:20px;font-weight:700}
.lightbox-swiper .swiper-button-next,.lightbox-swiper .swiper-button-prev{color:#333;z-index:1000;align-items:center;justify-content:center}
.lightbox-content{max-width:100%;max-height:100%;position:relative;display:flex}
.lightbox-content,.lightbox-modal{align-items:center;justify-content:center}
.lightbox-modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.9);display:none;z-index:9999;overflow:hidden}
.lightbox-swiper .swiper-slide{display:flex;align-items:center;justify-content:center;height:90vh}
.lightbox-swiper img{max-width:100%;max-height:90vh;object-fit:contain}
.screenshots-slider{padding:0}
.screenshots-swiper .swiper-slide{width:auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.screenshots-swiper img{height:400px;width:auto}
.lightbox-close{position:absolute;top:-40px;right:0;color:#fff;font-size:30px;cursor:pointer;z-index:1001}
.collection-showcase{margin-bottom:30px;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.collection-link{padding:15px;display:flex;text-decoration:none;color:inherit;transition:transform .3s ease,box-shadow .3s ease}
.collection-link:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.12)}
.collection-image{width:340px;overflow:hidden;border-radius:12px}
.collection-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.collection-link:hover{text-decoration:none}
.collection-link:hover .collection-image img{transform:scale(1.05)}
.collection-info{flex:1;padding:25px;display:flex;flex-direction:column;justify-content:center}
.collection-title{font-size:22px;font-weight:700;margin-bottom:10px;color:#333}
.collection-description{font-size:16px;line-height:1.6;color:#666;margin-bottom:12px;font-weight:400; max-height: 77px; overflow: hidden;}
.collection-date{font-size:14px;color:#999;font-weight:400}
.download-resource-item{display:flex;align-items:center;background:#fff;border-radius:8px;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;min-width:0}
.download-resource-item:hover{text-decoration:none}
.resource-icon{width:66px;height:66px;overflow:hidden;background:#f5f5f5;border-radius:6px;flex-shrink:0;display:block}
.resource-icon img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.download-resource-item:hover .resource-icon img{transform:scale(1.05)}
.resource-info{flex:1;padding:0 12px;display:block;overflow:hidden}
.resource-title{font-size:14px;font-weight:600;margin-bottom:4px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.resource-type{font-size:12px;color:#666}
.resource-action{flex-shrink:0}
@media (max-width:1200px){
  .collection-image{width:250px;height:180px}
}
@media (max-width:768px){
  .download-btn{
    width: 100%;
  }
  .swiper-button-next, .swiper-button-prev,.lightbox-swiper .swiper-button-next,.lightbox-swiper .swiper-button-prev{transform: scale(.6);}
  .game-actions{width:100%;flex-wrap:wrap}
  .site-content{width:100%;padding:0 15px;overflow:hidden}
  .game-grid{width:100%;margin:5px 0 0;grid-template-columns:repeat(2,1fr)}
  .game-card{width:100%;padding:9px}
  .section-card{margin-bottom:0}
  .collection-info{padding:10px}
  .game-main-info{width:100%}
  .game-detail-container{flex-direction:column;margin-top:15px}
  .game-sidebar{width:100%;flex:1;position:static;max-height:none;box-shadow:none;background:0 0;border-radius:0;padding:0}
  .game-info-content{flex-direction:column;text-align:center;padding:20px}
  .game-info-content .game-logo{width:100px;height:100px}
  .game-details{min-width:auto}
  .meta-row{gap:20px;justify-content:center}
  .related-games-grid{grid-template-columns:repeat(2,1fr)}
  .collection-link{flex-direction:column;padding:0}
  .collection-image{width:100%;height:180px}
  .collection-games-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .resource-icon{width:70px;height:70px}
  .resource-info{padding:0 10px}
  .resource-title{font-size:13px}
  .collection-games-grid{grid-template-columns:1fr}
  .download-resource-item{padding:0}
  .resource-icon{width:80px;height:80px}
}
