body {
    margin: 0;
    overflow: hidden;
    font-family: sans-serif;
    background-color: #000;
}

#canvas-container {
    width: 100vw;
    height: 100vh;
}

#ui-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px;
    border-radius: 8px;
    pointer-events: none;
    z-index: 100;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobilný telefón */
#phone {
    position: absolute;
    bottom: -520px; /* Schovaný dole */
    right: 20px;
    width: 280px;
    height: 500px;
    background: #1e1e24;
    border: 8px solid #2d2d35;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: white;
}

#phone.open {
    bottom: 0px; /* Vysunutý */
}

.phone-header {
    background: #111116;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #333;
}

.phone-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px 15px;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.app-icon:hover {
    transform: scale(1.1);
}

.app-icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #3a3a45;
    object-fit: cover;
    margin-bottom: 5px;
}

.app-icon span {
    font-size: 11px;
    text-align: center;
    color: #ccc;
}

#phone-toggle-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    background: #0077ff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

#phone-toggle-btn:hover {
    background: #0056b3;
}