/* ===== WIZADS – közös keret + sötét háttér ===== */

:root{
  --wizads-bg: #0f1116;
  --wizads-panel: rgba(255,255,255,0.06);
  --wizads-panel2: rgba(255,255,255,0.04);
  --wizads-border: rgba(255,255,255,0.14);
  --wizads-border2: rgba(255,255,255,0.08);
  --wizads-text: rgba(255,255,255,0.92);
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,0.06), transparent 55%),
              radial-gradient(900px 500px at 10% 30%, rgba(100,160,255,0.08), transparent 55%),
              radial-gradient(900px 500px at 90% 40%, rgba(255,120,200,0.06), transparent 55%),
              var(--wizads-bg);
  color: var(--wizads-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: grid;
  place-items: center;
  padding: 22px 14px;
}

.wizads-stage{
  width: min(620px, 100%);
}

.wizads-shell{
  border: 2px solid var(--wizads-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    inset 0 0 0 1px var(--wizads-border2);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.wizads-card{
  border: 1px solid var(--wizads-border2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--wizads-panel), var(--wizads-panel2));
  padding: 14px 14px;
  overflow: hidden;
}

/* ===== WIZBURGER (eredeti stílus) ===== */

.wizburger-root{
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  text-align: center;
}

.wizburger-logo{
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 42px;
  margin-bottom: 14px;
  white-space: nowrap;
}

.wizburger-logo .letter{
  display: inline-block;
  margin-right: 0.15em;
  opacity: 0;
}

.wizburger-tagline{
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes wizburger-popIn{
  from{ opacity: 0; transform: translateY(-80px) scale(0); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== SKOWER (eredeti stílus) ===== */

.skowerAd-root{
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.skowerAd-row{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.skowerAd-icon{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.skowerAd-icon:active{
  transform: scale(0.92);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.skowerAd-block{
  flex: 1 1 auto;
  min-width: 0;
}

.skowerAd-title{
  position: relative;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 26px;
  line-height: 1.15;
  overflow: hidden;
}

.skowerAd-text{
  display: inline-block;
  color: rgb(120, 135, 110);
  filter: blur(1.4px) saturate(0.6) brightness(0.9);
  transition: color 4s linear, filter 4s linear;
}

.skowerAd-root.is-clean .skowerAd-text{
  color: rgba(255,255,255,0.96);
  filter: none;
  transition: color 0.5s ease, filter 0.5s ease;
}

.skowerAd-wipe{
  position: absolute;
  top: -15%;
  left: -40%;
  width: 38%;
  height: 130%;
  background: linear-gradient(120deg, transparent 0%, rgba(140, 210, 255, 0.9) 50%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  opacity: 0;
}

@keyframes skowerWipe{
  from{ left: -40%; opacity: 1; }
  to{ left: 120%; opacity: 1; }
}

.skowerAd-tagline{
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

/* ===== DEBODOR (enyhén igazítva: body helyett belső keret) ===== */

.ad-frame{
  max-width: 520px;
  width: 100%;
  padding: 18px 16px 18px;
  border: 3px double #d4af37;
  position: relative;
  background: rgba(20, 20, 25, 0.35);
  text-align: center;
  box-shadow: 0 0 26px rgba(0,0,0,0.55), inset 0 0 35px rgba(212, 175, 55, 0.10);
  border-radius: 14px;
  margin: 0 auto;
}

.product-title{
  font-family: 'Cinzel Decorative', cursive;
  color: #d4af37;
  font-size: 1.5rem;
  margin: 0 0 6px 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.motto{
  font-size: 0.85rem;
  color: #a09070;
  font-style: italic;
  margin: 0 0 16px 0;
}

.main-content{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.potion-container{
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.bottle-flask{
  position: relative;
  width: 60px;
  height: 90px;
  cursor: pointer;
  animation: debodor-float 4s ease-in-out infinite;
  outline: none;
}

.flask-body{
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}

.neck{
  position: absolute;
  top: 10px;
  left: 20px;
  width: 20px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: none;
  z-index: 1;
}

.cork{
  position: absolute;
  top: 2px;
  left: 22px;
  width: 16px;
  height: 12px;
  background: #5d4037;
  border-radius: 2px;
  z-index: 3;
}

.liquid{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to top, #4a148c, #9c27b0);
  box-shadow: inset 0 0 15px rgba(255,255,255,0.3);
}

.visual-container{
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 10px;
  border: 1px solid #444;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hair-img{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-after{ opacity: 0; }

.state-transformed .img-before{ opacity: 0; }
.state-transformed .img-after{ opacity: 1; }
.state-transformed .visual-container{
  border-color: #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.reset-link{
  background: none;
  border: none;
  color: #7a7a7a;
  font-family: 'Eagle Lake', serif;
  font-size: 0.72rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  opacity: 0;
  transition: 0.5s;
}

.reset-link.visible{ opacity: 1; }
.reset-link:hover{ color: #d4af37; }

.debodor-drop{
  position: absolute;
  width: 6px;
  height: 10px;
  background: #9c27b0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 5px rgba(190, 41, 236, 0.9);
  animation: debodor-fall 0.7s ease-in forwards;
}

.debodor-sparkle{
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 50;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.75));
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95) 0 22%, rgba(212,175,55,0.9) 23% 36%, transparent 37% 100%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.2);
}

@keyframes debodor-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

@keyframes debodor-fall{
  to{ transform: translateY(120px); opacity: 0; }
}

@media (max-width: 420px){
  .wizburger-logo{ font-size: 34px; }
  .skowerAd-title{ font-size: 22px; }
}
