/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  background: #211f2a;
  color: #222;
  line-height: 1.6;
}

/* Group logo + nav on the left */
.left-group {
  display: flex;
  align-items: center;
  gap: 30px; /* space between logo and nav */
}

/* Top bar */
.topbar {
  background: #1c1c23; /* dark background */
  padding: 20px 30px;
  font-family: Arial, sans-serif;
}
.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.logo img {
  height: 50px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 10px;                /* consistent spacing between links */
  align-items: center;      /* vertically align */
  height: 100%;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  color: #ddd;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;           /* fix text vertical spacing */
  font-size: 0.9rem;
  transition: color 0.2s ease;
  align-items: center;      /* perfect centering */
}
.main-nav a:hover,
.main-nav a.active {
  color: #4caf93; /* green highlight */
  -webkit-text-fill-color: #4caf93;
}
.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4caf93;
  border-radius: 2px;
}

/* Right: Auth Links */
.auth-links {
  display: flex;
  gap: 15px;
}
.auth-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.auth-links a:hover {
  color: #fff;
}

.logo h1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}
.main-nav a {
  display: flex;
  align-items: center;
  margin-left: 25px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s;
}
.main-nav a:hover { color: #ccc; }

/* Hero Section */
.hero {
  background: url("/images/Screenshot_11.png") center/cover no-repeat;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Text inside hero */
.hero-text {
  color: #fff;
  max-width: 800px;
  font-size: 1.2rem;
  padding: 0 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* Blog Posts */
.posts {
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.post {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  color: #fff;
}
.post .overlay {
  background: #111;
  padding: 20px;
  width: 100%;
}
.post h2 {
  margin-bottom: 10px;
}
.post p {
  margin-bottom: 10px;
}
.post a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}
.post a:hover {
  text-decoration: underline;
}
.meta {
  font-size: 0.9em;
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #111;
  color: #eee;
  padding: 50px 40px 20px;
  font-size: 0.95rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-left h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-left p {
  max-width: 400px;
  margin-bottom: 20px;
  color: #ccc;
}
.footer-left .brand {
  font-weight: 600;
  color: #fff;
}
.footer-right nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-right a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-right a:hover {
  color: #bbb;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: right;
  font-size: 0.85rem;
  color: #888;
}

/* Buttons */
.discord-btn,
.roblox-btn,
.x-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.discord-btn { background: #5865F2; }
.discord-btn:hover { background: #4752c4; transform: translateY(-2px); }
.roblox-btn { background: #3155ff; }
.roblox-btn:hover { background: rgb(44,59,233); transform: translateY(-2px); }
.x-btn { background: #000; }
.x-btn:hover { background: rgb(29,29,31); transform: translateY(-2px); }
.discord-btn img, .roblox-btn img, .x-btn img { width: 20px; height: 20px; }

nav ul li a {
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  display: inline-block;
}

