@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --pink:#ff69b4;
  --hot:#ff1493;
  --cream:#fff0f6;
  --dark:#222;
  --border:#000;
}

* { box-sizing:border-box; }

body {
  margin:0;
  font-family: 'Press Start 2P', cursive;
  background: 
    linear-gradient(135deg, rgba(255,228,235,.7), rgba(255,214,232,.7)),
    url('images/hellokitty.jpg') center/cover no-repeat fixed;
  color: var(--dark);
  min-height:100vh;
}

/* Entry popup */
.entry-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2000;
}
.entry-box {
  background: var(--cream);
  padding:30px 25px;
  border:4px solid var(--hot);
  border-radius:20px;
  text-align:center;
  width:320px;
  position:relative;
  box-shadow:0 0 30px rgba(255,20,147,.7);
}
.entry-box h2 { margin:8px 0; color: var(--hot); }
.entry-box p { margin:6px 0 12px; font-size:.9rem; }
.primary-btn {
  background: var(--hot);
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius:10px;
  cursor:pointer;
  font-weight:bold;
  font-size:.9rem;
}
.primary-btn:hover { filter:brightness(1.1); }
.kitty-welcome { width:100px; margin-bottom:10px; }

/* Layout inspired by example */
.wrapper {
  display:flex;
  gap:20px;
  padding:30px 20px 60px;
  max-width:1200px;
  margin:0 auto;
}
.sidebar {
  flex:0 0 200px;
  background: rgba(255,240,247,.9);
  border:3px solid var(--border);
  border-radius:12px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.logo {
  font-size:1rem;
  font-weight:bold;
  text-align:center;
  margin-bottom:8px;
  color: var(--hot);
}
.sidebar nav a {
  display:block;
  padding:10px 12px;
  margin-bottom:8px;
  background:#fff;
  color: var(--dark);
  text-decoration:none;
  border:2px solid var(--border);
  border-radius:8px;
  font-size:.7rem;
  transition:all .15s;
}
.sidebar nav a.active,
.sidebar nav a:hover {
  background: #ffffcc;
  transform:scale(1.02);
}

/* Main content windows */
.main-content {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.top-windows, .bottom-windows {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.window {
  background:#fff;
  border:4px solid var(--border);
  border-radius:12px;
  flex:1;
  position:relative;
  overflow:hidden;
  min-width:220px;
  padding-bottom:6px;
  box-shadow:0 0 25px rgba(255,105,180,.3);
}
.window.small { max-width:300px; }
.window.large { flex:2; }
.window-header {
  background: var(--pink);
  padding:8px 12px;
  font-size:.8rem;
  font-weight:bold;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:1px;
  border-bottom:2px solid var(--border);
}
.window-body {
  padding:12px;
  font-size:.75rem;
}
.tiny { font-size:.6rem; margin-top:6px; }
.cal-month { font-weight:bold; }
.cal-day { margin-top:4px; }

/* Forms inside windows */
.window-body form {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.window-body input[type="text"],
.window-body input[type="email"] {
  flex:1;
  padding:6px;
  border:2px solid var(--hot);
  border-radius:8px;
  font-size:.65rem;
}
.window-body button {
  background: var(--hot);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
  font-size:.65rem;
}

/* Chat */
.chat-area {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.chat-messages {
  background:#fdfdfd;
  border:2px solid var(--border);
  border-radius:10px;
  min-height:120px;
  padding:8px;
  overflow-y:auto;
  font-size:.65rem;
}
.chat-input-wrapper {
  display:flex;
  gap:6px;
}
#chatInput {
  flex:1;
  padding:6px;
  border:2px solid var(--hot);
  border-radius:8px;
  font-size:.65rem;
}
#chatSendBtn {
  background: var(--hot);
  border:none;
  color:#fff;
  padding:6px 14px;
  border-radius:8px;
  cursor:pointer;
  font-size:.65rem;
}

/* Viewer count */
.big-count {
  font-size:1.2rem;
  font-weight:bold;
}

/* Footer */
.footer {
  text-align:center;
  margin:40px auto 10px;
  font-size:.65rem;
  color: var(--dark);
}

/* Blinkies styling */
.blinkies-side {
  position:fixed;
  top:30%;
  display:flex;
  flex-direction:column;
  gap:14px;
  z-index:1500;
}
.blinkies-side.left { left:6px; }
.blinkies-side.right { right:6px; }
.blinkies-side img {
  width:120px;
  border:3px solid var(--pink);
  border-radius:12px;
  box-shadow:0 0 25px #ffff00;
  cursor:pointer;
  transition:transform .2s;
}
.blinkies-side img:hover { transform:scale(1.1); }

.blinkies-bottom {
  position:fixed;
  bottom:6px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:14px;
  background:rgba(255,255,255,.85);
  padding:10px 16px;
  border-radius:16px;
  border:2px solid var(--hot);
  z-index:1500;
  box-shadow:0 0 20px rgba(255,105,180,.8);
}
.blinkies-bottom img {
  width:100px;
  border:3px solid var(--hot);
  border-radius:12px;
  box-shadow:0 0 18px #ff69b4;
  cursor:pointer;
  transition:transform .2s;
}
.blinkies-bottom img:hover { transform:scale(1.15); }
