html,
body{
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background: linear-gradient(135deg, #ffe4e4 0%, #f1b7cd 100%);
  min-height: 100vh;   
}    
                                
main{            
  min-height: 100vh;   
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}               
                                         
.title{            
  color: white;  
  margin: 0 0 2rem 0;
  font-size: 3rem;
  font-weight:500;
}          

.game-container{
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 1000px;
  width: 100%;
}   

.character-display{
  position: relative;
  width: 300px;
  height: 400px;
  border: 3px solid #ddd;
  border-radius: 15px;
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
}

.character-layer{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.controls{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-control{
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid #e9ecef;
}

.category-control h3{
  margin: 0 0 1rem 0;
  color: #495057;
  font-size: 1.2rem;
  text-align: center;
}

.control-buttons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}       
              
.arrow-btn{     
  background: #ffe4e4;
  color: white;
  border: none;      
  border-radius: 50%;
  width: 50px;  
  height: 50px;       
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}     
          
.arrow-btn:hover{
  background: # 5a6fd8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}           
   
.arrow-btn:active{
  transform: translateY(0);
}   

.item-counter{
  background: #495057;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
}

.reset-section{
  text-align: center;
  margin-top: 1rem;
}

.reset-button{
  background: #dc3545;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
} 

.reset-button:hover{
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}       
}        
   
