:root {
  --main-bg: #0a1428;
  --nav-bg: #0f1419;
  /* Accent: orange gradient */
  --blue: #ff7a18;
  --blue-dark: #ffb56b;
  --white: #ffffff;
  --gray: #9ca3af;
  --dark-gray: #374151;
  --border: #4b5563;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--white);
  min-height: 100vh;
  background-color: var(--main-bg);
  /* Wallpaper */
  background-image: url("../wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 122, 24, 0.3);
}

.navbar-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1001;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo i {
  font-size: 1.8rem;
  color: var(--blue);
  text-shadow: 0 0 10px var(--blue);
}

.logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 0 0 15px rgba(255, 122, 24, 0.5);
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links li a {
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.navbar-links li a:hover,
.navbar-links li.active a {
  color: var(--blue);
  background: rgba(255, 122, 24, 0.06);
  text-shadow: 0 0 5px var(--blue);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
}

.discord-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 122, 24, 0.35);
}

.hamburger {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* MAIN CONTENT */
.main-content {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* HOME PAGE HERO */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  min-height: calc(100vh - 70px);
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.alpha-badge {
  background: var(--blue);
  color: var(--nav-bg);
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 122, 24, 0.28);
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 122, 24, 0.45);
  letter-spacing: 3px;
  line-height: 0.9;
  animation: hero-title-pulse 4s ease-in-out infinite;
}

@keyframes hero-title-pulse {
  0%, 100% {
    text-shadow: 0 0 25px rgba(255, 122, 24, 0.1), 0 0 50px rgba(255, 122, 24, 0.05);
    transform: scale(0.995);
  }
  50% {
    text-shadow: 0 0 35px rgba(255, 122, 24, 0.15), 0 0 70px rgba(255, 122, 24, 0.08);
    transform: scale(1.005);
  }
}

@keyframes spin-and-scale {
  0% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(36deg) scale(1.03);
  }
  20% {
    transform: rotate(72deg) scale(1.07);
  }
  30% {
    transform: rotate(108deg) scale(1.11);
  }
  40% {
    transform: rotate(144deg) scale(1.14);
  }
  50% {
    transform: rotate(180deg) scale(1.15);
  }
  60% {
    transform: rotate(216deg) scale(1.14);
  }
  70% {
    transform: rotate(252deg) scale(1.11);
  }
  80% {
    transform: rotate(288deg) scale(1.07);
  }
  90% {
    transform: rotate(324deg) scale(1.03);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.play-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: inline-block;
  box-shadow: 0 0 30px rgba(255, 122, 24, 0.22);
  position: relative;
  overflow: hidden;
}

.play-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.play-btn:hover::before {
  left: 100%;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255, 122, 24, 0.35);
}

.players-online {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.players-online span {
  color: var(--blue);
  font-weight: 700;
  text-shadow: 0 0 5px var(--blue);
  transform: rotate(20deg);
  display: inline-block;
}

/* FOOTER */
.footer {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 122, 24, 0.18);
  padding: 3rem 2rem 2rem 2rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

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

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section:first-child {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-section h3 {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 5px var(--blue);
}

.footer-section p,
.footer-section li {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--blue);
  text-shadow: 0 0 5px var(--blue);
}

/* Globally hidden scrollbar (all pages) */
html, body, :root {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* WebKit browsers */
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

/* Fallback for any other scrollbar selectors */
::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

/* Social links in footer */
.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.footer-social-links a {
  color: var(--gray);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 122, 24, 0.06);
}

.footer-social-links a:hover {
  color: var(--blue);
  text-shadow: 0 0 10px var(--blue);
  transform: translateY(-3px);
  background: rgba(255, 122, 24, 0.12);
}

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

.footer-bottom a {
  color: #FF6600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #FFAA00;
}

/* FLOATING TEXT */
.floating-text {
  position: fixed;
  pointer-events: none;
  user-select: none;
  font-weight: bold;
  z-index: 1;
  white-space: nowrap;
  text-shadow: 0 0 12px currentColor, 0 0 6px currentColor;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 3s ease-out;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(15, 20, 25, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  transition: left 0.3s ease;
  padding: 2rem;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.close-menu {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 2rem;
}

.mobile-menu ul li a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--blue);
  text-shadow: 0 0 5px var(--blue);
}

/* Additional blue particles effect */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particles 6s ease-in-out infinite;
  box-shadow: 0 0 6px var(--blue);
}

@keyframes float-particles {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}
.particle:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}
.particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}
.particle:nth-child(7) {
  left: 70%;
  animation-delay: 0.5s;
}
.particle:nth-child(8) {
  left: 80%;
  animation-delay: 1.5s;
}
.particle:nth-child(9) {
  left: 90%;
  animation-delay: 2.5s;
}
.particle:nth-child(10) {
  left: 15%;
  animation-delay: 3.5s;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .main-content {
    padding: 1rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

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

  .search-input {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .overall-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 1rem;
  }

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

  .overall-stats {
    grid-template-columns: 1fr;
  }

  .skill-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Small utilities */
.error-tip {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}
