:root {
  --primary: #8000ff;
  --accent: #6600ff;
  --text: #ffffff;
  --subtext: #cccccc;
  --glass: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --popup-bg: rgba(0, 0, 0, 0.85);
  --bg: #0b0c2a;
  --card: #1b1e3e;
}

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

body {
  background: url('assets/bg_global.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.special-join-btn {
  padding: 10px 22px;
  background: linear-gradient(135deg, #ff0066, #6600ff);
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 15px rgba(255, 0, 153, 0.7);
  animation: glowPulse 2.5s infinite ease-in-out;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 10px rgba(255, 0, 153, 0.5); }
  50% { box-shadow: 0 0 25px rgba(255, 0, 153, 0.9), 0 0 30px rgba(102, 0, 255, 0.9); }
  100% { box-shadow: 0 0 10px rgba(255, 0, 153, 0.5); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 80px 30px;
  gap: 25px;
  transition: 0.4s ease;
  z-index: 15;
}

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

.mobile-menu a {
  font-size: 1.1rem;
  color: white;
  font-weight: bold;
  text-align: right;
  text-decoration: none;
}

.mobile-join {
  margin-top: 30px;
  align-self: flex-end;
  background: linear-gradient(135deg, #ff0066, #6600ff);
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'Orbitron', sans-serif;
  color: white;
  box-shadow: 0 0 15px rgba(255, 0, 153, 0.6);
}

main {
  padding: 120px 20px 60px;
  text-align: center;
}

#sectionTitle {
  font-size: 28px;
  font-weight: bold;
  margin: 40px 0 10px;
  color: #ffffff;
  text-shadow: 0 0 8px #00f0ff;
  letter-spacing: 1px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto 60px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  animation: fadeUp 0.6s ease forwards;
  transform: translateY(30px);
  opacity: 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #fff;
}

.card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: var(--popup-bg);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.4s ease;
}

.popup {
  background: #11172b;
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 460px;
  width: 90%;
  color: white;
  text-align: center;
  animation: scaleUp 0.4s ease;
  position: relative;
}

.popup-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.popup h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.popup-info p {
  font-size: 16px;
  margin: 6px 0;
  color: #ccc;
}

.popup-info a {
  color: #00bfff;
  font-weight: 600;
  text-decoration: none;
}

.popup-info a:hover {
  color: white;
  text-shadow: 0 0 6px #00bfff;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.2rem;
  cursor: pointer;
}

.apply-btn-wrapper {
  text-align: center;
  margin: 10px auto 20px;
}

.apply-btn {
  display: inline-block;
  margin: 16px auto 32px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 0, 204, 0.6);
  transition: all 0.3s ease;
  text-align: center;
}

.apply-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(255, 0, 204, 0.9);
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scaleUp {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .special-join-btn { display: none; }
  .card-container { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

.popup-join-content {
  width: 90%;
  max-width: 600px;
  background: rgba(20, 20, 30, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  color: white;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.popup-logo-big {
  width: 80px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.popup-join-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.popup-join-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.popup-join-content .highlight {
  color: #ffc107;
  font-weight: bold;
}

.benefits-list {
  text-align: left;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.benefits-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.apply-button {
  margin-top: 20px;
  display: inline-block;
  background: linear-gradient(135deg, #9621f5, #8f00ff);
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.apply-button:hover {
  background: linear-gradient(135deg, #8f00ff, #7d02f8);
  transform: scale(1.05);
}
.apply-message-btn {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(135deg, #a600ff, #8f00ff);
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease-in-out;
}

.apply-message-btn:hover {
  background: linear-gradient(135deg, #8f00ff, #00f0ff);
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.6);
}
.popup-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255, 0, 204, 0.6);
  transition: all 0.3s ease;
  text-align: center;
}

.popup-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.85);
}
.global-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6), 0 0 14px rgba(0, 140, 255, 0.4);
  letter-spacing: 1px;
}

.global-title .emoji {
  font-size: 36px;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.5));
}

.global-title .glow-text {
  background: linear-gradient(90deg, #00ffff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neon-glow 3s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  0% {
    text-shadow: 0 0 6px #00f2ff, 0 0 12px #00f2ff;
  }
  100% {
    text-shadow: 0 0 16px #00f2ff, 0 0 28px #00aaff;
  }
}
.pr-heading-container {
  text-align: center;
  margin-top: 1px 
  animation: fadeInUp 1s ease-out;
}

.pr-heading-container .wolf-icon img {
  width: 200px;
  height: 200px;
  margin-top: 1px 
  filter: drop-shadow(0 0 10px #00f0ff);
  animation: pulseIcon 3s infinite ease-in-out;
  line-height: -1;
}

.pr-title {
  font-size: 36px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0,255,255,0.4), 0 0 18px rgba(0,140,255,0.3);
  line-height: 0.6;
}

.pr-title span {
  font-size: 18px;
  color: #ccc;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.pr-title strong {
  background: linear-gradient(90deg, #00ffff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(195, 0, 255, 0.5);
}

/* Animations */
@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px #00ffff);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 14px #00ccff);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .pr-heading-container .wolf-icon img {
    width: 120px;
    height: 120px;
  }

  .pr-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .pr-title span {
    font-size: 12px;
  }

  .global-title {
    font-size: 24px;
  }

  .popup, .popup-join-content {
    padding: 24px 16px;
    width: 95%;
  }

  .popup h2,
  .popup-join-content h2 {
    font-size: 1.2rem;
  }

  .popup-logo {
    width: 80px;
    height: 80px;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .card img {
    width: 48px;
    height: 48px;
  }

  .popup-info p {
    font-size: 14px;
  }

  .benefits-list li {
    font-size: 0.85rem;
  }

  .apply-button, .apply-message-btn, .popup-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .mobile-menu {
    width: 85%;
    padding: 80px 20px;
  }
}
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/bg_global.png') no-repeat center center fixed;
  background-size: cover;
  z-index: -2;
}

.dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* عدد ۰.۵ رو بیشتر کنی، تاریک‌تر میشه */
  z-index: -1;
}
