* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Verdana', sans-serif;
  background: linear-gradient(135deg, #1B244A, #0E1626);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 30px;
  background-color: #111;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
  text-align: center;
}

.main-title {
  font-size: 32px;
  margin-bottom: 30px;
  letter-spacing: 2px;
  color: #FFFAFA;
  text-transform: uppercase;
}

.teams-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.team {
  flex: 1;
  text-align: center;
}

.team-title {
  font-size: 32px;
  margin-bottom: 15px;
  letter-spacing: 2px;
  color: #FFFAFA;
}

.score-container {
  margin-bottom: 20px;
}

.score-bgd {
  background-color: #080001;
  border-radius: 10px;
  padding: 20px 40px;
  display: inline-block;
  min-width: 150px;
}

.score {
  font-family: 'Cursed Timer ULiL', monospace;
  font-size: 80px;
  color: #F94F6D;
  display: block;
}

.points {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-plus {
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid #9AABD8;
  color: #9AABD8;
  background-color: transparent;
  font-family: 'Cursed Timer ULiL', monospace;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-plus:hover {
  background-color: #9AABD8;
  color: #1B244A;
  transform: scale(1.05);
}

.btn-plus:active {
  transform: scale(0.95);
}

.separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.period-container {
  text-align: center;
}

.period-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #FFFAFA;
}

.period-bgd {
  background-color: #080001;
  border-radius: 10px;
  padding: 15px 25px;
  margin-bottom: 15px;
  display: inline-block;
}

.period-bgd span {
  font-family: 'Cursed Timer ULiL', monospace;
  font-size: 40px;
  color: #F94F6D;
}

.period-controls {
  display: flex;
  gap: 10px;
}

.btn-period {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #9AABD8;
  color: #9AABD8;
  background-color: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-period:hover {
  background-color: #9AABD8;
  color: #1B244A;
}

.controls {
  margin-top: 20px;
}

.btn-reset {
  padding: 12px 30px;
  border-radius: 8px;
  border: 2px solid #F94F6D;
  color: #F94F6D;
  background-color: transparent;
  font-family: 'Verdana', sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-reset:hover {
  background-color: #F94F6D;
  color: #1B244A;
  transform: scale(1.05);
}

.btn-reset:active {
  transform: scale(0.95);
}

/* Responsive design */
@media (max-width: 768px) {
  .teams-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .separator {
    order: -1;
    margin-bottom: 20px;
  }
  
  .main-title {
    font-size: 24px;
  }
  
  .team-title {
    font-size: 28px;
  }
  
  .score {
    font-size: 60px;
  }
  
  .score-bgd {
    padding: 15px 30px;
    min-width: 120px;
  }
}