/*
Theme Name: LOYALCARD ULTRA V12
Version: 12.0
*/

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;800&display=swap');

:root{
--bg:#f4f4f4;
--card:#ffffff;
--text:#111;
--muted:#6e6e6e;
--border:#e8e8e8;
--menu:#fff;
--input:#f1f1f1;
}

body.dark-mode{
--bg:#070707;
--card:#131313;
--text:#fff;
--muted:#a0a0a0;
--border:#232323;
--menu:#0f0f0f;
--input:#171717;
}


input,
select,
textarea{
font-size:16px !important;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
font-family:'Exo 2',sans-serif;
background:var(--bg);
color:var(--text);
transition:.25s;
}

.topbar{
height:64px;
position:fixed;
top:0;left:0;right:0;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 16px;
background:var(--menu);
border-bottom:1px solid var(--border);
z-index:999;
}

.logo{
font-size:22px;
font-weight:800;
}

.top-icons{
display:flex;
gap:10px;
}

.icon-btn{
width:40px;
height:40px;
border-radius:14px;
background:var(--card);
border:1px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
}

.content{
padding-top:78px;
padding-bottom:90px;
max-width:480px;
margin:auto;
}

.card-wrap{
padding:12px;
perspective:1200px;

}

.ticker-box{

margin:14px 16px;

background:#111;

border:1px solid rgba(255,255,255,.06);

border-radius:18px;

padding:12px 0;

overflow:hidden;

}

.ticker{

overflow:hidden;
white-space:nowrap;
width:100%;

}

.ticker-track{

display:flex;

width:max-content;

animation:tickerMove 18s linear infinite;

}

.ticker-track span{

display:flex;
align-items:center;

padding-right:40px;

font-size:14px;

font-weight:600;

color:#fff;

}

@keyframes tickerMove{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

.flip{
position:relative;
height:230px;
transform-style:preserve-3d;
transition:.8s;
transform-style:preserve-3d;
}

.flip.active{
transform:rotateY(180deg);
}

.front,.back{
position:absolute;
inset:0;
border-radius:30px;
overflow:hidden;
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
box-shadow:0 20px 50px rgba(0,0,0,.3);
	
}

.front{
transform:rotateY(0deg);
padding:22px;
display:flex;
flex-direction:column;
justify-content:flex-start;
background-size:cover;
background-position:center;
color:#fff;
}

.front:before{
content:'';
position:absolute;
inset:0;
background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.45));
}

.front *{
position:relative;
z-index:2;
}

.front h2{
position:absolute;
top:22px;
left:24px;

font-size:22px;
line-height:1.05;

max-width:280px;
}

.front p{
position:absolute;
top:90px;
left:24px;

font-size:14px;
line-height:1.35;

max-width:240px;
}

.username{
position:absolute;

left:24px;
bottom:24px;

font-weight:700;
font-size:18px;
}

.timer{
position:absolute;
top:16px;
right:16px;
height:42px;
padding:0 14px;
display:flex;
align-items:center;
justify-content:center;
border-radius:20px;
background:rgba(255,255,255,.16);
backdrop-filter:blur(12px);
font-weight:700;
font-size:14px;
}

.back{
background:#fff;
transform:rotateY(180deg);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.back img{
width:200px !important;
height:200px !important;
max-width:none !important;
object-fit:contain;
display:block;
margin:auto;
}

.qr-label{
margin-top:24px;
font-size:13px;
color:#666;
}

.btn{
height:52px;
margin:0 12px;
width:calc(100% - 24px);
border:none;
border-radius:18px;
font-family:'Exo 2',sans-serif;
font-size:15px;
font-weight:700;
background:var(--text);
color:var(--bg);
}

.stars{
display:flex;
justify-content:center;
gap:10px;
padding:16px 10px 8px;
flex-wrap:wrap;
}

.star{
font-size:28px;
color:#f4b400;
opacity:.95;
}

.star.empty{
opacity:.25;
}

.progress{
text-align:center;
font-weight:700;
font-size:14px;
margin-bottom:10px;
}

.ticker{
overflow:hidden;
white-space:nowrap;
width:100%;
}

.ticker-track{
display:flex;
width:max-content;

animation:tickerMove 18s linear infinite;
}

.ticker-track span{
display:flex;
align-items:center;

padding-right:40px;

font-size:13px;
font-weight:700;
}

@keyframes tickerMove{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}


.card-box{
margin:12px;
background:var(--card);
border:1px solid var(--border);
border-radius:24px;
padding:16px;
}

.info-row{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px 0;
border-bottom:1px solid var(--border);
font-size:15px;
}

.info-row:last-child{
border-bottom:none;
}

.gold{
color:#f4b400;
font-weight:700;
}

.bottom{
height:74px;
position:fixed;
bottom:0;left:0;right:0;
background:var(--menu);
border-top:1px solid var(--border);
display:flex;
justify-content:space-around;
align-items:center;
}

.bottom-item{
font-size:11px;
text-align:center;
color:var(--muted);
}

.bottom-item.active{
color:#f4b400;
font-weight:700;
}

.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.6);
display:none;
align-items:center;
justify-content:center;
padding:16px;
z-index:9999;
}

.modal.active{
display:flex;
}

.modal-box{
width:100%;
max-width:380px;
background:var(--card);
border:1px solid var(--border);
border-radius:28px;
padding:18px;
}

.modal-box h2{
font-size:28px;
margin-bottom:18px;
}

input,select{
width:100%;
height:50px;
margin-bottom:12px;
border-radius:16px;
border:1px solid var(--border);
background:var(--input);
padding:0 14px;
color:var(--text);
font-family:'Exo 2',sans-serif;
}

.banner1{

background:
linear-gradient(
rgba(0,0,0,.35),
rgba(0,0,0,.45)
),

url('https://app.loyalboard.com/wp-content/uploads/2026/05/photo_2026-05-17_20-55-23.jpg');

background-size:cover;
background-position:center;
background-repeat:no-repeat;

}

.banner2{

background:
linear-gradient(
rgba(0,0,0,.35),
rgba(0,0,0,.45)
),

url('https://app.loyalboard.com/wp-content/uploads/2026/05/7.webp');

background-size:cover;
background-position:center;
background-repeat:no-repeat;

}

.banner3{background-image:url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?q=80&w=1200');}
.banner4{background-image:url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?q=80&w=1200');}
.banner5{background-image:url('https://images.unsplash.com/photo-1487754180451-c456f719a1fc?q=80&w=1200');}
.banner6{background-image:url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?q=80&w=1200');}
.banner7{background-image:url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1200');}
.banner8{background-image:url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=1200');}
.banner9{background-image:url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?q=80&w=1200');}



.bottom-item i{
font-size:21px;
margin-bottom:4px;
}

.bottom-item.active i{
color:#f5b400;
}



.qr-label{
display:none !important;
}

.ticker-box{
display:none !important;
}


.developer-block{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin-top:18px;
    gap:8px;
}

.telegram-link{
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#229ED9;
    color:#fff;
    font-size:26px;
    text-decoration:none;
    transition:0.2s;
    box-shadow:0 4px 14px rgba(34,158,217,0.35);
}

.telegram-link:hover{
    transform:scale(1.06);
}

.developer-text{
    font-size:13px;
    color:#9b9b9b;
    font-weight:500;
}
