/* ===========================
   Global Reset & Base Styles
=========================== */
* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  font-family: Arial, sans-serif;
  background-color: #222;
  color: #fff;
  padding-bottom: 100px;
}

header {
  margin-bottom: 0;
  padding: 0;
}

/* ===========================
   Particle Background
=========================== */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#particles-image-overlay {
  pointer-events: none;
}

/* ===========================
   Navbar
=========================== */
.navbar.bg-transparent {
  background-color: transparent !important;
  backdrop-filter: none;
  box-shadow: none;
}

.navbar-brand img {
  max-width: 300px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: filter 0.3s ease;
}
.navbar-brand img:hover {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.navbar-nav .nav-link {
  position: relative;
  color: #fff !important;
  font-weight: 500;
  margin: 0 0.75rem;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: #ff4d4d;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ff4d4d !important;
  text-shadow: 0 0 5px #ff4d4d;
}
.navbar-nav .nav-link.active {
  text-shadow: 0 0 5px #ff4d4d;
}

.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===========================
   Hero Section & Copy Button
=========================== */
.hero-section .view-more,
.view-more {
  background-color: #ff4d4d;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-more:hover,
.hero-section .view-more:hover {
  background-color: #cc3333;
}

/* ===========================
   News Slider & Image
=========================== */
.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#slider-title,
#slider-desc {
  transition: opacity 0.2s ease-in-out;
}

.fade {
  opacity: 0;
}

#slider-desc {
  min-height: 60px;
}

hr.border-danger {
  box-shadow: 0 0 6px rgba(255, 77, 77, 0.6);
}

/* ===========================
   Logo & Intro Section
=========================== */
.logo img {
  max-width: 300px;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
.logo img:hover {
  opacity: 0.8;
}

.introduction {
  background-color: #333;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Server Description Section
=========================== */
.server-description {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}
.server-description .text-glow,
.text-glow {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ===========================
   Feature List
=========================== */
.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

/* ===========================
   Image Boxes
=========================== */
.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
  transition: transform 0.3s ease;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.image-info h3 {
  margin: 0 0 10px;
  font-size: 1.5em;
}
.image-info p {
  margin: 0 0 15px;
  font-size: 1em;
}

/* ===========================
   Discord Button
=========================== */
.discord-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  padding: 25px 40px;
  font-size: 22px;
  background-color: #7289DA;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}
.discord-btn:hover {
  background-color: #5f6fb2;
  transform: scale(1.05);
}

/* ===========================
   Rules page
=========================== */
.rule-tab-btn {
  background-color: transparent;
  border: 2px solid #ff4d4d;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.3);
}

.rule-tab-btn:hover,
.rule-tab-btn.active {
  background-color: #ff4d4d;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.6), 0 0 20px rgba(255, 77, 77, 0.4);
}
.rule-section h3 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.rule-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #ff4d4d;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
}


/* ===========================
   Footer
=========================== */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  width: 100%;
  bottom: 0;
}
