/* --- RESET & BASIC SETUP --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: pink;
    background-image: url(https://i.pinimg.com/736x/18/59/10/185910553644f1785972c67000a65f62.jpg);
        background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff5f9;
    margin: -10px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'VT323', monospace;
    overflow: hidden;
}

/* --- PHONE CONTAINER --- */
.phone-container {
    width: 600px;
    height: 850px;
  
    background-image: url('https://file.garden/aXUfWdPgtglShqRb/pngs/114.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    filter: drop-shadow(0 10px 15px rgba(255, 105, 180, 0.4));
}

/* --- SCREEN OVERLAY --- */
.screen-content {
    position: fixed;
    top: 232px;   
    left: 190px;   
    width: 33%;    
    height: 29%;   
    
    /* Screen Styling */
    background: linear-gradient(to bottom, #a8c0ff, #c6b5ed);
    border: 2px solid #222;
    border-radius: 4px;
    padding: 4px;
    
    display: flex;
    flex-direction: column;
    color: #222;
    overflow: hidden; 

  
    background-image: linear-gradient(transparent 50%, rgba(0,0,0,0.05) 50%);
    background-size: 100% 4px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3);
}

/* --- STATUS BAR --- */
.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0 2px;
    border-bottom: 1px dotted #444;
    margin-bottom: 4px;
    flex-shrink: 0; 
}
.status-bar i { font-size: 0.8rem; }

/* --- SLIDING PAGES WRAPPER --- */

.pages-wrapper {
    display: flex;
    flex-grow: 1;
    width: 200%; 
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1); /* Smooth slide */
}

/* --- INDIVIDUAL PAGE --- */
.page {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 0 2px;
}

/* --- HEADER --- */
.menu-header {
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #fff;
    flex-shrink: 0;
}
.menu-header h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 0;
}

/* --- MENU GRID (Page 1) --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr;
    gap: 5px;
    flex-grow: 1;
}

/* --- SOCIAL LIST (Page 2) --- */
.social-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    justify-content: center; 
}

/* --- MENU/SOCIAL ITEMS --- */
.menu-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    background: rgba(255,255,255,0.4);
    border: 1px solid #222;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
    height: 100%; 
}

.social-item {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: flex-start;
    padding: 8px 15px;
    text-decoration: none;
    color: #222;
    background: rgba(255,255,255,0.4);
    border: 1px solid #222;
    border-radius: 3px;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.social-item i {
    width: 25px; 
    margin-right: 10px;
}

/* Hover Effects */
.menu-item:hover, .social-item:hover {
    background: #fff;
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px rgba(0,0,0,0.15);
    color: #f885b8;
}

.icon-box {
    font-size: 1.4rem;
    margin-bottom: 0px;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}
.menu-item span {
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1;
}

/* Icon Colors */
.music-icon { color: rgba(255, 105, 180, 0.4); }
.movie-icon { color: rgba(175, 212, 249, 0.81); }
.tv-icon { color: rgba(174, 210, 176, 0.84); }
.album-icon { color: #f1dca7; }
.char-icon { color: #d0b7da; }
.quiz-icon { color: #ecb3a1; }
.tumblr-icon { color: rgba(255, 148, 204, 0.91); }
.spotify-icon { color: rgba(139, 208, 164, 0.93); }
.goodreads-icon { color: #c866a8; }
.x-icon { color: rgba(125, 155, 246, 0.93); }

/* --- SOFT KEYS --- */
.soft-keys {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px;
    border-top: 1px dotted #444;
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

#nav-btn {
    cursor: pointer;
    font-weight: bold;
    color: #222;
}
#nav-btn:hover {
    color: #f885b8;
}