/* roulette.css — أنماط خاصة بلعبة الروليت
   ✅ يعتمد على base.css للأساسيات */

body.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.footer { margin-top: auto; }

/* Back button */
.back-home {
  position: absolute;
  top: 15px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.back-home:hover { background: #8c2502; }

/* Hero */
.hero { text-align: center; margin: 30px 0; }
.hero .logo {
  margin: 0 auto 12px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .logo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin: 0; color: var(--secondary); font-size: 2rem; }
.hero p { color: var(--muted); margin-top: 6px; }

/* Roulette container */
.roulette-container {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 24px;
  border-radius: 12px;
  background: var(--card);
  color: #000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.roulette-title {
  color: var(--primary);
  margin: 0 0 20px;
  font-size: 1.4rem;
  text-align: center;
}

/* Wheels layout */
.roulette-wheels {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.wheel-block {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}
.wheel-block h3 { color: var(--primary); margin-bottom: 10px; }
.wheel-block canvas {
  margin-top: 15px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fafafa;
  display: block;
}

/* Inputs */
.roulette-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.roulette-inputs input {
  padding: 10px 14px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  min-width: 200px;
}
.roulette-inputs button {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.roulette-inputs button:hover {
  background: #811f00;
  transform: translateY(-2px);
}

/* Names list */
.names-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.names-list span {
  background: var(--secondary);
  color: #000;
  padding: 6px 10px;
  border-radius: 8px;
  margin: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.names-list button {
  margin-left: 6px;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
}

/* Spin button */
.spin-btn {
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--secondary);
  color: #000;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background .2s, transform .2s;
}
.spin-btn:hover {
  background: #f7e3b3;
  transform: translateY(-2px);
}

/* Winner display */
.winner-display {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 800;
  text-align: center;
}
