

:root {
    --bg-dark: #070a13;
    --card-bg: #161e2d;
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --tag-bg: rgba(79, 70, 229, 0.15);
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
    --line: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.08) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
    color: var(--text-main);
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 60px;
}

.brand {
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

#app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1150px;
    margin: 0 auto;
    justify-content: center;
}

.app-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .app-card:hover {
        transform: translateY(-8px);
        border-color: rgba(79, 70, 229, 0.5);
    }

.banner-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #0f172a; /* רקע כהה כגיבוי לתמונה חסרה */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.app-card:hover .banner {
    transform: scale(1.1);
}

.content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

h2 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
}

p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.tags {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.65rem;
    background: var(--tag-bg);
    color: #a5b4fc;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn {
    margin-top: auto;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

    .btn:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }

@media (max-width: 420px) {
    body {
        padding: 30px 15px;
    }

    #app-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        max-width: 360px;
        margin: 0 auto;
    }
}

footer {
    margin-top: 80px;
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 0.9rem;
}

    footer a {
        color: var(--accent-light);
        text-decoration: none;
        margin-top: 10px;
        display: inline-block;
    }




.container {
    max-width: 800px;
    margin: 0 auto;
}

img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.2rem;
}

p {
    color: #94a3b8;
    line-height: 1.6;
}



.section {
    margin-top: 40px;
    text-align: left;
}

.game-card {
    background: #111;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.btn-play {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background: #00ff99;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.learn-more {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
}

    .learn-more:hover {
        color: white;
    }