/* ========================================
   HOMEPAGE HERO
======================================== */

.hero {
    position: relative;

    width: 100%;
    min-height: 88vh;

    display: flex;
    align-items: center;

    padding: 120px 80px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,30,0.88) 0%,
            rgba(0,0,30,0.72) 40%,
            rgba(0,0,30,0.15) 100%
        ),
        url('../images/hero.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* HERO CONTENT */

.hero-content {
    display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 760px;
	position: relative;
    z-index: 2;
}
/* MAIN TITLE */

.hero h1 {
    color: #ffffff;

    font-family:'Jawbreak', sans-serif;
	font-size: clamp(58px, 8vw, 120px);
    line-height: 0.95;

    font-weight: 900;
    text-transform: uppercase;

    margin-bottom: 28px;
}

/* RED TEXT */

.hero h1 span {
    color: #ff3700;
}
/* BUTTON */

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 32px;

    background: #ff3700;
    color: #ffffff;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}
/* HOVER */

.hero-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
/* ===============================
   GENERAL SECTION LAYOUT
================================= */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-3 {
    display: flex;
    gap: 40px;
}


/* ===============================
   CARDS (Latest / Game / Standings)
================================= */
.card {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Center Homepage Card Titles Only */
.section .card > h3,
.section .card > .card-title {
    text-align: center;
}

/* Blue title bar */
.card h3,
.card .widget-title {
    background: #000030;
    color: #ffffff;
    padding: 15px;
	font-family:'Jawbreak',sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card content */
.card p,
.card .widget {
    padding: 20px;
    font-size: 14px;
}

/* ===============================
   LATEST NEWS STYLE
================================= */

.latest-news {
    padding-bottom: 20px;
}

.latest-news h3 {
    background: #000030;
    color: #ffffff;
    padding: 15px;
	font-family:'Jawbreak',sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.news-item {
    padding: 20px;
}

.news-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content h4 a {
    text-decoration: none;
    color: #ff3700;
}

.news-content h4 a:hover {
    text-decoration: underline;
}

.news-content p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background: #ff3700;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 13px;
}

.read-more:hover {
    opacity: 0.85;
}

/* ===============================
   NEXT GAME PANEL
================================= */

.next-game-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Title Bar Like Other Panels */
.card-title {
    background: #000030;
    color: #ffffff;
    padding: 15px;
	font-family:'Jawbreak',sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Inner Dark Section */
.next-game-inner {
    background: linear-gradient(180deg, #092144, #000030);
    color: #ffffff;
    padding: 25px 25px 35px 25px;
    text-align: center;
    flex-grow: 1;
}

/* Matchup Layout */
.matchup {
    margin-bottom: 20px;
}

.team-name {
	font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vs {
	font-family:'Jawbreak';
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* Game Date */
.game-date {
	font-family: 'Barlow', sans-serif;
    font-size: 15px;
    margin: 20px 0;
    letter-spacing: 1px;
}

/* Countdown Label */
.countdown-label {
    margin: 15px 0 20px;
	font-family: 'Barlow', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Countdown Layout */
#countdown {
    display: flex;
	font-family: 'Barlow', sans-serif;
    justify-content: center;
    gap: 30px;
}
@media (max-width: 480px) {

    #countdown {
        gap: 15px;
    }

    .time-box span {
        font-size: 28px;
    }

    .team-name {
        font-size: 18px;
    }
}

.time-box {
    text-align: center;
}

.time-box span {
    display: block;
    font-size: 42px;
    font-weight: 800;
}

.time-box small {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}
/* Divider*/
.divider {
    width: 90%;
    height: 2px;
    background: #ffffff;
    opacity: 0.3;
    margin: 20px auto;
}

/* ===============================
   LEAGUE STANDINGS TABLE
================================= */

.standings-wrapper {
    margin-top: 15px;
}

/* Key Row */
.standings-key {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 15px;
    border-bottom: 2px solid #e5e5e5;
    color: #0c2d5a;
    letter-spacing: 1px;
}

.key-team {
    flex: 1;
    text-align: left;
}

.key-pts {
    width: 50px;
    text-align: right;
}

/* Team Rows */
.standing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    background: #f8f9fb;
}

.standing-row:nth-child(even) {
    background: #ffffff;
}

.standing-team {
    flex: 1;
    font-weight: 600;
    color: #0c2d5a;
}

.standing-pts {
    width: 50px;
    text-align: right;
    font-weight: bold;
    color: #ff3700;
}
/* =====================================
   FUTURE GAMES + SUBSCRIBE SECTION
===================================== */

.future-grid {
    display: flex;
    gap: 40px;
}

/* Left column larger */
.future-games {
    flex: 2;
}

/* Right column smaller */
.subscribe {
    flex: 1;
}

/* Future games layout */
.future-inner {
    padding: 25px;
}

.future-game {
    margin-bottom: 15px;
}

.future-date {
    font-family: 'Barlow', sans-serif;	
    font-weight: bold;
    color: #ff3700;
    margin-bottom: 6px;
}

.future-match {
    font-family: 'Barlow', sans-serif;	
    font-size: 16px;
    color: #000030;
    font-weight: 600;
}

/* Subscribe */
.subscribe-inner {
    padding: 25px;
    text-align: center;
}

.subscribe-inner p {
    margin-bottom: 20px;
}

/* Form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.subscribe-form button {
    background: #fe2d02;
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
}

.subscribe-form button:hover {
    opacity: 0.85;
}
/* Reduce gap above Future Games section */
.future-subscribe {
    padding-top: 10px;
}
/* Future Game Home/Away Badge */
.game-location {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 12px;
    color: #fff;
    text-transform: uppercase;
}

.game-location.home {
    font-family: 'Jawbreak', sans-serif;	
    background: #ff3700; /* orange for home */
}

.game-location.away {
	font-family: 'Jawbreak', sans-serif;
    background: #000030; /* blue for away */
}
/* =====================================
   MOBILE HOMEPAGE LAYOUT
===================================== */

@media (max-width: 1024px) {

    /* Main card row */
    .grid-3 {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .grid-3 > * {
        width: 100%;
    }

    /* Future Games + Subscribe */
    .future-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .future-games,
    .subscribe {
        width: 100%;
    }

    /* General cards */
    .card,
    .next-game-card,
    .latest-news,
    .standings-card {
        width: 100%;
        margin: 0;
    }

    /* Reduce padding */
    .card-content,
    .next-game-inner,
    .future-inner,
    .subscribe-inner {
        padding: 20px;
    }

    /* Countdown */
    #countdown {
        gap: 15px;
        flex-wrap: wrap;
    }

    .time-box span {
        font-size: 32px;
    }

}