/* ===========================
   GameSmart Website
   Style.css
   Part 1
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#1e293b;
    line-height:1.6;
}

/* ===========================
   Variables
=========================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --dark:#08142B;

    --light:#f8fafc;

    --white:#ffffff;

    --text:#475569;

    --radius:18px;

    --shadow:0 12px 35px rgba(0,0,0,.08);

}

/* ===========================
   Navbar
=========================== */

header{

    width:100%;
    background:var(--dark);

    position:sticky;
    top:0;
    z-index:999;

}

.navbar{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 30px;

}

.logo h2{

    color:white;

    font-size:30px;

    font-weight:700;

}

.logo p{

    color:#cbd5e1;

    font-size:13px;

}

.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links a{

    color:white;

    text-decoration:none;

    transition:.3s;

    font-weight:500;

}

.nav-links a:hover{

    color:#60a5fa;

}

.nav-btn{

    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:12px 28px;

    border-radius:40px;

    transition:.3s;

    font-weight:600;

}

.nav-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

/* ===========================
   Hero
=========================== */

.hero{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

    padding:90px 30px;

}

.hero-left{

    flex:1;

}

.hero-left h1{

    font-size:60px;

    color:var(--dark);

    line-height:1.1;

    margin-bottom:25px;

}

.hero-left p{

    font-size:18px;

    color:var(--text);

    margin-bottom:35px;

    max-width:600px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.primary-btn{

    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.primary-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.secondary-btn{

    background:white;

    color:var(--primary);

    border:2px solid var(--primary);

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    transition:.3s;

    font-weight:600;

}

.secondary-btn:hover{

    background:var(--primary);

    color:white;

}

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:100%;

    max-width:520px;

    border-radius:25px;

    box-shadow:var(--shadow);

    object-fit:cover;

}
/* ===========================
   Services Section
=========================== */

.services-preview{
    padding:100px 30px;
    background:#f8fafc;
}

.services-preview h2{
    text-align:center;
    font-size:42px;
    color:var(--dark);
    margin-bottom:60px;
}

.service-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:white;
    padding:45px 30px;
    border-radius:20px;
    text-align:center;
    font-size:52px;
    transition:.35s;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.service-card h3{
    margin-top:20px;
    font-size:22px;
    color:var(--dark);
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(37,99,235,.18);
}

/* ===========================
   CTA Section
=========================== */

.cta{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    text-align:center;
    padding:100px 30px;
}

.cta h2{
    font-size:46px;
    margin-bottom:15px;
}

.cta p{
    font-size:20px;
    margin-bottom:40px;
    opacity:.95;
}

.cta .primary-btn{
    background:white;
    color:var(--primary);
}

.cta .primary-btn:hover{
    background:#f1f5f9;
}

/* ===========================
   Footer
=========================== */

footer{
    background:var(--dark);
    color:white;
    text-align:center;
    padding:70px 20px;
}

footer h2{
    font-size:34px;
    margin-bottom:10px;
}

footer p{
    margin:12px 0;
    color:#cbd5e1;
}

/* ===========================
   Simple Animations
=========================== */

.hero-left,
.hero-right,
.service-card,
.cta{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ===========================
   Responsive
=========================== */

@media(max-width:1024px){

.hero{

    flex-direction:column;
    text-align:center;
    padding:70px 25px;

}

.hero-left h1{

    font-size:48px;

}

.hero-left p{

    margin:auto;
    margin-bottom:35px;

}

.hero-buttons{

    justify-content:center;

}

.service-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.navbar{

    flex-direction:column;
    gap:20px;

}

.nav-links{

    flex-wrap:wrap;
    justify-content:center;
    gap:20px;

}

.hero{

    padding:60px 20px;

}

.hero-left h1{

    font-size:38px;

}

.hero-left p{

    font-size:17px;

}

.hero-right img{

    max-width:100%;

}

.services-preview{

    padding:70px 20px;

}

.services-preview h2{

    font-size:34px;

}

.service-grid{

    grid-template-columns:1fr;

}

.service-card{

    padding:40px 25px;

}

.cta{

    padding:70px 20px;

}

.cta h2{

    font-size:34px;

}

}

@media(max-width:480px){

.hero-left h1{

    font-size:32px;

}

.logo h2{

    font-size:26px;

}

.logo p{

    font-size:12px;

}

.nav-btn,
.primary-btn,
.secondary-btn{

    width:100%;
    text-align:center;

}

.hero-buttons{

    flex-direction:column;

}

}
/* Bundles */

.bundles{

padding:100px 30px;

background:white;

}

.bundles h2{

text-align:center;

font-size:42px;

margin-bottom:60px;

color:var(--dark);

}

.bundle-grid{

max-width:1200px;

margin:auto;

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.bundle-card{

background:#f8fafc;

padding:40px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.3s;

}

.bundle-card:hover{

transform:translateY(-10px);

}

.bundle-card h3{

font-size:26px;

margin-bottom:15px;

}

.bundle-card h4{

font-size:38px;

color:#2563eb;

margin-bottom:25px;

}

.bundle-card ul{

list-style:none;

}

.bundle-card li{

margin:12px 0;

}

@media(max-width:900px){

.bundle-grid{

grid-template-columns:1fr;

}

}
.service-card ul{
margin:25px 0;
padding-left:20px;
text-align:left;
}

.service-card li{
margin:10px 0;
}

.service-card h4{
font-size:38px;
color:#2563eb;
margin:20px 0;
}

.service-btn{
display:block;
margin-top:20px;
text-align:center;
background:#2563eb;
color:white;
padding:15px;
border-radius:12px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.service-btn:hover{
background:#1d4ed8;
transform:translateY(-3px);
}

.bundles{
padding:110px 30px;
background:#08142B;
color:white;
}

.bundles h2{
text-align:center;
font-size:46px;
margin-bottom:60px;
}

.bundle-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
max-width:1200px;
margin:auto;
}

.bundle-card{
background:white;
color:#08142B;
padding:40px;
border-radius:20px;
position:relative;
box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.bundle-card:hover{
transform:translateY(-8px);
transition:.3s;
}

.featured{
transform:scale(1.05);
border:4px solid #2563eb;
}

.popular{
position:absolute;
top:-15px;
left:50%;
transform:translateX(-50%);
background:#2563eb;
color:white;
padding:8px 20px;
border-radius:50px;
font-size:13px;
font-weight:700;
}

.price{
font-size:48px;
font-weight:700;
color:#2563eb;
margin:20px 0;
}

.bundle-card ul{
padding-left:20px;
margin:25px 0;
}

.bundle-card li{
margin:10px 0;
}

@media(max-width:900px){

.bundle-grid{

grid-template-columns:1fr;

}

.featured{

transform:none;

}

}
