@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
    --primary: #0a0f1d;
    --primary-accent: #0284c7;
    --pitch-green: #10b981;
    --accent-red: #ef4444;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR */
.top-bar {
    background: #060911;
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-badge {
    background: var(--accent-red);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* MATCH TICKER BAR */
.match-ticker-bar {
    background: #0f172a;
    color: #fff;
    border-bottom: 2px solid #1e293b;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
}
.match-ticker-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
}
.ticker-label {
    background: var(--pitch-green);
    color: #064e3b;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.match-chip {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}
.match-chip .score {
    background: #0284c7;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.match-chip .status {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
}

/* HEADER */
.main-header {
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #0284c7, #10b981);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.logo-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #0f172a;
}
.logo-text span {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 26px;
}
.main-nav a {
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    padding-bottom: 4px;
}
.main-nav a:hover, .main-nav a.active {
    color: #0284c7;
    border-bottom: 2px solid #0284c7;
}

/* BREAKING NEWS BAR */
.breaking-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 14px;
}
.breaking-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}
.breaking-title {
    background: var(--accent-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.breaking-text {
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* HERO MAGAZINE GRID */
.hero-magazine {
    padding: 24px 0;
}
.magazine-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.main-headline {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 480px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.25s ease;
}
.main-headline:hover {
    transform: translateY(-3px);
}
.headline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.4s ease;
}
.main-headline:hover .headline-img {
    transform: scale(1.03);
}
.headline-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, rgba(10,15,29,0.95) 0%, rgba(10,15,29,0.4) 60%, transparent 100%);
    color: #fff;
}
.category-badge {
    display: inline-block;
    background: var(--primary-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.headline-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}
.headline-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #cbd5e1;
}

/* SIDE HEADLINES */
.side-headlines {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.side-card {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 230px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-end;
    transition: transform 0.25s ease;
}
.side-card:hover {
    transform: translateY(-3px);
}
.side-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.4s;
}
.side-card:hover img {
    transform: scale(1.04);
}
.side-content {
    position: relative;
    z-index: 2;
    padding: 18px;
    background: linear-gradient(to top, rgba(10,15,29,0.95), transparent);
    color: #fff;
}
.side-content h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
    color: #ffffff;
}

/* MAIN CONTENT WITH SIDEBAR */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    margin-top: 30px;
}

/* SECTION TITLE */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--pitch-green);
    padding-left: 14px;
    margin-bottom: 22px;
}
.section-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #0f172a;
    letter-spacing: 0.5px;
}
.section-header a {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-accent);
}

/* ARTICLE GRID */
.article-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}
.news-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.news-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.news-box-img {
    height: 190px;
    position: relative;
    overflow: hidden;
}
.news-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-box:hover .news-box-img img {
    transform: scale(1.05);
}
.news-box-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-box-body h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 10px;
}
.news-box-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}
.news-box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

/* OPINION COLUMNISTS */
.columnists-wrap {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid var(--border-color);
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
}
.columnists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 15px;
}
.columnist-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: border 0.2s;
}
.columnist-card:hover {
    border-color: #0284c7;
}
.columnist-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.columnist-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0284c7;
}
.columnist-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.columnist-info span {
    font-size: 11px;
    color: #64748b;
}
.columnist-card p {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    color: #0f172a;
    border-left: 4px solid var(--pitch-green);
    padding-left: 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.standings-table th, .standings-table td {
    padding: 8px 6px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.standings-table th {
    color: var(--text-muted);
    font-weight: 600;
}
.standings-table td.team {
    font-weight: 600;
    color: #0f172a;
}
.standings-table td.points {
    font-weight: 800;
    color: #0284c7;
    text-align: right;
}

/* TOP SCORERS WIDGET */
.scorer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.scorer-name {
    font-weight: 600;
    color: #0f172a;
}
.scorer-team {
    font-size: 11px;
    color: #64748b;
    margin-left: 6px;
}
.scorer-goals {
    background: #ecfdf5;
    color: #059669;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

/* TV BROADCAST GUIDE */
.tv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.tv-channel {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* NEWSLETTER */
.newsletter-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}
.newsletter-box h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.newsletter-box p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}
.newsletter-box input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 13px;
}
.newsletter-box button {
    width: 100%;
    padding: 10px;
    background: var(--pitch-green);
    color: #064e3b;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* FOOTER */
.site-footer {
    background: #060911;
    color: #94a3b8;
    padding: 50px 0 25px 0;
    border-top: 4px solid var(--pitch-green);
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}
.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #ffffff;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 13px;
    color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .magazine-grid {
        grid-template-columns: 1fr;
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .article-cards-grid {
        grid-template-columns: 1fr;
    }
    .columnists-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .main-headline {
        height: 380px;
    }
    .headline-content h2 {
        font-size: 22px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
