:root {
  --primary: #ff9500;
  --secondary: #4a2c2a;
  --background: #1e1e24;
  --text: #f8f8f8;
  --accent: #ffc857;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text);
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 149, 0, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(255, 200, 87, 0.07) 0%, transparent 40%);
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.drink-display {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.drink-count {
  font-size: 5rem;
  font-weight: bold;
  color: var(--accent);
  z-index: 2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.drink-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, var(--primary), rgba(255, 149, 0, 0.7));
  transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top-left-radius: 100%;
  border-top-right-radius: 100%;
  z-index: 1;
}

.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 1.5rem 0;
}

button {
  background-color: var(--primary);
  color: var(--background);
  border: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background-color: var(--accent);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.status {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--accent);
  min-height: 1.5rem;
}

.bubbles {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -20px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  99% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

.drunk-level {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  transition: all 0.3s ease;
}

.drunk-emoji {
  font-size: 2.5rem;
  margin: 0.5rem;
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}

/* Admin specific styles */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  margin: 0;
}

.admin-icon {
  font-size: 2rem;
  margin-left: 1rem;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .drink-display {
    width: 150px;
    height: 150px;
  }
  
  .drink-count {
    font-size: 3.5rem;
  }
  
  button {
    font-size: 1.2rem;
    padding: 12px 24px;
  }
}