/* ========================================================================= */
/* APPLICATIONS PAGE STYLE FILE (applications.css)                           */
/* This file contains styles for the application selection grid and cards.   */
/* ========================================================================= */

.app-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.app-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.app-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px; /* This was in your original file, you might want to increase it to 20px or 30px */
}

.app-card {
    aspect-ratio: 1 / 1;
    max-width: 375px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: var(--panel-bg);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--panel-blur));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.app-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.app-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* This is a general button style, but it's used by the app cards */
.open-button {
    background: linear-gradient(to right, var(--accent-green), var(--primary-blue));
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.open-button:hover {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-green));
    transform: scale(1.05);
}

/* This rule sets the size of the open-button specifically within the app-card */
.app-card a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 150px;
    height: 45px;
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .app-grid {
        grid-template-columns: 1fr;
        padding: 40px 10px;
    }
    .app-card {
        max-width: 100%;
    }
    .app-card a {
        width: 100%;
    }
}