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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f5;
  color: #111;
}

a {
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e30613;
  color: white;
  padding: 16px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: white;
  font-weight: 700;
}

#home {
    background:
        linear-gradient(
            rgba(0,0,0,0.75),
            rgba(20,0,0,0.85)
        ),
        url("assets/images/banner.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
  min-height: 720px;
  padding: 70px 8%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  color: white;
}

.hero-left {
  height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #e30613, #111);
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tagline {
  color: #ff3340;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero-right h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1;
  margin-bottom: 24px;
}

.hero-right p {
  font-size: 20px;
  line-height: 1.7;
  color: #ddd;
  max-width: 520px;
}

.hero-right a {
  display: inline-block;
  margin-top: 30px;
  background: #e30613;
  color: white;
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 900;
}

section {
  padding: 80px 8%;
}

section h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.games,
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 26px;
  min-height: 150px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border: 1px solid #eee;
  transition: .25s;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: #666;
  line-height: 1.5;
}

#tutorials ul {
  background: white;
  border-radius: 18px;
  padding: 30px 50px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  line-height: 2;
}

#about,
#contact {
  background: white;
}

#about p,
#contact p {
  max-width: 850px;
  font-size: 18px;
  line-height: 1.7;
}

#contact p:last-child {
  color: #e30613;
  font-weight: 900;
}

footer {
  background: #e30613;
  color: white;
  text-align: center;
  padding: 35px;
}

footer h3 {
  font-size: 26px;
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 12px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    height: 480px;
  }

  .hero-right p {
    margin: auto;
  }
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-top:35px;
    flex-wrap:wrap;
}

.btn-red{
    background:#e30613;
    color:white;
    padding:16px 30px;
    border-radius:12px;
    font-weight:700;
    transition:.25s;
}

.btn-red:hover{
    background:#ff2434;
    transform:translateY(-3px);
}

.btn-white{
    background:white;
    color:#111;
    padding:16px 30px;
    border-radius:12px;
    font-weight:700;
    transition:.25s;
}

.btn-white:hover{
    transform:translateY(-3px);
    background:#efefef;
}

#games {
  background: #f4f4f5;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}

.games .card {
  border-top: 6px solid #e30613;
  cursor: pointer;
}

.games .card h3::before {
  content: "🎮 ";
}

.games .card:hover {
  box-shadow: 0 18px 40px rgba(227, 6, 19, 0.18);
}
