/* Estilos gerais para os modais */
.community-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: a;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.4s;
  backdrop-filter: blur(5px);
}

.community-popup-content {
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  position: relative;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, rgba(25, 25, 35, 0.9), rgba(15, 15, 20, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
}

.popup-header {
  margin-bottom: 25px;
  position: relative;
}

.popup-logo {
  max-width: 180px;
  margin-bottom: 15px;
}

.popup-header h2 {
  color: #ffd700;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.popup-header:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  margin: 15px auto 0;
}

.community-popup p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e5;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.community-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.community-btn i {
  margin-right: 10px;
  font-size: 20px;
}

/* Botões sociais */
.whatsapp-btn {
  background-color: #25d366;
  color: #fff;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.7);
}

.discord-btn {
  background-color: #5865f2;
  color: #fff;
}

.discord-btn:hover {
  background-color: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.7);
}

/* Botões de download */
.mediafire-btn {
  background-color: #1769ff;
  color: #fff;
}

.mediafire-btn:hover {
  background-color: #0d56cc;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(23, 105, 255, 0.7);
}

.mega-btn {
  background-color: #d9272e;
  color: #fff;
}

.mega-btn:hover {
  background-color: #b01e25;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(217, 39, 46, 0.7);
}

.close-popup {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-popup:hover,
.close-popup:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Estilos para formulários nos modais */
.inner-form {
  margin: 0 auto;
  max-width: 400px;
}

.line {
  display: flex;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.line:focus-within {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.3);
}

.icon {
  width: 50px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Botão azul para forms */
.blue-button {
  background: linear-gradient(to right, #1769ff, #4285f4);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(23, 105, 255, 0.3);
}

.blue-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(23, 105, 255, 0.5);
}

/* Recaptcha e botões centralizados */
.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Estilos para alertas */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #2ecc71;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #e74c3c;
}

/* Estilos para informações de download */
.download-info {
  margin-top: 30px;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-info h3 {
  color: #ffd700;
  margin-top: 0;
  text-align: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.req-col {
  flex: 1;
  min-width: 200px;
  padding: 0 10px;
}

.req-col p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffd700;
  font-weight: bold;
}

.req-col ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

.req-col ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #e0e0e5;
}

.req-col ul li:before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #ffd700;
}

/* NOVOS ESTILOS PARA PACOTES DE DOAÇÃO */
.packages-container {
  margin: 30px 0;
  perspective: 1000px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.package-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.6), rgba(20, 20, 30, 0.8));
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transform-style: preserve-3d;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.package-card:hover {
  transform: translateY(-10px) rotate3d(0, 1, 0, 5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
  z-index: 2;
}

.package-header {
  background: linear-gradient(to right, rgba(20, 20, 30, 0.9), rgba(30, 30, 50, 0.9));
  padding: 20px 15px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.package-header:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.package-card:hover .package-header:before {
  opacity: 1;
}

.package-name {
  color: #ffd700;
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.package-price {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-top: 5px;
}

.package-content {
  padding: 25px 20px;
  text-align: center;
}

.package-detail {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  color: #e0e0e5;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.detail-label {
  font-weight: bold;
}

.detail-value {
  font-weight: 600;
}

.glow-text {
  text-shadow: 0 0 10px currentColor;
}

.package-features {
  margin: 20px 0;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #e0e0e5;
}

.feature-item i {
  color: #ffd700;
  margin-right: 10px;
  font-size: 14px;
}

.package-card .donate-btn-container {
  position: relative;
  margin-top: 20px;
  z-index: 2;
}

.donate-btn {
  display: block;
  background: linear-gradient(to right, #d4af37, #ffd700);
  color: #000;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease;
  border: none;
  width: 100%;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.donate-btn:hover {
  background: linear-gradient(to right, #ffd700, #ffec80);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.5);
}

.donate-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.donate-btn:hover:before {
  left: 100%;
}

.donate-btn i {
  margin-right: 8px;
}

.popular-tag {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(to right, #ff4500, #ff8c00);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  z-index: 3;
  transform: rotate(15deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.best-value-tag {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(to right, #9333a3, #a64dbc);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  z-index: 3;
  transform: rotate(15deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.package-total {
  font-size: 22px;
  margin: 15px 0;
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  transform: scale(1);
  transition: all 0.3s ease;
}

.package-card:hover .package-total {
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.coins-image {
  width: 40px;
  height: 40px;
  margin: 10px auto;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.package-card:hover .coins-image {
  opacity: 1;
  transform: rotate(10deg) scale(1.1);
}

.payment-methods {
  margin-top: 30px;
  text-align: center;
}

.payment-methods p {
  margin-bottom: 15px;
  color: #e0e0e5;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.payment-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 5px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.payment-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.limited-time {
  margin-top: 20px;
  padding: 10px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  border: 1px dashed rgba(255, 215, 0, 0.3);
}

.limited-time p {
  margin: 0;
  color: #ffd700;
  font-weight: bold;
}

/* Responsividade para dispositivos móveis */
@media screen and (max-width: 768px) {
  .community-popup-content {
    margin: 15% auto;
    padding: 20px;
    width: 90%;
  }
  
  .popup-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .community-btn {
    width: 100%;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .requirements {
    flex-direction: column;
  }
  
  .req-col {
    margin-bottom: 20px;
  }
}

/* Ajustes adicionais para responsividade */
@media screen and (max-width: 480px) {
  .community-popup-content {
    margin: 10% auto;
    padding: 15px;
    width: 95%;
  }
  
  .popup-header h2 {
    font-size: 22px;
  }
  
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
    margin: 0 auto;
  }
  
  .package-name {
    font-size: 18px;
  }
  
  .package-price {
    font-size: 24px;
  }
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(147, 51, 163, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(147, 51, 163, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(147, 51, 163, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Estilos para o menu dropdown do usuário na navbar */
.user-dropdown {
  position: relative;
  margin-right: 20px;
}

.user-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  background-color: rgba(20, 20, 35, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 8px 15px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
  background-color: rgba(30, 30, 45, 0.9);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.user-dropdown .dropdown-toggle i {
  margin-right: 8px;
  font-size: 16px;
  color: #ffd700;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  width: 200px;
  background-color: rgba(25, 25, 40, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.user-dropdown-menu a {
  display: block;
  padding: 12px 15px;
  color: #e0e0e5;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.user-dropdown-menu a:last-child {
  border-bottom: none;
}

.user-dropdown-menu a i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
  color: #ffd700;
}

.user-dropdown-menu a:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.user-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajustes responsivos */
@media screen and (max-width: 768px) {
  .user-dropdown {
    margin-right: 10px;
  }
  
  .user-dropdown-menu {
    width: 180px;
  }
}