/* ===== RESET ===== */

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{

font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

background:
linear-gradient(rgba(3,7,12,0.82),rgba(3,7,12,0.88)),
url("https://cdn.pixabay.com/photo/2016/04/17/07/18/camera-1334278_1280.jpg") center center / cover no-repeat fixed;

min-height:100vh;

display:flex;
align-items:center;
justify-content:center;

padding:24px;

color:#ffffff;

}

/* ===== MAIN LIVE CONTAINER ===== */

.liveBox{

width:100%;
max-width:760px;

padding:28px;

border-radius:24px;

background:
linear-gradient(180deg,rgba(10,16,24,0.94),rgba(7,12,18,0.96));

border:1px solid rgba(255,170,60,0.24);

box-shadow:
0 0 0 1px rgba(255,170,60,0.06),
0 0 35px rgba(255,130,20,0.18),
0 25px 80px rgba(0,0,0,0.55),
inset 0 1px 0 rgba(255,255,255,0.04);

display:flex;
flex-direction:column;
gap:16px;

position:relative;

overflow:hidden;

backdrop-filter:blur(8px);

}

/* ===== TOP GLOW LINE ===== */

.liveBox::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:3px;

background:
linear-gradient(
90deg,
transparent 0%,
#ffb347 20%,
#ff7a00 50%,
#ffb347 80%,
transparent 100%
);

box-shadow:
0 0 12px rgba(255,140,0,0.8),
0 0 28px rgba(255,140,0,0.45);

}

/* ===== SOFT INNER GLOW ===== */

.liveBox::after{

content:"";

position:absolute;

inset:0;

border-radius:24px;

pointer-events:none;

box-shadow:
inset 0 0 50px rgba(255,140,0,0.05);

}

/* ===== TITLE ===== */

.liveBox h2{

font-size:30px;
line-height:1.2;

text-align:center;

font-weight:700;

color:#ffd68a;

text-shadow:
0 0 10px rgba(255,180,60,0.18);

margin-top:4px;

}

/* ===== BUTTON GROUPS ===== */

.liveBox div{

display:flex;
flex-wrap:wrap;
gap:10px;
justify-content:center;
align-items:center;

}

/* ===== INPUT ===== */

input{

padding:12px 14px;

border-radius:12px;

border:1px solid rgba(255,170,60,0.18);

background:rgba(18,25,36,0.92);

color:#ffffff;

font-size:14px;

transition:.22s;

min-width:220px;

box-shadow:
inset 0 1px 0 rgba(255,255,255,0.02),
0 0 0 rgba(0,0,0,0);

}

input::placeholder{
color:#8d97a7;
}

input:focus{

outline:none;

border-color:rgba(255,170,60,0.5);

box-shadow:
0 0 0 3px rgba(255,140,0,0.14),
0 0 18px rgba(255,140,0,0.12);

}

/* ===== SELECT ===== */

select{

padding:12px 14px;

border-radius:12px;

border:1px solid rgba(255,170,60,0.18);

background:rgba(18,25,36,0.92);

color:#ffffff;

font-size:14px;

min-width:220px;

transition:.22s;

}

select:focus{

outline:none;

border-color:rgba(255,170,60,0.5);

box-shadow:
0 0 0 3px rgba(255,140,0,0.14),
0 0 18px rgba(255,140,0,0.12);

}

/* ===== BUTTON ===== */

button{

padding:12px 16px;

border-radius:12px;

border:1px solid rgba(255,180,90,0.18);

font-weight:700;

font-size:14px;

cursor:pointer;

background:
linear-gradient(180deg,#ffb347 0%,#ff8c1a 55%,#ff6a00 100%);

color:#111111;

box-shadow:
0 0 16px rgba(255,140,0,0.22),
0 10px 20px rgba(0,0,0,0.42),
inset 0 1px 0 rgba(255,255,255,0.25);

transition:
transform .2s ease,
box-shadow .2s ease,
filter .2s ease;

}

button:hover{

transform:translateY(-2px);

filter:brightness(1.03);

box-shadow:
0 0 24px rgba(255,150,30,0.32),
0 16px 28px rgba(0,0,0,0.5),
inset 0 1px 0 rgba(255,255,255,0.28);

}

button:active{

transform:scale(.97);

}

/* ===== VIEWER COUNTER ===== */

#viewerCount{

margin:auto;

padding:8px 14px;

border-radius:999px;

font-size:14px;
font-weight:700;

background:rgba(8,16,20,0.92);

color:#79ff9b;

display:flex;
align-items:center;
gap:8px;

border:1px solid rgba(121,255,155,0.22);

box-shadow:
0 0 12px rgba(70,255,120,0.14),
0 6px 14px rgba(0,0,0,0.35);

}

/* ===== VIDEO AREA ===== */

.videoWrapper{

position:relative;

width:100%;

}

/* ===== VIDEO ===== */

video{

display:block;

width:100%;
height:360px;

object-fit:cover;

border-radius:18px;

background:#000000;

border:1px solid rgba(255,170,60,0.14);

box-shadow:
0 0 24px rgba(255,120,0,0.18),
0 18px 40px rgba(0,0,0,0.5);

}

/* ===== VIDEO MESSAGE ===== */

#videoMessage{

position:absolute;

left:50%;
bottom:22px;

transform:translateX(-50%);

background:rgba(0,0,0,0.72);

color:#ffffff;

padding:12px 18px;

border-radius:12px;

font-size:17px;
font-weight:600;

opacity:0;

transition:.3s;

max-width:85%;

text-align:center;

border:1px solid rgba(255,255,255,0.08);

backdrop-filter:blur(6px);

box-shadow:
0 8px 24px rgba(0,0,0,0.35);

}

/* ===== MENUS ===== */

.menuSection{
display:flex;
flex-direction:column;
gap:10px;
}

.toggleMenu{
width:100%;
justify-content:center;
text-align:center;
}

.menuContent{
display:flex;
flex-direction:column;
gap:12px;
}

.menuContent[hidden]{
display:none !important;
}

#cameraStatus{
width:100%;
text-align:center;
padding:10px 12px;
border-radius:12px;
background:rgba(18,25,36,0.92);
border:1px solid rgba(255,170,60,0.18);
color:#8d97a7;
font-size:14px;
}

/* ===== LIVE OVERLAY VCARD ===== */

#liveOverlay{

position:absolute;
top:14px;
right:14px;

max-width:300px;

background:
linear-gradient(180deg,rgba(8,12,18,0.92),rgba(5,9,14,0.95));

border-radius:16px;

padding:14px;

display:flex;

border:1px solid rgba(255,170,60,0.28);

box-shadow:
0 0 18px rgba(255,140,0,0.28),
0 14px 40px rgba(0,0,0,0.55);

backdrop-filter:blur(8px);

z-index:5;

}

#overlayVCard{
display:flex;
gap:12px;
align-items:flex-start;
}

#overlayLogo{

width:64px;
height:64px;

object-fit:cover;

border-radius:12px;

border:1px solid rgba(255,170,60,0.35);

box-shadow:
0 0 10px rgba(255,150,40,0.25);

}

#overlayContent{

display:flex;
flex-direction:column;
gap:5px;

font-size:13px;

}

#overlayDescription{
font-weight:700;
font-size:14px;
color:#ffd68a;
}

#overlayInfos{
font-size:12px;
color:#d8e1ea;
}

#overlayContact{
font-size:12px;
color:#8fd3ff;
}

#overlayPrice{
font-weight:700;
font-size:13px;
color:#79ff9b;
}

#overlayWebsite,
#overlaySocial{

color:#ffd68a;

font-size:12px;

text-decoration:none;

font-weight:600;

}

#overlayWebsite:hover,
#overlaySocial:hover{

text-decoration:underline;

}

/* ===== BOUTON ACHETER ===== */

#overlayProductBar{

margin-top:10px;

display:flex;
justify-content:center;

padding-top:8px;

border-top:1px solid rgba(255,170,60,0.25);

}

#overlayBuyButton{

display:inline-block;

padding:8px 14px;

border-radius:10px;

font-size:13px;
font-weight:700;

background:
linear-gradient(180deg,#ffb347 0%,#ff8c1a 55%,#ff6a00 100%);

color:#111;

text-decoration:none;

box-shadow:
0 0 12px rgba(255,140,0,0.35),
0 6px 14px rgba(0,0,0,0.35);

transition:.2s;

}

#overlayBuyButton:hover{

transform:translateY(-2px);

box-shadow:
0 0 18px rgba(255,150,30,0.45),
0 10px 20px rgba(0,0,0,0.5);

}

/* ===== MOBILE ===== */

@media (max-width:720px){

#liveOverlay{

max-width:92%;
right:4%;
top:10px;

padding:12px;

}

#overlayLogo{

width:50px;
height:50px;

}

#overlayContent{
display:flex;
flex-direction:column;
gap:6px;
font-size:13px;
}

#overlayDescription{

font-size:13px;

}

#overlayBuyButton{

font-size:12px;
padding:7px 12px;

}

}

#liveOverlay[hidden]{
display:none !important;
}

#overlayProductBar[hidden]{
display:none !important;
}

#overlayContent a{
display:inline-block;
padding:3px 8px;
border-radius:6px;
background:rgba(255,170,60,0.08);
border:1px solid rgba(255,170,60,0.15);
font-size:12px;
margin-top:3px;
text-decoration:none;
}


#overlayCryptoAddress{
display:block;
width:100%;
margin-top:4px;
padding:4px 8px;
border-radius:6px;
background:rgba(255,170,60,0.08);
border:1px solid rgba(255,170,60,0.15);
font-size:11px;
line-height:1.35;
color:#ffd68a;
word-break:break-all;
overflow-wrap:anywhere;
}