* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #0f1115;
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.hero-card,
.about-card,
.features-card,
.screenshots-card {
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
}

.hero-card {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(circle at top left, rgba(77, 163, 255, 0.18), transparent 40%),
        #1a1d24;
}

.tag {
    display: inline-block;
    background: rgba(77, 163, 255, 0.15);
    color: #4da3ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.hero-card h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-card p {
    color: #b0b3c0;
    max-width: 650px;
    line-height: 1.6;
}

.game-logo {
    width: 64px;
    height: 64px;
    margin: 10px 10px 12px 0;
    display: inline-block;
    object-fit: cover;
    vertical-align: bottom;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.download-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 220px;
}

.btn img {
    width: 28px;
    height: 28px;
}

.btn .small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn strong {
    display: block;
    font-size: 0.95rem;
}

/* Android */
.btn.android {
    background: linear-gradient(135deg, #34bd72, #278b59);
    color: white;
}

/* iOS */
.btn.ios {
    background: linear-gradient(135deg, #0a84ff, #0066cc);
    color: white;
}

/* Hover effect */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-card,
.features-card,
.screenshots-card {
    padding: 22px;
}

.about-card h2,
.features-card h2,
.screenshots-card h2 {
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.features-card p,
.about-card p {
    color: #b0b3c0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mini-stats div {
    background: #232832;
    border-radius: 12px;
    padding: 12px;
}

.mini-stats span {
    display: block;
    color: #b0b3c0;
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.mini-stats strong {
    font-size: 0.95rem;
}

.logo {
    font-size: 1.1rem;
    margin-right: 6px;
    width: 24px;
    height: 24px;
}

.more-box {
    margin-top: 12px;
}

.more-box summary {
    cursor: pointer;
    color: #4da3ff;
    font-weight: bold;
    list-style: none;
    margin-bottom: 14px;
}

.more-box summary::-webkit-details-marker {
    display: none;
}

.expanded-content p {
    color: #b0b3c0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.side-stats {
    grid-template-columns: repeat(2, 1fr);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    background: #232832;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    font-size: 0.92rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.screenshot {
    height: 150px;
    border-radius: 14px;
    background: linear-gradient(135deg, #232832, #2d3442);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7280;
    font-weight: bold;
}

footer {
    text-align: center;
    color: #6c7280;
    padding: 20px 0 10px;
    font-size: 0.85rem;
} 

footer a {
    color: #99a3b8;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* How to play links */
.project-link,
.features-card a {
    color: #4da3ff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.project-link,
.features-card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Extra information list styling */
.about-card ul {
    margin-top: 14px;
    margin-left: 20px;
    color: #b0b3c0;
    line-height: 1.7;
}

.about-card li {
    margin-bottom: 8px;
}

.about-card li ul {
    margin-top: 8px;
    margin-bottom: 12px;
}

/* Code/app identifiers */
.about-card li li {
    background: #232832;
    padding: 10px 12px;
    border-radius: 10px;
    list-style: none;
    margin-left: -20px;
    font-family: monospace;
    color: #d6dae3;
}

@media (max-width: 900px) {

    .hero-card,
    .top-grid,
    .bottom-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .mini-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    body {
        padding: 14px;
    }

    .hero-card h1 {
        font-size: 2rem;
    }

    .download-buttons {
        width: 100%;
    }

    .download-btn,
    .secondary-btn {
        flex: 1;
        text-align: center;
    }

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}