/* ===== CSS RESET & BASE ===== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg-primary: #0a0a1a;
      --bg-secondary: #10102a;
      --bg-card: rgba(255, 255, 255, 0.04);
      --bg-glass: rgba(255, 255, 255, 0.06);
      --border-glass: rgba(255, 255, 255, 0.08);
      --text-primary: #f0f0ff;
      --text-secondary: #9a9ac0;
      --text-muted: #5e5e8a;
      --accent-1: #7c3aed;
      --accent-2: #a855f7;
      --accent-3: #c084fc;
      --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
      --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 58, 237, 0.12), transparent 40%);
      --green-soft: #10b981;
      --green-bg: rgba(16, 185, 129, 0.12);
      --green-border: rgba(16, 185, 129, 0.25);
      --yellow-soft: #f59e0b;
      --yellow-bg: rgba(245, 158, 11, 0.12);
      --yellow-border: rgba(245, 158, 11, 0.25);
      --red-soft: #ef4444;
      --red-bg: rgba(239, 68, 68, 0.12);
      --red-border: rgba(239, 68, 68, 0.25);
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.15);
      --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ===== ANIMATED BACKGROUND ===== */
    .bg-effects {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-effects::before {
      content: '';
      position: absolute;
      top: -40%;
      left: -20%;
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
      animation: float-orb 20s ease-in-out infinite;
    }

    .bg-effects::after {
      content: '';
      position: absolute;
      bottom: -30%;
      right: -15%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
      animation: float-orb 25s ease-in-out infinite reverse;
    }

    @keyframes float-orb {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      33% {
        transform: translate(80px, -60px) scale(1.1);
      }

      66% {
        transform: translate(-40px, 40px) scale(0.95);
      }
    }

    /* ===== LAYOUT ===== */
    .page-wrapper {
      position: relative;
      z-index: 1;
      max-width: 960px;
      margin: 0 auto;
      padding: 20px 20px 60px;
    }

    /* ===== HERO HEADER ===== */
    .hero {
      text-align: center;
      padding: 50px 20px 40px;
      position: relative;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: 100px;
      padding: 8px 20px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent-3);
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
      animation: fade-down 0.6s ease-out;
    }

    .hero-badge .dot {
      width: 8px;
      height: 8px;
      background: var(--green-soft);
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    .hero-badge .dot.inativo {
      background: var(--red-soft);
    }

    .btn-toggle-status {
      padding: 6px 14px;
      border-radius: 8px;
      font-family: inherit;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-primary);
    }

    .btn-toggle-status.ativo {
      background: rgba(239, 68, 68, 0.15);
      color: var(--red-soft);
      border-color: rgba(239, 68, 68, 0.3);
    }

    .btn-toggle-status.ativo:hover {
      background: rgba(239, 68, 68, 0.25);
    }

    .btn-toggle-status.inativo {
      background: rgba(16, 185, 129, 0.15);
      color: var(--green-soft);
      border-color: rgba(16, 185, 129, 0.3);
    }

    .btn-toggle-status.inativo:hover {
      background: rgba(16, 185, 129, 0.25);
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(0.7);
      }
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 900;
      background: var(--gradient-hero);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.15;
      margin-bottom: 16px;
      animation: fade-down 0.6s ease-out 0.1s backwards;
    }

    .hero p {
      color: var(--text-secondary);
      font-size: 1.05rem;
      max-width: 520px;
      margin: 0 auto;
      animation: fade-down 0.6s ease-out 0.2s backwards;
    }

    @keyframes fade-down {
      from {
        opacity: 0;
        transform: translateY(-16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    @keyframes fade-up {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ===== INFO CARDS ===== */
    .info-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin-bottom: 32px;
      animation: fade-up 0.6s ease-out 0.3s backwards;
    }

    .info-card {
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      text-align: center;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: var(--transition);
    }

    .info-card:hover {
      border-color: rgba(124, 58, 237, 0.25);
      transform: translateY(-2px);
    }

    .info-card .label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .info-card .value {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-primary);
    }

    .info-card .value.price {
      background: var(--gradient-hero);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ===== LEGEND ===== */
    .legend {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 28px;
      animation: fade-up 0.6s ease-out 0.4s backwards;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .legend-dot {
      width: 14px;
      height: 14px;
      border-radius: 4px;
    }

    .legend-dot.disponivel {
      background: var(--green-bg);
      border: 1.5px solid var(--green-border);
    }

    .legend-dot.pendente {
      background: var(--yellow-bg);
      border: 1.5px solid var(--yellow-border);
    }

    .legend-dot.pago {
      background: var(--red-bg);
      border: 1.5px solid var(--red-border);
    }

    /* ===== PROGRESS BAR ===== */
    .progress-section {
      margin-bottom: 32px;
      animation: fade-up 0.6s ease-out 0.45s backwards;
    }

    .progress-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .progress-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .progress-percent {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--accent-3);
    }

    .progress-bar-track {
      width: 100%;
      height: 8px;
      background: var(--bg-glass);
      border-radius: 100px;
      overflow: hidden;
      border: 1px solid var(--border-glass);
    }

    .progress-bar-fill {
      height: 100%;
      border-radius: 100px;
      background: var(--gradient-hero);
      width: 0%;
      transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== NUMBER GRID ===== */
    .grid-section {
      animation: fade-up 0.6s ease-out 0.5s backwards;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      gap: 8px;
      margin-bottom: 40px;
    }

    @media (max-width: 640px) {
      .grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
      }
    }

    .numero {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      aspect-ratio: 1;
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      border: 1.5px solid transparent;
      transition: all var(--transition);
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }

    .numero.disponivel {
      background: var(--green-bg);
      border-color: var(--green-border);
      color: var(--green-soft);
    }

    .numero.disponivel:hover {
      background: rgba(16, 185, 129, 0.22);
      border-color: var(--green-soft);
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    }

    .numero.disponivel:active {
      transform: translateY(0) scale(0.97);
    }

    .numero.pendente {
      background: var(--yellow-bg);
      border-color: var(--yellow-border);
      color: var(--yellow-soft);
      cursor: not-allowed;
    }

    .numero.pago {
      background: var(--red-bg);
      border-color: var(--red-border);
      color: var(--red-soft);
      cursor: not-allowed;
      opacity: 0.7;
    }


    @keyframes number-pop {
      from {
        opacity: 0;
        transform: scale(0.8);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* ===== TOOLTIPS DOS NÚMEROS ===== */
    .numero[data-tooltip] {
      position: relative;
    }

    .numero[data-tooltip]::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: #10102a;
      color: var(--text-primary);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 6px;
      border: 1px solid var(--border-glass);
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
      z-index: 100;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    }

    .numero[data-tooltip]::before {
      content: '';
      position: absolute;
      bottom: calc(100% + 3px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      border-width: 5px 5px 0 5px;
      border-style: solid;
      border-color: #10102a transparent transparent transparent;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
      z-index: 100;
    }

    .numero[data-tooltip]:hover::after,
    .numero[data-tooltip]:hover::before {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    .numero.disponivel[data-tooltip]::after {
      color: var(--green-soft);
      border-color: var(--green-border);
    }

    .numero.pendente[data-tooltip]::after {
      color: var(--yellow-soft);
      border-color: var(--yellow-border);
    }

    .numero.pago[data-tooltip]::after {
      color: var(--red-soft);
      border-color: var(--red-border);
    }

    /* ===== MODAL ===== */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: modal-bg-in 0.3s ease-out;
    }

    .modal-overlay.active {
      display: flex;
    }

    @keyframes modal-bg-in {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .modal-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      max-width: 440px;
      width: 100%;
      box-shadow: var(--shadow-glow), 0 25px 50px rgba(0, 0, 0, 0.5);
      animation: modal-card-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }

    @keyframes modal-card-in {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: 50%;
      color: var(--text-secondary);
      font-size: 1.2rem;
      cursor: pointer;
      transition: var(--transition);
    }

    .modal-close:hover {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.3);
      color: var(--red-soft);
    }

    .modal-number-display {
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gradient-hero);
      border-radius: var(--radius-md);
      font-size: 1.5rem;
      font-weight: 900;
      color: #fff;
      margin: 0 auto 20px;
      box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
    }

    .modal-card h3 {
      text-align: center;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .modal-card .modal-subtitle {
      text-align: center;
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 28px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .form-input {
      width: 100%;
      padding: 14px 16px;
      background: var(--bg-glass);
      border: 1.5px solid var(--border-glass);
      border-radius: var(--radius-sm);
      color: var(--text-primary);
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 500;
      transition: var(--transition);
      outline: none;
    }

    .form-input::placeholder {
      color: var(--text-muted);
    }

    .form-input:focus {
      border-color: var(--accent-2);
      box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 28px;
      border: none;
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      width: 100%;
    }

    .btn-primary {
      background: var(--gradient-hero);
      color: #fff;
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .btn-secondary {
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      color: var(--text-secondary);
      margin-top: 10px;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-primary);
    }

    /* ===== TOAST NOTIFICATION ===== */
    .toast-container {
      position: fixed;
      top: 24px;
      right: 24px;
      z-index: 2000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .toast {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      background: var(--bg-secondary);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-md);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
      animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      max-width: 380px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .toast.success {
      border-left: 3px solid var(--green-soft);
    }

    .toast.error {
      border-left: 3px solid var(--red-soft);
    }

    .toast.warning {
      border-left: 3px solid var(--yellow-soft);
    }

    .toast-icon {
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .toast-message {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-primary);
    }

    .toast-dismiss {
      margin-left: auto;
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 1.1rem;
      padding: 4px;
    }

    @keyframes toast-in {
      from {
        opacity: 0;
        transform: translateX(40px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes toast-out {
      to {
        opacity: 0;
        transform: translateX(40px);
      }
    }

    /* ===== ADMIN PANEL ===== */
    .admin-section {
      margin-top: 60px;
      display: none;
    }

    .admin-section.visible {
      display: block;
    }

    .admin-panel {
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-lg);
      padding: 28px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      animation: fade-up 0.4s ease-out;
    }

    .admin-panel h2 {
      font-size: 1.3rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .admin-login-form {
      display: flex;
      gap: 10px;
      max-width: 400px;
    }

    .admin-login-form .form-input {
      flex: 1;
    }

    .btn-admin-login {
      padding: 12px 24px;
      background: var(--accent-1);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }

    .btn-admin-login:hover {
      background: var(--accent-2);
    }

    .admin-table-wrapper {
      overflow-x: auto;
      margin-top: 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-glass);
    }

    .admin-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    .admin-table th {
      background: rgba(124, 58, 237, 0.08);
      padding: 14px 16px;
      text-align: left;
      font-weight: 600;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--accent-3);
      border-bottom: 1px solid var(--border-glass);
    }

    .admin-table th.sortable {
      cursor: pointer;
      user-select: none;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .admin-table th.sortable:hover {
      background: rgba(124, 58, 237, 0.2);
      color: #fff;
    }

    .admin-table th.active-sort {
      background: rgba(124, 58, 237, 0.25);
      color: #fff;
    }

    .sort-icon {
      display: inline-block;
      margin-left: 4px;
      font-size: 0.75rem;
      opacity: 0.5;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .admin-table th.active-sort .sort-icon {
      opacity: 1;
      color: var(--accent-3);
    }

    .admin-table td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--border-glass);
      color: var(--text-secondary);
    }

    .admin-table tr:last-child td {
      border-bottom: none;
    }

    .admin-table tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }

    /* Participant Name Hover Tooltip & Abbreviation */
    .nome-participante-wrapper {
      position: relative;
      display: inline-block;
      cursor: pointer;
      font-weight: 600;
      color: var(--text-primary);
      transition: color 0.2s ease;
    }

    .nome-participante-wrapper:hover {
      color: #34d399;
      text-decoration: underline;
    }

    .nome-participante-wrapper .nome-full {
      display: none;
    }

    .nome-participante-wrapper:hover .nome-abbr {
      display: none;
    }

    .nome-participante-wrapper:hover .nome-full {
      display: inline;
    }

    .nome-participante-wrapper .phone-tooltip {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      bottom: 125%;
      left: 50%;
      transform: translateX(-50%);
      background: #1e293b;
      color: #34d399;
      font-size: 0.82rem;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 8px;
      border: 1px solid rgba(52, 211, 153, 0.4);
      white-space: nowrap;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
      transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
      z-index: 100;
      pointer-events: none;
    }

    .nome-participante-wrapper .phone-tooltip::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: #1e293b transparent transparent transparent;
    }

    .nome-participante-wrapper:hover .phone-tooltip {
      visibility: visible;
      opacity: 1;
      transform: translateX(-50%) translateY(-4px);
    }

    .phone-cell-masked {
      color: var(--text-muted);
      font-size: 0.8rem;
      font-style: italic;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 100px;
      font-size: 0.78rem;
      font-weight: 600;
    }

    .status-badge.pendente {
      background: var(--yellow-bg);
      color: var(--yellow-soft);
      border: 1px solid var(--yellow-border);
    }

    .status-badge.pago {
      background: var(--green-bg);
      color: var(--green-soft);
      border: 1px solid var(--green-border);
    }

    .btn-table {
      padding: 6px 14px;
      border: none;
      border-radius: 6px;
      font-family: inherit;
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      margin-right: 6px;
    }

    .btn-table.validate {
      background: rgba(16, 185, 129, 0.15);
      color: var(--green-soft);
      border: 1px solid var(--green-border);
    }

    .btn-table.validate:hover {
      background: rgba(16, 185, 129, 0.25);
    }

    .btn-table.release {
      background: rgba(239, 68, 68, 0.1);
      color: var(--red-soft);
      border: 1px solid var(--red-border);
    }

    .btn-table.release:hover {
      background: rgba(239, 68, 68, 0.2);
    }

    /* ===== RAFFLE DRAW ===== */
    .raffle-section {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid var(--border-glass);
    }

    .raffle-section h3 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .btn-raffle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 16px 32px;
      background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      font-family: inherit;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 24px rgba(245, 158, 11, 0.3);
      text-transform: uppercase;
      letter-spacing: 1px;
      width: 100%;
    }

    .btn-raffle:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 36px rgba(245, 158, 11, 0.45);
    }

    .btn-raffle:active {
      transform: translateY(0);
    }

    .btn-raffle:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    /* Raffle Modal */
    .raffle-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .raffle-overlay.active {
      display: flex;
    }

    .raffle-card {
      text-align: center;
      max-width: 480px;
      width: 100%;
      padding: 48px 36px;
      background: var(--bg-secondary);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-xl);
      box-shadow: 0 0 80px rgba(245, 158, 11, 0.15), 0 25px 60px rgba(0, 0, 0, 0.5);
      animation: modal-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }

    .raffle-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    .raffle-title {
      font-size: 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--text-muted);
      margin-bottom: 32px;
    }

    .raffle-title.winner-title {
      color: #f59e0b;
      font-size: 1.1rem;
      animation: pulse-glow 1.5s ease-in-out infinite;
    }

    @keyframes pulse-glow {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.7;
      }
    }



    .raffle-winner-name {
      font-size: 1.6rem;
      font-weight: 800;
      background: linear-gradient(135deg, #f59e0b, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.5s ease;
    }

    .raffle-winner-name.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .raffle-winner-phone {
      font-size: 0.95rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.5s ease 0.15s;
    }

    .raffle-winner-phone.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .btn-raffle-close {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-sm);
      color: var(--text-secondary);
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s ease 0.3s;
    }

    .btn-raffle-close.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .btn-raffle-close:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-primary);
    }

    /* Confetti */
    .confetti-container {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 3001;
      overflow: hidden;
    }

    .confetti {
      position: absolute;
      width: 10px;
      height: 10px;
      top: -10px;
      border-radius: 2px;
      animation: confetti-fall linear forwards;
    }

    @keyframes confetti-fall {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
      }

      100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
      }
    }

    /* ===== FOOTER ===== */
    .footer {
      text-align: center;
      margin-top: 60px;
      padding: 24px;
      color: var(--text-muted);
      font-size: 0.8rem;
      border-top: 1px solid var(--border-glass);
    }

    /* ===== CAUSE CARD (IMAGE + DESCRIPTION) ===== */
    .cause-card {
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: 36px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      animation: fade-up 0.6s ease-out 0.15s backwards;
    }

    .cause-image-wrapper {
      position: relative;
      width: 100%;
      max-height: 420px;
      overflow: hidden;
    }

    .cause-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cause-card:hover .cause-image-wrapper img {
      transform: scale(1.03);
    }

    .cause-image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(to top, var(--bg-primary), transparent);
      pointer-events: none;
    }

    .cause-image-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 100px;
      padding: 8px 16px;
      font-size: 0.75rem;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .cause-image-badge .emoji {
      font-size: 1rem;
    }

    .cause-body {
      padding: 28px 32px 32px;
    }

    .cause-body h2 {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .cause-body h2 .highlight {
      background: var(--gradient-hero);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .cause-body p {
      color: var(--text-secondary);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 12px;
    }

    .cause-body p strong {
      color: var(--text-primary);
    }

    .cause-details {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid var(--border-glass);
    }

    .cause-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent-3);
      background: rgba(124, 58, 237, 0.1);
      border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: 100px;
      padding: 4px 12px;
    }
    /* ===== ROLETA DO SORTEIO ESTILO CASSINO ===== */
    .roulette-wrapper {
      position: relative;
      width: 100%;
      height: 140px;
      margin: 20px 0 25px;
      background: rgba(10, 10, 26, 0.95);
      border: 2px solid rgba(245, 158, 11, 0.4);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
    }

    .roulette-pointer {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 12px solid transparent;
      border-right: 12px solid transparent;
      z-index: 20;
    }

    .roulette-pointer.top {
      top: 0;
      border-top: 16px solid #f59e0b;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    }

    .roulette-pointer.bottom {
      bottom: 0;
      border-bottom: 16px solid #f59e0b;
      filter: drop-shadow(0 -2px 4px rgba(0,0,0,0.6));
    }

    .roulette-track {
      display: flex;
      align-items: center;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      will-change: transform;
    }

    .roulette-item {
      flex: 0 0 110px;
      width: 110px;
      height: 110px;
      margin: 0 6px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      user-select: none;
      transition: all 0.35s ease;
    }

    .roulette-item .num {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--text-primary);
      line-height: 1;
    }

    .roulette-item .name {
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-secondary);
      margin-top: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 95px;
    }

    .roulette-item.winner-card {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
      border: 2px solid #f59e0b;
      box-shadow: 0 0 35px rgba(245, 158, 11, 0.6);
      transform: scale(1.12);
    }

    .roulette-item.winner-card .num {
      color: #f59e0b;
      text-shadow: 0 0 18px rgba(245, 158, 11, 0.8);
    }

    .roulette-item.winner-card .name {
      color: #ffffff;
      font-weight: 700;
    }
  
    /* ===== NÚMERO GANHADOR SORTEADO (CONTORNO DOURADO E TROFÉU) ===== */
    .numero.sorteado {
      border: 3px solid #f59e0b !important;
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%) !important;
      color: #ffffff !important;
      box-shadow: 0 0 25px rgba(245, 158, 11, 0.9), 0 0 50px rgba(245, 158, 11, 0.5), inset 0 0 20px rgba(251, 191, 36, 0.6) !important;
      animation: glow-pulse-gold 2s ease-in-out infinite !important;
      position: relative !important;
      z-index: 10 !important;
      transform: scale(1.06) !important;
    }

    .numero.sorteado::after {
      content: '🏆';
      position: absolute;
      top: -12px;
      right: -8px;
      font-size: 16px;
      filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9));
    }

    .banner-ganhador-global {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto 25px;
      padding: 16px 24px;
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(236, 72, 153, 0.25) 100%);
      border: 2px solid #f59e0b;
      border-radius: var(--radius-md);
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 800;
      text-align: center;
      box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
      animation: glow-pulse-gold 2s ease-in-out infinite;
      letter-spacing: 0.5px;
    }

    .banner-ganhador-global .highlight-num {
      color: #f59e0b;
      font-size: 1.3rem;
      font-weight: 900;
      text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
    }

  

    @keyframes glow-pulse-gold {
      0%, 100% {
        box-shadow: 0 0 25px rgba(245, 158, 11, 0.9), 0 0 50px rgba(245, 158, 11, 0.5), inset 0 0 20px rgba(251, 191, 36, 0.6);
      }
      50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 1), 0 0 80px rgba(245, 158, 11, 0.7), inset 0 0 30px rgba(251, 191, 36, 0.8);
      }
    }

    .btn-reset-sorteio {
      padding: 8px 16px;
      font-size: 0.85rem;
      font-weight: 700;
      color: #f59e0b;
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn-reset-sorteio:hover {
      background: rgba(245, 158, 11, 0.25);
      border-color: #f59e0b;
      box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    }

    /* ===== QUICK ACTIONS BAR ===== */
    .actions-bar {
      display: flex;
      justify-content: center;
      margin: 0 0 24px;
    }

    .btn-consultar-bilhetes {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
      border: 1.5px solid rgba(192, 132, 252, 0.4);
      color: #ffffff;
      padding: 12px 24px;
      border-radius: 100px;
      font-size: 0.95rem;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-consultar-bilhetes:hover {
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(236, 72, 153, 0.35) 100%);
      border-color: #c084fc;
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
    }

    .btn-consultar-bilhetes .btn-icon {
      font-size: 1.1rem;
    }

    /* ===== MODAL DE CONSULTA DE BILHETES ===== */
    .modal-consulta-card {
      max-width: 520px;
      width: 100%;
    }

    .modal-icon-header {
      font-size: 2.2rem;
      margin-bottom: 8px;
    }

    .consulta-empty-state {
      padding: 24px 16px;
      text-align: center;
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.2);
      border-radius: var(--radius-md);
      margin-top: 16px;
      animation: fade-in 0.3s ease-out;
    }

    .consulta-empty-state .empty-icon {
      font-size: 2rem;
      margin-bottom: 8px;
    }

    .consulta-empty-state p {
      color: #f87171;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .consulta-empty-state small {
      color: var(--text-secondary);
      font-size: 0.85rem;
    }

    .consulta-contato-box {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px dashed rgba(255, 255, 255, 0.12);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .consulta-contato-box .contato-label {
      font-size: 0.8rem;
      color: var(--text-secondary);
      line-height: 1.4;
    }

    .btn-email-contato {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(124, 58, 237, 0.2);
      border: 1px solid rgba(192, 132, 252, 0.4);
      color: #e9d5ff;
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 700;
      text-decoration: none;
      transition: var(--transition);
    }

    .btn-email-contato:hover {
      background: rgba(124, 58, 237, 0.35);
      border-color: #c084fc;
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    }

    .resultado-header {
      margin: 18px 0 14px;
      text-align: left;
    }

    .resultado-header h4 {
      font-size: 1.1rem;
      color: var(--text-primary);
      margin-bottom: 4px;
    }

    .resultado-header .destaque-nome {
      color: var(--accent-3);
      font-weight: 800;
    }

    .resultado-header p {
      font-size: 0.88rem;
      color: var(--text-secondary);
    }

    .lista-bilhetes-encontrados {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 220px;
      overflow-y: auto;
      padding-right: 4px;
      margin-bottom: 16px;
    }

    .card-bilhete-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      transition: var(--transition);
    }

    .card-bilhete-item.status-pago {
      border-color: rgba(16, 185, 129, 0.4);
      background: rgba(16, 185, 129, 0.08);
    }

    .card-bilhete-item.status-pendente {
      border-color: rgba(245, 158, 11, 0.4);
      background: rgba(245, 158, 11, 0.08);
    }

    .bilhete-num-badge {
      font-size: 1.15rem;
      font-weight: 800;
      font-family: monospace;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.1);
      padding: 4px 10px;
      border-radius: 6px;
    }

    .bilhete-info {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 3px;
    }

    .bilhete-status-tag {
      font-size: 0.78rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 100px;
    }

    .bilhete-status-tag.status-pago {
      background: rgba(16, 185, 129, 0.2);
      color: #34d399;
      border: 1px solid rgba(16, 185, 129, 0.4);
    }

    .bilhete-status-tag.status-pendente {
      background: rgba(245, 158, 11, 0.2);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.4);
    }

    .bilhete-comprovante {
      font-family: monospace;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* ===== AVISO DE VALIDAÇÃO ===== */
    .aviso-validacao-box {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: rgba(245, 158, 11, 0.1);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      margin-bottom: 16px;
      text-align: left;
    }

    .aviso-validacao-box .aviso-icon {
      font-size: 1.3rem;
      line-height: 1;
      margin-top: 2px;
    }

    .aviso-validacao-box .aviso-texto strong {
      color: #fbbf24;
      font-size: 0.85rem;
      display: block;
      margin-bottom: 2px;
    }

    .aviso-validacao-box .aviso-texto p {
      color: #fef3c7;
      font-size: 0.82rem;
      line-height: 1.4;
      margin: 0;
    }

    .consulta-acoes {
      display: flex;
      gap: 10px;
    }

    .btn-gerar-comprovante {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
      font-size: 0.95rem;
    }

    .btn-gerar-comprovante:hover {
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4) !important;
    }

    /* ===== COMPROVANTE DIGITAL (VOUCHER TICKET) ===== */
    .modal-comprovante-card {
      max-width: 560px;
      width: 100%;
      padding: 24px;
    }

    .ticket-wrapper {
      background: linear-gradient(145deg, #161633 0%, #0e0e22 100%);
      border: 2px solid rgba(168, 85, 247, 0.4);
      border-radius: 18px;
      padding: 24px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(168, 85, 247, 0.08);
      margin-bottom: 20px;
      text-align: left;
    }

    .ticket-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1.5px dashed rgba(255, 255, 255, 0.15);
      padding-bottom: 14px;
      margin-bottom: 16px;
    }

    .ticket-brand {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .ticket-logo-emoji {
      font-size: 1.8rem;
    }

    .ticket-title {
      font-size: 0.95rem;
      font-weight: 800;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 0;
    }

    .ticket-subtitle {
      font-size: 0.78rem;
      color: var(--accent-3);
      font-weight: 600;
      margin: 0;
    }

    .ticket-badge-official {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.4);
      color: #34d399;
      font-size: 0.72rem;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 6px;
      text-transform: uppercase;
    }

    .ticket-body {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .ticket-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.88rem;
    }

    .ticket-row .ticket-label {
      color: var(--text-secondary);
      font-size: 0.82rem;
    }

    .ticket-row .ticket-val {
      font-weight: 700;
      color: #ffffff;
    }

    .ticket-numbers-container {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 12px;
      text-align: center;
    }

    .ticket-numbers-container .ticket-label-center {
      font-size: 0.75rem;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
      margin-bottom: 8px;
      display: block;
    }

    .ticket-badges-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }

    .ticket-number-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 900;
      font-family: monospace;
      padding: 6px 14px;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(124, 58, 237, 0.4);
    }

    .ticket-number-pill.pago {
      background: linear-gradient(135deg, #059669 0%, #10b981 100%);
      box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
    }

    .ticket-number-pill .pill-tag {
      font-size: 0.65rem;
      font-weight: 700;
      padding: 2px 4px;
      border-radius: 4px;
      background: rgba(0, 0, 0, 0.3);
      text-transform: uppercase;
    }

    .ticket-pix-box {
      background: rgba(16, 185, 129, 0.1);
      border: 1px dashed rgba(16, 185, 129, 0.4);
      border-radius: 10px;
      padding: 10px 14px;
      text-align: center;
    }

    .ticket-pix-box .pix-label {
      font-size: 0.72rem;
      color: #6ee7b7;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .ticket-pix-box .pix-key {
      font-size: 0.9rem;
      font-weight: 800;
      color: #ffffff;
      word-break: break-all;
    }

    .ticket-footer {
      border-top: 1.5px dashed rgba(255, 255, 255, 0.15);
      padding-top: 12px;
      margin-top: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .ticket-footer strong {
      color: var(--text-secondary);
    }

    .comprovante-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .comprovante-actions .btn {
      flex: 1 1 140px;
      padding: 10px 14px;
      font-size: 0.85rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .btn-comprovante.btn-print {
      background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: #ffffff;
    }

    .btn-comprovante.btn-copiar {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-comprovante.btn-copiar:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    /* ===== SUPORTE A IMPRESSÃO (@MEDIA PRINT) ===== */
    @media print {
      body {
        background: #ffffff !important;
        color: #000000 !important;
      }

      .bg-effects,
      .page-wrapper > *:not(#modal-comprovante),
      .no-print,
      .toast-container,
      .admin-section {
        display: none !important;
      }

      #modal-comprovante.modal-overlay {
        position: static !important;
        display: block !important;
        background: none !important;
        padding: 0 !important;
      }

      .modal-comprovante-card {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100% !important;
      }

      .ticket-wrapper {
        background: #ffffff !important;
        border: 2px solid #000000 !important;
        color: #000000 !important;
        box-shadow: none !important;
        margin: 0 auto !important;
        max-width: 500px !important;
      }

      .ticket-title {
        color: #000000 !important;
      }

      .ticket-subtitle {
        color: #4b5563 !important;
      }

      .ticket-badge-official {
        border-color: #000000 !important;
        color: #000000 !important;
      }

      .ticket-row .ticket-val {
        color: #000000 !important;
      }

      .ticket-row .ticket-label {
        color: #374151 !important;
      }

      .ticket-numbers-container {
        background: #f3f4f6 !important;
        border-color: #d1d5db !important;
      }

      .ticket-number-pill {
        background: #000000 !important;
        color: #ffffff !important;
        box-shadow: none !important;
      }

      .ticket-pix-box {
        background: #f3f4f6 !important;
        border: 1px solid #000000 !important;
      }

      .ticket-pix-box .pix-key,
      .ticket-pix-box .pix-label {
        color: #000000 !important;
      }

      .ticket-footer {
        border-color: #000000 !important;
        color: #000000 !important;
      }
    }
