*{margin:0;padding:0;box-sizing:border-box;font-family:"Poppins"}body{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;background-color:#000}main{border-radius:16px;padding:30px 40px;max-width:600px;width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:30px;position:relative;z-index:10}.boxScore{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#fff;color:#fff;padding:14px 30px;border-radius:30px;font-weight:700;font-size:20px;display:flex;align-items:center;gap:12px;animation:gradientBoxScore 5s ease infinite}@keyframes gradientBoxScore{0%{background-color:green}50%{background-color:hotpink}100%{background-color:green}}@keyframes slideInLeft{0%{opacity:0;transform:translateX(-20px) scale(.8)}50%{opacity:1;transform:translateX(0) scale(1.2)}100%{opacity:0;transform:translateX(-10px) scale(.9)}}@keyframes slideInRight{0%{opacity:0;transform:translateX(20px) scale(.8)}50%{opacity:1;transform:translateX(0) scale(1.2)}100%{opacity:0;transform:translateX(10px) scale(.9)}}.scorePlayer,.scoreComputer{font-size:24px;min-width:32px;text-align:center;padding:0 10px;border-radius:12px}.scorePlayer{background-color:#4caf50}.scoreComputer{background-color:red}#boxPlayer,#boxComputer{border-radius:12px;width:220px;display:flex;flex-direction:column;align-items:center;padding:20px;gap:18px;animation:gradientBox 5s ease infinite}@keyframes gradientBox{0%{background-color:red}50%{background-color:#d1d1d1}100%{background-color:#f40}}#boxPlayer h2,#boxComputer h2{font-size:22px;color:#000;letter-spacing:1.2px;font-weight:700;margin-bottom:10px}#boxPlayer img,#boxComputer img{width:120px;height:120px;object-fit:contain;border-radius:16px;box-shadow:0 8px 20px rgb(0 0 0 / .15);background-color:#fff}#boxPlayer button,#boxComputer button{background-color:#fff0;border:1px solid;border-radius:30px;color:#fff;font-weight:600;font-size:18px;padding:12px 28px;cursor:pointer;transition:background-color 0.3s ease;user-select:none}#boxPlayer button:hover{background-color:red}.startGame,.resetGame,.rules{display:flex;align-items:center;justify-content:center;text-align:center;width:60px;height:60px;border-radius:50%;color:#fff;cursor:pointer;font-size:18px;font-weight:700;transition:background-color 0.3s ease-out}.startGame{animation:gradientStart 5s ease infinite}.resetGame{animation:gradientReset 5s ease infinite}.rules{animation:gradientRules 5s ease infinite;color:#000}@keyframes gradientStart{0%{background-color:#388e3c}50%{background-color:red;color:#fff}100%{background-color:#388e3c}}@keyframes gradientReset{0%{background-color:#006eff}50%{background-color:red;color:#fff}100%{background-color:#006eff}}@keyframes gradientRules{0%{background-color:#fff700}50%{background-color:red;color:#fff}100%{background-color:#fff700}}.buttonGroup{display:flex;justify-content:center;align-items:center;gap:20px;width:100%}.buttonGroup .startGame,.buttonGroup .resetGame{position:relative;top:auto;left:auto;width:60px;height:60px;font-size:18px;border-radius:50%}.statusGame{width:100%;margin-top:50px;font-size:20px;font-weight:700;text-align:center;color:#fff;min-height:28px}@media (max-width:480px){main{padding:16px;gap:20px}#boxPlayer,#boxComputer{flex-direction:column;align-items:center;padding:12px;max-width:100%}#boxPlayer h2,#boxComputer h2{font-size:16px;text-align:center}#boxPlayer img,#boxComputer img{width:60px;height:60px}#boxPlayer button,#boxComputer button{width:100%;padding:10px;font-size:14px}.boxScore{font-size:14px;padding:6px 16px}.startGame,.resetGame,.rules{width:46px;height:46px;font-size:12px}.statusGame{font-size:16px}.buttonGroup{gap:14px}.buttonGroup .startGame,.buttonGroup .resetGame{width:46px;height:46px;font-size:12px}}footer{text-align:center;padding:20px;color:#fff;margin-bottom:0;font-size:16px;animation:rotate 2s infinite}@keyframes rotate{0%{color:#006eff}50%{color:red}100%{color:#006eff}}.popup{display:none;position:fixed;z-index:9999;top:0;left:0;width:100%;height:100%;background-color:rgb(0 0 0 / .7);justify-content:center;align-items:center}.popup-content{background-color:#fff;color:#000;padding:30px 25px;border-radius:14px;max-width:800px;width:100%;text-align:center;font-size:15px;gap:10px}p{font-size:16px}h2{margin-top:20px}.popup-content h1{margin-bottom:10px}.popup-content button{margin-top:20px;padding:10px 20px;border:none;background-color:red;color:#fff;font-weight:700;border-radius:8px;cursor:pointer}.popup-content button:hover{background-color:#2e7d32}
