
/* 1. Reset default browser styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Page background */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #333;
    font-family: Arial, sans-serif;
}

/* 3. Phone frame */
.phone {
    width: 390px;
    height: 844px;
    max-height: 95vh;
    position: relative;
    overflow: hidden;
    border: 5px solid #252525;
    border-radius: 48px;
    color: white;
    background: #111;
    user-select: none;
    touch-action: none;
}

/* 4. Wallpaper */
.wallpaper {
    position: absolute;
    inset: 0;
    background-image: url("Assets/wallpaper.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* 5. Status bar */
.status-bar {
    position: absolute;
    top: 8px;
    left: 110px;
    width: 80%;
    padding: 0;
    box-sizing: border-box;
    z-index: 10;
}

.status-bar img{
    width: 80%;
    height: auto;
    display: block;
}

/* 6. Lock screen */
.lock-content {
    position: absolute;
    top: 55px;
    width: 100%;
    text-align: center;
    z-index: 2;
    transition: transform 0.35s ease;
}

.date {
    font-size: 13px;
    margin-bottom: 0;
}

.clock {
    font-size: 76px;
    font-weight: 300;
    letter-spacing: -3px;
    line-height: 1;
}


/* 7. Notification area */
.notification-area {
    position: absolute;
    top: 205px;
    bottom: 65px;
    left: 20px;
    right: 20px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    gap: 20px;

    opacity: 0;
    transform: translateY(90px);
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.35s ease;
}

/* Notification heading */
.notification-heading {
    font-size: 18px;
    font-weight: 600;
    padding: 5px;
    color: white;
}

/* 8. Scrollable notification list */
.notification-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 15px;
    overscroll-behavior: contain;
    scrollbar-width: none;
    touch-action: pan-y
}

.notification-list::-webkit-scrollbar {
    display: none;
}

/* 9. Individual notification */
.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    min-height: 80px;
    box-sizing: border-box;

    border-radius: 18px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    color: white;
    flex-shrink: 0;
}

/* App icon container */
.app-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #e5e5e5;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* App icon image */
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Notification text */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.notification-top strong {
    font-size: 14px;
    font-weight: 600;
}

.notification-top small {
    font-size: 11px;
    opacity: 0.75;
    white-space: nowrap;
}

.notification-content p {
    font-size: 13px;
    margin: 3px 0 0;
}

/* 10. Bottom controls */
.bottom-controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
}

.shortcut {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    color: white;
    background: #ffffff30;
    backdrop-filter: blur(10px);
}

.shortcut img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 11. Home indicator */
.home-indicator {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    border-radius: 5px;
    background: white;
    z-index: 5;
}

/* 12. Notification screen active state */
.phone.show-notifications .notification-area {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
