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

body{
font-family:Inter, Arial;
background:#050505;
color:white;
overflow-x:hidden;
}

.bg{
position:fixed;
width:100%;
height:100%;
background:
radial-gradient(circle at top left,#8a2be2,transparent 35%),
radial-gradient(circle at bottom right,#00ffe1,transparent 30%),
#000;
opacity:0.35;
z-index:-1;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
font-size:32px;
font-weight:900;
}

.top-right{
font-size:20px;
color:#00ffe1;
}

.hero{
text-align:center;
padding:40px 20px;
}

.hero h1{
font-size:70px;
font-weight:900;
background:linear-gradient(90deg,#00ffe1,#8a2be2);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero p{
color:#bbb;
font-size:20px;
margin-top:10px;
}

.game-wrapper{
display:flex;
justify-content:center;
align-items:flex-start;
gap:30px;
padding:30px;
flex-wrap:wrap;
}

.left-panel{
width:260px;
display:flex;
flex-direction:column;
gap:20px;
}

.panel-card{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
padding:20px;
border-radius:22px;
backdrop-filter:blur(12px);
box-shadow:0 0 20px rgba(138,43,226,0.25);
}

.panel-card h2{
margin-bottom:10px;
}

.big-score{
font-size:56px;
font-weight:bold;
color:#00ffe1;
}

.game-container{
background:rgba(255,255,255,0.05);
padding:25px;
border-radius:30px;
border:1px solid rgba(255,255,255,0.08);
box-shadow:0 0 30px rgba(0,255,225,0.15);
}

canvas{
background:#0c0c0c;
border-radius:20px;
border:2px solid rgba(255,255,255,0.08);
}

.buttons{
display:flex;
justify-content:center;
gap:15px;
margin-top:20px;
}

button{
background:linear-gradient(90deg,#8a2be2,#00bfff);
border:none;
padding:14px 26px;
border-radius:16px;
color:white;
font-size:18px;
cursor:pointer;
transition:0.25s;
font-weight:bold;
}

button:hover{
transform:translateY(-3px) scale(1.03);
}

.mobile-controls{
margin-top:25px;
text-align:center;
}

.row{
display:flex;
justify-content:center;
}

.mobile-controls button{
margin:5px;
padding:14px 20px;
}

input[type=range]{
width:100%;
}

footer{
text-align:center;
padding:40px;
color:#888;
}

@media(max-width:900px){
.hero h1{
font-size:46px;
}

canvas{
width:100%;
height:auto;
}

.game-container{
width:95%;
}

.left-panel{
width:95%;
}
}
