*,*::before,*::after {margin:0;padding:0;box-sizing:border-box;}
@font-face {font-family:'Poppins';src:url('../fonts/Poppins-Regular.woff2') format('woff2');font-weight:400;font-style:normal;}
@font-face {font-family:'Poppins';src:url('../fonts/Poppins-Bold.woff2') format('woff2');font-weight:700;font-style:normal;}

* {margin:0;padding:0;box-sizing:border-box;}
body {font-family:'Poppins',sans-serif;line-height:1.6;color:#333;background-color:#fff;position:relative;overflow-x:hidden;}
a {text-decoration:none;color:inherit;transition:all 0.3s ease;}
a:hover {color:#6c5ce7;text-decoration:underline;}
img {max-width:100%;height:auto;}
.container {width:100%;max-width:1200px;margin:0 auto;padding:0 12px;}
    header {background:linear-gradient(135deg,#6c5ce7 0%,#a29bfe 100%);padding:15px 0;box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.header-container {display:flex;justify-content:space-between;align-items:center;}
.logo-container {display:flex;align-items:center;}
.logo-container a {display:flex;align-items:center;}
.site-logo {height:40px;width:auto;}
.site-name {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
nav ul {display:flex;list-style:none;}
nav ul li {margin:0 10px;}
nav ul li a {color:white;font-weight:600;padding:5px 10px;border-radius:4px;}
nav ul li a:hover,nav ul li a.active {background:rgba(255,255,255,0.2);text-decoration:none;color: #6c5ce7;}
.search-container {position:relative;}
.search-container form {display:flex;}
.search-container input {padding:8px 15px;border:none;border-radius:20px;outline:none;width:200px;font-size:14px;}
.search-container button {background:none;border:none;color:white;cursor:pointer;margin-left:-35px;display:flex;align-items:center;}
.mobile-menu-btn,.mobile-search-btn {display:none;background:none;border:none;color:white;font-size:20px;cursor:pointer;}
    .hero {background:linear-gradient(rgba(108,92,231,0.6),rgba(162,155,254,0.6)),url('../images/banner1.jpg') center/cover no-repeat;height:300px;display:flex;align-items:center;justify-content:center;text-align:center;color:white;margin-bottom:40px;}
.hero-content h2 {font-size:2.5rem;margin-bottom:15px;}
.hero-content p {font-size:1.2rem;max-width:700px;margin:0 auto;}
    .game-section {margin-bottom:35px;}
.section-header {display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;}
.section-title {font-size:1.6rem;color:#6c5ce7;position:relative;padding-bottom:10px;}
.section-title:after {content:'';position:absolute;bottom:0;left:0;width:50px;height:3px;background:linear-gradient(to right,#6c5ce7,#a29bfe);}
.view-all {color:#6c5ce7;font-weight:600;}
.view-all:hover {text-decoration:underline;}
    .hot-games {display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.hot-game-card {background:white;border-radius:8px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,0.1);transition:transform 0.3s ease,box-shadow 0.3s ease;}
.hot-game-card:hover {transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,0.15);}
.hot-game-img {height:180px;width:100%;object-fit:cover;}
.hot-game-content {padding:15px;}
.game-category {display:inline-block;background:#6c5ce7;color:white;padding:3px 10px;border-radius:4px;font-size:0.8rem;margin-bottom:8px;}
.game-category:hover{color:#dfe6e9;}
.game-title {font-size:1.1rem;font-weight:600;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.game-desc {color:#666;font-size:0.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:40px;}
    .recommended-games {display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.recommended-game-card {display:flex;background:white;border-radius:8px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,0.1);}
.recommended-game-img {width:120px;height:120px;object-fit:cover;}
.recommended-game-content {padding:15px;flex:1;}
    .like-games {display:grid;grid-template-columns:repeat(6,1fr);gap:15px;}
.like-game-card {background:white;border-radius:8px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,0.1);text-align:center;padding:15px 10px;}
.like-game-img {height:80px;width:80px;object-fit:cover;border-radius:50%;margin:0 auto 10px;}
    .about-section {background:linear-gradient(135deg,#f6f7f9 0%,#e9ebee 100%);padding:25px;border-radius:10px;margin:40px 0;position:relative;overflow:hidden;}
.about-section:before {content:'';position:absolute;top:-50px;right:-50px;width:200px;height:200px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%236c5ce7' fill-opacity='0.1' d='M30,10L50,30L70,10L90,30L70,50L90,70L70,90L50,70L30,90L10,70L30,50L10,30L30,10Z'/%3E%3C/svg%3E") center/cover no-repeat;}
.about-title {font-size:1.8rem;color:#6c5ce7;margin-bottom:20px;position:relative;display:inline-block;}
.about-title:after {content:'';position:absolute;bottom:-5px;left:0;width:100%;height:3px;background:linear-gradient(to right,#6c5ce7,#a29bfe);}
.about-text {font-size:1rem;line-height:1.8;color:#555;}
    footer {background:#2d3436;color:white;padding:40px 0 20px;}
.footer-container {display:flex;flex-direction:column;}
.footer-nav {display:flex;justify-content:center;margin-bottom:20px;}
.footer-nav a {color:#dfe6e9;margin:0 8px;font-size:0.8rem;}
.footer-nav a:hover {color:#a29bfe;}
.disclaimer {text-align:center;font-size:0.8rem;color:#b2bec3;margin-bottom:20px;max-width:800px;margin-left:auto;margin-right:auto;}
.copyright {text-align:center;font-size:0.8rem;color:#b2bec3;padding-top:20px;border-top:1px solid #3d4548;}
    #particles-js {position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none;}
    .detail-container {padding:15px 0 25px;}
.breadcrumb-box {display:flex;list-style:none;margin-bottom:30px;font-size:0.9rem;color:#666;}
.breadcrumb-box li {margin-right:10px;display:flex;align-items:center;}
.breadcrumb-box li:after {content:'›';margin-left:10px;color:#999;}
.breadcrumb-box li:last-child:after {display:none;}
.breadcrumb-box a:hover {color:#6c5ce7;text-decoration:underline;}
.game-detail-header {display:flex;margin-bottom:30px;flex-wrap:wrap;}
.game-cover {width:300px;height:200px;object-fit:cover;border-radius:8px;box-shadow:0 5px 15px rgba(0,0,0,0.1);margin-right:30px;}
.game-info {flex:1;min-width:300px;}
.game-title-detail {font-size:2rem;color:#2d3436;margin-bottom:15px;}
.play-btn {display:inline-block;background:linear-gradient(135deg,#6c5ce7 0%,#a29bfe 100%);color:white;padding:12px 45px;border-radius:30px;font-weight:600;margin-top:15px;box-shadow:0 4px 15px rgba(108,92,231,0.4);position:relative;overflow:hidden;transition:all 0.3s ease;}
.play-btn:hover {transform:translateY(-3px);box-shadow:0 7px 20px rgba(108,92,231,0.6);color:white;}
.play-btn:after {content:'';position:absolute;top:-50%;left:-60%;width:200%;height:200%;background:rgba(255,255,255,0.2);transform:rotate(30deg);transition:all 0.3s ease;}
.play-btn:hover:after {left:100%;}
.game-description {background:white;padding:30px;border-radius:8px;box-shadow:0 5px 15px rgba(0,0,0,0.05);line-height:1.8;color:#555;}
    @media (max-width:992px) {.hot-games {grid-template-columns:repeat(3,1fr);}
.like-games {grid-template-columns:repeat(4,1fr);}
.game-cover {width:250px;height:180px;}
;}
@media (max-width:768px) {.header-container {flex-wrap:wrap;}
.mobile-menu-btn,.mobile-search-btn {display:block;}
.mobile-menu-btn {margin-right:25px;}
.site-logo {height:38px;max-width:240px;}
nav {display:none;width:100%;order:3;margin-top:15px;}
nav.active {display:block;}
nav ul {flex-direction:column;}
nav ul li {margin:5px 0;}
.search-container {display:none;width:100%;order:4;margin-top:15px;}
.search-container.active {display:block;}
.search-container input {width:100%;}
.hot-games {grid-template-columns:repeat(2,1fr);}
.recommended-games {grid-template-columns:1fr;}
.recommended-game-img {width:100%;height:150px;}
.like-games {grid-template-columns:repeat(3,1fr);}
.game-detail-header {flex-direction:column;}
.game-cover {width:100%;height:200px;margin-right:0;margin-bottom:20px;}
;}
@media (max-width:576px) {.hot-games {grid-template-columns: repeat(2, 1fr);}
.like-games {grid-template-columns:repeat(2,1fr);}
.hero-content h2 {font-size:2rem;}
.hero-content p {font-size:1rem;}
.about-section {padding:20px;}
;}
