/* Base Styles */
:root {
  --primary: #25ac64;
  --secondary: #3b5fe2;
  --accent: #ffb700;
  --dark: linear-gradient(135deg, #1a1a1a, #333333);
  --light: #f5f5f5;
  --gray: #9e9e9e;
  --staff: radial-gradient(circle at center, #09310272, #000);
  --gamemode: radial-gradient(circle, #00410f29 0%, #000000 100%);
  --store: linear-gradient(to right, #000000 0%, #00410f29 50%, #000000 100%);
  --vote: linear-gradient(to right, #000000 0%, #00410f29 50%, #000000 100%);

  --header-height: 80px;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --pixel-border: 3px solid var(--dark);
  --pixel-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.minecraft-font {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 2rem;
  line-height: 1.4;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 1rem auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Minecraft', 'Poppins', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--pixel-shadow);
  border: var(--pixel-border);
  margin: 0.5rem;
}

.btn:hover {
  transform: translateY(-3px);
  background-color: var(--accent);
  color: var(--dark);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  background: radial-gradient(black, transparent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-link {
  margin: 0 1rem;
  position: relative;
}

.nav-link a {
  color: var(--light);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link a:hover::after,
.nav-link.active a::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--light);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}



.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease forwards 0.3s;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeIn 1s ease forwards 0.6s;
  opacity: 0;
}

.server-ip {
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--primary);
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  animation: fadeIn 1s ease forwards 0.9s;
  opacity: 0;
}

.server-ip span {
  font-family: 'Minecraft', monospace;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.copy-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Loading Animation */
.loader-container {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.simple-loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 255, 100, 0.2);
  border-top: 4px solid #00ff64;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Features Section */
.features {
  background: radial-gradient(circle, #151515 0%, #000000 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #000000;
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 5px;
  text-align: center;
  transition: var(--transition);
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Gamemodes Section */
.gamemodes {
  background: var(--gamemode);
  color: var(--light);
}

.gamemode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gamemode-card {
  background: #000000;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: var(--pixel-border);
}

.gamemode-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gamemode-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: var(--pixel-border);
}

.gamemode-content {
  padding: 1.5rem;
}

.gamemode-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgb(203, 203, 203);
}

.gamemode-description {
  color: #dedede;
  margin-bottom: 1rem;
}

/* Staff Section */
.staff {
  background: var(--staff)
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.staff-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
}

.staff-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.staff-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 2rem auto 1rem;
  border: 3px solid var(--primary);
}

.staff-content {
  padding: 0 1.5rem 2rem;
}

.staff-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.staff-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.staff-desc {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Rules Section */
.rules {
  background: var(--gamemode);
  color: var(--light);
}

.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.rule-card {
  background: black;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: var(--pixel-border);
}

.rule-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rule-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

/* Vote Section */
.vote {
  background: var(--vote);
}

.vote-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.vote-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
}

.vote-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.vote-img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-bottom: var(--pixel-border);
}

.vote-content {
  padding: 1.5rem;
  text-align: center;
}

.vote-site {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vote-reward {
  margin-bottom: 1.5rem;
  color: var(--light);
}

/* Store Section */
.store {
  background: var(--store);
  color: var(--light);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.store-item {
  background: black;
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
  position: relative;
}

.store-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--light);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  z-index: 1;
}

.store-content {
  padding: 1.5rem;
  text-align: center;
}

.store-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.store-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.store-desc {
  color: white;
  margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
  background-color: var(--dark);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question.active {
  background-color: var(--primary);
  color: white;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: #111;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-desc {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-link a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--gray);
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Login & Dashboard */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/login-bg.jpg');
  background-size: cover;
  background-position: center;
}

.auth-card {
  width: 100%;
  max-width: 500px;
  background-color: rgba(26, 26, 26, 0.9);
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: var(--pixel-border);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.auth-subtitle {
  color: var(--gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
}

.auth-link {
  color: var(--primary);
}

/* Dashboard */
.dashboard {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 250px;
  background-color: var(--dark);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-header {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.sidebar-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.sidebar-close {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: auto;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-item {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  color: var(--gray);
  transition: var(--transition);
  font-weight: 500;
}

.sidebar-link i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light);
}

.sidebar-link.active {
  background-color: var(--primary);
  color: white;
}

.dashboard-main {
  flex: 1;
  margin-left: 250px;
  transition: var(--transition);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.header-search {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  width: 300px;
}

.header-search input {
  background: transparent;
  border: none;
  color: var(--light);
  flex: 1;
  padding: 0.5rem;
}

.header-search input:focus {
  outline: none;
}

.header-search i {
  color: var(--gray);
}

.header-right {
  display: flex;
  align-items: center;
}

.header-icon {
  position: relative;
  margin-left: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}

.header-icon:hover {
  color: var(--light);
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}

.user-dropdown {
  position: relative;
  margin-left: 2rem;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.8rem;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.user-name {
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 10;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  color: var(--gray);
  transition: var(--transition);
}

.dropdown-item i {
  margin-right: 1rem;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light);
}

.dropdown-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.dashboard-content {
  padding: 2rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  display: flex;
  list-style: none;
  color: var(--gray);
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
}

.breadcrumb-item a {
  color: var(--primary);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 1.5rem;
  border: var(--pixel-border);
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(37, 172, 100, 0.2);
  color: var(--primary);
  border-radius: 10px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.card-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.card-trend {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.card-trend.up {
  color: var(--success);
}

.card-trend.down {
  color: var(--error);
}

.card-trend i {
  margin-right: 0.3rem;
}

.content-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  border: var(--pixel-border);
  overflow: hidden;
  margin-bottom: 2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.tab-link {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.tab-link:hover {
  color: var(--light);
}

.tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.data-table th {
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--light);
}

.data-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.form-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  border: var(--pixel-border);
  padding: 2rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-active {
  background-color: rgba(76, 175, 80, 0.2);
  color: var(--success);
}

.status-pending {
  background-color: rgba(255, 152, 0, 0.2);
  color: var(--warning);
}

.status-inactive {
  background-color: rgba(244, 67, 54, 0.2);
  color: var(--error);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: var(--gray);
  margin-right: 0.5rem;
  transition: var(--transition);
}

.action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.action-btn.edit:hover {
  background-color: var(--primary);
  color: white;
}

.action-btn.delete:hover {
  background-color: var(--error);
  color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.show {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .menu-toggle,
  .sidebar-close {
    display: block;
  }

  .header-search {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--dark);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-link {
    margin: 1rem 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .header-search {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .user-name {
    display: none;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-header-title {
    margin-bottom: 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Animation for page transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  transform: translateY(100%);
}

.page-transition.active {
  transform: translateY(0);
}

.page-transition.exit {
  transform: translateY(-100%);
}

/* Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: particleAnimation 10s infinite linear;
}

@keyframes particleAnimation {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: translate(200px, 200px);
    opacity: 0;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background-color: rgba(26, 26, 26, 0.9);
  color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  animation: toastIn 0.3s ease forwards;
  border-left: 4px solid var(--primary);
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--error);
}

.toast.warning {
  border-left-color: var(--warning);
}

.toast-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.toast-close {
  cursor: pointer;
  margin-left: 1rem;
  opacity: 0.7;
  transition: var(--transition);
}

.toast-close:hover {
  opacity: 1;
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Custom Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--dark);
  border-radius: 5px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: all 0.3s ease;
  border: var(--pixel-border);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--gray);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--error);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Theme colors - will be overridden by JavaScript */
:root {
  --primary: #25ac64;
  --secondary: #3b5fe2;
}

/* Switch styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
}

input:checked+.slider {
  background-color: var(--primary);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Color picker */
.color-picker {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.color-option.selected {
  border-color: white;
  transform: scale(1.1);
}

/* Fancy box shadow for images */
.fancy-image {
  position: relative;
  border: var(--pixel-border);
  box-shadow: var(--pixel-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.fancy-image:hover {
  transform: translateY(-10px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
}

.fancy-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.fancy-image:hover img {
  transform: scale(1.05);
}

/* Responsive font sizes */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Default theme colors, will be overridden by JavaScript */
body {
  --primary: #25ac64;
  --secondary: #3b5fe2;
  --accent: #ffb700;
  --dark: #1a1a1a;
  --light: #f5f5f5;
}

/* Font face for Minecraft font */
@font-face {
  font-family: 'Minecraft';
  src: url('/fonts/Minecraft.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}