:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --neon:#00ff9f;
  --accent:#6affd1;
  --muted:#9aa0a6;
  font-family: Inter, sans-serif;
}

* { box-sizing:border-box; }
body {
  margin: 0;
  background: var(--bg) url("media/background.gif") repeat center center fixed;
  background-size: cover;
  color:#dfe8e6;
}

/* Navigation */
nav {
  background: var(--panel);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
  position:sticky;
  top:0;
  z-index:1000;
}
nav .logo {
  color: var(--neon);
  font-weight:bold;
  font-size:18px;
}
nav ul {
  list-style:none;
  display:flex;
  gap:16px;
  margin:0;
  padding:0;
}
nav a {
  color: var(--accent);
  text-decoration:none;
  padding:6px 10px;
  border-radius:6px;
  transition: all 0.2s;
}
nav a:hover {
  background: rgba(255,255,255,0.05);
  transform: scale(1.05);
}

/* Hamburger Menu for Mobile */
.hamburger {
  display:none;
  cursor:pointer;
  flex-direction:column;
  gap:4px;
}
.hamburger div {
  width:24px;
  height:3px;
  background: var(--neon);
}
@media(max-width:768px){
  nav ul { display:none; flex-direction:column; background:var(--panel); position:absolute; top:50px; right:20px; padding:10px; border-radius:8px;}
  nav ul.active { display:flex; }
  .hamburger { display:flex; }
}

/* Main Layout */
main {
  padding:20px;
  max-width:960px;
  margin:auto;
}
.panel {
  background: rgba(11,11,11,0.85);
  border-radius:12px;
  padding:16px;
  margin-bottom:20px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
h1,h2,h3 { color: var(--neon); }
p, li { color: #dfe8e6; }

/* Buttons */
.btn {
  background: linear-gradient(90deg,var(--neon),var(--accent));
  border:none;
  padding:8px 12px;
  border-radius:8px;
  color:#001;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  transition: all 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--neon), 0 0 30px var(--accent);
}

/* Profile Picture */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--neon);
  box-shadow: 0 0 15px var(--neon), 0 0 30px var(--accent);
  object-fit: cover;
  display: block;
  margin: 0 auto 10px auto;
  transition: transform 0.3s, box-shadow 0.3s;
}
.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--neon), 0 0 40px var(--accent);
}

/* News Ticker */
.news-ticker {
  background: rgba(11,11,11,0.85);
  border: 2px solid var(--neon);
  padding: 6px 0;
  text-align: center;
  color: var(--accent);
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Media Grid Thumbnails */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
  gap: 10px;
}
.media-thumb {
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.media-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--accent);
}

/* Server Cards */
.server-card {
  text-align:center;
  margin-bottom:20px;
  background: rgba(0,0,0,0.4);
  border-radius:12px;
  padding:10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.server-card img {
  width: 80px;
  height: 80px;
  border-radius:12px;
  margin-bottom:6px;
}
.server-card h3 { margin:6px 0; color: var(--neon); }
.server-card p { font-size:14px; color:#dfe8e6; }

/* Draggable Windows */
.draggable-window {
  position: absolute;
  background: rgba(11,11,11,0.95);
  border: 2px solid #00ff9f;
  border-radius: 10px;
  padding: 0;
  min-width: 200px;
  min-height: 150px;
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 0 20px #00ff9f, 0 0 40px #6affd1;
  z-index: 999;
  overflow: hidden;
}

.drag-header {
  background: #0b0b0b;
  padding: 6px 10px;
  cursor: move;
  color: #6affd1;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.drag-header .close-btn {
  cursor: pointer;
  color: #ff5555;
  font-size: 18px;
  font-weight: bold;
}

.window-content {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}
