﻿body {
    font-family: Arial, sans-serif;
    background: #f4f6fb;
    margin: 0;
}

header {
    background: #111827;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    text-align: center;
}

.container {
    padding: 15px;
}

/* MOBILE FIRST: 2 PER ROW */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* TABLET */
@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.app-card {
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.175);
}

    .app-card:hover {
        transform: translateY(-4px);
    }

.app-icon {
    height: 70px;
    border-radius: 16px;
}

.app-name {
    font-size: 15px;
    margin: 8px 0;
    font-weight: bold;
}

.rating {
    font-size: 13px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 12px;
}

.android {
    background: #34a853;
}

.ios {
    background: #000;
}

.store-btn img {
    width: 16px;
}

.store-btn:hover {
    opacity: 0.9;
}
