
/* AFKAR'S Lucky Wheel SVG 2.1.0  */

.aflw-popup {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px 60px;
    border-radius: 36px;
    background: radial-gradient(circle at top, #1b2436 0, #050816 60%, #020311 100%);
    box-shadow: 0 40px 100px rgba(0,0,0,0.65);
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aflw-popup-inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.aflw-column-left {
    flex: 0 0 420px;
}

.aflw-column-right {
    flex: 1;
}

.aflw-wheel-outer {
    position: relative;
    width: 420px;
    height: 420px;
}

/* Rotor (roue) qui tourne */
.aflw-wheel-rotor-svg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 55%);
    overflow: visible;
    transform-origin: 50% 50%;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}

.aflw-wheel-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Pointer fixe à droite, pointe vers la roue */
.aflw-pointer-svg {
    position: absolute;
    top: 50%;
    right: -34px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #e6faff 0, #c2f1ff 40%, #7ad0ff 100%);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 5;
}

.aflw-pointer-svg-inner {
    width: 0;
    height: 0;
    border-style: solid;
    /* triangle pointant vers la gauche (vers la roue) */
    border-width: 12px 22px 12px 0;
    border-color: transparent #005f7a transparent transparent;
    transform: translateX(4px);
}

/* Slices & textes */
.aflw-slice-path {
    stroke: rgba(255,255,255,0.14);
    stroke-width: 1;
}

.aflw-slice-text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    text-transform: uppercase;
    letter-spacing: .08em;
    paint-order: stroke;
    stroke: rgba(0,0,0,0.6);
    stroke-width: 4;
}

/* Anneaux */
.aflw-ring-outer {
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
}

.aflw-ring-inner {
    fill: rgba(0,0,0,0.25);
    stroke: rgba(255,255,255,0.3);
    stroke-width: 3;
}

/* Centre immobile */
.aflw-center-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 6;
}

.aflw-center-circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #f5fbff 45%, #dde9f6 100%);
    box-shadow: 0 18px 50px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aflw-center-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #0b2247;
}

/* Texte côté droit */
.aflw-title {
    font-size: 30px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.aflw-description {
    font-size: 15px;
    line-height: 1.6;
    color: #c4d5f2;
    margin-bottom: 28px;
}

.aflw-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #8fb4ff;
    margin-bottom: 8px;
}

.aflw-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,253,0.5);
    background: rgba(15,23,42,0.9);
    color: #e5e7ff;
    outline: none;
    font-size: 14px;
    margin-bottom: 16px;
}

.aflw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #00a4c3, #0b2247);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(0, 128, 170, 0.7);
}

.aflw-rules {
    margin-top: 18px;
    padding-left: 18px;
    font-size: 13px;
    color: #9fb4ff;
}

.aflw-result-message {
    margin-top: 18px;
    font-size: 14px;
    color: #4ade80;
}

/* animation spin */
.aflw-wheel-rotor-svg.aflw-spinning {
    transition: transform 4.2s cubic-bezier(0.12, 0.65, 0.08, 1);
}
