/* Full page particles background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Base body and container */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background 0.5s ease, color 0.5s ease;
}

.container {
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  backdrop-filter: blur(10px);
  user-select: none;
}

h1 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.team-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

.info-text {
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

/* Buttons group */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  border: 2px solid currentColor;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn img {
  height: 20px;
  width: auto;
}

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

/* Landing page style */
body.landing {
  background: #fff;
  color: #000;
}

body.landing .container {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* CTF page: glossy black background with white glow */
body.ctf {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.ctf #particles-js {
  /* white particles for glow */
}

body.ctf .container {
  background: rgba(30, 30, 30, 0.85);
  box-shadow:
    0 0 20px rgba(255,255,255,0.25),
    inset 0 0 15px rgba(255,255,255,0.15);
  border-radius: 15px;
  color: #eee;
  backdrop-filter: blur(8px);
}

body.ctf .btn {
  border-color: #eee;
  color: #eee;
}

body.ctf .btn:hover {
  background-color: #eee;
  color: #111;
}

/* HTB page: full dark green background with green particles */
body.htb {
  background: linear-gradient(135deg, #184d17, #2e7d32);
  color: #d0f0c0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.htb .container {
  background: rgba(32, 87, 28, 0.85);
  box-shadow: 0 0 30px rgba(165, 214, 167, 0.7);
  border-radius: 15px;
  color: #d0f0c0;
  backdrop-filter: blur(8px);
}

body.htb .btn {
  border-color: #d0f0c0;
  color: #d0f0c0;
}

body.htb .btn:hover {
  background-color: #a5d6a7;
  color: #1b5e20;
}
