@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d0d0d;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

.stars {
  display: none;
}

.header-new {
  background: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid #333333;
  position: relative;
  z-index: 2;
}

.header-logo {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 15px;
}

.header-new h1 {
  font-size: 2.8em;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.header-new p {
  font-size: 1.2em;
  color: #b0b0b0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.main-new {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  position: relative;
  z-index: 1;
}

.container-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}

.form-section {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-section h2 {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.form-group-new {
  margin-bottom: 35px;
}

.form-group-new label {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.form-group-new label i {
  margin-right: 10px;
  color: #ffffff;
}

.input-new {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #333333;
  border-radius: 12px;
  font-size: 1.1em;
  transition: all 0.3s ease;
  background-color: #2a2a2a;
  color: #ffffff;
  font-weight: 500;
}

.input-new::placeholder {
  color: #666;
  font-weight: 400;
}

.input-new:focus {
  outline: none;
  border-color: #666666;
  background-color: #333333;
}

.gender-selector {
  display: flex;
  gap: 15px;
}

.gender-selector input[type="radio"] {
  display: none;
}

.gender-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 2px solid #333333;
  border-radius: 12px;
  background: #2a2a2a;
  color: #ffffff;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gender-label i {
  font-size: 1.3em;
  color: #ffffff;
}

.gender-selector input[type="radio"]:checked + .gender-label {
  background: #3a3a3a;
  border-color: #666666;
  color: #ffffff;
}

.gender-selector input[type="radio"]:checked + .gender-label i {
  color: #ffffff;
}

.btn-new {
  width: 100%;
  padding: 18px;
  background: #ffffff;
  color: #0d0d0d;
  border: none;
  border-radius: 12px;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 1px;
}

.btn-new:hover {
  background: #e0e0e0;
}

.btn-new:active {
  background: #cccccc;
}

.result-section {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 20px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.result-section p {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.result-section img {
  width: 280px;
  height: 280px;
  border-radius: 15px;
  border: 3px solid #333333;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.6s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.footer-new {
  background: #1a1a1a;
  border-top: 2px solid #333333;
  padding: 25px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-new p {
  font-size: 0.95em;
  color: #b0b0b0;
  letter-spacing: 0.3px;
}

.footer-new strong {
  color: #ffffff;
}

/* Responsivo */
@media (max-width: 1024px) {
  .container-new {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-section,
  .result-section {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .header-new h1 {
    font-size: 2em;
  }

  .header-new p {
    font-size: 1em;
  }

  .form-section h2 {
    font-size: 1.5em;
    margin-bottom: 25px;
  }

  .form-section {
    padding: 25px;
  }

  .gender-selector {
    gap: 10px;
  }

  .gender-label {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .gender-label span {
    display: none;
  }

  .gender-label i {
    font-size: 1.1em;
  }

  .result-section {
    padding: 25px;
  }

  .result-section img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .header-content h1 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 0.9em;
  }

  .container {
    padding: 25px;
  }

  .radio-group {
    flex-direction: column;
    gap: 15px;
  }

  .radio-item {
    min-width: 100%;
  }

  .resultado img {
    width: 200px;
    height: 200px;
  }
}

/* MOBILE PEQUENO - 480px */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  body {
    padding: 0;
    min-height: 100vh;
  }

  .header-new {
    padding: 25px 15px;
    border-bottom: 1px solid #333333;
  }

  .header-logo {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .header-new h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .header-new p {
    font-size: 0.9rem;
    color: #d0d0d0;
  }

  .main-new {
    padding: 20px 15px;
  }

  .container-new {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
  }

  .form-section,
  .result-section {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .form-section h2,
  .result-section p {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .form-group-new {
    margin-bottom: 15px;
  }

  .form-group-new label {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .input-new {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .gender-selector {
    gap: 8px;
    flex-wrap: wrap;
  }

  .gender-label {
    flex: 1;
    min-width: calc(50% - 4px);
    padding: 12px 10px;
    gap: 5px;
    font-size: 0.85rem;
  }

  .gender-label i {
    font-size: 1em;
  }

  .gender-label span {
    display: inline;
  }

  .btn-new {
    padding: 15px;
    font-size: 1rem;
    gap: 8px;
  }

  .result-section img {
    width: 150px;
    height: 150px;
    margin-top: 15px;
  }

  .result-section p {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .footer-new {
    padding: 15px;
  }

  .footer-new p {
    font-size: 0.85rem;
  }
}

/* MOBILE ULTRA PEQUENO - 375px */
@media (max-width: 375px) {
  html {
    font-size: 13px;
  }

  .header-new {
    padding: 20px 12px;
  }

  .header-logo {
    font-size: 2em;
    margin-bottom: 8px;
  }

  .header-new h1 {
    font-size: 1.3rem;
  }

  .header-new p {
    font-size: 0.85rem;
  }

  .main-new {
    padding: 15px 10px;
  }

  .container-new {
    gap: 10px;
  }

  .form-section,
  .result-section {
    padding: 15px;
  }

  .form-group-new {
    margin-bottom: 12px;
  }

  .form-group-new label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .input-new {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .gender-label {
    min-width: calc(50% - 3px);
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .btn-new {
    padding: 12px;
    font-size: 0.95rem;
  }

  .result-section img {
    width: 120px;
    height: 120px;
  }

  .footer-new {
    padding: 12px;
    font-size: 0.8rem;
  }
}

/* MELHORIAS DE ACESSIBILIDADE */
.header-new p,
.form-group-new label,
.input-new::placeholder {
  color: #c0c0c0;
  opacity: 1;
}

.gender-label {
  color: #e0e0e0;
}

/* Focus states para acessibilidade de teclado */
.input-new:focus-visible,
.btn-new:focus-visible {
  outline: 2px solid #666666;
  outline-offset: 2px;
}

.gender-label:focus-within {
  outline: 2px solid #666666;
  outline-offset: 2px;
}

.input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #00d4ff;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.input::placeholder {
  color: #666;
}

.input:focus {
  outline: none;
  border-color: #00ff88;
  background-color: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-item {
  flex: 1;
  min-width: 150px;
}

.radio-item input[type="radio"] {
  display: none;
}

.radio-label {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 2px solid #00d4ff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  user-select: none;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.02);
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #00d4ff;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.radio-item input[type="radio"]:checked + .radio-label {
  background: rgba(0, 212, 255, 0.15);
  border-color: #00ff88;
  color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.radio-item input[type="radio"]:checked + .radio-label .radio-custom {
  background: #00d4ff;
  border-color: #00ff88;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.radio-label i {
  margin-right: 8px;
}

.btn-verificar {
  width: 100%;
  padding: 15px;
  background-color: #00d4ff;
  color: #0a0e27;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  letter-spacing: 1px;
}

.btn-verificar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
  background-color: #00ff88;
}

.btn-verificar:active {
  transform: translateY(-1px);
}

.btn-verificar i {
  margin-right: 8px;
}

.resultado {
  margin-top: 30px;
  background: rgba(20, 25, 50, 0.9);
  border: 2px solid #00d4ff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow:
    0 8px 32px rgba(0, 212, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slideUp 0.6s ease-out;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.resultado img {
  margin-top: 20px;
  border-radius: 12px;
  width: 250px;
  height: 250px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid #00d4ff;
  object-fit: cover;
  animation: fadeIn 0.6s ease-out;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.resultado p {
  font-size: 1.3em;
  font-weight: 600;
  color: #00d4ff;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

footer {
  background: rgba(10, 14, 39, 0.8);
  color: #b0b0b0;
  text-align: center;
  padding: 20px;
  font-size: 0.95em;
  border-top: 2px solid #00d4ff;
  position: relative;
  z-index: 1;
}

footer p {
  letter-spacing: 0.5px;
}

/* Responsivo */
@media (max-width: 600px) {
  .header-content h1 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 0.9em;
  }

  .container {
    padding: 25px;
  }

  .radio-group {
    flex-direction: column;
    gap: 15px;
  }

  .radio-item {
    min-width: 100%;
  }

  .resultado img {
    width: 200px;
    height: 200px;
  }
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 30px;
}

.label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  font-size: 1.05em;
}

.input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1em;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.input:focus {
  outline: none;
  border-color: #667eea;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

.radio-label {
  margin-left: 10px;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

.btn-verificar {
  width: 100%;
  padding: 15px;
  background-color: #667eea;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-verificar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-verificar:active {
  transform: translateY(0);
}

.resultado {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resultado img {
  margin-top: 20px;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid #667eea;
  object-fit: cover;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.resultado p {
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

footer {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsivo */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 0.95em;
  }

  .container {
    padding: 25px;
  }

  .radio-group {
    flex-direction: column;
    gap: 15px;
  }

  .resultado img {
    width: 200px;
    height: 200px;
  }
}
