    * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }

    html, body {
      width: 100%;
      height: 100vh; /* Altura exata da tela */
      overflow: hidden; /* Trava qualquer scroll na página inteira */
      background-color: #000;
    }

    body {
      background: url('../imgs/background.png') center/cover no-repeat;
      background-size: contain;
      display: flex; 
      align-items: center; 
      justify-content: center;
    }

    /* Máscara de desfoque original restaurada */
    body::before {
      content: "";
      position: fixed;
      inset: 0;

      background: rgba(0, 0, 0, 0.6);

      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(12px);

      z-index: 0;
    }

    /* --- Tela Inicial (Landing) --- */
    .landing {
      text-align: center;
      color: white;
      transition: 0.5s;
      position: absolute;
      z-index: 1;
    }

    .landing h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    .landing,
    .container {
      position: relative;
      z-index: 1;
    }

    .btn {
      padding: 14px 30px;
      font-size: 1.1rem;
      border: none;
      border-radius: 12px;
      background: linear-gradient(135deg, #ffffff, #ffffff);
      color: black;
      font-weight: bold;
      cursor: pointer;
    }

    /* --- Container do Formulário --- */
    .container {
      width: 95%;
      max-width: 450px;
      max-height: 90vh; /* Permite que o formulário não ultrapasse a tela */
      overflow-y: auto; /* Adiciona scroll apenas DENTRO do formulário se necessário */
      padding: 25px;
      border-radius: 16px;
      background: rgba(20, 20, 20, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: white;
      
      /* Estado Inicial (Oculto) */
      opacity: 0;
      transform: translateY(40px);
      pointer-events: none;
      position: absolute;
      transition: 0.4s;
    }

    .container.active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: all;
      position: relative; 
    }

    .container h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    /* --- Inputs --- */
    input {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: none;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.08);
      color: white;
      font-size: 1rem;
    }

    input:focus {
      outline: 1px solid #00c853;
      background: rgba(255, 255, 255, 0.12);
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
      filter: invert(1);
      cursor: pointer;
    }
    .date-group {
      position: relative;
    }

    #dataF {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      cursor: pointer;
    }

    #dataReal {
      position: relative;
      z-index: 1;
      color: transparent;
    }

    #dataReal.active {
      color: white;
    }

    .custom-select { position: relative; }

    .options {
      position: absolute;
      width: 100%;
      background: #111;
      border-radius: 8px;
      max-height: 150px;
      overflow-y: auto;
      display: none;
      z-index: 10;
    }

    .options.show { display: block; }

    .option {
      padding: 10px;
      cursor: pointer;
      border-bottom: 1px solid #222;
    }
    .option:last-child { border-bottom: none; }
    .option:hover { background: #333; }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 5px; }

    .submit {
      width: 100%;
      padding: 12px;
      margin-top: 10px;
      border: none;
      border-radius: 10px;
      background: #00c853;
      color: white;
      font-weight: bold;
      cursor: pointer;
    }

    .termo {
      font-size: 11px;
      max-height: 140px;
      overflow-y: auto;
      background: rgba(255, 255, 255, 0.05);
      padding: 10px;
      border-radius: 8px;
      line-height: 1.4;
    }

    #pixModal {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.85);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: 0.3s;
      z-index: 999;
    }

    #pixModal.active {
      text-align: -webkit-center;
      opacity: 1;
      pointer-events: all;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
    }

    .modal.show {
      display: flex;
    }

    .modal-box {
      background: #121212;
      padding: 25px;
      border-radius: 15px;
      width: 90%;
      max-width: 600px;
      color: white;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    .modal-box h3 {
      margin-bottom: 15px;
      text-align: center;
    }

    #tabelaInscricoes {
      width: 100%;
      border-collapse: collapse;
    }

    #tabelaInscricoes thead {
      background: #00c853;
    }

    #tabelaInscricoes th {
      padding: 10px;
      text-align: center;
    }

    #tabelaInscricoes td {
      padding: 10px;
      text-align: center;
      border-bottom: 1px solid #333;
    }

    .btn-fechar {
      margin-top: 15px;
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 10px;
      background: #ff3b3b;
      color: white;
      font-weight: bold;
      cursor: pointer;
    }
    #btnMinhas {
      position: fixed;
      bottom: 35px;
      left: 50%;
      transform: translateX(-50%);

      padding: 14px 30px;
      font-size: 1rem;
      border: none;
      border-radius: 12px;

      background: linear-gradient(135deg, #00c853, #00e676);
      color: white;
      font-weight: bold;

      cursor: pointer;

      box-shadow: 0 5px 20px rgba(0, 200, 83, 0.4);
      transition: 0.3s;
    }
    .btn-zap {
      display: inline-block;
      width: 100%;
      padding: 10px;
      background: #25D366;
      border: none;
      border-radius: 8px;
      color: white;
      text-decoration: none;
      cursor: pointer;
      margin-bottom: 15px;
    }
    #btnCopiarCodigo{
      padding: 5px;
      border-radius: 5px;
      color: darkblue;
    }