/* ==================================================
   BASIC RESET
   ================================================== */

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

html,body{
  background:#000;
  color:#fff;
  font-family:Arial,Tahoma,sans-serif;
  line-height:1.6;
}

/* ==================================================
   LINKS
   ================================================== */

a{
  color:#fff;
  text-decoration:none;
}

a:hover{
  opacity:.9;
}

/* ==================================================
   CONTAINER
   ================================================== */

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

/* ==================================================
   HEADER
   ================================================== */

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding:10px 15px;
  background:#000;
}

.logo{
  font-size:20px;
  font-weight:bold;
}

/* ==================================================
   GAME GRID
   ================================================== */

.games-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px;
  margin-top:20px;
}

.game-card{
  background:#111;
  border-radius:14px;
  overflow:hidden;
  transition:.2s;
}

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

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

.game-card h3{
  padding:10px;
  font-size:15px;
  text-align:center;
}

/* ==================================================
   BUTTONS
   ================================================== */

button,
.btn{
  background:#fff;
  color:#000;
  border:none;
  border-radius:999px;
  padding:8px 14px;
  cursor:pointer;
}

button:hover,
.btn:hover{
  opacity:.9;
}

/* ==================================================
   FOOTER
   ================================================== */

footer{
  text-align:center;
  padding:20px;
  background:#000;
  margin-top:30px;
}

footer a{
  margin:0 5px;
}

/* ==================================================
   ANDROID DOWNLOAD BUTTON
   ================================================== */

.android-download-container{
  display:flex;
  justify-content:center;
  margin:15px 0;
}

.android-download-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#39d353;
  color:#08260d !important;
  padding:10px 14px;
  border-radius:999px;
  font-weight:bold;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.android-download-btn svg{
  width:18px;
  height:18px;
}

/* ==================================================
   APP BAR (PHONE)
   ================================================== */

.android-app-bar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#111;
  border-top:1px solid #333;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:9999;
}

.android-app-bar .app-info{
  display:flex;
  align-items:center;
  gap:10px;
}

.android-app-bar img{
  width:36px;
  height:36px;
  border-radius:8px;
}

.android-app-bar a{
  background:#39d353;
  color:#08260d;
  padding:8px 14px;
  border-radius:999px;
  font-weight:bold;
}

/* يظهر فقط في الهاتف */

@media (min-width:769px){
  .android-app-bar{
    display:none;
  }
}

/* منع تغطية المحتوى في الهاتف */

@media (max-width:768px){
  body{
    padding-bottom:70px;
  }
}