*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#0e0e11;
color:#fff;
}


/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.affiliate-note{
background:#141418;
border-top:1px solid rgba(255,255,255,0.05);
border-bottom:1px solid rgba(255,255,255,0.05);
padding:12px 0;
}

.affiliate-note p{
text-align:center;
font-size:13px;
color:#aaa;
line-height:1.6;
max-width:900px;
margin:auto;
}
/* HEADER */

header{
background:#121216;
position:sticky;
top:0;
z-index:1000;
border-bottom:1px solid rgba(255,255,255,0.05);
}

.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
padding:18px 20px;
}

.logo img{
height:45px;
border-radius:8px;
}


/* NAV */

.nav-menu{
display:grid;
grid-template-columns:repeat(5,auto);
gap:10px;
}

.nav-menu a{
text-decoration:none;
color:#ddd;
font-size:15px;
}

.nav-menu a:hover{
color:#d4af37;
}


/* MOBILE NAV */

@media (max-width:768px){

.nav-menu{
grid-template-columns:repeat(3,auto);
justify-content:center;
}

}


/* HERO */

/* HERO DEFAULT (Desktop) */
.hero{
position:relative;
height:35vh;        /* shorter banner for desktop */
min-height:400px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
color:white;
}


/* MOBILE HERO */
@media (max-width:768px){

.hero{
height:20vw;       /* 1:1 ratio for mobile */
max-height:300px;
}

}

/* slider */

.hero-slider{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
}

/* slides */

.hero-slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
animation:heroFade 15s infinite;
}

.hero-slide:nth-child(1){animation-delay:0s;}
.hero-slide:nth-child(2){animation-delay:5s;}
.hero-slide:nth-child(3){animation-delay:10s;}

.slide1{background-image:url("../images/bannerIndex2.png");}
.slide2{background-image:url("../images/bannerIndex1.png");}
.slide3{background-image:url("../images/bannerIndex3.png");}


/* fade animation */

@keyframes heroFade{

0%{opacity:0;}
10%{opacity:1;}
30%{opacity:1;}
40%{opacity:0;}
100%{opacity:0;}

}


/* overlay */

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}


/* hero text */

.hero-content{
position:relative;
z-index:2;
text-align:center;
}

.hero-content h1{
font-size:44px;
margin-bottom:15px;
}

.hero-content p{
margin-bottom:20px;
color:#ddd;
}

.btn{
display:inline-block;
padding:12px 26px;
background:#d4af37;
color:#000;
border-radius:8px;
text-decoration:none;
font-weight:600;
}


/* SECTIONS */

.section{
padding:40px 0;
}

.section h2{
text-align:center;
margin-bottom:20px;
}


/* CATEGORIES */

.categories{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

.category{
background:#f2f2f2;
color:#333;
padding:10px 18px;
border-radius:8px;
text-decoration:none;
font-size:14px;
}

.category:hover{
background:#ddd;
}


/* PRODUCTS */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.product-card{
background:#1b1b21;
border-radius:12px;
overflow:hidden;
}

.product-card img{
width:100%;
height:200px;
object-fit:cover;
}

.product-body{
padding:18px;
}

.product-body h3{
margin-bottom:8px;
}

.product-body p{
color:#bbb;
margin-bottom:15px;
}

.buttons{
text-align:center;
}

.amazon{
background:#ff9900;
color:#fff;
padding:8px 16px;
border-radius:6px;
text-decoration:none;
}


/* ABOUT */

.about-text{
max-width:700px;
margin:auto;
text-align:center;
color:#bbb;
}


/* FOOTER */
.footer-links{
margin-bottom:10px;
}

.footer-links a{
margin:0 10px;
color:#bbb;
text-decoration:none;
font-size:14px;
}

.footer-links a:hover{
color:#d4af37;
}

footer{
background:#121216;
text-align:center;
padding:40px 0;
color:#aaa;
}
