* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #121212;
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 56px;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu-btn {
  position: absolute;
  right: 15px;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
}

/* Controls */
.controls {
  margin-top: 70px;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.controls input,
.controls button,
.controls select {
  padding: 12px;
  border-radius: 10px;
  border: none;
}

/* News */
#news-list {
  padding: 10px;
  display: grid;
  gap: 14px;
}

.news {
  background: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
}

.news img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news h3 {
  padding: 10px;
  font-size: 16px;
}

.news p {
  padding: 0 10px 10px;
  font-size: 14px;
  color: #ccc;
}

/* Overlay */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  z-index: 1500;
}

#overlay.show {
  display: block;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #1f1f1f;
  padding: 20px;
  z-index: 2000;
  transition: right .3s ease;
}

.side-menu.open {
  right: 0;
}

.side-menu button {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: none;
  background: #2979ff;
  color: white;
}

.side-menu .logout {
  background: #d32f2f;
}
