:root {
  --primary-color: #00bfff;
  --text-color: #b0f7ff;
  --bg-color: #000;
}

/* ==== Baslayout ==== */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: var(--bg-color);
  color: var(--text-color);
  text-align: center;
  padding: 10px;
  position: relative;
  z-index: 0;
}

/* ==== Glow-ram & scanlines ==== */
.glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(0,191,255,0.5),
              inset 0 0 60px rgba(0,191,255,0.3);
  z-index: 1;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 0;
}

/* ==== Logga ==== */
.logo {
  margin: 5px 0;
  position: relative;
  z-index: 2;
}

.logo img {
  max-width: 320px;
  width: 100%;
}

/* ==== Rubriker & text ==== */
h1, h2 {
  color: var(--primary-color);
  font-weight: bold;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 2rem;
  margin: 15px 0 10px;
}

h2 {
  font-size: 1.3rem;
  margin: 12px 0 8px;
}

p {
  font-size: 1rem;
  color: var(--text-color);
  margin: 10px 0;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* ==== Länkar ==== */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 6px var(--primary-color),
               0 0 12px var(--primary-color);
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px #00ffff,
               0 0 16px var(--primary-color),
               0 0 32px var(--primary-color);
  text-decoration: underline;
}

/* ==== Listor (utan prickar) ==== */
ul {
  list-style-type: none;
  padding-left: 0;
  margin: 10px 0;
}

li {
  margin: 6px 0;
}

/* ==== Nyhetssektion (för RSS) ==== */
.news-section {
  margin-top: 40px;
  max-width: 1100px;
  text-align: center;
  z-index: 2;
}

.news-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.news-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

@media (max-width: 768px) {
  .news-columns {
    grid-template-columns: 1fr;
  }
}

.news-feed h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* ==== Nyhetskort ==== */
.news-item {
  background: rgba(0, 191, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 18px;
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.news-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.news-item a {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: bold;
  text-shadow: 0 0 6px var(--primary-color);
  margin-bottom: 6px;
}

.news-date {
  font-size: 0.8rem;
  color: #999;
  margin: 4px 0 8px;
  font-style: italic;
}

.news-item p {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
}
