:root {
    /* Colors */
    --bg-color: #0b1220;
    --bg-accent: #1e293b;
    --text-color: #f8fafc;

    /* Glass cards */
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.14);
    --card-border: rgba(255, 255, 255, 0.15);

    /* Layout */
    --border-radius: 18px;
    --icon-size: 64px;
}

/* Global */
body {
    margin: 0;
    padding: 48px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;

    background:
        radial-gradient(900px circle at top right, #1e293b 0%, transparent 45%),
        radial-gradient(700px circle at bottom left, #020617 0%, transparent 50%),
        var(--bg-color);

    color: var(--text-color);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
h1 {
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 48px;
    letter-spacing: 0.08em;
    opacity: 0.95;
}

/* Grid */
#app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
}

/* App Card */
.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    padding: 22px 12px;
    border-radius: var(--border-radius);

    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.02));

    backdrop-filter: blur(10px);
    border: 1px solid transparent;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.app-card:hover {
    background-color: var(--card-hover);
    border-color: var(--card-border);
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Icon (komplett transparent, kein Schatten, kein Hintergrund) */
.app-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    margin-bottom: 14px;

    border-radius: 0;
    object-fit: contain;

    background: transparent;
    box-shadow: none;

    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.05);
    box-shadow: none;
}

/* App Name */
.app-name {
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    max-width: 110px;
    letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --icon-size: 56px;
    }

    #app-grid {
        gap: 14px;
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    }
}