/* =========================================================
   GLOBAL PAGE IMPROVEMENTS FOR ADSENSE + CLEAN LOOK
========================================================= */

.page-intro,
.section-description,
.sidebar-description {
    font-size: 15px;
    line-height: 1.6;
    color: #d6c9ff;
    background: rgba(17, 17, 17, 0.6);
    padding: 18px 22px;
    border-left: 3px solid #7a3cff;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 12px rgba(122, 60, 255, 0.25);
}

/* Make text readable */
.page-intro {
    font-size: 16px;
    margin-top: 20px;
}

/* Section spacing */
.section-title {
    margin-top: 25px;
    margin-bottom: 8px;
}

.section-divider {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #4b0082, #7a3cff);
    border-radius: 3px;
    margin-bottom: 18px;
}

/* =========================================================
   HERO SECTION — CLEAN + CENTRED + NO BLACK OVERLAY
========================================================= */

.hero {
    height: 480px;
    background: url('welcome.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: static !important;
    border-bottom: 4px solid #4b0082;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.page-title {
    font-size: 60px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.subtitle {
    font-size: 28px;
    color: #c58cff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* =========================================================
   SIDEBAR FEATURE CARDS — CLEANER + MORE ESPORTS
========================================================= */

.feature-card {
    padding: 20px;
    border-radius: 12px;
    background: rgba(17, 17, 17, 0.85);
    border: 1px solid #4b0082;
    box-shadow: 0 0 15px rgba(122, 60, 255, 0.25);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(122, 60, 255, 0.45);
}

.feature-title {
    color: #c58cff;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 20px;
}

/* =========================================================
   TOTW SECTION — CLEANER + MORE BALANCED
========================================================= */

#homepage-totw {
    margin-bottom: 25px;
}

.totw-pitch {
    background: #111;
    border: 1px solid #4b0082;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(122, 60, 255, 0.25);
}

.totw-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.totw-player {
    text-align: center;
    color: white;
    width: 110px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: 0.25s ease;
}

.totw-player:hover {
    transform: translateY(-4px);
    background: rgba(122, 60, 255, 0.15);
}

.totw-team-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.totw-team {
    font-size: 12px;
    color: #c58cff;
    margin-bottom: 2px;
}

.totw-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

/* =========================================================
   COMPETITION WINNERS — CLEANER GRID
========================================================= */

.comp-winners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.comp-card {
    text-align: center;
    padding: 15px;
    background: rgba(17,17,17,0.85);
    border: 1px solid #4b0082;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(122, 60, 255, 0.25);
    transition: 0.25s ease;
}

.comp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(122, 60, 255, 0.45);
}

.comp-card img {
    height: 50px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.comp-card h4 {
    font-size: 18px;
    color: #c58cff;
    margin-bottom: 4px;
}

.comp-card p {
    font-size: 14px;
    color: #ddd;
}

/* =========================================================
   MINI LEAGUE TABLE — CLEANER + MORE READABLE
========================================================= */

.mini-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid #222;
    font-size: 14px;
    color: white;
    transition: 0.25s ease;
}

.mini-table-row:hover {
    background: rgba(122, 60, 255, 0.15);
}

.mini-table-team img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* =========================================================
   MINI FIXTURES — CLEANER + MORE ESPORTS
========================================================= */

.mini-fixture {
    background: rgba(17,17,17,0.85);
    border: 1px solid #4b0082;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: 0.25s ease;
}

.mini-fixture:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(122, 60, 255, 0.35);
}

.mini-fixture-team img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.mini-fixture span {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 0 6px;
    text-shadow: 0 0 6px rgba(255,255,255,0.4);
}

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

@media (max-width: 768px) {
    .page-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 22px;
    }

    .page-intro {
        font-size: 15px;
    }

    .totw-player {
        width: 95px;
    }

    .totw-team-logo {
        width: 32px;
        height: 32px;
    }

    .mini-table-row,
    .mini-fixture {
        font-size: 13px;
    }
}
