/* ======================
   GLOBAL BACKGROUND
====================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;

  background: url("images/background.png") center/cover no-repeat fixed;

  padding-top: 70px;
}

/* dark overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* ======================
   NAVBAR
====================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 25px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);

  z-index: 1000;
  box-sizing: border-box;
}

/* left side */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 40px;
  height: 40px;
}

.nav-title {
  font-size: 18px;
  font-weight: bold;
}

/* right links */
.nav-right a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  opacity: 0.8;
  position: relative;
  transition: 0.2s;
}

.nav-right a:hover {
  opacity: 1;
}

.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.2s;
}

.nav-right a:hover::after {
  width: 100%;
}

/* ======================
   HERO SECTION
====================== */

.hero {
  text-align: center;
  padding: 20px 10px 10px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.hero h1 {
  font-size: 72px;
  margin: 0;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
  margin: 6px 0;
}

/* logo */
.logo img {
  width: 300px;
  height: auto;
  margin-bottom: 0;

  filter: drop-shadow(0 0 15px rgba(255,255,255,0.35));
}

/* IP box */
.ip {
  margin: 10px auto 8px;
  display: inline-block;
  padding: 10px 18px;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  font-family: monospace;
  letter-spacing: 1px;
}

/* ======================
   BUTTONS
====================== */

.buttons {
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 18px;
  margin: 8px;

  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;

  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

/* colors */
.discord-btn {
  background: #ffd157;
}

.map-btn {
  background: #ffd157;
}

/* icons */
.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ======================
   RULES GLASS PANEL
====================== */

.rules-box {
    max-width: 900px;
    margin: 30px auto;
    padding: 35px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

    text-align: left;
}

.rules-box h2 {
    margin-top: 25px;
    margin-bottom: 8px;
    color: #ffd157;
    font-size: 26px;
}

.rules-box h2:first-child {
    margin-top: 0;
}

.rules-box p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ======================
   LATEST NEWS
====================== */

.news-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.news-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 30px;
}

.news-card {
    background: rgba(15,15,15,.45);
    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 20px;

    padding: 35px;

    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

.news-item {
    padding: 15px 0;
}

.news-item h3 {
    margin: 6px 0;
    color: #ffd157;
}

.news-item p {
    margin: 0;
    opacity: .9;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-card hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 25px 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 12px 25px;

    background: rgba(0,0,0,.6);
    backdrop-filter: blur(10px);

    z-index: 1000;
    box-sizing: border-box;
}

.nav-left {
    justify-self: start;
}

.nav-center {
    justify-self: center;
}

.nav-right {
    justify-self: end;
}

.nav-center a {
    color: #111;
    background: #ffd157;

    padding: 10px 22px;

    border-radius: 30px;

    text-decoration: none;
    font-weight: bold;

    transition: .25s;
}

.nav-center a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,209,87,.4);
}

.socials {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.socials a img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.8;
  transition: 0.2s;
}

.socials a img:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.home-link {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: white;
}

.home-link:hover .nav-title {
    color: #ffd157;
}

.home-link:hover .nav-logo {
    transform: rotate(-5deg) scale(1.05);
}

.nav-logo {
    transition: transform 0.2s ease;
}

.nav-title {
    transition: color 0.2s ease;
}

.quick-links {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

    text-align: left;
}

.quick-links h2 {
    margin-top: 0;
    color: #ffd157;
}

.quick-links h3 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.quick-links p {
    line-height: 1.6;
}

.quick-link-card {
    max-width: 950px;
    margin: 20px auto;
    padding: 25px;

    display: flex;
    align-items: center;
    gap: 30px;

    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);

    border-radius: 15px;
}

.quick-button {
    min-width: 220px;

    text-align: center;
    padding: 18px 22px;

    background: #ffd157;
    color: black;

    font-weight: bold;
    text-decoration: none;

    border-radius: 10px;

    transition: .25s;
}

.quick-button:hover {
    transform: translateY(-3px);
}

.quick-info {
    flex: 1;
}

.quick-info h3 {
    margin: 0 0 8px;
    color: #ffd157;
}

.quick-info p {
    margin: 0;
    line-height: 1.6;
}

.discord-main-btn {
    display: block;
    max-width: 350px;

    margin: 0 auto 35px;
    padding: 18px;

    background: #5865F2;
    color: white;

    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;

    border-radius: 12px;

    transition: 0.25s;
}

.discord-main-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 25px 20px;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-content {
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: #4caf50;
}

footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Legal Pages */

.page-content {
    padding: 80px 20px;
    min-height: calc(100vh - 150px);
}

.policy-container {
    max-width: 900px;
    margin: auto;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 45px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
}

.policy-container h1 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 10px;
}

.effective-date {
    text-align: center;
    opacity: .8;
    margin-bottom: 35px;
}

.policy-container h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #ffcc4d;
    font-size: 24px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    padding-bottom: 8px;
}

.policy-container p {
    line-height: 1.7;
    font-size: 16px;
    color: #e5e5e5;
}

.policy-container ul {
    margin-left: 20px;
    line-height: 1.7;
}

.policy-container li {
    margin-bottom: 8px;
}

body {
    background-image:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.65)
    ),
    url("images/background.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}