/* ========================
   ANIMACE GRADIENTU
======================== */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================
   HERO BACKGROUND (IMAGE + 70% OVERLAY)
======================== */
#hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
    url("/images/bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========================
   GRADIENT EFFECT (NO BG COLOR)
======================== */
.gradient-bg {
  background: linear-gradient(-45deg, #dc2626, #7f1d1d, #450a0a, #dc2626);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

/* ========================
   LOADER
======================== */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader-content {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ========================
   EFEKTY
======================== */
.glow {
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.command-card {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.command-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220,38,38,0.2);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.arrow-icon.active {
  transform: rotate(180deg);
}

.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220,38,38,0.15);
  border-color: rgba(220,38,38,0.3);
}

/* ========================
   PULSE
======================== */
.pulse-on-hover {
  position: relative;
}

.pulse-on-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
  opacity: 0;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ========================
   SHINE
======================== */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.15) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
}

.shine-effect:hover::before {
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  to { transform: translateX(100%); }
}

/* ========================
   FADE IN
======================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* ========================
   MOBILE MENU
======================== */
.menu-icon {
  transition: all 0.2s ease-in-out;
}

#mobileMenu {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ========================
   DISCORD BUTTON
======================== */
.discord-btn {
  background-color: #3ba55d;
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.discord-btn:hover {
  background-color: #2d944e;
  transform: translateY(-2px);
}
