* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    font-family: sans-serif;
}

.phone-screen {
    height: 100vh;
    aspect-ratio: 9 / 16;
    max-width: 100vw;
    background-color: #F6F6F6;
    background-image: radial-gradient(#dbdbdb 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

/* --- WOCHENTAGE --- */
.weekdays {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 20px 30px 10px 30px;
    position: relative;
    z-index: 100;
}

.day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: transparent;
}

.day.today .day-dot {
    background-color: #0077b6;
}

.day-letter {
    font-size: 14px;
    font-weight: 500;
    color: #bbb;
}

.day.today .day-letter {
    color: #333;
    font-weight: 700;
}

/* --- TITEL --- */
h1 {
    position: relative;
    z-index: 100;
    text-align: center;
    padding-top: 10px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

/* --- KARTEN --- */
#card-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.box {
    height: 380px;
    width: 260px;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease;
    cursor: grab;
    will-change: transform;
}

.box.moving {
    transition: none;
    cursor: grabbing;
}

/* ============================================ */
/*              NAVBAR                          */
/* ============================================ */
.navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 200;

    /* Flexbox für perfekte Zentrierung */
    display: flex;
    justify-content: space-evenly; /* Gleichmäßig verteilt */
    align-items: center;
    padding: 0 10px;
    padding-bottom: 10px;

    /* Glasmorphism */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.06);
}

/* Einzelne Nav Items */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.15s ease;
    
    /* Alle Items gleich breit für perfekte Verteilung */
    flex: 1;
    max-width: 70px;
}

.nav-item:active {
    transform: scale(0.85);
}

/* Icons */
.nav-icon {
    width: 24px;
    height: 24px;
    color: #999;
    transition: color 0.2s ease;
}

.nav-item:hover .nav-icon {
    color: #555;
}

/* Labels */
.nav-label {
    font-size: 10px;
    color: #aaa;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-item:hover .nav-label {
    color: #555;
}

/* ============================================ */
/*         HOME BUTTON (Mitte, hervorgehoben)   */
/* ============================================ */
.home-btn {
    /* Gleiche Breite wie andere Items */
    flex: 1;
    max-width: 70px;
    
    /* Aber nach oben verschieben */
    margin-top: -30px;
}

.home-btn:active {
    transform: none;
}

.home-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    
    /* Gradient */
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    
    /* Schatten */
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4),
                0 2px 6px rgba(0, 0, 0, 0.1);
    
    /* Icon zentrieren */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Animation */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.5),
                0 3px 8px rgba(0, 0, 0, 0.15);
}

.home-circle:active {
    transform: scale(0.95);
}

.home-icon {
    width: 26px;
    height: 26px;
    color: #ffffff;
}