/* ==========================
   MAIN WRAPPER
========================== */
.lw-wrapper{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    z-index: 0; /* IMPORTANT */

    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;
    height:100vh;
    min-height:fit-content;
    border-bottom-right-radius: 150px;
    border-bottom-left-radius: 150px;

    padding:80px 40px;

    background: #000;
}

/* ==========================
   LIQUID GOLD BACKGROUND LAYERS
========================== */

/* soft drifting gold fog */
.lw-wrapper::before{
    content:"";
    position:absolute;
    inset:-40%;
    z-index:0;
    pointer-events:none;

    background:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 120, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 70% 20%, rgba(255, 180, 60, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 80, 0, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(255, 200, 90, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.9) 0%, transparent 60%);

    filter: blur(80px);
    opacity: 1;

    transform: scale(1.2);
    animation: liquidMove 28s ease-in-out infinite;
}

/* secondary depth layer */
.lw-wrapper::after{
    content:"";
    position:absolute;
    inset:-40%;
    z-index:0;
    pointer-events:none;

    background:
        radial-gradient(circle at 60% 40%, rgba(255, 210, 120, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 170, 50, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(0, 0, 0, 0.8) 0%, transparent 60%);

    filter: blur(100px);
    opacity: 0.8;

    transform: scale(1.3);
    animation: liquidMoveReverse 38s ease-in-out infinite;
}

/* ==========================
   ANIMATION
========================== */

@keyframes liquidMove{
    0%{
        transform: translate(-2%, -3%) scale(1.2);
    }
    50%{
        transform: translate(3%, 2%) scale(1.25);
    }
    100%{
        transform: translate(-2%, -3%) scale(1.2);
    }
}

@keyframes liquidMoveReverse{
    0%{
        transform: translate(3%, 2%) scale(1.3);
    }
    50%{
        transform: translate(-3%, -2%) scale(1.35);
    }
    100%{
        transform: translate(3%, 2%) scale(1.3);
    }
}

/* ==========================
   PARTICLES CANVAS (FULL BACKGROUND)
========================== */

#particles{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;

    z-index:1;
    pointer-events:none;
}

/* ==========================
   CONTENT LAYER (WHEEL + UI)
========================== */

.lw-content{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;

    flex-wrap:wrap; /* ✅ IMPORTANT */
}

/* ensure wheel side stays clean */
.lw-wheel-side{
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (max-width: 900px){

    .lw-wrapper{
        flex-direction:column;
        gap:40px;
        padding:80px 20px;
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .lw-content{
        flex-direction:column;
        gap:40px;
        width:100%;
    }

    .lw-content-side{
        max-width:100%;
        width:100%;
    }

    .lw-content-side h2{
        font-size:38px!important;
    }

    .lw-info{
        font-size:16px;
    }
}

/* ==========================
   OPTIONAL: WHEEL GLOW SUPPORT
========================== */

.wheel-container{
    position: relative;
    z-index:2;
    filter: drop-shadow(0 10px 35px rgba(255, 200, 80, 0.15));
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){
    .lw-wrapper{
        flex-direction:column;
        gap:40px;
    }
}




/* ==========================
   WHEEL
========================== */

.wheel-container{
    position:relative;
    width:420px;
    max-width:100%;
}

#wheel{
    width:100%;
    height:auto;
    filter:
        drop-shadow(0 10px 30px rgba(0,0,0,.25));
    overflow: visible;
}

/* white outer ring */

.segment{
    stroke:#ffffff;
    stroke-width:8;
}

/* centre circle */

#wheel::after{
    content:"";
}

@media only screen and (max-width: 500px) {
  .wheel-container {
    width: 300px;
}
    .fontsize-121727-custom {font-size:80px!important;}

}

/* ==========================
   POINTER
========================== */

.pointer{
    position:absolute;

    top:-20px;
    left:50%;
    transform:translateX(-50%);

    width:35px;
    height:45px;

    background: linear-gradient(
        135deg,
        #fff6c7 0%,
        #f7d774 25%,
        #d4af37 50%,
        #b8860b 75%,
        #fff1a8 100%
    );

    clip-path: polygon(50% 100%, 0 0, 100% 0);

    z-index:10;

    filter: drop-shadow(0 4px 6px rgba(0,0,0,.3));
}

/* ==========================
   WHEEL COLOURS
========================== */

.seg-1{
    fill:#00abc3;
}

.seg-2{
    fill:#ff9000;
}

.seg-3{
    fill:#00a943;
}

.seg-4{
    fill:#9e0e8c;
}

.seg-5{
    fill:#fbd731;
}

.seg-6{
    fill:#e30613;
}

/* ==========================
   SEGMENT TEXT
========================== */

.seg-text{

    fill:#ffffff;

    font-size:30px;
    font-weight:700;

    text-transform:uppercase;
}

/* ==========================
   RIGHT SIDE
========================== */

.lw-content-side{
    max-width:600px;
    z-index:2;
}

.lw-content-side h2{
    max-width:500px;
    text-align: center;
    font-size:60px!important;
    line-height:1.1;
    margin-bottom:25px;
    margin-left: auto;
    margin-right: auto;
    color:#FDDC5C!important;
}

.lw-content-side h2 span{
    color:#fff;
}

.lw-info{

    color:#fff;
    font-size:20px;
    line-height:1.6;
    text-align: center;
    margin-bottom:20px;
}


/* ==========================
   EMAIL
========================== */

#lw_email{

    width:100%;
    height:56px;

    border:none;
    border-radius:4px;

    padding:0 18px;

    font-size:18px;

    margin-bottom:20px;
    text-align: center;
}

/* ==========================
   SPIN BUTTON
========================== */

#spinBtn{

    width:100%;
    height:60px;

    border:none;
    border-radius:4px;

    background:#FDDC5C;
    color:#000000;

    font-size:20px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

#spinBtn:hover{
    transform:translateY(-2px);
}

#spinBtn:disabled{

    opacity:.5;
    cursor:not-allowed;
}

/* ==========================
   RESULT
========================== */

#result{
    margin-top:25px;
    font-size:25px;
    font-weight:700;
    color:#fff!important;
    background-color: #000000;
    border-radius: 30px;
    padding: 20px;
    display:none;
    text-align: center;
}

/* ==========================
   CLAIM BUTTON
========================== */
.hubspot-btn{
    display:block;              /* IMPORTANT */
    margin-top: 20px;
    width:100%;
    height:60px;

    border:none;
    border-radius:4px;

    background:#FDDC5C;
    color:#000000;

    font-size:20px;
    font-weight:700;
    
    text-align: center;
    padding: 18px;

    cursor:pointer;
    text-decoration:none;       /* IMPORTANT (remove link underline) */

    display:flex;              /* centers text perfectly */
    align-items:center;
    justify-content:center;

    transition:.3s;
}

.hubspot-btn:hover{
    transform:translateY(-2px);
    color:#000000;
}