/* === RESET & CƠ BẢN === */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Segoe UI", Arial, sans-serif;
background-color: #0b1b13; /* Nền đen xanh rừng /
color: #e9ffee; / Chữ trắng xanh dịu */
line-height: 1.6;
overflow-x: hidden;
}

.container {
width: 90%;
max-width: 1200px;
margin: auto;
}

/* === HIỆU ỨNG NEON === */
.neon {
color: #00ff99;
text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 30px #00ff99;
}

/* === HEADER === */
.header {
background: linear-gradient(90deg, #001b11, #00361d);
border-bottom: 2px solid #00ff99;
box-shadow: 0 0 15px rgba(0, 255, 150, 0.2);
padding: 12px 0;
}

.header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo h1 {
font-size: 32px;
letter-spacing: 1px;
color: #eafff3;
}

nav ul {
list-style: none;
display: flex;
gap: 25px;
}

nav a {
text-decoration: none;
color: #e9ffee;
font-weight: 600;
padding: 8px 14px;
border-radius: 6px;
transition: 0.3s;
}

nav a:hover, nav a.active {
background-color: #00ff99;
color: #0b1b13;
box-shadow: 0 0 10px #00ff99;
}

/* === HERO SLIDER === */
.hero {
position: relative;
height: 600px;
overflow: hidden;
}

.slides {
position: relative;
width: 100%;
height: 100%;
}

.slide {
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 1s ease-in-out;
display: flex;
justify-content: center;
align-items: center;
}

.slide.active {
opacity: 1;
}

.hero-content {
background: rgba(0, 30, 20, 0.7);
padding: 40px 60px;
border-radius: 15px;
text-align: center;
box-shadow: 0 0 25px rgba(0, 255, 100, 0.4);
}

.hero-content h2 {
color: #00ff99;
font-size: 42px;
margin-bottom: 10px;
text-shadow: 0 0 10px #00ff99;
}

.hero-content p {
color: #d0ffea;
font-size: 18px;
margin-bottom: 25px;
}

.hero .btn {
display: inline-block;
background: #00ff99;
color: #0b1b13;
padding: 12px 28px;
border-radius: 6px;
font-weight: 700;
text-decoration: none;
transition: 0.3s;
}

.hero .btn:hover {
background: #22ffaa;
box-shadow: 0 0 20px #00ff99;
transform: translateY(-3px);
}

/* === NÚT SLIDE === */
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.5);
border: none;
color: #00ff99;
font-size: 42px;
padding: 10px 20px;
cursor: pointer;
border-radius: 50%;
transition: 0.3s;
}

.prev:hover, .next:hover {
background: rgba(0, 255, 150, 0.3);
color: #fff;
box-shadow: 0 0 15px #00ff99;
}

.prev { left: 25px; }
.next { right: 25px; }

/* === GAME GRID === */
.featured-games {
padding: 60px 0;
text-align: center;
}

.section-title {
font-size: 30px;
color: #00ff99;
text-shadow: 0 0 10px #00ff99;
margin-bottom: 30px;
}

.game-grid {
display: flex;
flex-wrap: wrap;
gap: 25px;
justify-content: center;
}


.the-game {
background: #0f261a;
border: 1px solid #004d2b;
border-radius: 10px;
padding: 15px;
width: 260px;
transition: 0.3s;
box-shadow: 0 0 10px rgba(0, 255, 100, 0.05);
}

.the-game img {
width: 100%;
height: 320px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 12px;
}

.the-game h3 {
color: #a8ffd2;
margin-bottom: 8px;
}

.price {
color: #00ff99;
font-weight: 700;
margin-bottom: 10px;
}

.the-game .btn {
display: inline-block;
background: #00ff99;
color: #0b1b13;
text-decoration: none;
padding: 8px 18px;
border-radius: 6px;
font-weight: 600;
transition: 0.3s;
}

.the-game .btn:hover {
background: #22ffaa;
box-shadow: 0 0 15px #00ff99;
}

.the-game:hover {
transform: translateY(-6px);
box-shadow: 0 0 20px rgba(0, 255, 120, 0.3);
border-color: #00ff99;
}
footer {
text-align: center;
padding: 20px;
background: linear-gradient(90deg, #001d12, #003a20);
border-top: 2px solid #00ff99;
color: #d4ffe9;
font-size: 14px;
margin-top: 60px;
}
.search-box {
width: 60%;
display: block;
margin: 0 auto 40px auto;
padding: 15px 25px;
font-size: 18px;
border: 2px solid #00ff99;
border-radius: 10px;
background: #002415;
color: #00ff99;
box-shadow: 0 0 10px rgba(0, 255, 150, 0.3);
transition: 0.3s;
background-image: url("./img/games-icon-png-4.png");
background-repeat: no-repeat;
background-size: 26px;
background-position: 20px center;
text-indent: 45px;
}

.search-box:placeholder {
color: #33ffaa;
}

.search-box:focus {
outline: none;
background-color: #00391f;
box-shadow: 0 0 20px #00ff99;
}
/* === NÚT XÓA TRONG GIỎ HÀNG === */
.remove-btn {
background: transparent;
border: 2px solid #00ff99;
color: #00ff99;
padding: 8px 18px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}

.remove-btn:hover {
background: #00ff99;
color: #0b1b13;
box-shadow: 0 0 15px #00ff99;
transform: translateY(-2px);
}

/* === NÚT THANH TOÁN === */
#checkoutBtn {
background: linear-gradient(90deg, #00ff99, #33ffaa);
border: none;
color: #0b1b13;
font-weight: 700;
padding: 12px 30px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
font-size: 17px;
letter-spacing: 0.5px;
}

#checkoutBtn:hover {
background: #22ffaa;
box-shadow: 0 0 25px #00ff99;
transform: translateY(-3px);
}