/* BASE */
*{box-sizing:border-box;margin:0;padding:0}
body{
 font-family:'Outfit',sans-serif;
 background:#fff;
 position:relative;
}
body::before{
 content:"";
 position:fixed;
 inset:0;
 background:repeating-linear-gradient(45deg,rgba(0,0,0,.015) 0px,rgba(0,0,0,.015) 8px,transparent 8px,transparent 80px);
 pointer-events:none;
 z-index:-1;
}

/* NAVBAR */
.navbar{
 position:sticky;top:0;z-index:1000;
 display:grid;grid-template-columns:auto 1fr auto;
 align-items:center;
 padding:12px 24px;
 background:#d6d6d6;
}
.brand img{height:46px}

.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{color:#000;text-decoration:none}
.nav-divider{width:1px;height:18px;background:#aaa}

/* SEARCH */
.search-bar{display:flex;justify-content:center;align-items:center;gap:10px}
.search-bar input{
 width:420px;padding:14px 16px;
 border-radius:30px;border:none;
 font-size:1.05rem;
 background:#f1f1f1;
 outline:none;
}
.search-bar input::-webkit-search-cancel-button{
 -webkit-appearance:none;
 height:16px;width:16px;
 background:url("data:image/svg+xml;utf8,<svg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><line x1='4' y1='4' x2='16' y2='16' stroke='red' stroke-width='2'/><line x1='16' y1='4' x2='4' y2='16' stroke='red' stroke-width='2'/></svg>") no-repeat center;
 cursor:pointer;
}
.search-btn{
 padding:12px 18px;
 border-radius:25px;
 border:none;
 background:#000;color:#fff;
 cursor:pointer;
}
.search-btn:hover{opacity:.85}

/* LINKS */
a{color:#000;text-decoration:none}
a:visited{color:#000}
a:hover{color:#f00000;text-decoration:underline}

/* RETURN BUTTON */
.return-wrapper{display:flex;justify-content:center}
.return-btn{
 display:flex;align-items:center;justify-content:center;gap:10px;
 width:420px;padding:14px 16px;
 margin-left:40px;
 border-radius:30px;border:1px solid #ddd;
 background:#f1f1f1;
 font-size:1.05rem;font-weight:500;
 color:#000;
 transition:.2s ease;
 text-decoration:none;
}
.return-btn:hover{
 background:#eaeaea;
 border-color:#bbb;
 color:#000;
 text-decoration:none;
}
.return-arrow{font-size:1rem;opacity:.7}

/* CAROUSEL */
.carousel{position:relative;width:100%;height:550px;overflow:hidden}
.carousel-track{display:flex;height:100%;transition:transform .6s ease}
.slide{min-width:100%;height:100%}
.slide img{
 width:100%;height:100%;
 object-fit:cover;
 object-position:50% 4%;
 pointer-events:none;
}
.arrow{
 position:absolute;top:50%;
 transform:translateY(-50%);
 background:rgba(0,0,0,.5);
 border:none;color:#fff;
 font-size:28px;
 width:44px;height:44px;
 border-radius:50%;
 cursor:pointer;
}
.arrow:hover{opacity:.85}
.arrow.left{left:20px}
.arrow.right{right:20px}

/* SECTIONS */
.section{padding:20px 30px}
.section h2,.match-column h2{text-align:center;margin-bottom:15px}
.divider{height:1px;background:linear-gradient(to right,transparent,#ccc,transparent)}

/* CARDS */
.card-row{display:flex;gap:18px}
.card{
 position:relative;
 flex:1;height:220px;
 border-radius:12px;
 overflow:hidden;
 cursor:pointer;
}
.card img{
 width:100%;height:100%;
 object-fit:cover;
 object-position:center 15%;
 transition:.4s;
}
.card:hover img{transform:scale(1.05)}
.card-overlay{
 position:absolute;bottom:0;width:100%;
 padding:14px;
 background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
 color:#fff;font-weight:600;
}

/* TABLE */
.table{
 max-width:600px;
 margin:20px auto 0;
 border-radius:12px;
 overflow:hidden;
 background:#f4f4f4;
}
.table-row{
 display:flex;
 justify-content:space-between;
 padding:16px 20px;
 border-bottom:1px solid #ddd;
 font-weight:500;
}
.table-row:last-child{border-bottom:none}
.table-row span:last-child{font-weight:600}

/* MATCHES */
.matches-container{
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:40px;
 padding:40px;
}
.match-column{text-align:center}
.match-box{
 background:#f7f7f7;
 border-radius:14px;
 overflow:hidden;
}
.match-row{
 display:flex;
 justify-content:space-between;
 padding:14px 18px;
 border-bottom:1px solid #e3e3e3;
}
.match-row:last-child{border-bottom:none}
.match-box.collapsed .extra-match{display:none}

/* BUTTONS */
.see-more-btn{
 display:block;
 margin:18px auto 0;
 padding:8px 18px;
 border-radius:25px;
 border:1px solid #ddd;
 background:#f4f4f4;
 font-weight:500;
 cursor:pointer;
 transition:.2s;
}
.see-more-btn:hover{background:#eaeaea;border-color:#bbb}

.see-more{
 display:block;
 width:fit-content;
 margin:20px auto 0;
 text-align:center;
}

/* VIDEOS */
.video-grid{
 display:grid;
 grid-template-columns:repeat(2,1fr);
 max-width:900px;
 margin:30px auto;
 gap:6px;
}
.video-card{
 position:relative;
 overflow:hidden;
 border-radius:12px;
 aspect-ratio:16/9;
 background:#000;
 cursor:pointer;
}
.video-thumb{
 width:100%;height:100%;
 object-fit:cover;
 display:block;
 transition:transform .3s ease;
 will-change:transform;
}
.video-card:hover .video-thumb{transform:scale(1.05)}
.video-card::after{
 content:"▶";
 position:absolute;
 font-size:32px;
 color:#fff;
 background:rgba(0,0,0,.5);
 width:60px;height:60px;
 border-radius:50%;
 display:flex;
 align-items:center;
 justify-content:center;
 top:50%;left:50%;
 transform:translate(-50%,-50%);
 opacity:0;
 transition:.3s;
}
.video-card:hover::after{opacity:1}

/* FEATURED VIDEO */
.featured-video{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:30px;
 max-width:900px;
 margin:0 auto;
}
.featured-video .video-card{
 width:100%;
 max-width:450px;
 aspect-ratio:16/9;
}
.featured-text{
 max-width:350px;
 font-weight:500;
 line-height:1.4;
}

/* TRANSFERS */
.transfers-grid{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 padding:50px 60px;
}
.transfer-column{
 position:relative;
 padding:0 25px;
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:20px;
}
.transfer-column h3{text-align:center;margin-bottom:15px}
.transfer-column:not(:last-child)::after{
 content:"";
 position:absolute;
 top:10px;bottom:10px;right:0;
 width:1px;
 background:linear-gradient(to bottom,transparent,#e2e2e2 20%,#e2e2e2 80%,transparent);
}
.transfer-card{
 width:100%;
 background:#f4f4f4;
 padding:20px;
 border-radius:14px;
 text-align:center;
 transition:.3s;
 position:relative;
}
.transfer-card:hover{
 transform:translateY(-5px);
 box-shadow:0 10px 20px rgba(0,0,0,.1);
}
.transfer-card img{
 width:80px;height:80px;
 object-fit:cover;
 border-radius:50%;
 margin-bottom:12px;
}
.transfer-card h3{margin:8px 0 4px;font-size:1rem}
.transfer-card p{font-size:.9rem;color:#555;margin:4px 0}
.transfer-card strong{display:block;margin-top:6px;font-size:1.05rem}

.transfer-row{
 display:flex;
 justify-content:center;
 gap:30px;
 flex-wrap:nowrap;
}
.transfer-row .transfer-card{
 width:220px;
 flex:0 0 auto;
}

/* MEDALS */
.medal-badge{
 position:absolute;
 top:-8px;left:-8px;
 font-size:26px;
 transform:rotate(-20deg);
 animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{
 0%{transform:rotate(-20deg) scale(1)}
 50%{transform:rotate(-20deg) scale(1.25)}
 100%{transform:rotate(-20deg) scale(1)}
}

/* HERO + ARTICLE */
.hero{position:relative;height:70vh;overflow:hidden}
.hero img{
 width:100%;height:100%;
 object-fit:cover;
 object-position:center 20%;
 transition:opacity .6s ease;
}
.article{
 max-width:800px;
 margin:40px auto;
 padding:0 20px;
 line-height:1.7;
 font-size:1.05rem;
}
.article h1{margin-bottom:20px;font-size:2rem}
.article p{margin-bottom:20px}

/* FOLLOWING */
#fs-upcoming{display:block;width:100%;margin:20px 0}
#fs-upcoming>div{
 margin:0 auto;
 display:block;
 width:500px;
}

/* COMMUNITY */
.rules{margin-top:10px;line-height:1.6;text-align:center}
.posts-wall{
 max-height:500px;
 overflow-y:auto;
 display:flex;
 flex-direction:column;
 gap:15px;
 margin-top:15px;
 padding-right:5px;
}
.post-card{
 position:relative;
 background:#f4f4f4;
 padding:15px;
 border-radius:12px;
 transition:.2s ease;
}
.post-card:hover{
 transform:translateY(-3px);
 box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.post-card h4{margin-bottom:8px}
.post-card p{font-size:.95rem}

/* CREATE */
.create-card input,
.create-card textarea{
 width:100%;
 margin-bottom:8px;
 padding:8px;
 border-radius:8px;
 border:1px solid #ddd;
 font-family:'Outfit';
}
.create-card textarea{height:80px;resize:none}
.create-card button{
 width:100%;
 padding:8px;
 border:none;
 border-radius:8px;
 background:#000;color:#fff;
 cursor:pointer;
 transition:.2s;
}
.create-card button:hover{opacity:.85}

/* REPORT */
.report-icon{
 position:absolute;
 top:10px;right:10px;
 width:16px;
 cursor:pointer;
 opacity:.7;
}
.report-icon:hover{opacity:1}

.report-overlay{
 position:fixed;
 inset:0;
 background:rgba(0,0,0,.3);
 backdrop-filter:blur(4px);
 display:none;
 justify-content:center;
 align-items:center;
 z-index:999;
}
.report-box{
 background:#fff;
 padding:20px;
 border-radius:12px;
 width:300px;
 text-align:center;
 position:relative;
 box-shadow:0 20px 40px rgba(0,0,0,.25);
}
.close-report{
 position:absolute;
 top:8px;right:10px;
 background:none;border:none;
 cursor:pointer;
 font-size:1rem;
 color:red;
}
.report-actions{
 margin-top:15px;
 display:flex;
 justify-content:center;
 gap:20px;
}
.report-actions button{
 background:none;border:none;
 font-weight:500;
 cursor:pointer;
}
.report-actions button:first-child:hover{color:green}
.report-actions button:last-child:hover{color:red}

/* COUNTERS */
.create-card small{
 display:block;
 text-align:right;
 font-size:.75rem;
 margin-bottom:6px;
 color:#666;
}
.limit-hit{color:red!important}

/* INPUT HOVER */
.create-card input:hover,
.create-card textarea:hover{border-color:#aaa}

/* SUPPORT + FAQ */
.support-wrapper{
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:20px;
 margin-top:25px;
}
.support-btn{
 display:block;
 width:260px;
 text-align:center;
 padding:14px 20px;
 border-radius:30px;
 border:1px solid #ddd;
 background:#f4f4f4;
 font-weight:500;
 font-size:1.05rem;
 transition:.25s;
}
.support-btn:hover{
 transform:scale(1.05);
 background:#eaeaea;
 border-color:#bbb;
 color:#000;
 text-decoration:none;
}

.faq-row{
 display:flex;
 gap:20px;
 justify-content:center;
 flex-wrap:wrap;
}
.faq-card{
 background:#f4f4f4;
 padding:20px;
 border-radius:14px;
 width:260px;
 text-align:center;
 transition:.2s;
}
.faq-card:hover{
 transform:translateY(-5px);
 box-shadow:0 8px 18px rgba(0,0,0,.1);
}

/* LARGE INPUT */
.large-box{
 max-width:600px;
 margin:20px auto;
}
.large-box textarea{height:140px}