@import "./material-ocean.css"; 
@import "./material-icons/main.css"; 

:root {
  --bg: #121212;
  --nav-bg: #1e1e1e;
  --text: #e0e0e0;
  --text-hover: #a0a0a0;
  --accent: #5a5a5a;
  --border: #2c2c2c;
  --btn-hover: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url(/img/bg.png) no-repeat center center fixed;
  background-size: cover;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
}

header {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo {
  height: 40px;
  width: auto;
}

nav {
  position: relative;
  display: flex;
}

nav a {
  display: block;
  padding: 6px 10px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text-hover);
}

main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 40px;
}

h1 {
  margin-bottom: 24px;
  text-align: left;
  font-size: 50px;
}

p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.bot {
  display: inline-block;
  width: fit-content;
  padding: 10px;
  background: #5865f2;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
}

#app-wrapper {
  position: relative;
  overflow: hidden;
}

#app {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms ease;
}

#app.enter {
  opacity: 1;
  transform: translateY(0);
}

#app.exit {
  opacity: 0;
  transform: translateY(-20px);
}

#filter-nav {
  text-align: center;
  margin-bottom: 30px;
}

#filter-nav button {
  background: var(--nav-bg);
  border: none;
  color: var(--text);
  padding: 8px 16px;
  margin: 3px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

#filter-nav button.active,
#filter-nav button:hover {
  background: var(--accent);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

.options {
  display: none;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.btn-view {
  background: var(--nav-bg);
  border: none;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  position: absolute;
  bottom: 12px;
  right: 12px;
  transition: background 0.2s;
}

.btn-view:hover {
  background: var(--btn-hover);
}

footer {
  position: fixed;
  bottom: 0;
  text-align: left;
  padding: 0 15px;
  backdrop-filter: blur(10px); 
  font-size: 0.9rem;
  margin-top: 40px;
}

hr {
  border: 1px solid #303030;
  border-radius: 1px;
}

.invite-button {
  border: none;
  border-radius: 5px;
  font-size: 20px;
  color: #fff;
  backdrop-filter: blur(10px);
  background: none;
  padding: 5px;
}

.invite-button-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invite-button-div p {
  color: #777;
}

#stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  padding: 15px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1em;
  color: #fff;
}

.stat {
  margin: 10px 0;
}

.label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
}

.bar {
  position: relative;
  height: 10px;
  background: #333;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 4px;
}

.bar-inner {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s ease;
}

.value {
  font-weight: bold;
  color: #fff;
}

h1 {
  color: #fff;
}

.iconwtext {
  display: flex;
  align-items: center;
  gap: 5px;
}
