/* =========================================================
   HEADER DESKTOP - PINBET (AJUSTADO E ALINHADO)
   ========================================================= */
   body, html {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: "Inter", sans-serif;
  }
  
  /* =========================================================
     🔹 Barra verde superior (promo)
     ========================================================= */
  .promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 40px;
    background: #99ff00;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 3000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  
  .promo-bar .btn-indicar {
    background: #5c1080;
    color: #fff;
    border-radius: 6px;
    padding: 5px 16px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .promo-bar .btn-indicar:hover {
    background: #440c60;
  }
  
  .promo-bar .btn-close-promo {
    position: absolute;
    right: 15px;
    top: 8px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
  }
  
  .promo-bar .btn-close-promo:hover {
    transform: scale(1.2);
  }
  
  /* =========================================================
     🔹 Header principal (Desktop)
     ========================================================= */
  .header.desktop-header {
    position: fixed;
    top: 40px; /* logo abaixo da barra verde */
    left: 0;
    right: 0;
    height: 70px;
    background: #4b00b4;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  }
  
  .header-content {
    width: 95%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* 🔸 Logo */
  .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
  }
  
  .logo-exclamation {
    color: #99ff00;
  }
  
  /* 🔸 Logo - IMAGEM */
  .logo-image {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
  }
  
  /* 🔹 Menu Central */
  .nav {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .nav-list {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
  }
  
  .nav-link {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: 0.2s ease;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: #99ff00;
    border-bottom-color: #99ff00;
  }
  
  /* 🔹 Ações à direita */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .gift-icon,
  .notification-icon {
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
  }
  
  .gift-icon:hover,
  .notification-icon:hover {
    color: #99ff00;
  }
  
  /* 🔸 Botões */
  .btn-register {
    background: #99ff00;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .btn-register:hover {
    background: #baff33;
  }
  
  .btn-login {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid #99ff00;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .btn-login:hover {
    background: #99ff00;
    color: #2a004a;
  }
  
  .header-actions .fa-eye {
    font-size: 16px;
    color: #99ff00;
    margin-left: 4px;
    cursor: pointer;
    transition: 0.2s;
  }
  
  .header-actions .fa-eye:hover {
    transform: scale(1.1);
  }
  
  /* 🔸 Usuário autenticado */
  .btn-deposit {
    background: #99ff00;
    color: #000;
    border: none;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .btn-deposit:hover {
    background: #baff33;
  }
  
  .user-balance-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a004a;
    padding: 6px 12px;
    border-radius: 8px;
  }
  
  .user-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
  }
  
  .balance-amount {
    color: #99ff00;
    font-weight: 700;
    font-size: 14px;
    background: #000;
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  .user-avatar-desktop {
    background: #99ff00;
    color: #2a004a;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .user-avatar-desktop:hover {
    transform: scale(1.1);
  }
  
  /* =========================================================
     🔹 Espaçamento do conteúdo (para não sobrepor o header)
     ========================================================= */
  main, .main-container {
    margin-top: 110px !important; /* 40px barra + 70px header */
    transition: margin-top 0.3s ease;
  }
  
  /* Quando logado, dá um leve ajuste extra */
  body.user-logged main,
  body.user-logged .main-container {
    margin-top: 120px !important;
  }
  
  /* =========================================================
     🔹 DROPDOWN USUÁRIO
     ========================================================= */
  .user-dropdown {
    display: none;
    position: absolute;
    right: 20px;
    top: 70px;
    width: 280px;
    background: #5300a6;
    border-radius: 12px;
    color: #fff;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  
  .user-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================================================
     🔸 MOBILE FIX
     ========================================================= */
  @media (max-width: 768px) {
    .header.desktop-header {
      top: 35px;
      height: 60px;
    }
  
    main, .main-container {
      margin-top: 95px !important;
    }
  
    body.user-logged main,
    body.user-logged .main-container {
      margin-top: 105px !important;
    }
  
    .user-dropdown {
      position: fixed;
      top: 70px;
      left: 10px;
      right: 10px;
      width: auto;
      border-radius: 12px;
      background: #5300a6;
      z-index: 9999;
      max-height: calc(100vh - 80px);
      overflow-y: auto;
      animation: slideDown 0.25s ease;
    }
  
    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-15px); }
      to { opacity: 1; transform: translateY(0); }
    }
  
    .user-dropdown .dropdown-links {
      display: flex;
      flex-direction: column;
    }
  
    .user-dropdown .link-row {
      flex-direction: column;
      gap: 6px;
    }
  
    .user-dropdown .link-row div {
      flex: none;
      justify-content: flex-start;
      font-size: 15px;
    }
  
    .user-dropdown .dropdown-footer {
      padding-bottom: 20px;
    }
  }
  