/* =========================================
   HOME PAGE
========================================= */

.dashboard{
	margin-top:28px;
	margin-bottom:55px;
}

.panel-head span{
display: block;
	margin-top: 8px;
	color: #9b9b9b;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: .04em;	
}

.rating-item--progress{
	position:relative;
	overflow:hidden;
	padding-left:16px;
	padding-right:16px;
	border-radius:14px;
}

.rating-item--progress:before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:var(--rating-fill);
	background:linear-gradient(90deg,#ffc400,#ff8a00);
	pointer-events:none;
}

.rating-item--progress > *{
	position:relative;
	z-index:1;
}

.rating-level{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:34px;
	height:28px;
	padding:0 10px;
	border-radius:9px;
	background:#755100;
	color:#fff;
	font-size:14px;
	font-weight:1000;
	line-height:1;
}

.rating-score span{
	color:#ffffff;
	font-weight:900;
	padding-right:10px;
}

/* =========================================
   LIVE PANEL
========================================= */

.live-panel{
	position:relative;
	padding:26px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:22px;
	box-shadow:
		0 20px 50px rgba(0,0,0,.35),
		inset 0 1px 0 rgba(255,255,255,.04);
	backdrop-filter:blur(14px);
}

.live-panel:before{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	background:radial-gradient(
		circle at top left,
		rgba(255,140,0,.08),
		transparent 28%
	);
	pointer-events:none;
}

.live-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:18px;
}

/* =========================================
   DASHBOARD GRID
========================================= */

.dashboard-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:18px;
	margin-top:55px;
}

.rating-more,
.achievements-more{
	display:flex;
	align-items:center;
	justify-content:center;
	height:44px;
	border-radius:10px;
	background:rgba(255,255,255,.035);
	color:#fff;
	text-transform:uppercase;
	font-size:14px;
	font-weight:900;
	letter-spacing:.25px;
	transition:.18s ease;
}

.rating-more{
	margin-top:25px;
}

.achievements-more{
	margin-top:auto;
}

.rating-more:hover,
.achievements-more:hover{
	background:rgba(255,255,255,.07);
	color:#ffc400;
}

/* =========================================
   ACHIEVEMENTS
========================================= */

.panel--achievements{
	display:flex;
	flex-direction:column;
}

.achievements-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:14px;
	margin-top:24px;
}

/* =========================================
   CALENDAR
========================================= */

.panel--calendar{
	display:flex;
	flex-direction:column;
	min-height:420px;
}

.profile-calendar-clean{
	margin-top:24px;
	flex:1;
}

.profile-calendar-clean .calendar__row i{
	color:#fff;
}

.profile-calendar-clean .calendar__row i.low,
.profile-calendar-clean .calendar__row i.medium,
.profile-calendar-clean .calendar__row i.hard,
.profile-calendar-clean .calendar__row i.extreme{
	color:#fff;
}

.profile-calendar-clean .calendar__row i.today{
	border:0!important;
}

.panel--calendar .calendar-legend{
	margin-top:auto;
}

/* =========================================
   BOTTOM SECTION
========================================= */

.bottom-section{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:18px;
	margin-top:18px;
}

/* =========================================
   TEAMS
========================================= */

.teams-panel{
	grid-column:span 1;
	width:100%;
}

.teams-list{
	display:grid;
	gap:16px;
	margin-top:22px;
}

.team-item{
	display:grid;
	grid-template-columns:62px 1fr 120px;
	align-items:center;
	gap:16px;
	padding-bottom:14px;
	border-bottom:1px solid rgba(255,255,255,.08);
}

.team-item:last-child{
	padding-bottom:0;
	border-bottom:0;
}

.team-item>img:first-child{
	width:62px;
	height:62px;
	object-fit:cover;
	border-radius:8px;
	box-shadow:0 0 18px rgba(255,255,255,.08);
}

.team-info strong{
	display:block;
	color:#fff;
	font-size:17px;
	font-weight:900;
}

.team-info span,
.team-info small{
	display:block;
	color:#aaa;
	font-size:13px;
	line-height:1.35;
}

.team-xp{
	margin-top:3px;
	color:#ffb400;
	font-size:12px;
	letter-spacing:.08em;
}

.team-chart{
	width:120px;
	height:42px;
}

.team-chart polyline{
	fill:none;
	stroke-width:3;
	stroke-linecap:round;
	stroke-linejoin:round;
}

.team-chart--green polyline{
	stroke:#83d91a;
	filter:drop-shadow(0 0 6px rgba(131,217,26,.55));
}

.team-chart--red polyline{
	stroke:#ff3b1f;
	filter:drop-shadow(0 0 6px rgba(255,59,31,.55));
}

.team-chart--blue polyline{
	stroke:#1f9bff;
	filter:drop-shadow(0 0 6px rgba(31,155,255,.55));
}

/* =========================================
   HOW IT WORKS
========================================= */

.how-panel{
	grid-column:span 2;
	position:relative;
	overflow:hidden;
	min-height:230px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:18px;
	background:
		linear-gradient(
			180deg,
			rgba(10,10,10,.62),
			rgba(5,5,5,.78)
		),
		url("../assets/img/how-bg.webp");
	background-size:cover;
	background-position:center;
	box-shadow:
		0 20px 50px rgba(0,0,0,.35),
		inset 0 1px 0 rgba(255,255,255,.04);
}

.how-panel:before{
	content:"";
	position:absolute;
	inset:0;
	background:
		radial-gradient(circle at 50% 50%,rgba(255,174,0,.08),transparent 34%),
		linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.18) 45%,rgba(0,0,0,.55));
	pointer-events:none;
}

.how-panel h3,
.steps{
	position:relative;
	z-index:2;
}

.steps{
	display:grid;
	grid-template-columns:1fr 34px 1fr 34px 1fr 34px 1fr;
	align-items:center;
	gap:18px;
	margin-top:40px;
}

.step{
	display:flex;
	flex-direction:column;
	align-items:center;
	text-align:center;
}

.step img{
	width:114px;
	height:114px;
	object-fit:contain;
	filter:drop-shadow(0 12px 18px rgba(0,0,0,.55));
}

.step span{
	display:flex;
	align-items:center;
	justify-content:center;
	width:34px;
	height:34px;
	margin-top:14px;
	border:2px solid #ffbf00;
	border-radius:50%;
	background:rgba(0,0,0,.35);
	color:#fff;
	font-size:15px;
	font-weight:1000;
	box-shadow:
		0 0 12px rgba(255,191,0,.22),
		inset 0 1px 0 rgba(255,255,255,.05);
	text-shadow:0 1px 2px rgba(0,0,0,.55);
}

.step strong{
	display:block;
	margin-top:12px;
	color:#fff;
	text-transform:uppercase;
	font-size:15px;
	font-weight:900;
	line-height:1.25;
}

.step-arrow{
	position:relative;
	top:-50px;
	color:#ffc400;
	text-align:center;
	font-size:34px;
	line-height:1;
	opacity:.9;
}

/* =========================================
   DRINK BLOCK
========================================= */

.drink-bottom{
	display:block;
	margin-top:55px;
	margin-bottom:18px;
}

.drink-panel{
	display:grid;
	grid-template-columns:36% 31% 30%;
	gap:18px;
	align-items:stretch;
}

.drink-left,
.drink-volume-box,
.drink-check-box{
	min-width:0;
}

.drink-left h3{
	margin:0;
	color:#fff;
	font-size:30px;
	font-weight:1000;
	text-transform:uppercase;
}

.drink-left>span{
	display:block;
	margin-top:8px;
	color:#ffc400;
	font-size:14px;
	font-weight:900;
	text-transform:uppercase;
}

.drink-types{
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:18px 14px;
	margin-top:26px;
}

.drink-type{
	border:0;
	background:transparent;
	color:#fff;
	cursor:pointer;
}

.drink-type__image{
	display:flex;
	align-items:center;
	justify-content:center;
	width:72px;
	height:72px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:15px;
	background:rgba(255,255,255,.035);
	transition:.18s ease;
}

.drink-type:hover .drink-type__image,
.drink-type.active .drink-type__image{
	border-color:rgba(255,196,0,.75);
	background:rgba(255,196,0,.08);
	transform:translateY(-1px);
}

.drink-type img{
	width:58px;
	height:58px;
	object-fit:contain;
	filter:drop-shadow(0 10px 16px rgba(0,0,0,.45));
}

.drink-type b{
	display:block;
	margin-top:12px;
	font-size:13px;
	text-transform:uppercase;
}

.drink-right{
	display:contents;
}

.drink-volume-box,
.drink-check-box{
	height:100%;
	padding:18px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:16px;
	background:rgba(255,255,255,.03);
}

.drink-volume-box h3,
.drink-check-box h3{
	margin:0 0 16px;
	font-size:24px;
	text-transform:uppercase;
}

.volume-buttons{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:10px;
}

.volume-buttons button{
	height:44px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:11px;
	background:rgba(255,255,255,.04);
	color:#fff;
	font-size:13px;
	font-weight:900;
	text-transform:uppercase;
	cursor:pointer;
}

.volume-buttons button:hover,
.volume-buttons button.active{
	border-color:rgba(255,196,0,.70);
	background:rgba(255,196,0,.10);
	color:#ffc400;
}

.drink-check-box{
	display:flex;
	flex-direction:column;
}

.drink-check-list{
	display:flex;
	flex-direction:column;
	gap:6px;
	min-height:250px;
	align-items:flex-start;
}

.drink-volume-sub{
	display:block;
	margin:-6px 0 26px;
	color:#ffc400;
	font-size:14px;
	font-weight:900;
	text-transform:uppercase;
}

.drink-placeholder,
.drink-check-item{
	display:flex;
	align-items:center;
	width:100%;
	padding:4px 0;
	border:0;
	background:none;
	font-size:13px;
	text-transform:uppercase;
}

.drink-placeholder strong{
	order:1;
	color:rgba(255,255,255,.82);
	font-weight:700;
	white-space:nowrap;
}

.drink-placeholder:before,
.drink-check-item:before{
	content:"";
	order:2;
	flex:1;
	margin:0 10px;
	border-bottom:1px dashed rgba(255,255,255,.22);
	transform:translateY(1px);
}

.drink-placeholder span{
	order:3;
	color:#fff;
	font-weight:900;
	white-space:nowrap;
}

.drink-check-item strong{
	order:1;
	color:#9f9f9f;
	font-size:14px;
	font-weight:700;
	text-transform:uppercase;
	white-space:nowrap;
}

.drink-check-item span{
	order:3;
	color:#ffc400;
	font-size:14px;
	font-weight:900;
	white-space:nowrap;
}

.drink-check-item button{
	order:4;
	display:flex;
	align-items:center;
	justify-content:center;
	width:18px;
	height:18px;
	margin-left:10px;
	border:0;
	border-radius:50%;
	background:#a61d1d;
	color:#fff;
	font-size:11px;
	font-weight:900;
	line-height:1;
	cursor:pointer;
	transition:.15s ease;
}

.drink-submit-btn{
	width:100%;
	margin-top:auto;
}

.drink-submit-btn:disabled{
	opacity:.45;
	cursor:default;
}

.add-drink-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:18px;
	height:62px;
	margin-top:20px;
	border:0;
	border-radius:12px;
	background:linear-gradient(180deg,#ffd34a,#ffb300);
	color:#111;
	text-transform:uppercase;
	font-size:18px;
	font-weight:1000;
	box-shadow:
		0 14px 30px rgba(255,179,0,.25),
		inset 0 1px 0 rgba(255,255,255,.45);
	cursor:pointer;
}

/* =========================================
   TOURNAMENTS
========================================= */

.tournaments-section{
	margin-top:55px;
	margin-bottom:80px;
}

.tournaments-section .tournaments-panel{
	width:100%;
}

.tournaments-section .tournament-list{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:18px;
	padding-top:20px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px){

	.dashboard-grid,
	.bottom-section,
	.drink-panel,
	.tournaments-section .tournament-list{
		grid-template-columns:1fr;
	}

	.how-panel,
	.teams-panel{
		grid-column:auto;
	}

	.steps{
		grid-template-columns:1fr;
		gap:22px;
	}

	.step-arrow{
		transform:rotate(90deg);
	}

	.drink-right{
		display:grid;
		grid-template-columns:1fr;
		gap:18px;
		padding-left:0;
		padding-top:24px;
		border-left:0;
		border-top:1px solid rgba(255,255,255,.10);
	}

	.drink-types{
		grid-template-columns:repeat(3,1fr);
	}

}

@media(max-width:640px){
	
	.panel-head span{
	font-size: 10px!important;
}
.rating-item--progress{
	position:relative;
	overflow:hidden;
	padding-left:10px;
	padding-right:10px;
	border-radius:6px;
}

.rating-item--progress:before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:var(--rating-fill);
	background:linear-gradient(90deg,#ffc400,#ff8a00);
	pointer-events:none;
}

.rating-item--progress > *{
	position:relative;
	z-index:1;
}

.rating-level{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:34px;
	height:20px;
	padding:0 10px;
	border-radius:9px;
	background:#755100;
	color:#fff;
	font-size:12px;
	font-weight:1000;
	line-height:1;
}

.rating-score span{
	color:#ffffff;
	font-weight:900;
	font-size:12px;
}

	.drink-types,
	.tournament-list{
		grid-template-columns:1fr 1fr;
	}

	.live-grid{
		grid-template-columns:1fr;
	}

}

