* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
:root { --cover-size: 120px; }
body { background: url('https://www.transparenttextures.com/patterns/asfalt-light.png'); display:flex; justify-content:center; align-items:center; min-height:100vh; }

.ipod { width:320px; height:550px; border-radius:50px; background:linear-gradient(to bottom right, rgba(255,255,255,.85), rgba(220,220,220,.85)); box-shadow:0 15px 40px rgba(0,0,0,.35), inset 0 2px 4px rgba(255,255,255,.5), inset 0 -2px 4px rgba(0,0,0,.1); backdrop-filter: blur(10px); display:flex; flex-direction:column; align-items:center; overflow:hidden; position:relative; }
.engraving { position:absolute; bottom:15px; font-size:10px; opacity:.3; letter-spacing:1px; }

.screen { width:270px; height:200px; margin-top:30px; background:#f0f4fc; border-radius:14px; border:1px solid #aaa; box-shadow: inset 0 2px 5px rgba(0,0,0,.2), inset 0 -1px 2px rgba(255,255,255,.3); overflow:hidden; display:flex; flex-direction:column; position:relative; z-index:2; }

.title-bar { display:flex; justify-content:space-between; align-items:center; padding:4px 8px; background:linear-gradient(to bottom,#fefefe,#e0e0e0); border-bottom:1px solid #ccc; font-size:12px; font-weight:bold; position:relative; }
.battery { width:20px; height:10px; border:1px solid #333; position:relative; border-radius:2px; }
.battery::after { content:''; width:2px; height:4px; background:#BFBFBF; position:absolute; top:3px; right:-3px; border-radius:1px; }
.battery-level { width:80%; height:100%; background:#A9A9A9; }

/* Internet dropdown */
.net { position:relative; }
.net button { border:0; background:transparent; padding:0; cursor:pointer; display:flex; align-items:center; }
.net-menu { position:absolute; top:18px; right:0; background:#fff; border:1px solid #ccc; border-radius:6px; box-shadow:0 6px 18px rgba(0,0,0,.15); display:none; overflow:hidden; z-index:10; }
.net-menu button { display:block; padding:6px 10px; width:150px; text-align:left; background:#fff; border:0; font-size:12px; cursor:pointer; }
.net-menu button:hover { background:#f0f4fc; }

.screen-content { flex:1; position:relative; overflow:hidden; }
.screen-view { position:absolute; inset:0; display:none; }
.screen-view.active { display:block; }

.menu-list { flex:1; overflow-y:auto; padding:0; margin:0; list-style:none; font-size:14px; }
.menu-item { padding:8px 12px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #dcdcdc; }
.menu-item.selected { background:linear-gradient(to bottom,#3b9cff,#007aff); color:#fff; }
.menu-item a { color:inherit; text-decoration:none; flex:1; }
.chevron { font-weight:bold; }

.clickwheel { margin-top:40px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle at 40% 40%,#f8f8f8,#d0d0d0); box-shadow: inset 0 6px 8px rgba(0,0,0,.1), inset 0 -4px 6px rgba(255,255,255,.4); position:relative; z-index:2; }
.center-btn { width:70px; height:70px; background:linear-gradient(to bottom,#e6e6e6,#cfcfcf); border-radius:50%; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); box-shadow: inset 0 2px 3px rgba(255,255,255,.5), inset 0 -2px 4px rgba(0,0,0,.1); cursor:pointer; z-index:5; }

.btn-label { position:absolute; font-size:10px; color:#333; font-weight:bold; cursor:pointer; user-select:none; padding:10px; background:transparent; z-index:4; }
.btn-label.menu { top:10px; left:50%; transform:translateX(-50%); }
.btn-label.rw { top:50%; left:10px; transform:translateY(-50%); }
.btn-label.fw { top:50%; right:10px; transform:translateY(-50%); }
.btn-label.play { bottom:10px; left:50%; transform:translateX(-50%); }

.wheel-hit { position:absolute; inset:0; background:transparent; cursor:pointer; z-index:3; }
.hit-menu { top:0; left:0; right:0; height:45%; }
.hit-play { bottom:0; left:0; right:0; height:45%; }
.hit-rw { top:22%; bottom:22%; left:0; width:38%; }
.hit-fw { top:22%; bottom:22%; right:0; width:38%; }

/* Albums */
.album-wrap { display:flex; align-items:center; justify-content:center; height:100%; padding:10px; }
.album-card { width:var(--cover-size); height:var(--cover-size); border-radius:12px; overflow:hidden; border:1px solid #cfcfcf; display:flex; align-items:center; justify-content:center; background:#fff; }
.album-card img.album-img { width:100%; height:100%; object-fit:cover; display:block; }
.album-caption { text-align:center; font-size:12px; margin-top:6px; opacity:.85; max-width:calc(var(--cover-size) + 20px); }

/* Contact form */
.form { padding:10px; display:flex; flex-direction:column; gap:6px; }
.form input, .form textarea { width:100%; padding:8px; border:1px solid #c9d2e3; border-radius:8px; background:#fff; font-size:12px; }
.form textarea { resize:vertical; min-height:60px; }
.form button { align-self:flex-end; border:0; background:#0f62fe; color:#fff; padding:8px 10px; border-radius:8px; cursor:pointer; font-size:12px; }
.form button:hover { filter:brightness(1.1); }

.secret-splash { display:flex; align-items:center; justify-content:center; height:100%; flex-direction:column; gap:8px; }
.secret-content { display:none; height:100%; align-items:center; justify-content:center; }

@media (max-width:400px){ .ipod{ transform:scale(.85); } }
