.gr-widget{max-width:520px;margin:0 auto;font-family:inherit;padding:0 15px}
.gr-head{margin-bottom:14px}
.gr-title{font-weight:800;font-size:22px;line-height:1.2}
.gr-caption{margin-top:8px;font-size:14px;line-height:1.4;opacity:.9}

.gr-stage{display:flex;flex-direction:column;gap:10px;align-items:stretch}

.gr-wheel-wrap{position:relative;display:flex;justify-content:center;align-items:center;padding:0 20px}

/* Canvas */
.gr-wheel{
  display:block;
  width:100%;
  max-width:420px;
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  position:relative;
  z-index:1;
}

.gr-wheel.gr-idle-enabled{
  animation:gr-idle-spin 20s linear infinite;
}

@keyframes gr-idle-spin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

.gr-wheel.gr-spinning{
  animation:none;
}

/* Pointer rechts - feiner eleganter Pfeil */
.gr-pointer{
  --pointer-color: rgb(148,17,150);
  position:absolute;
  right:5px;
  top:50%;
  transform:translateY(-50%);
  width:0;
  height:0;
  z-index:10;
}

.gr-pointer::before{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  border-right:16px solid var(--pointer-color);
  filter:drop-shadow(-2px 0 3px rgba(0,0,0,.2));
}

.gr-pointer::after{
  content:"";
  display:none;
}

/* Center-Cap + Logo exakt mittig */
.gr-cap{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:78px;
  height:78px;
  border-radius:999px;
  background:#0b0b0b;
  border:3px solid rgba(255,255,255,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9;
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.gr-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
}

.gr-btn{border:0;border-radius:6px;padding:12px 18px;font-weight:800;font-size:18px;cursor:pointer;background:#DC2626;color:#fff;width:100%}
.gr-btn[disabled]{opacity:.6;cursor:not-allowed}
.gr-decline{font-size:13px;opacity:.8;text-align:center;cursor:pointer;user-select:none;margin-top:8px}

.gr-result{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px;box-sizing:border-box;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}
.gr-result[hidden]{display:none}
.gr-result-content{width:min(600px,100%);max-width:100%;text-align:center;color:#fff;position:relative;z-index:2;transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0)}
.gr-result-title{font-weight:700;font-size:28px;line-height:1.3;margin-bottom:20px}
.gr-result-value{font-weight:900;font-size:48px;line-height:1.2;margin:20px 0;color:#fff}
.gr-result-subtitle{font-size:28px;font-weight:700;margin-bottom:15px}
.gr-result-instructions{font-size:16px;margin:15px 0 25px;opacity:0.95}
.gr-claim-btn{border:0;border-radius:8px;padding:18px 40px;font-weight:900;font-size:20px;cursor:pointer;background:#DC2626;color:#fff;width:100%;max-width:400px;text-transform:uppercase;transition:all 0.3s;box-shadow:0 4px 12px rgba(220,38,38,0.4)}
.gr-claim-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(220,38,38,0.6)}
.gr-result-footer{margin-top:30px;padding-top:20px;border-top:1px solid rgba(255,255,255,0.2)}
.gr-result-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:14px;opacity:0.8}

/* Konfetti Animation */
.gr-confetti{position:fixed;width:10px;height:10px;top:-10px;z-index:100000;animation:gr-confetti-fall linear forwards;pointer-events:none}

@keyframes gr-confetti-fall{
  to{transform:translateY(100vh) rotate(360deg);opacity:0}
}

.gr-footer{margin-top:14px;font-size:12px;opacity:.85;text-align:center}
.gr-links a{color:inherit;text-decoration:underline}
.gr-sep{margin:0 8px}

/* Mobile Optimierung */
@media (max-width: 640px) {
  .gr-widget{padding:0 10px}
  .gr-title{font-size:20px}
  .gr-caption{font-size:13px}
  
  .gr-wheel-wrap{padding:0 10px}
  
  .gr-result{padding:20px}
  .gr-result-card{
    width:calc(100% - 40px);
    max-width:420px;
    margin:0 auto;
  }
  
  .gr-pointer::before{
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
    border-right:13px solid var(--pointer-color);
  }
  
  .gr-cap{
    width:64px;
    height:64px;
  }
  
  .gr-logo{
    width:46px;
    height:46px;
  }
  
  .gr-btn{font-size:16px;padding:11px 16px}
  .gr-decline{font-size:12px}
  
  .gr-result-title{font-size:20px}
  .gr-result-value{font-size:36px}
  .gr-result-subtitle{font-size:22px}
  .gr-result-instructions{font-size:14px}
  .gr-claim-btn{font-size:16px;padding:14px 32px}
  .gr-result-code{font-size:13px}
  .gr-footer{font-size:11px}
}

@media (max-width: 400px) {
  .gr-title{font-size:18px}
  .gr-caption{font-size:12px}
  
  .gr-result-title{font-size:17px}
  .gr-result-value{font-size:32px}
  .gr-result-subtitle{font-size:20px}
  .gr-result-instructions{font-size:13px}
  .gr-claim-btn{font-size:15px;padding:12px 28px}
  
  .gr-cap{
    width:56px;
    height:56px;
  }
  
  .gr-logo{
    width:40px;
    height:40px;
  }
  
  .gr-pointer::before{
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-right:11px solid var(--pointer-color);
  }
}

/* Conversion-Features: Live-Validation Icons */
.gr-validation-icon{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  font-weight:900;
  display:none;
}

/* Exit-Intent Popup */
.gr-exit-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:100000;
  display:none;
  align-items:center;
  justify-content:center;
}

.gr-exit-popup:not([hidden]){
  display:flex;
}

.gr-exit-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  backdrop-filter:blur(8px);
  z-index:1;
}

.gr-exit-content{
  position:relative;
  z-index:2;
  background:#fff;
  border-radius:16px;
  padding:40px 30px;
  max-width:480px;
  width:90%;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
  animation:gr-exit-slide-in 0.3s ease-out;
}

@keyframes gr-exit-slide-in{
  from{
    opacity:0;
    transform:translateY(-50px) scale(0.9);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.gr-urgency-badge{
  display:inline-block;
  margin-left:8px;
  padding:4px 8px;
  background:#fde68a;
  color:#92400e;
  font-size:12px;
  font-weight:700;
  border-radius:4px;
  white-space:nowrap;
}

/* Mobile Exit-Popup */
@media (max-width: 640px) {
  .gr-exit-content{
    padding:30px 20px;
    width:95%;
  }
  
  .gr-exit-icon{
    font-size:48px !important;
  }
  
  .gr-exit-title{
    font-size:20px !important;
  }
  
  .gr-exit-message{
    font-size:14px !important;
  }
  
  .gr-exit-buttons{
    flex-direction:column;
  }
  
  .gr-urgency-badge{
    display:block;
    margin:10px 0 0 0;
  }
}
