body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 1rem;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    background-color: #333;
    border-radius: 20px;
    padding: 4px;
    z-index: 10;
}

.lang-switcher a {
    padding: 8px 12px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 16px;
    transition: background-color 0.3s;
}

.lang-switcher a.active {
    background-color: #bb86fc;
    color: #121212;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
    padding-top: 60px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
}

header p {
    font-size: 1rem;
    color: #888;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.app-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-card:not(.disabled):hover {
    transform: translateY(-5px);
    border-color: #bb86fc;
}

.app-card.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.app-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    fill: #bb86fc;
}

.card-title-link {
    text-decoration: none;
    color: #e0e0e0;
}

.card-title-link:hover h2 {
    color: #bb86fc;
}

.app-card h2 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.app-card p {
    font-size: 1rem;
    color: #888;
    line-height: 1.5;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.button {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e0e0e0;
    background-color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #444;
}

.status {
    font-size: 0.9rem;
    font-weight: bold;
    color: #03dac6;
}

.status.coming-soon {
    color: #cf6679;
}

@media (min-width: 768px) {
    body {
        padding: 2rem;
    }

    .lang-switcher {
        top: 1.5rem;
        right: 2rem;
    }
    
    header {
        margin-bottom: 3rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.1rem;
    }

    .app-grid {
        gap: 2rem;
    }

    .app-card {
        padding: 2rem;
    }

    .app-card h2 {
        font-size: 1.5rem;
    }
}
