/* style.css */
:root{--neon:#00e0ff}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,Arial;background:radial-gradient(circle at 10% 10%, rgba(183,0,255,0.06), transparent),radial-gradient(circle at 90% 90%, rgba(0,224,255,0.04), transparent),#071226;color:#eaf6ff}
.header{display:flex;align-items:center;justify-content:center;padding:22px;border-bottom:1px solid rgba(255,255,255,0.02)}
.logo{font-weight:800;color:var(--neon);font-size:20px}
.search-bar{margin-left:20px;padding:10px 14px;border-radius:12px;border:none;background:rgba(255,255,255,0.02);color:inherit;outline:none;box-shadow:0 0 15px rgba(0,224,255,0.06)}
.games-grid{display: grid;
    grid-template-columns: repeat(2, 1fr); /* عرض عمودين */
    gap: 20px; /* المسافة بين العناصر */
    padding: 28px;
    max-width: 1100px;
    margin: 0 auto;}
.game-card{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.04);box-shadow:0 12px 40px rgba(2,6,23,0.6);transition:transform .28s,box-shadow .28s;opacity:0;animation:popIn .6s ease forwards}
.game-card img{width:100%;height:180px;object-fit:cover}
.card_meta{padding:12px;display:flex;flex-direction:column;gap:10px;align-items:center}
.game-title{font-weight:800;color:var(--neon);font-size:16px}
.game-desc{color:rgba(234,246,255,0.7);font-size:13px}
.btn{background:linear-gradient(90deg,var(--neon),#80ffd8);border:none;padding:10px 14px;border-radius:10px;color:#041018;font-weight:800;cursor:pointer}
@keyframes popIn{0%{transform:scale(.9);opacity:0}60%{transform:scale(1.03);opacity:1}100%{transform:scale(1);opacity:1}}
.popup{position:fixed;inset:0;background:rgba(2,6,23,0.7);display:none;align-items:center;justify-content:center;z-index:50}
.popup.active{display:flex}
.popup-box{background:#0f1624;padding:20px;border-radius:12px;border:1px solid rgba(255,255,255,0.04);text-align:center;width:320px}
.os-btn{margin:8px;padding:10px 16px;border-radius:10px;border:none;background:linear-gradient(90deg,var(--neon),#80ffd8);color:#041018;font-weight:800;cursor:pointer}
.thank-card{width:100%;max-width:740px;padding:22px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);border:1px solid rgba(255,255,255,0.04);box-shadow:0 20px 60px rgba(2,6,23,0.7);margin:40px auto;text-align:center}
.game-image{width:180px;height:180px;border-radius:18px;object-fit:cover;border:3px solid rgba(0,224,255,0.12);box-shadow:0 8px 30px rgba(0,209,255,0.06)}
.countdown{font-size:34px;color:#80ffdb;font-weight:800;margin-top:12px}
.back-button{position:fixed;top:18px;left:18px;background:rgba(0,200,255,0.08);padding:8px 12px;border-radius:10px;color:var(--neon);text-decoration:none;font-weight:700;border:1px solid rgba(0,224,255,0.08)}
@media(max-width:600px){.game-card img{height:140px}.game-image{width:140px;height:140px}}

.hero-section {
    padding: 10px;
}

.hero-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

/* Text */
.hero-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
}

.hero-content h1 {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.hero-content p {
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.9;
}

/* Responsive for larger screens */
@media (min-width: 768px) {
    .hero-img {
        height: 280px;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .hero-content p {
        font-size: 16px;
    }
}


