/* GALLATS newsletter pop-up */
.gnp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 45, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: gnp-fade 0.35s ease-out;
}
@keyframes gnp-fade { from {opacity:0;} to {opacity:1;} }

.gnp-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: gnp-slide 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@keyframes gnp-slide {
  from {transform: translateY(40px) scale(0.94); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}

.gnp-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #aaa;
  padding: 4px 12px;
  transition: color 0.15s;
}
.gnp-close:hover { color: #333; }

.gnp-logo {
  max-width: 160px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  animation: gnp-pulse 2s ease-in-out infinite;
}
@keyframes gnp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.gnp-znacka {
  display: inline-block;
  background: linear-gradient(135deg, #f9a825 0%, #ff6f00 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gnp-modal h3 {
  font-size: 26px;
  margin: 0 0 12px 0;
  color: #0a7c3a;
  font-weight: 800;
  line-height: 1.2;
}

.gnp-modal .gnp-podnadpis {
  color: #555;
  margin: 0 0 24px 0;
  font-size: 15px;
  line-height: 1.5;
}

.gnp-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 12px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: inherit;
}
.gnp-input:focus {
  border-color: #0a7c3a;
  outline: none;
}

.gnp-souhlas {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #777;
  margin: 12px 0 18px;
  text-align: left;
  line-height: 1.4;
}
.gnp-souhlas input {
  margin-top: 2px;
  flex-shrink: 0;
}
.gnp-souhlas a { color: #0a7c3a; text-decoration: underline; }

.gnp-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #0a7c3a 0%, #0a6b32 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.gnp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 124, 58, 0.35);
}
.gnp-btn:disabled {
  background: #999;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.gnp-drobne {
  margin-top: 14px;
  font-size: 12px;
  color: #999;
}

/* Úspěch */
.gnp-uspech {
  display: none;
  animation: gnp-fade 0.4s ease-out;
}
.gnp-uspech-icon {
  font-size: 64px;
  margin-bottom: 8px;
}
.gnp-uspech h3 { color: #0a7c3a; margin-bottom: 8px; }
.gnp-kod {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border: 2px dashed #f9a825;
  padding: 20px;
  font-size: 28px;
  font-weight: 800;
  color: #e65100;
  letter-spacing: 3px;
  border-radius: 10px;
  margin: 20px 0 14px;
  font-family: "Courier New", monospace;
}
.gnp-kopirovat {
  background: transparent;
  border: 1px solid #0a7c3a;
  color: #0a7c3a;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.gnp-kopirovat:hover { background: #0a7c3a; color: #fff; }
.gnp-kopirovat.zkopirovano { background: #0a7c3a; color: #fff; }

/* Mobil */
@media (max-width: 500px) {
  .gnp-modal { padding: 32px 24px 24px; border-radius: 12px; }
  .gnp-modal h3 { font-size: 22px; }
  .gnp-kod { font-size: 22px; padding: 16px; }
  .gnp-icon { font-size: 48px; }
}
