/* ===========================
   GLOBAL RESET & STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* ===========================
   ANNOUNCEMENT BAR
=========================== */
.announcement {
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  font-weight: bold;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
header {
  background-color: #111;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

header .logo {
  height: 50px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ffcc00;
}

/* WELCOME SECTION */
.welcome-section {
  text-align: center;
  padding: 4rem 1rem;
  background: #f4f4f4;
}
.welcome-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.welcome-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #555;
}

/* FEATURE BAR */
.feature-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 3rem 1rem;
  background: #fff;
  flex-wrap: wrap;
  text-align: center;
}
.feature-bar .feature {
  flex: 1 1 250px;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.feature-bar .feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}
.feature-bar .feature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 50%;
}
.feature-bar .feature h3 {
  margin-bottom: 0.5rem;
  color: #111;
}
.feature-bar .feature p {
  color: #555;
  font-size: 0.95rem;
}


/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 90%;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn, .btn-outline {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0.3rem;
  transition: all 0.3s;
}

.btn {
  background-color: #ffcc00;
  color: #000;
}

.btn:hover {
  background-color: #e6b800;
}

.btn-outline {
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.btn-outline:hover {
  background-color: #ffcc00;
  color: #000;
}

/* Smaller hero for internal pages (store, rules) */
.hero.hero-small {
  height: 300px;
}

.hero.hero-small .hero-overlay h1 {
  font-size: 2.5rem;
}

.hero.hero-small .hero-overlay p {
  font-size: 1rem;
}

.server-announcement {
  background: linear-gradient(135deg, #111, #1f1f1f);
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.server-announcement h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f5c542; /* gold accent */
}

.server-announcement h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.server-announcement p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.server-announcement .btn {
  background: #f5c542;
  color: #111;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.server-announcement .btn:hover {
  background: #ffffff;
  color: #000;
}

/* ===========================
   TEAM SECTIONS
=========================== */
.team-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.team-middle {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.team-middle.two-members {
  justify-content: space-around;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.member {
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.member h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
}

.member p {
  color: #555;
  font-size: 0.9rem;
}

/* ===========================
   RULES SECTION CARDS
=========================== */
.rules {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #fff;
}

.rules h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.rule-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.rule-card h3 {
  margin-bottom: 0.5rem;
  color: #111;
}

.rule-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.social-links a {
  color: #ffcc00;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.social-links a:hover {
  color: #fff;
}

/* ===========================
   FEATURES / CARDS (HOMEPAGE LINKS)
=========================== */
.features {
  padding: 3rem 1rem;
}

.features .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.btn-small {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.btn-small:hover {
  background-color: #e6b800;
}

/* ===========================
   RESPONSIVE
=========================== */
@media(max-width: 768px) {
  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .features .grid, .team-middle, .team-grid, .rules-grid {
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
