/* index.css - Updated styles for the home/index page of the Stars Reach guild Jekyll site */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  color: #e0e0e0;
  line-height: 1.6;
  padding: 20px;
  font-size: 1rem;
  text-shadow: 0 0 1px rgba(102, 240, 102, 0.2);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(102, 240, 102, 0) 50%, rgba(102, 240, 102, 0.15) 50%) repeat;
  background-size: 100% 3px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.5;
}

header {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(102, 240, 102, 0.3);
}

header h1 {
  font-size: 2.8em;
  color: #66f066;
  text-shadow: 0 0 5px rgba(102, 240, 102, 0.5);
}

header h2 {
  font-size: 2.2em;
  color: #66f066;
  text-shadow: 0 0 5px rgba(102, 240, 102, 0.5);
}

header p {
  font-size: 1.1em;
  margin-top: 10px;
  color: #b0b0b0;
}

nav {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

nav a {
  color: #66f066;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e080e8;
  text-shadow: 0 0 5px rgba(224, 128, 232, 0.6);
}

.tag-filter {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 6px;
  border: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(102, 240, 102, 0.1), rgba(102, 240, 102, 0.5), rgba(102, 240, 102, 0.1)) 1;
  box-shadow: 0 0 10px rgba(102, 240, 102, 0.3);
}

.tag-filter h3 {
  font-size: 1.2em;
  color: #66f066;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-button {
  background: rgba(102, 240, 102, 0.15);
  border: 1px solid #66f066;
  color: #66f066;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9em;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.tag-button:hover {
  background: rgba(102, 240, 102, 0.3);
  color: #e0e0e0;
  box-shadow: 0 0 5px rgba(102, 240, 102, 0.5);
}

.tag-button.active {
  background: #66f066;
  color: #090a0f;
  box-shadow: 0 0 8px rgba(102, 240, 102, 0.7);
}

.no-tags {
  color: #b0b0b0;
  font-size: 0.9em;
}

.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 8px;
  border: 2px solid transparent;
  border-image: linear-gradient(to right, rgba(102, 240, 102, 0.1), rgba(102, 240, 102, 0.6), rgba(102, 240, 102, 0.1)) 1;
  box-shadow: 0 0 15px rgba(102, 240, 102, 0.4), inset 0 0 10px rgba(102, 240, 102, 0.3);
}

.main-content {
  padding: 20px;
  border-radius: 8px;
  background: rgba(102, 240, 102, 0.05);
}

.article {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(102, 240, 102, 0.2);
  position: relative;
}

.article::before {
  content: "[LOG ENTRY]";
  position: absolute;
  top: -0.8rem;
  left: 1rem;
  background: #090a0f;
  padding: 0 0.5rem;
  color: #66f066;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.article h2 {
  color: #66f066;
  margin-bottom: 10px;
  font-size: 1.8em;
  text-shadow: 0 0 3px rgba(102, 240, 102, 0.4);
}

.article h2 a {
  color: #66f066;
  text-decoration: none;
  transition: color 0.3s;
}

.article h2 a:hover {
  color: #e080e8;
  text-shadow: 0 0 5px rgba(224, 128, 232, 0.6);
}

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

.tag {
  display: inline-block;
  background: rgba(102, 240, 102, 0.1);
  border: 1px solid #66f066;
  color: #66f066;
  font-size: 0.85em;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.tag.no-tags {
  color: #b0b0b0;
  border-color: #b0b0b0;
}

.article p {
  margin-bottom: 10px;
  font-size: 0.95em;
  opacity: 0.85;
}

.article img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid rgba(102, 240, 102, 0.3);
  box-shadow: 0 0 8px rgba(102, 240, 102, 0.4);
}

.article a {
  color: #66f066;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s;
}

.article a:hover {
  color: #e080e8;
}

.sidebar {
  background: rgba(102, 240, 102, 0.05);
  padding: 20px;
  border-radius: 8px;
  overflow-y: auto;
}

.sidebar h3 {
  text-transform: uppercase;
  font-size: 1.5em;
  color: #66f066;
  margin-bottom: 15px;
}

.sidebar a {
  color: #66f066;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #e080e8;
}

.sidebar img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(102, 240, 102, 0.3);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(102, 240, 102, 0.7);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  color: #66f066;
  text-decoration: none;
  border: 1px solid rgba(102, 240, 102, 0.3);
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.pagination a:hover {
  background: rgba(102, 240, 102, 0.2);
  color: #e0e0e0;
}

.pagination .current {
  background: #66f066;
  color: #090a0f;
}

.pagination .disabled {
  color: #b0b0b0;
  border-color: rgba(102, 240, 102, 0.1);
}

footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(102, 240, 102, 0.1);
  font-size: 0.9em;
  color: #b0b0b0;
}

footer a {
  color: #66f066;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #e080e8;
}

#search-form {
margin-bottom: 2rem;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
background: rgba(0, 0, 0, 0.6);
padding: 10px;
border-radius: 8px;
border: 1px solid rgba(102, 240, 102, 0.3);
box-shadow: 0 0 10px rgba(102, 240, 102, 0.2);
}
#search-input {
width: 70%;
padding: 0.5rem;
background: rgba(9, 10, 15, 0.8);
color: #e0e0e0;
border: 1px solid #66f066;
border-radius: 4px;
font-family: 'Orbitron', sans-serif;
font-size: 1rem;
transition: border-color 0.3s, box-shadow 0.3s;
}
#search-input:focus {
border-color: #e080e8;
box-shadow: 0 0 5px rgba(224, 128, 232, 0.6);
outline: none;
}
#search-form button {
padding: 0.5rem 1rem;
background: rgba(102, 240, 102, 0.2);
color: #66f066;
border: 1px solid #66f066;
border-radius: 4px;
font-family: 'Orbitron', sans-serif;
font-size: 1rem;
cursor: pointer;
transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
#search-form button:hover {
background: #66f066;
color: #090a0f;
box-shadow: 0 0 8px rgba(102, 240, 102, 0.7);
}


@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  nav {
    flex-direction: column;
  }
  body {
    font-size: 0.95rem;
  }
  .tag-list {
    justify-content: center;
  }
  #search-form {
flex-direction: column;
gap: 10px;
}
#search-input {
width: 100%;
}
}