/* Match types page base */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#061a35;
color:#ffffff;
}

/* Page wrapper */
.format-page{
min-height:100vh;
background:
linear-gradient(135deg,rgba(3,15,35,.95),rgba(8,54,95,.92)),
url("/assets/img/stadium.jpg") center/cover fixed no-repeat;
padding-bottom:50px;
}

/* Hero section */
.format-hero{
min-height:72vh;
display:flex;
align-items:center;
justify-content:center;
padding:50px 20px;
text-align:center;
position:relative;
overflow:hidden;
}

.format-hero::before{
content:"";
position:absolute;
width:420px;
height:420px;
border-radius:50%;
background:rgba(0,255,136,.14);
filter:blur(12px);
top:-140px;
right:-120px;
}

/* Match Types Hero Icons Fix Start */
.format-hero::after{
content:"🏏";
position:absolute;
font-size:180px;
opacity:.08;
bottom:20px;
left:30px;
transform:rotate(-18deg);
}

.format-badge-icon::before{
content:"🏏";
}

.format-home-icon::before{
content:"🏠";
}

.format-schedule-icon::before{
content:"📅";
}

.format-card-trophy-icon::before{
content:"🏆";
}
/* Match Types Hero Icons Fix End */

.format-hero-content{
position:relative;
z-index:2;
max-width:900px;
}

.format-badge{
display:inline-flex;
align-items:center;
justify-content:center;
padding:10px 18px;
border-radius:999px;
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.18);
font-size:13px;
font-weight:800;
letter-spacing:1px;
text-transform:uppercase;
margin-bottom:18px;
}

.format-hero h1{
font-size:54px;
line-height:1.08;
font-weight:900;
text-transform:uppercase;
margin-bottom:18px;
text-shadow:0 0 18px rgba(0,255,136,.35);
}

.format-hero p{
font-size:17px;
line-height:1.9;
color:#dbeafe;
max-width:780px;
margin:0 auto 28px;
}

.format-hero-actions{
display:flex;
justify-content:center;
gap:14px;
flex-wrap:wrap;
}

.format-btn{
display:inline-flex;
align-items:center;
justify-content:center;
text-decoration:none;
padding:14px 28px;
border-radius:999px;
background:linear-gradient(135deg,#00ff88,#00c853);
color:#ffffff;
font-size:15px;
font-weight:800;
box-shadow:0 0 18px rgba(0,255,136,.35);
transition:.3s ease;
}

.format-btn.secondary{
background:linear-gradient(135deg,#00aaff,#0066ff);
box-shadow:0 0 18px rgba(0,170,255,.35);
}

.format-btn:hover{
transform:translateY(-3px) scale(1.03);
color:#ffffff;
}

/* Content container */
.format-container{
max-width:1180px;
margin:0 auto;
padding:0 20px;
}

/* Main cards */
.format-card{
display:flex;
gap:20px;
align-items:flex-start;
background:rgba(255,255,255,.1);
border:1px solid rgba(255,255,255,.16);
border-radius:24px;
padding:28px;
backdrop-filter:blur(8px);
box-shadow:0 18px 40px rgba(0,0,0,.18);
margin-bottom:28px;
}

.format-card-icon{
width:70px;
height:70px;
border-radius:22px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#ffd000,#ff8c00);
font-size:36px;
flex:0 0 auto;
}

.format-card h2,
.format-flow h2,
.playoff-section h2,
.format-timeline h2{
font-size:30px;
font-weight:900;
margin-bottom:12px;
text-transform:uppercase;
}

.format-card p{
font-size:16px;
line-height:1.9;
color:#eaf6ff;
}

/* Flow section */
.format-flow{
margin:36px 0;
}

.flow-grid{
display:grid;
grid-template-columns:1fr auto 1fr auto 1fr;
gap:16px;
align-items:center;
}

.flow-box{
background:#ffffff;
color:#102033;
border-radius:22px;
padding:24px;
min-height:210px;
box-shadow:0 16px 34px rgba(0,0,0,.18);
position:relative;
overflow:hidden;
}

.flow-box::after{
content:"";
position:absolute;
width:110px;
height:110px;
border-radius:50%;
background:rgba(0,170,255,.12);
right:-30px;
bottom:-30px;
}

.flow-box span{
display:flex;
width:42px;
height:42px;
align-items:center;
justify-content:center;
border-radius:50%;
background:#16a34a;
color:#ffffff;
font-weight:900;
margin-bottom:14px;
}

.flow-box h3{
font-size:20px;
font-weight:900;
margin-bottom:10px;
}

.flow-box p{
font-size:14px;
line-height:1.7;
color:#4b5563;
}

/* Match Types Flow Arrow Icon Fix Start */
.flow-arrow{
font-size:34px;
font-weight:900;
color:#00ff88;
}

.flow-arrow-icon::before{
content:"➜";
}
/* Match Types Flow Arrow Icon Fix End */

/* Playoff bracket */
.playoff-section{
margin:44px 0;
}

.playoff-bracket{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:22px;
position:relative;
}

.playoff-card{
background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.08));
border:1px solid rgba(255,255,255,.18);
border-radius:24px;
padding:26px;
min-height:230px;
position:relative;
overflow:hidden;
box-shadow:0 16px 36px rgba(0,0,0,.2);
}

.playoff-card::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(120deg,transparent,rgba(255,255,255,.12),transparent);
transform:translateX(-100%);
transition:.8s ease;
}

.playoff-card:hover::before{
transform:translateX(100%);
}

.playoff-label{
display:inline-flex;
padding:8px 14px;
border-radius:999px;
background:#00ff88;
color:#061a35;
font-size:12px;
font-weight:900;
text-transform:uppercase;
margin-bottom:16px;
}

.playoff-card h3{
font-size:24px;
font-weight:900;
margin-bottom:12px;
}

.playoff-card p{
font-size:15px;
line-height:1.8;
color:#dbeafe;
}

.qualifier-one{
border-color:rgba(0,255,136,.45);
}

.eliminator{
border-color:rgba(255,208,0,.45);
}

.qualifier-two{
border-color:rgba(0,170,255,.45);
}

.final-card{
border-color:rgba(255,80,80,.45);
background:linear-gradient(135deg,rgba(255,208,0,.18),rgba(255,255,255,.08));
}

/* Timeline */
.format-timeline{
background:rgba(0,0,0,.24);
border:1px solid rgba(255,255,255,.14);
border-radius:24px;
padding:28px;
}

.timeline-item{
display:flex;
gap:16px;
align-items:center;
padding:16px 0;
border-bottom:1px solid rgba(255,255,255,.12);
}

.timeline-item:last-child{
border-bottom:none;
}

.timeline-item span{
width:46px;
height:46px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(255,255,255,.12);
font-size:24px;
flex:0 0 auto;
}

/* Match Types Timeline Icons Fix Start */
.timeline-cricket-icon::before{
content:"🏏";
}

.timeline-check-icon::before{
content:"✅";
}

.timeline-fire-icon::before{
content:"🔥";
}

.timeline-trophy-icon::before{
content:"🏆";
}
/* Match Types Timeline Icons Fix End */

.timeline-item p{
font-size:16px;
line-height:1.7;
color:#eaf6ff;
}

/* Mobile responsive */
@media(max-width:900px){
.format-hero h1{
font-size:38px;
}

.flow-grid{
grid-template-columns:1fr;
}

.flow-arrow{
transform:rotate(90deg);
text-align:center;
}

.playoff-bracket{
grid-template-columns:1fr;
}
}

@media(max-width:560px){
.format-hero{
min-height:auto;
padding:42px 16px;
}

.format-hero h1{
font-size:30px;
}

.format-hero p{
font-size:14px;
}

.format-card{
flex-direction:column;
padding:22px;
}

.format-card h2,
.format-flow h2,
.playoff-section h2,
.format-timeline h2{
font-size:24px;
}

.flow-box,
.playoff-card{
padding:22px;
}

.format-btn{
width:100%;
}
}