/* ===================== SEÇÃO GERAL ===================== */

.vip-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 40px;
  color: #ffffff;
}

/* ===================== INTRO ===================== */

.vip-intro {
  text-align: center;
  margin-bottom: 60px;
}

.vip-intro-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.vip-intro-header i {
  font-size: 2rem;
  color: #22a5e5;
}

.vip-intro-header h2 {
  font-size: clamp(1.9rem, 1.35rem + 1.8vw, 2.5rem) !important;
  margin: 0;
  color: #22a5e5 !important;
  font-family: 'VT323', var(--font-heading), monospace !important;
  text-align: center !important;
}

.vip-intro>p {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}

/* ===================== LISTA DE VANTAGENS ===================== */

.vip-benefits-section {
  background: rgba(34, 165, 229, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  border: 2px solid rgba(34, 165, 229, 0.3);
}

.vip-benefits-section h3 {
  text-align: center !important;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem) !important;
  margin-bottom: 30px;
  color: #22a5e5 !important;
  font-family: 'VT323', var(--font-heading), monospace !important;
}

.vip-benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.vip-benefits-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.98rem, 0.9rem + 0.32vw, 1.1rem) !important;
  padding: 8px 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(1, 17, 26, 0.8);
  border-radius: 8px;
  transition: all 0.3s ease;
  word-break: break-word;
  flex: 0 1 calc(50% - 5px);
  min-width: 0;
}

.vip-benefits-list p:hover {
  color: #60cbff !important;
  background: rgba(34, 165, 229, 0.25);
  box-shadow: 0 0 12px rgba(34, 165, 229, 0.3);
}

/* Último item sozinho (15 = ímpar) → centralizado */
.vip-benefits-list p:last-child:nth-child(odd) {
  flex: 0 1 calc(50% - 5px);
  margin-left: auto;
  margin-right: auto;
}

.vip-benefits-list>.vip-benefit-item:last-child:nth-child(odd) {
  flex: 0 1 calc(50% - 5px);
  margin-left: auto;
  margin-right: auto;
}

.vip-benefits-list p i {
  color: #22a5e5;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===================== TOOLTIP COM IMAGEM ===================== */
.vip-benefit-item {
  position: relative;
  cursor: pointer;
  width: auto;
  flex: 0 1 calc(50% - 5px);
}

.vip-benefit-item p {
  width: 100%;
  transition: all 0.2s ease;
}

.vip-benefit-item p:hover,
.vip-benefit-item.tooltip-active p {
  color: #60cbff !important;
  background: rgba(34, 165, 229, 0.25) !important;
  box-shadow: 0 0 12px rgba(34, 165, 229, 0.3);
}

/* Container do tooltip de imagem */
.vip-tooltip-preview {
  position: fixed;
  background: rgba(1, 17, 26, 0.98);
  border: 2px solid rgba(34, 165, 229, 0.5);
  border-radius: 14px;
  padding: 0;
  max-width: 300px;
  width: 90vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(34, 165, 229, 0.4);
  backdrop-filter: blur(10px);
}

.vip-tooltip-preview.active {
  opacity: 1;
  visibility: visible;
}

.vip-tooltip-preview img {
  width: 100%;
  height: auto;
  max-height: 280px;
  border-radius: 10px;
  display: block;
}

@media (max-width: 1024px),
(hover: none),
(pointer: coarse) {

  .vip-tooltip-preview {
    display: none !important;
  }
}

/* ===================== ITENS EXCLUSIVOS ===================== */

.vip-items {
  margin-bottom: 60px;
}

.vip-items h3 {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 30px;
  color: #22a5e5 !important;
  font-family: 'VT323', var(--font-heading), monospace !important;
}

.vip-server-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.vip-server-tabs button {
  background: rgba(1, 17, 26, 0.8);
  border: 2px solid rgba(34, 165, 229, 0.3);
  color: #ffffff;
  padding: 12px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}

.vip-server-tabs button:hover {
  background: rgba(34, 165, 229, 0.2);
  border-color: #22a5e5;
  transform: translateY(-2px);
}

.vip-server-tabs button.vip-tab-active {
  background: linear-gradient(135deg, #22a5e5, #1a8bc4);
  border-color: #22a5e5;
  box-shadow: 0 5px 20px rgba(34, 165, 229, 0.4);
}

.vip-items-panel {
  display: none !important;
}

.vip-items-panel.vip-panel-active {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.vip-item-card {
  background: rgba(1, 17, 26, 0.8);
  border: 2px solid rgba(34, 165, 229, 0.3);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  transition: all 0.3s ease;
}

.vip-item-card:hover {
  border-color: #22a5e5;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(34, 165, 229, 0.3);
}

.vip-item-icon {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.vip-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(34, 165, 229, 0.5));
}

.vip-item-qty {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: linear-gradient(135deg, #22a5e5, #1a8bc4);
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 3px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vip-item-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #22a5e5;
  font-weight: 600;
}

.vip-item-info p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===================== PAGAMENTOS ===================== */

.vip-payment {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.vip-payment-method {
  background: linear-gradient(180deg, rgba(34, 165, 229, 0.1), rgba(34, 165, 229, 0.06));
  border: 1px solid rgba(34, 165, 229, 0.28);
  border-radius: 15px;
  padding: 24px;
}

.vip-payment-method h3 {
  text-align: center !important;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem) !important;
  margin-bottom: 25px;
  color: #22a5e5 !important;
  font-family: 'VT323', var(--font-heading), monospace !important;
}

.vip-payment-method h3.golden {
  color: #f59e0b;
}

.vip-payment-content>p {
  font-size: clamp(1rem, 0.9rem + 0.32vw, 1.1rem) !important;
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: left;
}

/* Chave PIX */
.vip-pix-key {
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.vip-pix-key p {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.vip-pix-key code {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  color: #22a5e5;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2rem;
  font-family: var(--font-code);
}

/* Lista de preços + QR Code */
.vip-price-list {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.vip-qrcode {
  flex-shrink: 0;
}

.vip-qrcode img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  border: 2px solid #22a5e5;
}

.vip-prices {
  flex: 1;
  min-width: 250px;
}

.vip-prices p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding: 10px 15px;
  background: rgba(34, 165, 229, 0.1);
  border-radius: 8px;
  border-left: 3px solid #22a5e5;
  color: rgba(255, 255, 255, 0.9);
}

.vip-prices strong {
  color: #22a5e5;
}

/* Instruções pós-pagamento */
.vip-instructions {
  background: rgba(1, 17, 26, 0.8);
  border: 1px solid rgba(34, 165, 229, 0.25);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
}

.vip-instructions h4 {
  color: #22a5e5;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.vip-instructions p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.vip-instructions code {
  background: rgba(0, 0, 0, 0.5);
  color: #22a5e5;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-code);
}

/* Warning vermelho */
.vip-warning {
  background: rgba(255, 102, 102, 0.1);
  border: 1px solid rgba(255, 102, 102, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 20px;
  color: #ff6666;
  font-weight: 500;
}

.vip-warning strong {
  color: #ff6666;
}

.vip-warning p {
  margin: 0;
  color: #ff6666;
}

.vip-warning code {
  background: rgba(1, 17, 26, 0.8);
  color: #ff9999;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Preço info verde */
.vip-price-info {
  background: rgba(34, 229, 34, 0.1);
  border: 1px solid rgba(34, 229, 34, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
}

.vip-price-info p {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.vip-price-info strong {
  color: #22e522;
}

/* Benefícios no servidor */
.vip-in-benefits p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(1, 17, 26, 0.8);
  border-radius: 8px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.vip-in-benefits p:hover {
  background: rgba(34, 165, 229, 0.2);
  transform: translateX(5px);
}

.vip-in-benefits p i {
  color: #22a5e5;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Bloco de comando */
.vip-command-block {
  background: rgba(1, 17, 26, 0.8);
  border: 1px solid rgba(34, 165, 229, 0.25);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
}

.vip-command-block h4 {
  color: #22a5e5;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.vip-command-block p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.vip-command-block code {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  color: #22e522;
  padding: 15px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-code);
  margin: 10px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Exemplo */
.vip-example {
  background: rgba(1, 17, 26, 0.8);
  border: 1px solid rgba(34, 165, 229, 0.25);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
}

.vip-example p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.vip-example strong {
  color: #22a5e5;
}

.vip-example code {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  color: #22e522;
  padding: 15px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-code);
  margin-top: 10px;
}

/* Destaque âmbar */
.vip-highlight {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 16px;
  margin-top: 25px;
}

.vip-highlight h4 {
  color: #f59e0b;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.vip-highlight p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.vip-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7) !important;
  font-style: italic;
  margin-top: 10px;
}

/* ===================== CLEAN MODE (VIP) ===================== */

#panel-vip .vip-payment {
  gap: 20px;
}

#panel-vip .vip-payment-method {
  padding: 22px;
  border-radius: 14px;
}

#panel-vip .vip-payment-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#panel-vip .vip-payment-content>p {
  margin-bottom: 0;
}

#panel-vip .vip-instructions,
#panel-vip .vip-command-block,
#panel-vip .vip-example,
#panel-vip .vip-price-info,
#panel-vip .vip-highlight {
  background: rgba(1, 17, 26, 0.42);
  border: 0;
  border-left: 3px solid rgba(34, 165, 229, 0.6);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0;
  box-shadow: none;
}

#panel-vip .vip-warning {
  background: rgba(255, 102, 102, 0.08);
  border: 0;
  border-left: 3px solid rgba(255, 102, 102, 0.55);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 0;
  color: #ff8f8f;
}

#panel-vip .vip-command-block code,
#panel-vip .vip-example code {
  margin: 8px 0 0;
  padding: 11px 12px;
}

#panel-vip .vip-flow-card,
#panel-vip .vip-status-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#panel-vip .vip-flow-card h4,
#panel-vip .vip-status-card h4 {
  margin-bottom: 2px;
}

#panel-vip .vip-flow-card p,
#panel-vip .vip-status-card p {
  margin-bottom: 0;
}

#panel-vip .vip-flow-card .vip-price-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(34, 229, 34, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

#panel-vip .vip-flow-card .vip-price-line i {
  color: #22e522;
  margin-right: 2px;
}

#panel-vip .vip-flow-card .vip-price-line strong {
  margin-right: 4px;
}

/* Ajuste do cabeçalho de Gemas para seguir o mesmo padrão do VIP */
#panel-gemas .vip-intro-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 10px;
  margin: 0 auto 12px;
}

#panel-gemas .vip-intro-header i {
  margin: 0;
  flex-shrink: 0;
}

#panel-gemas .vip-intro-header h2 {
  margin: 0;
  line-height: 1.06;
}

#panel-vip .vip-in-benefits p {
  margin-bottom: 8px;
  padding: 6px 10px;
}

#panel-vip .vip-in-benefits p:last-child {
  margin-bottom: 0;
}

/* ===================== RESPONSIVO ===================== */

@media (max-width: 768px) {
  .vip-section {
    padding: 20px 10px;
  }

  .vip-benefits-section {
    padding: 25px 15px;
  }

  .vip-benefits-list p {
    flex: 1 1 100%;
  }

  .vip-benefit-item {
    flex: 1 1 100%;
  }

  .vip-benefits-list>.vip-benefit-item:last-child:nth-child(odd) {
    flex: 1 1 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .vip-benefits-list p:last-child:nth-child(odd) {
    flex: 1 1 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .vip-items-panel.vip-panel-active {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .vip-item-card {
    padding: 15px;
  }

  .vip-item-icon {
    width: 56px;
    height: 56px;
  }

  .vip-item-info h4 {
    font-size: 1rem;
  }

  .vip-item-info p {
    font-size: 0.85rem;
  }

  .vip-item-qty {
    font-size: 0.8rem;
    padding: 2px 6px;
  }

  .vip-payment {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .vip-payment-method {
    padding: 20px 15px;
  }

  .vip-price-list {
    flex-direction: column;
  }

  .vip-qrcode img {
    width: 150px;
    height: 150px;
  }

  .vip-pix-key code {
    display: table;
    margin: 0 auto;
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .vip-command-block,
  .vip-example,
  .vip-instructions {
    padding: 15px;
  }

  .vip-command-block code,
  .vip-example code {
    font-size: 0.8rem;
    padding: 10px;
    overflow-x: auto;
  }

  .vip-server-tabs button {
    padding: 10px 30px;
    font-size: 1rem;
  }

  #panel-gemas .vip-intro-header {
    gap: 6px;
    margin-bottom: 10px;
  }

  #panel-gemas .vip-intro-header i {
    font-size: 1.45rem;
  }

  #panel-gemas .vip-intro-header h2 {
    text-align: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .vip-benefits-list p {
    flex: 0 1 calc(50% - 5px);
  }

  .vip-payment {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .vip-section {
    padding: 30px 20px;
  }

  .vip-server-tabs button {
    padding: 10px 28px;
    font-size: 1rem;
  }

  .vip-items-panel.vip-panel-active {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }
}

@media (max-width: 360px) {
  .vip-section {
    padding: 15px 8px;
  }

  #panel-gemas .vip-intro-header {
    gap: 7px;
  }

  #panel-gemas .vip-intro-header i {
    font-size: 1.4rem;
  }

  .vip-benefits-section {
    padding: 15px 10px;
  }

  .vip-benefits-list p {
    padding: 6px 10px;
    gap: 8px;
    flex: 1 1 100%;
  }

  .vip-benefit-item {
    flex: 1 1 100%;
  }

  .vip-benefits-list>.vip-benefit-item:last-child:nth-child(odd) {
    flex: 1 1 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .vip-benefits-list p:last-child:nth-child(odd) {
    flex: 1 1 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .vip-payment-method {
    padding: 15px 10px;
  }

  .vip-pix-key code {
    display: table;
    margin: 0 auto;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .vip-qrcode img {
    width: 120px;
    height: 120px;
  }

  .vip-command-block,
  .vip-example,
  .vip-instructions {
    padding: 10px;
  }

  .vip-command-block code,
  .vip-example code {
    font-size: 0.72rem;
    padding: 8px;
  }

  .vip-server-tabs button {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .vip-server-tabs {
    gap: 8px;
  }

  .vip-item-card {
    padding: 10px;
    gap: 10px;
  }

  .vip-item-icon {
    width: 44px;
    height: 44px;
  }

  .vip-items h3 {
    font-size: 1.3rem;
  }
}