* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font-family: 'Georgia', serif;
  background: #000;
  color: #f9f9f9;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1a1a1a 0%, #000 60%);
  color: #f9f9f9;
}

.page-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.page-header,
.page-footer {
  text-align: center;
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-header p,
.page-footer p {
  margin: 12px auto 0;
  max-width: 720px;
  opacity: 0.8;
}

main {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.panel {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
}

.panel h2 {
  margin-top: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.form-row {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.95rem;
  opacity: 0.9;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  color: #f9f9f9;
  padding: 12px 14px;
  border-radius: 8px;
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

button {
  margin-top: 20px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.24);
  background: #111;
  color: #f9f9f9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
}

button:hover {
  background: rgba(255,255,255,0.05);
}

.posts-list {
  display: grid;
  gap: 18px;
}

.post-card {
  border: 1px solid rgba(255,255,255,0.14);
  padding: 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
  opacity: 0.85;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-description {
  margin: 14px 0 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.post-content {
  margin-top: 16px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  nav {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  nav a {
    padding: 8px 16px !important;
    margin: 5px 0 !important;
  }
  
  /* Override inline margins for paragraphs on mobile */
  body p {
    margin-left: 0 !important;
    text-align: center;
  }
  
  /* Specific overrides for known margins */
  body p[style*="margin-left: 30%"] {
    margin-left: 0 !important;
  }
  
  body p[style*="margin-left: 22%"] {
    margin-left: 0 !important;
  }
  
  body p[style*="margin-left: 70%"] {
    margin-left: 0 !important;
  }
  
  body p[style*="margin-left: 15%"] {
    margin-left: 0 !important;
  }
}

.post-content img,
.post-content video {
  width: 100%;
  border-radius: 10px;
  max-height: 500px;
  object-fit: contain;
}

.post-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  text-decoration: underline;
  opacity: 0.92;
}

.hint {
  margin: 0;
  color: rgba(255,255,255,0.7);
}

@media (min-width: 780px) {
  main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 779px) {
  .page-shell {
    padding: 18px;
  }
}
nav {
  display: flex;
  gap: 50px;
}nav a {
  text-decoration: none;
  color: black;
}

nav a.active {
  color: red;
}
.secret-link {
  color: inherit;        /* same color as normal text */
  text-decoration: none; /* remove underline */
}