:root{--navy:#07143b;--dark:#041033;--yellow:#ffd100;--green:#2ecc71;--orange:#ff8a00;--purple:#7b61ff;--white:#fff}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;background:var(--dark);color:white;overflow-x:hidden}
.navbar{min-height:110px;padding:18px 7%;background:rgba(4,16,51,.96);display:flex;justify-content:space-between;align-items:center;gap:28px;position:sticky;top:0;z-index:1000;box-shadow:0 14px 45px rgba(0,0,0,.25)}
.brand{display:flex;align-items:center;gap:14px;color:white;text-decoration:none}
.brand img{width:72px;height:72px;border-radius:18px;object-fit:cover;box-shadow:0 12px 35px rgba(255,209,0,.18)}
.brand h2{font-size:30px;line-height:.95}.brand span{color:var(--yellow);font-weight:900;letter-spacing:4px}
.nav-links{display:flex;gap:38px}.nav-links a{color:white;text-decoration:none;font-size:18px;font-weight:900;position:relative}
.nav-links a.active::after,.nav-links a:hover::after{content:"";position:absolute;left:35%;bottom:-16px;width:30%;height:4px;background:var(--yellow);border-radius:99px}
.nav-btn{background:var(--yellow);color:var(--dark);text-decoration:none;padding:20px 30px;border-radius:20px;font-weight:900;font-size:18px;box-shadow:0 18px 50px rgba(255,209,0,.35)}
.hero{min-height:680px;background:url("../assets/hero-background.jpg") center center/cover no-repeat;position:relative;display:flex;align-items:center;padding:90px 7%}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.18) 55%,rgba(255,255,255,0))}
.hero-content{position:relative;z-index:2;max-width:620px;color:#061536}.eyebrow{color:white;background:rgba(4,16,51,.55);display:inline-block;padding:12px 18px;border-radius:999px;font-weight:900;margin-bottom:22px}
.hero h1{font-size:clamp(48px,5vw,82px);line-height:.9;font-weight:900;letter-spacing:-4px}.hero h1 span{color:var(--yellow)}
.hero-text{font-size:22px;line-height:1.55;margin:28px 0 34px;max-width:560px;font-weight:700}.hero-actions{display:flex;gap:18px;flex-wrap:wrap}
.btn{padding:20px 28px;border-radius:18px;text-decoration:none;font-weight:900;font-size:18px}.primary{background:var(--yellow);color:var(--dark);box-shadow:0 14px 30px rgba(255,209,0,.35)}.secondary{color:var(--dark);border:2px solid var(--dark);background:rgba(255,255,255,.45)}
.games{padding:90px 7%;background:var(--dark)}.section-heading{text-align:center;margin-bottom:42px}.section-heading h2{font-size:48px}.section-heading p{opacity:.78;font-size:18px;margin-top:10px}
.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.game-card{border-radius:28px;overflow:hidden;background:#102152;min-height:540px;box-shadow:0 28px 70px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.12);transition:.35s ease}.game-card:hover{transform:translateY(-12px) scale(1.015)}
.game-card {
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
  position: relative;
  background: #102152;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  transition: .35s ease;
}

.game-card img{
width:100%;
height:540px;
object-fit:cover;
display:block;
transition:.5s;
}

.game-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 2;
}

.game-card::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:45%;
background:linear-gradient(
to top,
rgba(4,16,51,.97) 0%,
rgba(4,16,51,.88) 35%,
rgba(4,16,51,.30) 75%,
transparent 100%);
z-index:1;
}

.game-card h3{
font-size:46px;
font-weight:900;
line-height:1;
margin-bottom:18px;
max-width:320px;
}

.game-card p{
font-size:20px;
line-height:1.6;
opacity:.95;
max-width:320px;
margin-bottom:24px;
}
.store-btn,.notify-btn{color:white;background:#061536;padding:14px 18px;border-radius:14px;text-decoration:none;font-weight:900}.notify-btn{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08)}.text-link{color:var(--yellow);text-decoration:none;font-weight:900}
.features-row{margin-top:50px;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.feature{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:26px;border-radius:24px;text-align:center}.feature span{font-size:38px}.feature h4{margin-top:12px;font-size:21px}.feature p{opacity:.75;margin-top:8px}
.about{padding:90px 7%;background:linear-gradient(135deg,#0b1d55,#07143b);text-align:center}.about h2{font-size:46px;color:var(--yellow);margin-bottom:16px}.about p{max-width:760px;margin:auto;font-size:20px;line-height:1.7;opacity:.9}
footer{padding:60px 7%;text-align:center;background:#02091f}footer h3{font-size:30px}footer p{margin-top:10px;opacity:.75}.copyright{font-size:14px}
@media(max-width:980px){.nav-links,.nav-btn{display:none}.hero{min-height:720px;padding-top:80px}.hero-overlay{background:rgba(255,255,255,.78)}.game-grid,.features-row{grid-template-columns:1fr}.brand h2{font-size:24px}}
.game-card::after {
  background: linear-gradient(
    180deg,
    rgba(4,16,51,.35) 0%,
    rgba(4,16,51,.45) 45%,
    rgba(4,16,51,.96) 72%,
    rgba(4,16,51,.98) 100%
  );
}

.game-card-content{
position:absolute;
left:30px;
right:30px;
bottom:30px;
z-index:2;

background:none;
border:none;
padding:0;
}

.game-card h3,
.game-card p,
.card-actions {
  text-shadow: 0 4px 14px rgba(0,0,0,.75);
}
.game-card:hover img{
transform:scale(1.05);
}
.card-actions{
display:flex;
align-items:center;
gap:20px;
margin-top:20px;
}
.footer{
padding:70px 7% 30px;
background:#02091f;
border-top:1px solid rgba(255,255,255,.1);
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:35px;
}

.footer h3{
font-size:32px;
color:var(--yellow);
margin-bottom:14px;
}

.footer h4{
font-size:20px;
margin-bottom:16px;
}

.footer p{
line-height:1.7;
opacity:.75;
max-width:420px;
}

.footer a{
display:block;
color:white;
text-decoration:none;
opacity:.75;
margin-bottom:10px;
transition:.25s;
}

.footer a:hover{
opacity:1;
color:var(--yellow);
transform:translateX(5px);
}

.footer-bottom{
margin-top:45px;
padding-top:25px;
border-top:1px solid rgba(255,255,255,.1);
text-align:center;
opacity:.65;
font-size:14px;
}

@media(max-width:900px){
.footer-grid{
grid-template-columns:1fr;
}
}
.about-content{
display:grid;
grid-template-columns:1.4fr .8fr;
gap:40px;
align-items:center;
}

.about-text{
text-align:left;
}

.small-title{
color:var(--yellow);
font-weight:900;
text-transform:uppercase;
letter-spacing:2px;
}

.stats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px;
margin-top:30px;
}

.stats div{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:20px;
    padding:22px;
    text-align:center;
    transition:.35s;
}

.stats strong{
display:block;
font-size:30px;
color:var(--yellow);
}

.stats span{
opacity:.8;
font-weight:700;
}

.about-card{
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.12);
border-radius:28px;
padding:50px;
min-height:340px;

display:flex;
flex-direction:column;
justify-content:center;
}

.about-card h3{
font-size:30px;
color:var(--yellow);
margin-bottom:14px;
}

@media(max-width:900px){
.about-content{
grid-template-columns:1fr;
}

.stats{
grid-template-columns:1fr;
}
}
.stats div:hover{
    transform:translateY(-10px);
    background:#17356e;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}
.news{
padding:90px 7%;
background:#041033;
}

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
}

.news-card{
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.12);
border-radius:28px;
padding:32px;
transition:.35s;
box-shadow:0 25px 60px rgba(0,0,0,.25);
}

.news-card:hover{
transform:translateY(-12px);
background:#102152;
}

.news-card span{
color:var(--yellow);
font-weight:900;
}

.news-card h3{
font-size:28px;
margin:18px 0 14px;
}

.news-card p{
line-height:1.7;
opacity:.8;
}

.news-card a{
display:inline-block;
margin-top:22px;
color:var(--yellow);
font-weight:900;
text-decoration:none;
}

@media(max-width:900px){
.news-grid{
grid-template-columns:1fr;
}
}
.game-card,
.news-card,
.feature,
.stats div,
.about-card{
  animation: fadeUp .8s ease both;
}

.nav-btn,
.btn,
.store-btn,
.notify-btn{
  transition:.3s ease;
}

.nav-btn:hover,
.btn:hover,
.store-btn:hover,
.notify-btn:hover{
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 20px 45px rgba(255,209,0,.35);
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(35px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.game-card,
.news-card,
.feature,
.stats div,
.about-card{
  opacity:0;
  transform:translateY(35px);
}

.game-card.show,
.news-card.show,
.feature.show,
.stats div.show,
.about-card.show{
  opacity:1;
  transform:translateY(0);
}
/* FIX GAME CARDS FITTING */
.game-grid{
  align-items: stretch;
}

.game-card{
  min-height: 460px;
  height: 460px;
}

.game-card img{
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.game-card-content{
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(4,16,51,.82);
  backdrop-filter: blur(8px);
}

.game-card h3{
  font-size: 34px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.game-card p{
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.card-actions{
  margin-top: 10px;
  gap: 14px;
}