* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 1200px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 3rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.header p {
  color: #666;
  font-size: 1.2rem;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.wheel-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin-bottom: 30px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  transition: transform 3s cubic-bezier(0.23, 1, 0.32, 1);
  background: conic-gradient(
    from 0deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #f9ca24,
    #f0932b,
    #eb4d4b,
    #6c5ce7,
    #a29bfe
  );
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #fff;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.wheel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.spin-button {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.invite-button {
  background: linear-gradient(45deg, #00b894, #55efc4);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.invite-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.spin-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.spin-button:active {
  transform: translateY(0);
}

.spin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.controls-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.controls-section h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #667eea;
}

.add-button {
  background: linear-gradient(45deg, #4ecdc4, #45b7d1);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 20px;
}

.add-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.choices-list {
  max-height: 300px;
  overflow-y: auto;
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.choice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border-left: 4px solid #667eea;
  animation: slideIn 0.3s ease;
}

.choice-item:last-child {
  margin-bottom: 0;
}

.choice-text {
  flex: 1;
  color: #333;
  font-weight: 500;
}

.delete-button {
  background: #000000ad;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.delete-button:hover {
  background: #222222;
}

.result-display {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 50px;
  padding-left: 100px;
  padding-right: 100px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  text-align: center;
  backdrop-filter: blur(10px);
}

.share-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  text-align: center;
  backdrop-filter: blur(10px);
  max-width: 500px;
  width: 90%;
}

.share-modal.show {
  display: block;
  animation: popIn 0.5s ease;
}

.share-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.share-button {
  background: #f5f5f5;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-button:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.share-button.whatsapp {
  background: #25d366;
  color: white;
}

.share-button.facebook {
  background: #3b5998;
  color: white;
}

.share-button.twitter {
  background: #1da1f2;
  color: white;
}

.share-button.email {
  background: #dd4b39;
  color: white;
}

.share-button.link {
  background: #667eea;
  color: white;
}

.share-url {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

.close-share {
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.result-display.show {
  display: block;
  animation: popIn 0.5s ease;
}

.result-display h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.result-text {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 20px;
}

.close-button {
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.stats-section {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

.stats-section h3 {
  color: #333;
  margin-bottom: 15px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #667eea;
  border-radius: 50%;
  animation: float 3s ease-out forwards;
}

/* Adstera Banner Styles */
.adstera-banner {
  width: 100%;
  margin: 20px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.adstera-banner.top {
  margin-bottom: 30px;
}

.adstera-banner.bottom {
  margin-top: 30px;
}

.collaboration-section {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

.collaboration-section h3 {
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.room-id-display {
  display: flex;
  margin-bottom: 15px;
}

.room-id-input {
  flex: 1;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
}

.copy-room-button {
  background: #667eea;
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 0.9rem;
}

.collaborators-list {
margin-top: 20px; /* or any value you want */
}

.invite-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.collaborator {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}

.collaborator-color {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.online-badge {
display: inline-block;
width: 10px;
height: 10px;
background-color: #4caf50;
border-radius: 50%;
margin-left: 5px;
}

.new-room-button {
background: linear-gradient(45deg, #f0932b, #f9ca24);
color: white;
border: none;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
font-size: 0.9rem;
margin-top: 10px;
width: 100%;
}



@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 950px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wheel-container {
    width: 300px;
    height: 300px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .container {
    padding: 20px;
  }
}
@media (max-width: 450px) {
  .banh {
    display: none;
  }
}
@media (min-width: 451px) {
  .band {
    display: none;
  }
}