:root {
  --bg: #0f172a;
  --card: #1e293b;
  --card-2: #334155;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --gray: #64748b;
  --border: rgba(255, 255, 255, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #020617, #0f172a, #111827);
  color: var(--text);
}
.app {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
.topbar {
  text-align: center;
  margin-bottom: 20px;
}
.topbar h1 {
  margin-bottom: 8px;
  font-size: 2.2rem;
}
.topbar p {
  margin: 0;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  flex: 1;
  border: none;
  padding: 14px;
  border-radius: 12px;
  background: var(--card-2);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.tab-btn.active {
  background: var(--primary);
  color: #04130a;
  font-weight: bold;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.card {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.form-group {
  margin-bottom: 14px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}
input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #475569;
  background: #0f172a;
  color: white;
  font-size: 1rem;
}
input:focus {
  outline: 2px solid var(--info);
  border-color: var(--info);
}
button {
  cursor: pointer;
}
.primary-btn,
.secondary-btn,
.action-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: bold;
  transition: 0.2s ease;
}
.primary-btn {
  background: var(--primary);
  color: #052e16;
  width: 100%;
}
.primary-btn:hover {
  background: var(--primary-hover);
}
.secondary-btn {
  background: var(--gray);
  color: white;
}
.panel-header {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}

.panel-header h2 {
flex: 1;
}
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-item {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 16px;
}
.request-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.request-song {
  font-size: 1.1rem;
  font-weight: bold;
}
.request-meta {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}
.offer-badge {
  background: var(--warning);
  color: #1f1300;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: bold;
}
.status {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
}
.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.status-accepted {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.status-rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.status-played {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.accept-btn {
  background: var(--primary);
  color: #052e16;
}
.reject-btn {
  background: var(--danger);
  color: white;
}
.played-btn {
  background: var(--info);
  color: white;
}
.hidden {
  display: none;
}
.muted {
  color: var(--muted);
}
.demo-access {
  margin-top: 14px;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.stat-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.empty-state {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: #0f172a;
  border: 1px dashed #475569;
  border-radius: 14px;
}
@media (max-width: 768px) {
  .panel-header,
  .request-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .tabs {
    flex-direction: column;
  }
} #greetingName,
#greetingMessage,
#greetingPrice {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#greetingMessage{
    min-height:100px;
    resize:vertical;
}

#sendGreeting{
    width:100%;
    padding:14px;
    background:#28c76f;
    color:white;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}
.danger-btn{
background:#d32f2f;
color:white;
border:none;
padding:12px 18px;
border-radius:10px;
cursor:pointer;
font-weight:bold;
margin-left:10px;
}

.danger-btn:hover{
background:#b71c1c;
}
/* ==========================
DANCE PLAY 2.0 DESIGN
========================== */

body{
background:
radial-gradient(circle at top,#3d0b72 0%,#140322 35%,#050505 100%);
font-family: "Segoe UI",sans-serif;
color:#fff;
}

.app{
max-width:520px;
margin:auto;
padding:20px;
}

.topbar{
text-align:center;
padding:30px 20px;
margin-bottom:25px;
}

.topbar h1{
font-size:42px;
letter-spacing:5px;
color:#fff;
text-shadow:
0 0 10px #00d9ff,
0 0 25px #8b5cf6,
0 0 45px #8b5cf6;
}

.topbar p{
color:#d8d8d8;
font-size:16px;
}

.card{

background:rgba(255,255,255,.08);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.12);

border-radius:22px;

padding:22px;

margin-bottom:22px;

box-shadow:
0 10px 35px rgba(0,0,0,.45);

transition:.35s;
}

.card:hover{

transform:translateY(-4px);

box-shadow:

0 15px 45px rgba(0,255,255,.18);

}

.card h2{

font-size:23px;

margin-bottom:18px;

color:white;

}

input,
textarea{

width:100%;

padding:15px;

background:rgba(255,255,255,.08);

border:1px solid rgba(255,255,255,.15);

border-radius:14px;

color:white;

font-size:15px;

margin-bottom:15px;

transition:.25s;

}

input:focus,
textarea:focus{

outline:none;

border:1px solid #00d9ff;

box-shadow:

0 0 15px rgba(0,217,255,.35);

}

.primary-btn{

width:100%;

padding:16px;

border:none;

border-radius:14px;

font-size:17px;

font-weight:bold;

cursor:pointer;

background:linear-gradient(90deg,#00d9ff,#7c3aed);

color:white;

transition:.30s;

}

.primary-btn:hover{

transform:scale(1.03);

box-shadow:

0 0 25px rgba(0,217,255,.45);

}

.secondary-btn{

padding:12px 20px;

border:none;

border-radius:12px;

background:#242424;

color:white;

cursor:pointer;

transition:.30s;

}

.secondary-btn:hover{

background:#3a3a3a;

}

.request-item{

background:rgba(255,255,255,.05);

padding:18px;

border-radius:18px;

margin-top:15px;

border-left:5px solid #00d9ff;

transition:.30s;

}

.request-item:hover{

transform:translateX(5px);

background:rgba(255,255,255,.08);

}

.offer-badge{

background:linear-gradient(90deg,#00d9ff,#8b5cf6);

padding:8px 16px;

border-radius:40px;

font-weight:bold;

font-size:15px;

}

.status{

border-radius:30px;

padding:7px 14px;

font-size:13px;

font-weight:bold;

display:inline-block;

margin-top:12px;

}

.status-pending{

background:#ffc107;

color:black;

}

.status-accepted{

background:#19d46b;

color:white;

}

.status-rejected{

background:#ff3b5b;

color:white;

}

.status-played{

background:#00b7ff;

color:white;

}

.stat-box{

background:rgba(255,255,255,.06);

border-radius:18px;

padding:20px;

text-align:center;

backdrop-filter:blur(15px);

}

.stat-box strong{

display:block;

font-size:30px;

margin-bottom:8px;

color:#00d9ff;

}

.tabs{

display:flex;

gap:12px;

margin-bottom:20px;

}

.tab-btn{

flex:1;

border:none;

padding:15px;

border-radius:14px;

cursor:pointer;

background:#1c1c1c;

color:white;

transition:.30s;

}

.tab-btn.active{

background:linear-gradient(90deg,#00d9ff,#8b5cf6);

}

::-webkit-scrollbar{

width:8px;

}

::-webkit-scrollbar-thumb{

background:#00d9ff;

border-radius:20px;

}
/* ===========================
RULETA DANCE PLAY
=========================== */

.wheel-card{

text-align:center;

}

.wheel-info{

color:#d7d7d7;

margin-bottom:20px;

}
 .wheel-container{

display:flex;

justify-content:center;

align-items:center;

margin:25px 0;

}


  .wheel{
    position:relative;
    width:260px;
    height:260px;
    min-width:260px;
    min-height:260px;

    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;

    background:conic-gradient(
        #00d9ff 0deg 45deg,
        #8b5cf6 45deg 90deg,
        #ff4fd8 90deg 135deg,
        #00d9ff 135deg 180deg,
        #8b5cf6 180deg 225deg,
        #ff4fd8 225deg 270deg,
        #00d9ff 270deg 315deg,
        #8b5cf6 315deg 360deg
    );

    border:8px solid white;

    box-shadow:
        0 0 35px #00d9ff,
        0 0 60px #8b5cf6;

    transition:transform 5s cubic-bezier(.17,.67,.23,1);
}

  .slice{
    position:absolute;
    width:50%;
    height:50%;
    left:50%;
    top:50%;
    transform-origin:0% 0%;
}

.slice:nth-child(1){ transform: rotate(0deg); }
.slice:nth-child(2){ transform: rotate(45deg); }
.slice:nth-child(3){ transform: rotate(90deg); }
.slice:nth-child(4){ transform: rotate(135deg); }
.slice:nth-child(5){ transform: rotate(180deg); }
.slice:nth-child(6){ transform: rotate(225deg); }
.slice:nth-child(7){ transform: rotate(270deg); }
.slice:nth-child(8){ transform: rotate(315deg); }

.slice span{
    position:absolute;
     top:42px;
left:50%;
transform: translateX(-50%) rotate(16deg);
width:58px;

font-size:12px;
font-weight:700;
letter-spacing:0.5px;
    font-weight:bold;
    text-align:center;
    text-transform:uppercase;
}
 .wheel-center{
    position:absolute;
    width:105px;
    height:105px;
    background:#111827;
    border:5px solid white;
    border-radius:50%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:20;

    color:white;
    font-size:22px;
    font-weight:900;

    box-shadow:
        0 0 15px #00d9ff,
        0 0 30px #8b5cf6;
}

 .wheel-arrow{
    position:absolute;
    top:-22px;
    left:50%;
    transform:translateX(-50%);
    width:0;
    height:0;

    border-left:18px solid transparent;
    border-right:18px solid transparent;
    border-top:32px solid white;

    filter:drop-shadow(0 0 10px #00d9ff);

    z-index:30;
}

.spin-counter{

margin:20px 0;

font-size:20px;

}

.spin-counter span{

display:block;

margin-top:8px;

font-size:40px;

color:#00d9ff;

font-weight:bold;

}
 @media (max-width: 600px) {

  .wheel-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  .wheel {
    width: 260px !important;
    height: 260px !important;
    max-width: 70vw;
    max-height: 70vw;
  }

  .wheel-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}
