/* ===========================
   Radio Arcala – Aurora Theme
   =========================== */

:root {
  --aurora-green:  #00ffaa;
  --aurora-teal:   #00e5ff;
  --night-panel:   rgba(2, 10, 24, 0.78);
  --night-glass:   rgba(0, 229, 255, 0.07);
  --text-main:     #cce8f0;
  --text-dim:      #6ea8be;
  --text-bright:   #ffffff;
  --border-glow:   rgba(0, 229, 255, 0.22);
  --font-display:  'Space Mono', monospace;
  --font-body:     'Outfit', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #020b18;
  background-image: url('../images/back_aurora.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 8, 20, 0.42) 0%,
    rgba(2, 10, 24, 0.55) 40%,
    rgba(2, 10, 24, 0.82) 100%
  );
  z-index: 0;
  pointer-events: none;
}

#main {
  position: relative;
  z-index: 10;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 60px;
  animation: fadeIn 1.0s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Header ---- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 20px;
  gap: 24px;
  border-bottom: 1px solid var(--border-glow);
  margin-bottom: 40px;
}

#logo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.callsign {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--aurora-green);
  text-shadow: 0 0 20px rgba(0,255,170,0.9), 0 0 60px rgba(0,255,170,0.45);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-text { display: flex; flex-direction: column; gap: 3px; }

.site-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-bright);
  letter-spacing: 0.12em;
}

.site-sub {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ---- Nav ---- */
nav { flex-shrink: 0; }

#nav { list-style: none; display: flex; gap: 6px; }

#nav li a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.22s ease;
  white-space: nowrap;
}

#nav li a:hover, #nav li a.active {
  color: var(--aurora-teal);
  border-color: var(--border-glow);
  background: var(--night-glass);
  text-shadow: 0 0 12px rgba(0,229,255,0.5);
}

/* Hamburger hidden on desktop */
#hamburger { display: none; }

/* ---- Layout ---- */
#site_content { display: flex; gap: 36px; align-items: flex-start; }

/* ---- Sidebar ---- */
.sidebar {
  flex: 0 0 190px;
  background: var(--night-panel);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 22px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 30px;
}

.sidebar h3 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aurora-green);
  text-shadow: 0 0 10px rgba(0,255,170,0.5);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,255,170,0.2);
}

.sidebar ul { list-style: none; }
.sidebar ul li { margin-bottom: 1px; }

.sidebar ul li a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 7px 10px;
  border-radius: 4px;
  transition: all 0.18s;
  border-left: 2px solid transparent;
}

.sidebar ul li a:hover {
  color: var(--aurora-teal);
  background: var(--night-glass);
  border-left-color: var(--aurora-teal);
  padding-left: 14px;
}

/* ---- Content ---- */
.content {
  flex: 1;
  min-width: 0;
  background: var(--night-panel);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 36px 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.content-full { max-width: 720px; }

h1 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}

h1 ~ h1 { margin-top: 38px; }

h3 {
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--aurora-teal);
  margin: 28px 0 14px;
  text-shadow: 0 0 10px rgba(0,229,255,0.3);
}

p {
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--text-main);
  margin-bottom: 14px;
}

strong {
  color: var(--aurora-green);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0,255,170,0.35);
}

.content ul { list-style: none; margin: 0 0 20px; }

.content ul li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  border-bottom: 1px solid rgba(0,229,255,0.07);
}

.content ul li:last-child { border-bottom: none; }

.content ul li::before {
  content: '›';
  position: absolute;
  left: 4px;
  color: var(--aurora-teal);
  font-weight: 700;
  font-size: 1.1rem;
}

.board-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.callsign-small {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--aurora-green);
  text-shadow: 0 0 8px rgba(0,255,170,0.5);
  min-width: 82px;
  flex-shrink: 0;
  background: rgba(0,255,170,0.08);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid rgba(0,255,170,0.22);
}

.update-note {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.87rem;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,229,255,0.1);
}

/* ---- Footer ---- */
footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border-glow);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

footer a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--aurora-teal); }

/* ---- Mobile ---- */
@media (max-width: 760px) {
  body { background-attachment: scroll; background-position: 30% top; }

  header {
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 14px;
    gap: 10px;
  }

  /* Logo on first row, full width */
  #logo { width: 100%; }

  /* Nav hidden by default, shown when toggled */
  nav {
    display: none;
    width: 100%;
    order: 3;
  }
  nav.open { display: block; }

  #nav { flex-direction: column; gap: 2px; }
  #nav li a { padding: 10px 14px; font-size: 0.84rem; }

  /* Hamburger visible on mobile */
  #hamburger {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 2;
    margin-left: auto;
    background: var(--night-glass);
    border: 1px solid var(--border-glow);
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
  }
  #hamburger span { font-size: 1.2rem; line-height: 1; }

  #site_content { flex-direction: column; }
  .sidebar { flex: unset; width: 100%; position: static; }
  .content { padding: 22px 18px; }
  .callsign { font-size: 1.9rem; }
}
