/* Home Screen */
.home-screen {
    flex: 1;
    background-size: cover;
    background-position: center;
    padding: 60px 0 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

[data-theme="dark"] .home-screen {
    background-size: cover;
    background-position: center;
}

.home-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;

    h1 {
        color: rgba(255, 255, 255, 0.8);
        font-size: 24px;
        font-weight: 500;
    }
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 65px);
    gap: 25px;
    justify-content: center;
    flex: 1;
    align-content: start;
    padding: 0;
    width: 100%;
}

.dock {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 8px 8px 4px 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

[data-theme="dark"] .dock {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;

    &:hover {
        transform: scale(1.05);
    }

    .app-icon-symbol {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        position: relative;
        overflow: hidden;
        padding: 0;

        &[style*="background"] {
            background: var(--app-color);
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
        }

        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }
    }

    .app-title {
        color: var(--text-primary);
        font-size: 12px;
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 65px;
    }
}