*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(135deg,#0f5132,#198754,#20c997);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.container{
    width:100%;
    max-width:1300px;
}

header{
    text-align:center;
    color:#fff;
    margin-bottom:30px;
}

header h1{
    font-size:42px;
    margin-bottom:10px;
}

header p{
    font-size:18px;
    opacity:.9;
}

.main{
    display:flex;
    gap:40px;
    align-items:flex-start;
    justify-content:center;
    flex-wrap:wrap;
}

/* ===========================
   WHEEL
=========================== */

.wheel-section{
    width:560px;
    background:#fff;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.pointer{
    font-size:40px;
    color:#dc3545;
    margin-bottom:10px;
}

#wheel{
    width:500px;
    max-width:100%;
    border-radius:50%;
    border:8px solid #198754;
    background:#fff;
    box-shadow:0 0 25px rgba(0,0,0,.15);
}

#spinBtn{
    margin-top:25px;
    width:100%;
    padding:15px;
    font-size:22px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#198754;
    color:#fff;
    transition:.3s;
    font-weight:bold;
}

#spinBtn:hover{
    background:#146c43;
}

#spinBtn:disabled{
    background:#999;
    cursor:not-allowed;
}

/* ===========================
   PANEL
=========================== */

.info{
    width:360px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.card h2{
    color:#198754;
    margin-bottom:15px;
    font-size:24px;
}

.card h3{
    font-size:34px;
    color:#dc3545;
}

#sessionName{
    font-size:28px;
    font-weight:bold;
}

#winner{
    font-size:30px;
    font-weight:bold;
    color:#198754;
    text-align:center;
    padding:15px;
}

#history{
    list-style:none;
}

#history li{
    padding:10px 0;
    border-bottom:1px solid #eee;
    font-size:18px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.main{
    flex-direction:column;
    align-items:center;
}

.info{
    width:100%;
    max-width:560px;
}

}

@media(max-width:600px){

header h1{
    font-size:28px;
}

#wheel{
    width:340px;
    height:340px;
}

.pointer{
    font-size:32px;
}

#spinBtn{
    font-size:18px;
}

.card h2{
    font-size:20px;
}

#winner{
    font-size:24px;
}

}