/* ===== GLOBAL ===== */

body{
background:#0b0b0b;
font-family:'Sora', sans-serif;
color:#fff;
margin:0;
}
:root{
--gold-gradient: linear-gradient(
180deg,
#f6e76b 0%,
#ffd54a 45%,
#e0a800 100%
);

--gold-solid:#f0c459;
}

.app{
max-width:420px;
margin:auto;
min-height:100vh;
padding:20px 15px 90px;
}

/* ===== HEADER ===== */

.header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.header-title{
font-size:28px;
font-weight:600;
letter-spacing:-1px;
}


.header-icons{
    display:flex;
    gap:12px; /* space between icons */
}

h1,h2,h3{
font-weight:600;
}

.stat-value,
.profit-value,
.h2h-score{
font-weight:700;
}

.stat-title,
.pitch-label,
.weather-label{
font-weight:400;
}
/* icon buttons */

.icon-buttons{
display:flex;
gap:12px;
}

.icon-btn{
width:42px;
height:42px;
border-radius:50%;
background:#151515;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:18px;
cursor:pointer;
transition:0.2s;
}

.icon-btn:hover{
background:#222;
box-shadow:0 0 10px rgba(0,0,0,0.4);
}

/* ===== STATS ROW ===== */

.stats-row{
margin-top:18px;
}

.stat-card{
padding:10px 12px;
border-radius:20px;
position:relative;
display:flex;
flex-direction:column;
gap:4px;
background-blend-mode:overlay;

}


.card-blue{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#001c33,#004c8a);

border:1px solid rgba(255,255,255,0.06);
}

/* ROI icon bubble */

.icon-blue{
background:#4dc3ff;
}

.card-purple{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#1b0033,#5a00a3);

border:1px solid rgba(255,255,255,0.06);
}

.icon-purple{
background:#c47bff;
}

/* gradients */

.card-green{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#2f3400,#566600);

border:1px solid rgba(255,255,255,0.06);
}
.card-orange{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#3a2600,#7a4d00);

border:1px solid rgba(255,255,255,0.06);
}

.card-red{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#3a0000,#7a0000);

border:1px solid rgba(255,255,255,0.06);
}

/* icon bubble */

.stat-icon{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin-bottom:3px;
font-size:18px;
color:#000;
}

.icon-green{
background:#d7ff3b;
}

.icon-orange{
background:#ffc43b;
}

.icon-red{
background:#ff6b6b;
}

/* title */

.stat-title{
font-size:14px;
opacity:0.9;
margin-bottom:0px;
}

/* value */

.stat-value{
font-size:22px;
font-weight:700;
}

/* arrow */

.stat-arrow{
position:absolute;
top:14px;
right:14px;
font-size:14px;
opacity:0.8;
}

/* progress underline */

.stat-progress{
position:absolute;
bottom:0;
left:16px;
right:16px;
height:4px;
border-radius:4px;
}

.progress-green{
background:#c6ff2c;
}

.progress-orange{
background:#ffb52c;
}

.progress-red{
background:#ff4a4a;
}
/* ===== TABS ===== */

.tabs-container{
display:flex;
gap:18px;
overflow-x:auto;
padding-bottom:10px;
margin-bottom:18px;
scrollbar-width:none;
}

.tabs-container::-webkit-scrollbar{
display:none;
}

.tab{
display:flex;
align-items:center;
gap:6px;
font-size:15px;
color:#9e9e9e;
white-space:nowrap;
position:relative;
cursor:pointer;
padding-bottom:6px;
}

.tab i{
font-size:16px;
}

.tab.active{
color:#f0c459;
font-weight:600;
}

.tab.active::after{
content:"";
position:absolute;
bottom:0;
left:0;
height:3px;
width:100%;
background:#f0c459;
border-radius:4px;
}
.tabs-container .tab {
    flex: 1;
    justify-content: center;
}
.tab-content{
display:none;
}

.tab-content.active{
display:block;
}


/* ===== MATCH + PROFIT SECTION ===== */

.pnl-container{
background:#111111;
border-radius:26px;
padding:16px;
border:1px solid rgba(255,255,255,0.06);
margin-top:16px;
}


.match-profit-row{
display:flex;
gap:12px;
margin-top:16px;
}

/* left card */

.match-card{
flex:1;
background:#121212;
border-radius:22px;
padding:14px;
border:1px solid rgba(255,255,255,0.06);
}

/* right column */

.profit-column{
flex:1;
display:flex;
flex-direction:column;
gap:12px;
}

/* profit cards */

.profit-card{
display:flex;
align-items:center;
gap:12px;
border-radius:40px;
padding:10px 14px;
position:relative;
border:1px solid rgba(255,255,255,0.06);
}

/* gradients */

.profit-green{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#2f3400,#566600);
}

.profit-red{
background:
radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
linear-gradient(145deg,#3a0000,#7a0000);
}

/* icon circle */

.profit-icon{
width:44px;
height:44px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
color:#000;
flex-shrink:0;
}

.icon-green{
background:#d7ff3b;
}

.icon-red{
background:#ff5c5c;
}

/* text */

.profit-text{
flex:1;
}

.profit-title{
font-size:12px;
opacity:0.8;
margin-bottom:2px;
}

.profit-value{
font-size:18px;
font-weight:700;
}

/* percent badge */

.profit-badge{
position:absolute;
right:12px;
top:10px;
font-size:10px;
padding:2px 6px;
border-radius:8px;
background:rgba(0,0,0,0.45);
font-weight:600;
}

.badge-green{
color:#c6ff2c;
}

.badge-red{
color:#ff4a4a;
}

/* progress */

.profit-progress{
position:absolute;
bottom:0px;
left:74px;
right:28px;
height:4px;
border-radius:4px;
}

.progress-green{
background:#c6ff2c;
}

.progress-red{
background:#ff4a4a;
}

.profit-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:2px;
}

.profit-percent{
font-size:11px;
padding:2px 7px;
border-radius:10px;
background:rgba(0,0,0,0.35);
font-weight:600;
}

.profit-percent.green{
color:#c6ff2c;
}

.profit-percent.red{
color:#ff4a4a;
}

/* ===== PNL GRAPH SECTION ===== */
.pnl-card{
padding:1px 20px;
}
.pnl-row{
display:flex;
flex-direction:column;
gap:10px;
margin-top:1px;
}

.pnl-card canvas{
height:90px !important;
width:100% !important;
}
.pnl-title{
font-size:14px;
opacity:0.8;
margin-bottom:8px;
}

.pnl-card canvas{
width:100% !important;
}

/** == activivty --- */
.activity-card{
background:#0f0f0f;
border-radius:22px;
padding:16px;
border:1px solid rgba(255,255,255,0.05);
margin-top:14px;
}
.activity-left{
display:flex;
align-items:center;
gap:12px;
flex:1;
}

.activity-right{
text-align:right;
padding-left:18px;
margin-left:18px;
border-left:1px solid rgba(255,255,255,0.08);
flex:1;
}
.activity-change{
display:inline-block;
margin-top:4px;
padding:2px 8px;
font-size:12px;
font-weight:600;
border-radius:10px;
background:rgba(198,255,44,0.15);
color:#c6ff2c;
}
.activity-avatar{
width:48px;
height:48px;
border-radius:50%;
border:3px solid #c6ff2c;
}

.activity-name{
font-weight:600;
font-size:16px;
}

.activity-sub{
font-size:12px;
opacity:0.7;
}

.activity-right{
text-align:right;
}

.activity-label{
font-size:12px;
opacity:0.7;
}

.activity-value{
font-size:18px;
font-weight:700;
}

.activity-change{
font-size:12px;
color:#c6ff2c;
}

.activity-progress{
width:100%;
height:4px;
background:#c6ff2c;
border-radius:4px;
margin-top:16px;
}

/** mini cards **/
.mini-cards{
display:flex;
gap:10px;
margin-top:14px;
}

.mini-card{
flex:1;
background:#0f0f0f;
border-radius:22px;
padding:10px 14px;
border:1px solid rgba(255,255,255,0.05);
position:relative;
display:flex;
align-items:center;
gap:10px;
min-height:64px;
}

/* icon */

.mini-icon{
width:34px;
height:34px;
border-radius:50%;
background:#f5f5f5;
display:flex;
align-items:center;
justify-content:center;
color:#000;
font-size:16px;
flex-shrink:0;
}

/* text container */

.mini-text{
display:flex;
flex-direction:column;
}

/* title */

.mini-title{
font-size:13px;
opacity:0.85;
}

/* value */

.mini-value{
font-size:16px;
font-weight:700;
line-height:1.1;
}

/* small arrow icon */

.mini-arrow{
position:absolute;
top:10px;
right:12px;
font-size:14px;
opacity:0.6;
}

/* progress */

.mini-progress{
position:absolute;
bottom:6px;
left:14px;
right:14px;
height:4px;
background:#ffd84d;
border-radius:4px;
}

.mini-progress.gray{
background:#444;
}
.mini-arrow img{
width:16px;
height:16px;
opacity:0.7;
color:#bfbfbf;
}

/* BOTTOM MENU */

.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;

background:#141414;

display:flex;
justify-content:space-around;
align-items:center;

padding:12px 0;

border-top-left-radius:28px;
border-top-right-radius:28px;

border-top:1px solid rgba(255,255,255,0.05);
box-shadow:0 -10px 30px rgba(0,0,0,0.6);

z-index:999;
}
.bottom-nav a{
text-decoration:none;
color:inherit;
}
.nav-item{
display:flex;
flex-direction:column;
align-items:center;
font-size:12px;
color:#9a9a9a;
cursor:pointer;
}

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

.nav-item.active{
color:#f0c459;
}

.nav-item.active i{
color:#f0c459;
}

/* Prediction Card */

.prediction-card{
background:#141414;
border-radius:22px;
position:relative;
border:1px solid rgba(255,255,255,0.06);
margin-top:18px;
}

/* top match row */

.match-top{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:14px;
}

.team-logo img{
height:54px;
}

.match-info{
text-align:center;
flex:1;
}

.match-check{
width:34px;
height:34px;
border-radius:50%;
background:#ffd54a;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
margin-bottom:6px;
color:#000;
font-size:18px;
}

.match-title{
font-weight:600;
font-size:16px;
}

.match-sub{
font-size:12px;
opacity:0.7;
margin-top:2px;
}

/* prediction section */

.prediction-label{
font-size:13px;
opacity:0.7;
}

.prediction-team{
font-size:22px;
font-weight:700;
}

.prediction-growth{
font-size:14px;
color:#d8ff00;
margin-left:6px;
}

/* badge */

.prediction-badge{
background:#2c3600;
color:#d8ff00;
padding:4px 10px;
border-radius:12px;
font-size:12px;
}

.prediction-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:12px;
}

/* buttons */

.prediction-actions{
display:flex;
gap:10px;
width:100%;
}
.odd-btn{

background:linear-gradient(
30deg,
#44472f 0%,
#21281b 45%,
#1d1e1e 100%
);

color:#fff;

padding:5px;

border-radius:24px;

display:flex;
align-items:center;
justify-content:center;
gap:8px;

font-size:12px;
font-weight:500;

border:1px solid rgb(255,210,70,0.6);

}

.cashout-btn{

background:linear-gradient(
180deg,
#f6e76b 0%,
#ffd54a 40%,

#e0a800 100%
);

color:#1a1a1a;

padding:5px;
border-radius:24px;

font-weight:600;
font-size:12px;

display:flex;
align-items:center;
justify-content:center;

box-shadow:
0 4px 10px rgba(0,0,0,0.35),
inset 0 1px 0 rgba(255,255,255,0.35);

border:1px solid rgba(0,0,0,0.25);

}

.odd-btn,
.cashout-btn{
flex:1;
}
.check-line{
display:flex;
align-items:center;
justify-content:center;
}

.check-line .line{
flex:1;
height:1px;
background:linear-gradient(
90deg,
transparent,
rgba(216,255,0,0.7),
transparent
);
}

.status-indicator{
margin:0 14px;
z-index:2;
}

.match-check{
margin:0 -30px; /* slightly smaller */
}

.match-divider{
height:1px;
margin:14px 0;

background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,0.12),
transparent
);

box-shadow:0 0 6px rgba(255,255,255,0.05);

border-radius:20px;
}

.match-top{

background:#151515;

border:1px solid rgba(255,255,255,0.06);

border-radius:18px;

padding:6px 14px;

margin-bottom:12px;

}
.prediction-body{padding:5px 10px}
.prediction-card .mini-arrow{
width:14px;
height:14px;
top:4px;
right:5px;
}
.prediction-card{
text-decoration:none;
color:inherit;
display:block;
}


/* venue */
.venue-row{
display:flex;
align-items:center;
gap:12px;
margin-bottom:14px;
}

.venue-icon{
width:36px;
height:36px;
border-radius:10px;
background:#1b1b1b;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
color:#ffd34d;
}

.venue-value.batting{
color:#ffd34d;
font-weight:600;
}

.stat-bar{
height:6px;
background:#2a2a2a;
border-radius:10px;
margin-top:6px;
overflow:hidden;
}

.stat-fill{
height:100%;
background:#ffd34d;
border-radius:10px;
}
.ground-size{
display:flex;
gap:10px;
}

.size-box{
flex:1;
background:#1b1b1b;
border-radius:12px;
padding:12px;
text-align:center;
}

.size-box i{
font-size:18px;
color:#ffd34d;
margin-bottom:6px;
display:block;
}

.size-box span{
font-size:12px;
color:#888;
}

.size-box b{
font-size:16px;
}

.weather-card{
background:#111;
border-radius:16px;
padding:16px;
margin-top:14px;
border:1px solid rgba(255,255,255,0.06);
}

.weather-header{
display:flex;
align-items:center;
gap:8px;
font-weight:600;
margin-bottom:10px;
}

.weather-header i{
color:#ffd34d;
}

.weather-main{
display:flex;
align-items:center;
gap:10px;
margin-bottom:12px;
}

.weather-temp{
font-size:28px;
font-weight:700;
}

.weather-desc{
color:#aaa;
}

.weather-stats{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
}

.weather-item{
background:#1b1b1b;
border-radius:10px;
padding:10px;
text-align:center;
}

.weather-item i{
display:block;
font-size:16px;
color:#ffd34d;
margin-bottom:4px;
}

.weather-item span{
font-size:11px;
color:#888;
display:block;
}

.weather-item b{
font-size:14px;
}

/* Pitch card container */

.pitch-card{
background:#0f0f0f;
border-radius:20px;
padding:18px;
border:1px solid rgba(255,255,255,0.05);
}

/* each stat row */

.pitch-row{
margin-bottom:20px;
}

/* header row */

.pitch-header{
display:flex;
align-items:center;
gap:10px;
margin-bottom:8px;
}

/* icon */

.pitch-icon{
width:36px;
height:36px;

border-radius:50%;

background:#1a1a1a;

display:flex;
align-items:center;
justify-content:center;

color:#ffd54a;
font-size:16px;
}

/* title */

.pitch-title{
font-size:16px;
font-weight:500;
color:#ffffff;
}

/* progress background */

.pitch-bar{
height:10px;
background:#1a1a1a;

border-radius:20px;
overflow:hidden;
}

/* progress fill */

.pitch-bar div{
height:100%;
background:#ffd54a;
border-radius:20px;

box-shadow:0 0 6px rgba(255,213,74,0.4);
}
.pitch-bar div{
animation:growBar 1s ease forwards;
}

@keyframes growBar{
from{
width:0;
}
}

.h2h-team-block{
margin-bottom:22px;
}

.h2h-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:8px;
}

.h2h-team{
display:flex;
align-items:center;
gap:10px;
font-size:16px;
font-weight:600;
}

.team-logo{

height:36px;
object-fit:contain;
}

.h2h-score{
font-size:18px;
font-weight:600;
opacity:0.9;
}

.h2h-bar{
height:10px;
background:#1a1a1a;
border-radius:20px;
overflow:hidden;
}

.h2h-fill{
height:100%;
border-radius:20px;
width:0;
animation:growBar 1s ease forwards;
box-shadow:0 0 6px rgba(255,213,74,0.35);
}

.h2h-fill.rcb{
background:linear-gradient(90deg,#ffd54a,#f2c94c);
}

.h2h-fill.mi{
background:linear-gradient(90deg,#5fa8ff,#4b8be0);
}

#head-to-head {margin-top:10px;}
/* card header */

.card-header{
display:flex;
align-items:center;
gap:10px;

margin-bottom:18px;
}

/* header icon */

.card-icon{
width:36px;
height:36px;

border-radius:10px;

background:#1a1a1a;

display:flex;
align-items:center;
justify-content:center;

color:#ffd54a;
font-size:18px;
}

/* header title */

.card-title{
font-size:18px;
font-weight:600;
}

/* tips */
.tip-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 0;
border-bottom:1px solid rgba(255,255,255,0.06);
}

.tip-left{
display:flex;
gap:12px;
align-items:center;
}

.tip-avatar{
position:relative;
width:46px;
height:46px;
}

.tip-avatar img{
width:46px;
height:46px;
border-radius:50%;
border:2px solid #ffd34d;
object-fit:cover;
}

.tip-badge{
position:absolute;
bottom:-20px;
left:50%;
transform:translateX(-50%);
background:#ffd34d;
color:#000;
font-size:11px;
padding:2px 6px;
border-radius:10px;
font-weight:600;
}

.tip-title{
font-weight:600;
margin-bottom:2px;
}

.tip-desc{
font-size:13px;
color:#aaa;
margin-bottom:4px;
}

.tip-odd{
background:#1b1b1b;
display:inline-block;
padding:4px 10px;
border-radius:10px;
font-size:12px;
}

.tip-profit{
background:#2b2b10;
color:#d6ff3a;
padding:6px 12px;
border-radius:14px;
font-weight:600;
}
.tip-item:hover{
background:#171717;
}
.match-sub{
display:flex;
flex-direction:column;
line-height:1.4;
}


.live-badge{
color:#ff3b3b;
font-weight:600;
display:flex;
align-items:center;
gap:6px;
}

.live-badge::before{
content:"";
width:8px;
height:8px;
background:#ff3b3b;
border-radius:50%;
display:inline-block;
animation:pulse 1s infinite;
}

.live-text{
color:#ff3b3b;
font-weight:600;
letter-spacing:0.5px;
}

.live-dot{
width:30px;
height:30px;
background:#ff3b3b;
border-radius:50%;
display:block;
animation:pulse 1s infinite;
}

@keyframes pulse{
0%{opacity:1}
50%{opacity:0.3}
100%{opacity:1}
}

.match-time{
display:flex;
justify-content:center;
align-items:center;
width:100%;
}

.starting-soon{
color:#ffc107;
font-weight:600;
animation:soonPulse 1.5s infinite;
}

@keyframes soonPulse{
0%{opacity:1}
50%{opacity:0.5}
100%{opacity:1}
}
.date-nav{
display:flex;
align-items:center;
justify-content:center;
gap:12px;
margin:10px 0 15px;
}

.date-nav button{
background:#1c1c1c;
border:none;
color:#fff;
width:36px;
height:36px;
border-radius:8px;
font-size:20px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
}

#currentDate{
font-weight:600;
font-size:18px;
letter-spacing:1px;
color:#fff;
}
#backToToday{
display:flex;
justify-content:center;
margin:12px 0 20px;
}

#backToToday button{
background:#1c1c1c;
border:1px solid #2c2c2c;
color:#f5c242;
padding:8px 16px;
border-radius:20px;
font-size:14px;
font-weight:600;
cursor:pointer;
transition:all .2s ease;
}

#backToToday button:hover{
background:#f5c242;
color:#000;
}
.live-indicator{
background:#ff3b3b;
border-radius:50%;
width:30px;
height:30px;
display:inline-block;
animation:liveBlink 1s infinite;
}

@keyframes liveBlink{
0%{opacity:1;}
50%{opacity:.3;}
100%{opacity:1;}
}
.final-score{
font-weight:700;
font-size:15px;
color:#fff;
}

.prediction-correct{
border:2px solid #3cff3c;
}

.prediction-wrong{
border:2px solid #ff3c3c;
}

.completed-text{
font-size:14px;
opacity:0.8;
}

.completed-layout{
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-bottom:10px;
}

.real-winner-title{
font-size:12px;
opacity:0.6;
}

.real-winner-name{
font-size:20px;
font-weight:700;
}

.score-block{
text-align:right;
font-size:14px;
line-height:1.6;
opacity:.9;
}

.team-score span{
opacity:.6;
font-size:13px;
}

.no-matches{
text-align:center;
padding:60px 0;
opacity:0.6;
font-size:14px;
}

.no-matches i{
font-size:28px;
display:block;
margin-bottom:10px;
opacity:0.7;
}
.completed-layout{
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-top:12px;
}

.result-left,
.result-right{
display:flex;
flex-direction:column;
gap:8px;
}

.result-right{
text-align:right;
}

.result-label{
font-size:13px;
opacity:.6;
}

.result-value{
font-size:22px;
font-weight:700;
}
.team-score{
display:flex;
flex-direction:column;
align-items:flex-end;
gap:2px;
margin-bottom:10px;
}

.result-label{
font-size:13px;
opacity:.6;
}

.result-value{
font-size:24px;
font-weight:700;
}

.history-list{
margin-top:10px;
}

.history-item{
background:#1b1f24;
border-radius:14px;
padding:14px;
margin-bottom:10px;
}

.history-top{
display:flex;
justify-content:space-between;
margin-bottom:8px;
}

.history-match{
font-weight:600;
font-size:14px;
}

.history-date{
font-size:12px;
color:#aaa;
}

.history-bottom{
display:flex;
justify-content:space-between;
align-items:center;
font-size:13px;
}

.history-stake{
color:#aaa;
}

.history-bankroll{
text-align:right;
color:#aaa;
}

.pnl-win{
color:#4cff6a;
font-weight:600;
}

.pnl-loss{
color:#ff4c4c;
font-weight:600;
}

.profile-card{
display:flex;
align-items:center;
background:#1b1f24;
padding:16px;
border-radius:16px;
margin-bottom:14px;
}

.profile-avatar{
width:60px;
height:60px;
border-radius:50%;
margin-right:12px;
}

.profile-name{
font-size:18px;
font-weight:600;
}

.profile-joined{
font-size:13px;
color:#aaa;
}

.profile-stats{
background:#1b1f24;
border-radius:16px;
padding:16px;
}

.profile-stat{
display:flex;
justify-content:space-between;
margin-bottom:10px;
}
.subscription-card{
background:#1b1f24;
border-radius:18px;
padding:18px;
margin-top:14px;
}

.sub-row{
display:flex;
justify-content:space-between;
margin-bottom:10px;
}

.sub-label{
color:#cfd3da;
font-size:15px;
}

.sub-value{
font-weight:600;
font-size:15px;
}

.sub-value.profit{
color:#4cff6a;
}

.sub-value.loss{
color:#ff4c4c;
}

.plan-countdown{
background:#25361a;
color:#b7ff6a;
padding:10px 14px;
border-radius:12px;
font-weight:600;
font-size:10px;
display:inline-block;
margin-top:6px;
transition:0.3s;
}

.plan-expired{
background:#4b1f1f;
color:#ff6a6a;
}

/* modal */

.plan-expired-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.expired-card{
background:#1b1f24;
padding:25px;
border-radius:16px;
text-align:center;
width:280px;
}

.expired-title{
font-size:18px;
font-weight:600;
margin-bottom:6px;
}

.expired-text{
font-size:14px;
color:#9aa3ad;
margin-bottom:16px;
}


.expired-close{
position:absolute;
top:12px;
right:12px;
cursor:pointer;
color:#9aa3ad;
}

.expired-card{
position:relative;
background:#1b1f24;
padding:25px;
border-radius:16px;
text-align:center;
width:280px;
}

.expired-actions{
display:flex;
gap:10px;
margin-top:14px;
}

.expired-later{
flex:1;
background:#2a2f36;
border:none;
padding:12px;
border-radius:12px;
color:#fff;
cursor:pointer;
}

.expired-btn{
flex:1;
background:#ffd54a;
border:none;
padding:12px;
border-radius:12px;
font-weight:600;
text-decoration:none;
color:#000;
cursor:pointer;
}
.result-row{
display:flex;
justify-content:space-between;
margin:6px 0;
font-size:14px;
}

.result-row.loss{
color:#ff6a6a;
}

.plan-stats{
margin-top:14px;
padding-top:10px;
border-top:1px solid rgba(255,255,255,0.06);
}

.plan-row{
display:flex;
justify-content:space-between;
font-size:14px;
margin-bottom:6px;
color:#aaa;
}

.plan-row span:last-child{
color:#fff;
font-weight:600;
}
.profit-row{
color:#4cff7b;
font-weight:600;
}

.loss-row{
color:#ff5b5b;
font-weight:600;
}

/* override the white value */

.profit-row span:last-child{
color:#4cff7b;
}

.loss-row span:last-child{
color:#ff5b5b;
}
.activity-top{
display:flex;
justify-content:space-between;
align-items:center;
}
.history-sub-header{
display:flex;
align-items:center;
gap:10px;
font-size:12px;
margin:25px 5px 12px;
color:#cfcfcf;
font-weight:500;
}

.sub-name{
color:#ffd34d;
font-weight:600;
}

.sub-dot{
opacity:.5;
}

.sub-bankroll{
color:#9ee37d;
}
.history-sub-header.unlock{
color:#ffc857;
}

.history-link{
text-decoration:none;
color:inherit;
display:block;
}

.match-scoreboard{
margin-bottom:16px;
padding:12px 14px;
border-radius:12px;
background:#111;
border:1px solid rgba(255,255,255,0.05);
}

.score-row{
display:flex;
justify-content:space-between;
font-size:17px;
margin-bottom:6px;
}

.score-row span{
opacity:.85;
}

.score-mom{
margin-top:6px;
font-size:14px;
opacity:.7;
}

/* ============================= */
/* GOLD DESIGN SYSTEM */
/* ============================= */

:root{
--gold-solid:#f0c459;

--gold-gradient:linear-gradient(
180deg,
#f6e76b 0%,
#ffd54a 45%,
#e0a800 100%
);

--gold-gradient-horizontal:linear-gradient(
90deg,
#f6e76b 0%,
#ffd54a 45%,
#e0a800 100%
);
}


/* ============================= */
/* WIN BANNER */
/* ============================= */

.win-banner{
position:relative;
text-align:center;
margin-top:5px;
padding:20px 0;
overflow:hidden;
}

#confetti-canvas{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
z-index:0;
}


/* BIG WIN ICON */

.win-check{

width:70px;
height:70px;

border-radius:50%;

background:var(--gold-gradient);

color:#1a1a1a;

display:flex;
align-items:center;
justify-content:center;

font-size:32px;

margin:0 auto 14px;



position:relative;
z-index:2;

}


/* WIN TEXT */

.win-title{
font-size:26px;
font-weight:700;
margin-top:6px;
position:relative;
z-index:2;
}

.win-sub{
font-size:16px;
opacity:.75;
margin-top:4px;
position:relative;
z-index:2;
}



/* ============================= */
/* RESULT CARD */
/* ============================= */

.result-card{

background:#141414;

border-radius:22px;

padding:22px;



border:1px solid rgba(255,255,255,0.06);

box-shadow:
0 10px 30px rgba(0,0,0,0.5);

}


/* TOP ROW */

.result-top{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:20px;
}

.result-center{
text-align:center;
flex:1;
}


/* TEAM LOGOS */

.result-card .team img{
height:60px;
object-fit:contain;
}


/* SMALL CHECK */

.result-check{

width:36px;
height:36px;

border-radius:50%;

background:var(--gold-gradient);

display:flex;
align-items:center;
justify-content:center;

color:#1a1a1a;

font-size:16px;

margin:0 auto 6px;

}


/* MATCH TITLE */

.result-title{
font-weight:600;
font-size:18px;
}



/* ============================= */
/* WINNER SECTION */
/* ============================= */

.winner-left{
display:flex;
flex-direction:column;
gap:8px;
}

.winner-row{
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-top:14px;
}
.winner-name{
font-size:26px;
font-weight:700;
}

.winner-growth{
color:#d8ff00;
font-size:16px;
margin-left:6px;
}


/* FINAL ODDS */

.final-odd{

background:#1a1a1a;

padding:10px 16px;

border-radius:14px;

font-size:14px;

opacity:.9;

}



/* ============================= */
/* PROFIT PILL */
/* ============================= */

.profit-pill{

margin-top:18px;

background:var(--gold-gradient-horizontal);

color:#1a1a1a;

padding:18px;

border-radius:40px;

text-align:center;

font-weight:700;

font-size:22px;

box-shadow:
0 10px 25px rgba(240,196,89,0.35);

position:relative;
overflow:hidden;

}


/* SHINE ANIMATION */

.profit-pill::after{

content:"";

position:absolute;

top:0;
left:-100%;

width:50%;
height:100%;

background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,.5),
transparent
);

animation:profitShine 3s infinite;

}

@keyframes profitShine{

0%{left:-100%}
100%{left:150%}

}

/* PROFIT */
.profit-pill.profit-win{
background: linear-gradient(
1deg, #e2a901, #fadf5c);
color:#000;
box-shadow: 0 10px 25px rgb(226 171 8 / 30%);
}

/* LOSS */
.profit-pill.profit-loss{
background: linear-gradient(90deg,#ff4b4b,#c40000);
color:#fff;
box-shadow: 0 10px 25px rgba(255,0,0,0.35);
}

/* ============================= */
/* SHARE SECTION */
/* ============================= */

.share-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:16px;
}

.share-left{
display:flex;
gap:10px;
align-items:flex-start;
}

.share-left i{
font-size:18px;
opacity:.7;
margin-top:4px;
}

.share-title{
font-weight:600;
}

.share-desc{
font-size:13px;
opacity:.7;
}


/* SHARE BUTTON */

.share-btn{

background:var(--gold-gradient);

color:#1a1a1a;

border:none;

padding:10px 22px;

border-radius:24px;

font-weight:600;

font-size:14px;

cursor:pointer;

box-shadow:
0 4px 10px rgba(0,0,0,0.35),
inset 0 1px 0 rgba(255,255,255,0.35);

transition:.2s;

}

.share-btn:hover{
transform:scale(1.05);
}



/* ============================= */
/* OVERVIEW TAB GLOW */
/* ============================= */

.tab.active::after{

background:linear-gradient(
90deg,
#f6e76b,
#ffd54a,
#e0a800
);

box-shadow:0 0 8px rgba(240,196,89,0.6);

}

.win-banner{
position:relative;
text-align:center;
margin-top:25px;
padding:20px 0;
overflow:hidden;
}

#confetti-lottie{
position:absolute;
top:0px;
left:0;
width:100%;
height:200px;
z-index:0;
pointer-events:none;
}

.win-check,
.win-title,
.win-sub{
position:relative;
z-index:2;
}

.result-score{
font-size:13px;
opacity:.75;
margin-top:4px;
letter-spacing:.3px;
}
.profit-win{
background:linear-gradient(90deg,#dfff2a,#f5ff70);
color:#000;
}

.profit-loss{
background:linear-gradient(90deg,#ff4d4d,#a30000);
color:#fff;
}

.bankroll-bar{
position:fixed;
bottom:70px; /* above bottom nav */
left:0;
right:0;

background:#ffc106;
border-top:1px solid rgba(255,255,255,0.08);

padding:12px 20px;

display:flex;
justify-content:space-between;
align-items:center;

z-index:1000;
}

/* completed match card */

.result-body{
padding:1px 12px 10px 12px
}

/* SCORE AREA */

.result-score{
display:flex;
flex-direction:column;
gap:3px;
margin-bottom:5px;
}

.score-line{
display:flex;
justify-content:space-between;
align-items:center;
font-size:16px;
}

.score-team{
font-weight:700;
color:#ffffff;
letter-spacing:1px;
}

.score-value{
color:#fff;
font-weight:600;
font-size:16px;
}

/* subtle divider */

.result-score::after{
content:"";
display:block;
height:1px;
background:rgba(255,255,255,0.06);
margin-top:6px;
}

/* RESULT INFO */

.result-info{
display:flex;
justify-content:space-between;
margin-top:12px;
}

.result-box{
width:48%;
}

.result-label{
font-size:13px;
color:#fff;
text-transform:uppercase;
letter-spacing:1px;
}

.result-team{
font-size:18px;
font-weight:700;
color:#ffffff;
}

/* COMPLETED STATUS */

.result-status{
text-align:center;
margin-top:18px;
font-size:13px;
font-weight:600;
color:#7dff7d;
letter-spacing:2px;
opacity:0.9;
}
.result-box:last-child{
text-align:right;
}
/* RESULT INDICATOR */

.result-win{
background:#32d583;
color:#000;
}

.result-loss{
background:#ff5e5e;
color:#000;

    font-size: 20px;
    font-weight: 900;

}

.result-win i,
.result-loss i{
font-size:18px;
}


/* NO SIGNAL STATE */

.no-signal-icon{
font-size:32px;
color:#b7ff00;
margin-bottom:10px;
opacity:0.8;
}

.no-signal-title{
font-size:18px;
font-weight:600;
color:#fff;
margin-bottom:6px;
}

.no-signal-sub{
font-size:14px;
color:#8b8b8b;
}

.plan-meter{
    width:100%;
    height:8px;
    background:rgba(255,255,255,0.12); /* brighter */
    border-radius:10px;
    margin:8px 0 14px 0;
}

.plan-meter-fill{
    height:100%;
    border-radius:10px;
}

/* DEBUG (temporary) */
.plan-meter-fill{
    background:#4cff88 !important;
}

.history-sub-header{
    display:flex;
    align-items:center;
}

/* left side stays */
.sub-left{
    display:flex;
    align-items:center;
    gap:8px;
}

/* 🔥 THIS PUSHES IT TO RIGHT */
.sub-right{
    margin-left:auto;
    text-align:right;
    font-weight:600;
}

.blurred{
    filter: blur(6px);
    user-select: none;
}

.locked{
    opacity: 1;
    font-size: 12px;
    text-align:center;
}
.payment-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.payment-card{
    background:#111;
    padding:20px;
    border-radius:16px;
    width:85%;
    max-width:320px;
    text-align:center;
}

.payment-title{
    font-size:18px;
    font-weight:600;
    margin-bottom:10px;
}

.payment-desc{
    font-size:13px;
    color:#aaa;
    margin-bottom:15px;
}

.pay-btn{
    width:100%;
    padding:10px;
    border:none;
    border-radius:10px;
    background:linear-gradient(
180deg,
#f6e76b 0%,
#ffd54a 40%,

#e0a800 100%
);
    color:#000;
    font-weight:600;
    margin-bottom:10px;
}

.close-btn{
    background:none;
    border:none;
    color:#aaa;
}
.price{
    font-size:20px;
    font-weight:700;
    margin-bottom:15px;
    color:#e5b00b;
}

.plans{
    display:flex;
    gap:10px;
    margin:15px 0;
}

.plan{
    flex:1;
    background:#1a1a1a;
    padding:12px;
    border-radius:12px;
    text-align:center;
    border:1px solid rgba(255,255,255,0.08);
    position:relative;
}

.plan.active{
    border:1px solid #e5b00b;
    box-shadow:0 0 10px rgba(198,255,44,0.3);
}

.plan-badge{
    position:absolute;
    top:-8px;
    left:50%;
    transform:translateX(-50%);
    background:#e5b00b;
    color:#000;
    font-size:10px;
    padding:2px 6px;
    border-radius:6px;
}

.plan-name{
    font-size:14px;
    margin-bottom:5px;
}

.plan-price{
    font-size:18px;
    font-weight:700;
    margin-bottom:8px;
}

.plan button{
    width:100%;
    padding:6px;
    border:none;
    border-radius:8px;
    background:linear-gradient(
180deg,
#f6e76b 0%,
#ffd54a 40%,

#e0a800 100%
);
    color:#000;
    font-weight:600;
    font-size:12px;
}


.leaderboard{
padding:20px;
}

.leader-item{
display:flex;
justify-content:space-between;
align-items:center;
background:#111;
border-radius:12px;
padding:12px 16px;
margin-bottom:10px;
}

.rank{
font-weight:700;
color:#c6ff2c;
}

.user{
font-weight:600;
}

.pnl{
font-weight:700;
}

.pnl.profit{
color:#00ff9c;
}

.pnl.loss{
color:#ff4d4d;
}

.result-card {
    background: #111;
    border-radius: 16px;
    padding: 15px;
    margin-top: 10px;
}

.result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-center {
    text-align: center;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
}

.result-sub {
    font-size: 13px;
    opacity: 0.6;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-line .line {
    flex: 1;
    height: 2px;
    background: #2b2b2b;
}

.status-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.win {
    background: #00ff9c;
    color: black;
}

.status-icon.loss {
    background: #ff4d4d;
    color: white;
}

.score-section {
    margin-top: 15px;
}

.score-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.prediction-result {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.pr-label {
    font-size: 12px;
    opacity: 0.6;
}

.pr-value {
    font-size: 18px;
    font-weight: 600;
}

.status-icon.neutral {
    background: #444;
    color: #aaa;
}
.prediction-card{
position: relative;
}

.unlocked-badge{
position:absolute;
bottom:20%;
right:40%;
font-size:11px;
padding:4px 8px;
border-radius:10px;
background:#f5c242;
color:#000;
z-index:5;
}
.no-plan-title{
font-size:18px;
font-weight:600;
margin-bottom:6px;
}

.no-plan-sub{
font-size:13px;
opacity:0.6;
margin-bottom:12px;
}

.no-plan-preview{
font-size:14px;
color:#c6ff2c;
margin-bottom:18px;
}

.plan-cta-minimal{
background:transparent;
border:1px solid rgba(255,255,255,0.2);
color:#fff;
padding:10px;
border-radius:20px;
width:100%;
font-size:14px;
}
.blurred-stats{
filter: blur(4px);
opacity: 0.6;
pointer-events: none;
}

.locked{
opacity:0.7;
}

.stat-lock{
position:absolute;
top:10px;
right:10px;
width:26px;
height:26px;
border-radius:50%;
background:rgba(0,0,0,0.6);
display:flex;
align-items:center;
justify-content:center;
font-size:13px;
border:1px solid rgba(255,255,255,0.1);
}


.notif-badge{
    position:absolute;
    top:4px;
    right:4px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    padding:2px 6px;
    border-radius:10px;
}

.notif-dropdown{
    position:absolute;
    top:55px;
    right:10px;
    width:280px;
    max-height:350px;
    overflow-y:auto;
    background:#1e221c;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.6);
    display:none;
    z-index:999;
    padding:10px;
}

.notif-header{
    color:#f0c459;
    font-weight:600;
    margin-bottom:8px;
}

.notif-item{
    padding:10px;
    border-radius:10px;
    background:#151515;
    margin-bottom:8px;
}

.notif-title{
    color:#fff;
    font-size:13px;
    font-weight:600;
}

.notif-msg{
    color:#aaa;
    font-size:12px;
}

.notif-time{
    font-size:10px;
    color:#666;
}

@keyframes bellShake {
    0% { transform: rotate(0); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
    100% { transform: rotate(0); }
}

.bell-shake {
    animation: bellShake 0.6s ease;
}
.notif-item.unread{
    background:#1f1f1f;
    border-left:3px solid #f0c459;
}
.live-broadcast {
    color: #ef4444; /* red */
    animation: blinkLive 1s infinite;
}

@keyframes blinkLive {
    0%   { opacity: 1; }
    50%  { opacity: 0.3; }
    100% { opacity: 1; }
}

.chart-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* match your chart colors */
.legend-green {
    background: #c6ff2c;
    box-shadow: 0 0 8px rgba(198,255,44,0.6);
}

.legend-blue {
    background: #60a5fa;
}


.loss-top {
    background: linear-gradient(135deg,#ef4444,#b91c1c) !important;
    color:#fff !important;
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s ease;
}

/* LIVE TEXT */
.live-text {
    color: #ff3b3b;
    font-weight: 700;
    animation: blinkText 1s infinite;
}

@keyframes blinkText {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
.live-score-flash{
    transform: scale(1.05);
    color: #22c55e;
    transition: 0.2s;
}



.bankroll-modal {
    display: none; /* 🔥 DEFAULT HIDDEN */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    z-index: 9999;

    align-items: center;
    justify-content: center;
}

.bankroll-box {
    width: 90%;
    max-width: 360px;
    padding: 24px 20px;

    border-radius: 18px;

    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.05);

    box-shadow: 
        0 10px 40px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05);

    text-align: center;
}

/* TITLE */
.bankroll-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.bankroll-desc {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.5;
}

/* BULLETS */
.bankroll-points {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
    line-height: 1.6;
}

/* INPUT */
.bankroll-box input {
    width: 100%;
    margin-top: 18px;
    padding: 14px;

    border-radius: 12px;
    border: none;

    background: #f1f1f1;
    color: #000;
    font-size: 16px;
    font-weight: 500;

    outline: none;
}

/* BUTTON */
.bankroll-box button {
    width: 100%;
    margin-top: 12px;
    padding: 14px;

    border-radius: 12px;
    border: none;

    font-size: 16px;
    font-weight: 600;

    background: linear-gradient(180deg, #FFD84D 0%, #E6B800 100%);
    color: #000;

    box-shadow: 0 6px 20px rgba(255, 200, 0, 0.25);

    transition: all 0.2s ease;
}

.bankroll-box button:active {
    transform: scale(0.97);
}

/* ICON */
.bankroll-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;

    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}
.bankroll-modal {
    display: flex;
}


.no-plan-card{
    background: linear-gradient(145deg, #12141a, #1a1d24);
    border-radius: 24px;
    padding: 30px 22px;
    text-align: center;
    margin-top: 20px;
    position: relative;

    border: 1px solid rgba(245, 197, 66, 0.15);

    box-shadow: 
        0 10px 40px rgba(0,0,0,0.7),
        inset 0 0 20px rgba(255,255,255,0.02);
}

/* GOLD GLOW BORDER EFFECT */
.no-plan-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(245,197,66,0.3), transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ICON */
.no-plan-icon{
    font-size: 38px;
    color: var(--gold);
    margin-bottom: 15px;
}

/* TITLE */
.no-plan-title{
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* DESC */
.no-plan-desc{
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* BUTTON (MATCH YOUR GOLD BUTTONS) */
.no-plan-btn{
    background: linear-gradient(180deg, #f5c542, #d4a92c);
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-plan-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245,197,66,0.4);
}

.old-price {
    text-decoration: line-through;
    opacity: 0.6;
    margin-left: 6px;
    font-size: 14px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #f5c542; /* your gold */
}