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

body {
  background: #0b0b0b;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, #7a0000, transparent 30%),
    radial-gradient(circle at bottom right, #222, transparent 30%),
    #050505;
  z-index: -1;
}

header {
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
}

header p {
  color: #b5b5b5;
  margin-top: 10px;
}

.login-box {
  width: 90%;
  max-width: 400px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
}

.login-box h2 {
  margin-bottom: 20px;
}

select,
input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  background: #1a1a1a;
  color: white;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #a30000;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  transform: scale(1.02);
  background: #d10000;
}

main {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
}

section {
  margin-bottom: 40px;
}

section h2 {
  margin-bottom: 20px;
  border-left: 5px solid red;
  padding-left: 10px;
}

.post-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
  transition: 0.2s;
}

.post:hover {
  transform: translateY(-4px);
}

.post h3 {
  margin-bottom: 10px;
}

.post p {
  color: #cfcfcf;
  line-height: 1.5;
}

.hidden {
  display: none;
}
