.elementor-50261 .elementor-element.elementor-element-f4ef1e6{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;overflow:visible;}.elementor-50261 .elementor-element.elementor-element-f4ef1e6:not(.elementor-motion-effects-element-type-background), .elementor-50261 .elementor-element.elementor-element-f4ef1e6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#070F19;}/* Start custom CSS for html, class: .elementor-element-7f2ab0c *//* Contenitore app */
.app {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 8px;
}

.header h1{
    color: white;
}

/* Schermate */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* Header */
.header {
  text-align: center;
  padding: 16px 8px 8px;
}

.header.compact {
  padding-bottom: 4px;
}

.header h1 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 6px;
}

/* Card generica */
.card {
  background: rgba(9, 23, 35, 0.96);
  border-radius: 16px;
  padding: 16px 14px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(64, 160, 255, 0.3);
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  margin-top: 6px;
}

/* Testi piccoli */
.small {
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Form */
.form-group {
  margin-top: 12px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(128, 156, 181, 0.8);
  background: rgba(4, 13, 23, 0.96);
  color: #f4f7fa;
  font-size: 0.9rem;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: rgba(170, 187, 204, 0.7);
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: #45b0ff;
  box-shadow: 0 0 0 1px rgba(69, 176, 255, 0.35);
}

.checkbox-group {
  margin-top: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
}

/* Errori form */
.error-message {
  min-height: 14px;
  font-size: 0.7rem;
  color: #ff6b81;
  margin-top: 2px;
}

/* Note privacy */
.privacy-note {
  margin-top: 8px;
  color: rgba(200, 210, 220, 0.8);
}

/* Bottoni */
.btn-primary,
.btn-secondary {
  width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease,
    background 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00b3ff, #19e0ff);
  color: #04101d;
  box-shadow: 0 6px 14px rgba(0, 179, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0, 179, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #e4f2ff;
  border: 1px solid rgba(130, 180, 230, 0.7);
}

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

/* HUD gioco */
.game-card {
  margin-top: 8px;
}

.hud {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hud-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 3px;
}

.hud-label {
  font-size: 0.78rem;
  opacity: 0.8;
}

.hud-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.hud-unit {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Istruzioni */
.instructions {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: rgba(220, 233, 245, 0.95);
}

.red-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4b5c;
  box-shadow: 0 0 6px rgba(255, 75, 92, 0.9);
}

/* Duct visual */
#duct-visual {
  background: radial-gradient(circle at top, #1a2d3f 0%, #050c13 45%);
  border-radius: 18px;
  padding: 12px 10px 14px;
  border: 1px solid rgba(120, 180, 230, 0.4);
  position: relative;
}

.duct-label {
  font-size: 0.72rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(180, 208, 234, 0.9);
  margin-bottom: 8px;
}

/* Griglia di fori */
.holes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 6px 4px;
}

/* Singolo foro */
.hole {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e6f5ff 0%, #0095ff 40%, #004a80 70%, #001d33 100%);
  box-shadow: 0 0 10px rgba(0, 150, 255, 0.4);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  cursor: pointer;
}

/* Stato: foro libero (aria che fluisce) */
.hole::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0, 240, 255, 0.2), transparent 60%);
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: air-pulse 1.6s ease-in-out infinite;
}

/* Stato: foro intasato */
.hole.clogged {
  background: radial-gradient(circle at 30% 30%, #ffdede 0%, #ff4b5c 40%, #801020 75%, #300008 100%);
  box-shadow: 0 0 12px rgba(255, 75, 92, 0.8);
}

.hole.clogged::after {
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.45), transparent 70%);
  opacity: 0.9;
  animation: none;
}

/* Toccare il foro */
.hole:active {
  transform: scale(0.96);
}

/* Animazione aria */
@keyframes air-pulse {
  0% {
    opacity: 0.2;
    transform: translateY(8%);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-6%);
  }
  100% {
    opacity: 0.2;
    transform: translateY(8%);
  }
}

/* Stato di gioco (messaggi brevi) */
.game-status {
  margin-top: 8px;
  font-size: 0.78rem;
  min-height: 14px;
  color: rgba(188, 220, 255, 0.95);
}

/* Schermata finale */
.final-score-text {
  margin-top: 10px;
  font-size: 0.95rem;
}

.final-score-text span {
  font-weight: 700;
  font-size: 1.2rem;
}

.final-message {
  margin-top: 8px;
  font-size: 0.9rem;
}

.save-status {
  margin-top: 6px;
  min-height: 14px;
  color: rgba(180, 210, 240, 0.9);
}

/* Responsività base */
@media (min-width: 480px) {
  .header h1 {
    font-size: 1.4rem;
  }
  .card {
    padding: 18px 18px 22px;
  }
  .holes-grid {
    gap: 14px;
  }
}



#countdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 23, 35, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.countdown-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(180, 208, 234, 0.9);
  margin-bottom: 28px;
}

#countdown-number {
  font-size: 8rem;
  font-weight: 900;
  color: #00b3ff;
  line-height: 1;
  animation: countdown-pop 0.9s ease-out forwards;
}

#countdown-number.go {
  font-size: 4rem;
  letter-spacing: 0.15em;
  color: #19e0ff;
}

@keyframes countdown-pop {
  0%   { transform: scale(1.8); opacity: 0; }
  40%  { transform: scale(0.9); opacity: 1; }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-f4ef1e6 */.text-white, #game-screen h1{
    
    color:white!important;
}

.elementor-location-header{
    display: none;
}/* End custom CSS */