* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #f7f8fc;
    --white: #ffffff;
    --text: #172033;
    --muted: #778096;
    --border: #e8eaf0;

    --blue: #5267e8;
    --blue-dark: #3d50c9;

    --purple: #7b61d9;
    --orange: #f28c4b;

    --green: #28a86b;
    --red: #e45d65;

    --shadow: 0 15px 40px rgba(31, 39, 70, 0.08);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* HEADER */

.header {
    height: 76px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;

    padding: 0 7%;

    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 22px;
    font-weight: 800;

    margin-right: 55px;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--purple)
    );

    color: white;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;

    transition: 0.2s;
}

.main-nav a:hover {
    color: var(--blue);
}


/* HAMBURGER */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    border: 1px solid var(--border);
    background: white;

    border-radius: 12px;

    cursor: pointer;

    padding: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    transition: 0.2s;
}

.mobile-menu-button:hover {
    background: #f1f3ff;
}

.mobile-menu-button span {
    display: block;

    width: 18px;
    height: 2px;

    background: var(--text);

    border-radius: 2px;

    transition: 0.25s;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.settings-button {
    margin-left: auto;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    background: white;

    border-radius: 12px;

    font-size: 19px;

    cursor: pointer;

    transition: 0.2s;
}

.settings-button:hover {
    background: #f1f3ff;
    color: var(--blue);
}


/* SETTINGS */

.settings-panel {
    position: absolute;

    right: 7%;
    top: 67px;

    width: 230px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    padding: 12px;

    box-shadow: var(--shadow);

    display: none;
}

.settings-panel.show {
    display: block;
}

.settings-heading {
    padding: 12px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 7px;
}

.settings-heading span {
    display: block;

    font-size: 15px;
    font-weight: 800;
}

.settings-heading small {
    color: var(--muted);
    font-size: 12px;
}

.settings-panel a {
    display: block;

    padding: 12px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    color: var(--text);

    transition: 0.2s;
}

.settings-panel a:hover {
    background: #f2f4ff;
    color: var(--blue);
}


/* HERO */

.hero {
    max-width: 1200px;

    margin: 55px auto 20px;

    padding: 60px;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(123, 97, 217, 0.3),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #202b5a,
            #3e4eb8
        );

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.hero-content {
    max-width: 600px;
}

.hero-label,
.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-label {
    color: #cdd4ff;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;

    margin: 15px 0;
}

.hero h1 span {
    display: block;
    color: #bfc8ff;
}

.hero p {
    max-width: 500px;

    color: #d9def9;

    font-size: 16px;

    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s;
}

.primary-button {
    background: white;
    color: var(--blue-dark);
}

.primary-button:hover {
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* HERO CARD */

.hero-card {
    width: 310px;

    background: white;
    color: var(--text);

    padding: 20px;

    border-radius: 20px;

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--red);

    font-size: 10px;
    font-weight: 800;
}

.live-dot {
    width: 7px;
    height: 7px;

    background: var(--red);

    border-radius: 50%;
}

.hero-match {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 24px;
}

.hero-team {
    width: 75px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    text-align: center;
}

.hero-team strong {
    font-size: 12px;
}

.hero-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-score strong {
    font-size: 22px;
}

.hero-score small {
    color: var(--red);
    font-size: 11px;
    margin-top: 4px;
}


/* CONTENT */

.content-section {
    max-width: 1200px;

    margin: 70px auto;

    padding: 0 20px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 30px;
    margin-top: 5px;
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
}

.section-label {
    color: var(--blue);
}


/* LIVE MATCHES */

.live-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.match-link {
    display: block;
}

.live-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(20, 30, 60, 0.04);

    transition: 0.2s;
}

.match-link:hover .live-card {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.live-card.premier {
    border-top: 4px solid #e30613;
}

.live-card.la-liga {
    border-top: 4px solid #ff4b1f;
}

.live-card.ligue {
    border-top: 4px solid #243b8e;
}

.match-league {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 17px 18px;

    border-bottom: 1px solid var(--border);
}

.match-league span {
    font-size: 12px;
    font-weight: 700;
}

.match-league b {
    margin-left: auto;

    font-size: 9px;

    padding: 5px 7px;

    color: var(--red);

    background: #fff0f1;

    border-radius: 6px;
}

.match-time {
    text-align: center;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

    margin-top: 18px;
}

.teams {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 20px 15px;
}

.team {
    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 9px;
}

.team h3 {
    font-size: 12px;
}

.score {
    display: flex;
    align-items: center;
    gap: 7px;
}

.score strong {
    font-size: 24px;
}

.score span {
    color: var(--muted);
}

.match-footer {
    padding: 13px;

    text-align: center;

    background: #f8f9fc;

    color: var(--muted);

    font-size: 11px;
}


/* LIVE STATUS */

.live-status {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 700;

    color: var(--red);
}

.live-status span {
    width: 7px;
    height: 7px;

    background: var(--red);

    border-radius: 50%;
}


/* TODAY'S LEAGUES */

.league-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.league-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;
}

.league-header {
    padding: 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.league-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

.league-symbol {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;
}

.premier-symbol {
    background: #fff0f1;
    color: #b6000a;
}

.laliga-symbol {
    background: #fff2ed;
    color: #d84820;
}

.ligue-symbol {
    background: #eef1ff;
    color: #243b8e;
}

.league-info h3 {
    font-size: 15px;
}

.league-info span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 2px;
}

.league-tag {
    padding: 6px 10px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;
}

.premier-league-card {
    border-left: 4px solid #e30613;
}

.premier-league-card .league-tag {
    color: #b6000a;
    background: #fff0f1;
}

.laliga-card {
    border-left: 4px solid #ff4b1f;
}

.laliga-card .league-tag {
    color: #d84820;
    background: #fff2ed;
}

.ligue-card {
    border-left: 4px solid #243b8e;
}

.ligue-card .league-tag {
    color: #243b8e;
    background: #eef1ff;
}

.today-match {
    min-height: 70px;

    padding: 15px 20px;

    display: grid;

    grid-template-columns: 80px 1fr 30px;

    align-items: center;

    border-bottom: 1px solid #f0f1f5;

    transition: 0.2s;
}

.today-match:last-child {
    border-bottom: none;
}

.today-match:hover {
    background: #fafbff;
}

.match-kickoff {
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}

.today-teams {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 13px;
    font-weight: 600;
}

.today-teams strong {
    color: var(--muted);
    font-size: 11px;
}

.match-arrow {
    color: var(--muted);

    font-size: 24px;

    text-align: right;
}


/* CTA */

.cta-section {
    max-width: 1200px;

    margin: 80px auto;

    padding: 45px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        #edf0ff,
        #f8f1ff
    );

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cta-section h2 {
    font-size: 30px;
    margin: 7px 0;
}

.cta-section p {
    color: var(--muted);
    max-width: 500px;
}

.cta-section .primary-button {
    background: var(--blue);
    color: white;

    flex-shrink: 0;
}


/* CREATE ACCOUNT */

.create-account-section {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 20px 40px;
}

.create-account-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 10px;

    background: var(--blue);
    color: white;

    font-size: 13px;
    font-weight: 800;

    transition: 0.2s;
}

.create-account-button:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}


/* FOOTER */

.footer {
    padding: 35px 7%;

    background: white;

    border-top: 1px solid var(--border);

    display: flex;
    align-items: center;

    gap: 20px;

    color: var(--muted);

    font-size: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--text);
}

.footer-brand .brand-mark {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    font-size: 13px;
}

.footer > span {
    margin-left: auto;
}


/* INNER PAGES */

.page-container {
    max-width: 900px;

    margin: 70px auto;

    padding: 0 20px;
}

.page-header {
    margin-bottom: 35px;
}

.page-header .section-label {
    display: block;
    margin-bottom: 8px;
}

.page-header h1 {
    font-size: 45px;
    line-height: 1.1;
}

.page-header p {
    margin-top: 15px;

    color: var(--muted);

    max-width: 650px;
}

.page-content {
    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px;

    box-shadow: var(--shadow);
}

.page-content h2 {
    font-size: 22px;
    margin: 25px 0 10px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--muted);

    font-size: 15px;

    margin-bottom: 15px;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-top: 25px;
}

.feature-box {
    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: #fafbff;
}

.feature-box span {
    font-size: 24px;
}

.feature-box h3 {
    margin: 12px 0 5px;

    font-size: 15px;
}

.feature-box p {
    font-size: 13px;
    margin: 0;
}


/* LOGIN */

.login-container {
    max-width: 430px;

    margin: 80px auto;

    padding: 20px;
}

.login-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px;

    box-shadow: var(--shadow);
}

.login-card h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.login-card > p {
    color: var(--muted);
    font-size: 13px;

    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 7px;
}

.form-group input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    font-size: 14px;
}

.form-group input:focus {
    border-color: var(--blue);
}

.login-button {
    width: 100%;

    border: none;

    background: var(--blue);
    color: white;

    padding: 14px;

    border-radius: 9px;

    font-weight: 700;

    cursor: pointer;

    margin-top: 5px;
}


/* MATCH PAGES */

.match-page {
    min-height: calc(100vh - 76px);

    padding: 45px 20px 80px;
}

.match-page-container {
    max-width: 1000px;

    margin: 0 auto;
}

.back-button {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
}

.back-button:hover {
    color: var(--blue);
}


/* MATCH HERO */

.match-hero-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 25px;

    box-shadow: var(--shadow);
}

.match-competition {
    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
}

.match-live-label {
    color: var(--red);

    background: #fff0f1;

    padding: 6px 9px;

    border-radius: 7px;

    font-size: 9px;
}

.match-date {
    text-align: center;

    color: var(--muted);

    font-size: 11px;

    margin-top: 18px;
}

.match-main-teams {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    margin-top: 25px;

    gap: 40px;
}

.match-main-team {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.large-team-symbol {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #f0f2ff;

    color: var(--blue);

    font-size: 25px;

    font-weight: 800;

    margin-bottom: 12px;
}

.match-main-team h2 {
    font-size: 20px;
}

.match-main-team span {
    color: var(--muted);

    font-size: 11px;

    margin-top: 4px;
}

.main-score {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    position: relative;
}

.main-score strong {
    font-size: 42px;
}

.main-score > span {
    color: var(--muted);

    font-size: 25px;
}

.main-score small {
    position: absolute;

    top: 48px;

    color: var(--red);

    font-size: 11px;

    font-weight: 700;
}


/* MATCH TABS */

.match-tabs {
    display: flex;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 5px;

    margin-top: 20px;
}

.match-tab {
    flex: 1;

    text-align: center;

    padding: 13px;

    border-radius: 10px;

    color: var(--muted);

    font-size: 13px;

    font-weight: 700;

    transition: 0.2s;
}

.match-tab:hover {
    color: var(--blue);
}

.match-tab.active {
    background: #eef0ff;

    color: var(--blue);
}


/* WATCH */

.watch-section {
    display: flex;

    justify-content: center;

    margin: 20px 0;
}

.watch-button {
    border: none;

    background: var(--blue);

    color: white;

    padding: 14px 28px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.watch-button:hover {
    background: var(--blue-dark);

    transform: translateY(-2px);
}


/* SUMMARY */

.match-summary,
.detail-section {
    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 8px 25px rgba(20, 30, 60, 0.04);

    margin-top: 20px;
}

.summary-heading h2,
.detail-section > h2 {
    font-size: 25px;

    margin-top: 5px;
}

.event-list {
    margin-top: 25px;
}

.match-event {
    min-height: 55px;

    display: grid;

    grid-template-columns: 50px 1fr 40px 120px;

    align-items: center;

    gap: 15px;

    border-bottom: 1px solid #f0f1f5;
}

.match-event:last-child {
    border-bottom: none;
}

.event-minute {
    color: var(--muted);

    font-size: 12px;

    font-weight: 700;
}

.event-team {
    font-size: 13px;

    font-weight: 600;
}

.event-icon {
    text-align: center;
}

.match-event strong {
    font-size: 12px;
}


/* OVERVIEW */

.detail-introduction {
    color: var(--muted);

    font-size: 14px;

    margin-top: 10px;
}

.overview-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 25px;
}

.overview-card {
    padding: 20px;

    background: #fafbff;

    border: 1px solid var(--border);

    border-radius: 14px;
}

.overview-number {
    display: block;

    color: var(--blue);

    font-size: 25px;

    font-weight: 800;

    margin-bottom: 7px;
}

.overview-card strong {
    font-size: 13px;
}

.overview-card p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 7px;
}


/* CLUB INFO */

.club-info-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 25px;
}

.club-info-card {
    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 22px;
}

.club-letter {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #eef0ff;

    color: var(--blue);

    font-weight: 800;

    margin-bottom: 14px;
}

.club-info-card h3 {
    font-size: 18px;

    margin-bottom: 8px;
}

.club-info-card > p {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 20px;
}

.club-details {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.club-details div {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-size: 11px;
}

.club-details span {
    color: var(--muted);
}

.match-information {
    margin-top: 25px;

    border-top: 1px solid var(--border);

    padding-top: 25px;
}

.match-information h3 {
    font-size: 17px;

    margin-bottom: 15px;
}

.information-row {
    display: flex;

    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid #f0f1f5;

    font-size: 13px;
}

.information-row span {
    color: var(--muted);
}


/* STATS */

.stats-card {
    margin-top: 25px;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;
}

.stat-row {
    display: grid;

    grid-template-columns: 1fr 80px 80px;

    align-items: center;

    text-align: center;

    min-height: 55px;

    padding: 0 15px;

    border-bottom: 1px solid #f0f1f5;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row span {
    text-align: left;

    color: var(--muted);

    font-size: 12px;
}

.stat-row strong {
    font-size: 13px;
}

.player-stats-title {
    margin-top: 35px;
}

.player-stats-card {
    margin-top: 18px;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;
}

.player-stat-header,
.player-stat-row {
    display: grid;

    grid-template-columns: 1.5fr 1fr 70px 70px 90px;

    align-items: center;

    gap: 10px;

    padding: 15px;

    border-bottom: 1px solid #f0f1f5;

    font-size: 11px;
}

.player-stat-header {
    background: #fafbff;

    color: var(--muted);

    font-weight: 700;
}

.player-stat-row:last-child {
    border-bottom: none;
}

.player-stat-row strong {
    font-size: 12px;
}


/* =========================================================
   MATCHORA NEWS
   ========================================================= */


/* NEWS PAGE */

.news-page {
    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 20px 80px;
}


/* NEWS INTRO */

.news-intro {
    margin-bottom: 35px;
}

.news-intro .section-label {
    display: block;

    margin-bottom: 10px;
}

.news-intro h1 {
    font-size: clamp(40px, 5vw, 58px);

    line-height: 1.08;

    margin-bottom: 15px;
}

.news-intro h1 span {
    display: block;

    color: var(--blue);
}

.news-intro p {
    max-width: 720px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}


/* NEWS CATEGORIES */

.news-categories {
    margin-bottom: 30px;
}

.news-category-scroll {
    display: flex;

    align-items: center;

    gap: 9px;

    overflow-x: auto;

    padding-bottom: 5px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.news-category-scroll::-webkit-scrollbar {
    display: none;
}

.news-category {
    flex: 0 0 auto;

    border: 1px solid var(--border);

    background: white;

    color: var(--muted);

    padding: 9px 14px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.news-category:hover {
    color: var(--blue);

    border-color: #dfe3ff;

    background: #fafbff;
}

.news-category.active {
    background: #eef0ff;

    border-color: #eef0ff;

    color: var(--blue);
}


/* FEATURED NEWS */

.featured-news {
    margin-bottom: 65px;
}

.featured-news-link {
    display: block;
}

.featured-news-card {
    display: grid;

    grid-template-columns: 1.15fr 1fr;

    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(20, 30, 60, 0.04);

    transition: 0.2s;
}

.featured-news-link:hover .featured-news-card {
    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.featured-news-image {
    width: 100%;

    min-height: 330px;

    overflow: hidden;

    background: #f0f2ff;
}

.featured-news-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}

.featured-news-content {
    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;
}

.news-card-category {
    display: inline-flex;

    align-items: center;

    padding: 7px 10px;

    border-radius: 8px;

    background: #eef0ff;

    color: var(--blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.4px;
}

.featured-news-content h2 {
    font-size: 31px;

    line-height: 1.15;

    margin: 15px 0 12px;
}

.featured-news-content p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

    max-width: 500px;
}

.news-time {
    display: block;

    margin-top: 18px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 600;
}


/* LATEST NEWS */

.latest-news {
    margin-top: 0;
}

.news-section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 25px;
}

.news-section-heading h2 {
    font-size: 30px;

    margin-top: 5px;
}


/* NEWS GRID */

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.news-card-link {
    display: block;

    min-width: 0;
}

.news-card {
    height: 100%;

    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(20, 30, 60, 0.04);

    transition: 0.2s;
}

.news-card-link:hover .news-card {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.news-card-image {
    width: 100%;

    height: 210px;

    overflow: hidden;

    background: #f0f2ff;
}

.news-card-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: 0.25s;
}

.news-card-link:hover .news-card-image img {
    transform: scale(1.03);
}

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    font-size: 18px;

    line-height: 1.35;

    margin: 12px 0 9px;
}

.news-card-content p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}

.news-card-content .news-time {
    margin-top: 14px;
}


/* NO MORE NEWS */

.no-more-news {
    text-align: center;

    margin-top: 55px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* NEWS ACTIVE NAV */

.news-nav-active {
    color: var(--blue) !important;
}


/* =========================================================
   UPCOMING MATCHES
   ========================================================= */

.upcoming-section {
    margin-top: 70px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.upcoming-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(20, 30, 60, 0.04);
    transition: 0.2s;
}

.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.upcoming-card.premier {
    border-top: 4px solid #e30613;
}

.upcoming-card.la-liga {
    border-top: 4px solid #ff4b1f;
}

.upcoming-card.serie-a {
    border-top: 4px solid #16804a;
}

.upcoming-card.bundesliga {
    border-top: 4px solid #d71920;
}

.upcoming-card.ligue {
    border-top: 4px solid #243b8e;
}

.upcoming-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.upcoming-league {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.upcoming-status {
    padding: 5px 8px;
    border-radius: 6px;
    background: #eef0ff;
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
}

.upcoming-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.upcoming-date span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.upcoming-date strong {
    color: var(--text);
    font-size: 12px;
}

.upcoming-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 22px 0;
    text-align: center;
}

.upcoming-teams span {
    font-size: 13px;
    font-weight: 700;
}

.upcoming-teams strong {
    color: var(--muted);
    font-size: 11px;
}

.upcoming-match-centre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f0f1f5;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.upcoming-match-centre span {
    font-size: 20px;
    line-height: 1;
    color: var(--muted);
}

.upcoming-match-centre:hover {
    color: var(--blue-dark);
}


/* =========================================================
   MATCHORA AUTHENTICATION PAGES
   LOGIN + CREATE ACCOUNT
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(82, 103, 232, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(123, 97, 217, 0.10),
            transparent 30%
        ),
        var(--background);
}

.auth-card {
    width: 100%;
    max-width: 440px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 24px;

    padding: 38px;

    box-shadow: var(--shadow);
}

.auth-header {
    text-align: center;

    margin-bottom: 30px;
}

.auth-logo {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--blue);

    font-size: 22px;

    font-weight: 800;

    transition: 0.2s;
}

.auth-logo:hover {
    color: var(--blue-dark);
}

.auth-header h1 {
    color: var(--text);

    font-size: 32px;

    line-height: 1.15;

    margin-bottom: 9px;
}

.auth-header p {
    color: var(--muted);

    font-size: 14px;
}


/* AUTH FORM */

.auth-card form {
    width: 100%;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block;

    color: var(--text);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 8px;
}

.auth-card .form-group input {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: #fafbff;

    color: var(--text);

    outline: none;

    font-size: 14px;

    transition: 0.2s;
}

.auth-card .form-group input::placeholder {
    color: #9aa2b3;
}

.auth-card .form-group input:hover {
    border-color: #d8dce8;
}

.auth-card .form-group input:focus {
    border-color: var(--blue);

    background: white;

    box-shadow: 0 0 0 3px rgba(82, 103, 232, 0.10);
}


/* AUTH BUTTON */

.auth-button {
    width: 100%;

    min-height: 48px;

    border: none;

    border-radius: 11px;

    background: var(--blue);

    color: white;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.auth-button:hover {
    background: var(--blue-dark);

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(82, 103, 232, 0.20);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* AUTH MESSAGE */

.auth-message {
    min-height: 20px;

    margin: 5px 0 14px;

    text-align: center;

    color: var(--red);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.5;
}

.auth-message.success {
    color: var(--green);
}


/* AUTH FOOTER */

.auth-footer {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.auth-footer p {
    color: var(--muted);

    font-size: 13px;
}

.auth-footer a {
    color: var(--blue);

    font-weight: 700;

    transition: 0.2s;
}

.auth-footer a:hover {
    color: var(--blue-dark);

    text-decoration: underline;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-page {
    min-height: calc(100vh - 76px);

    padding: 60px 20px 80px;
}

.dashboard-container {
    max-width: 1000px;

    margin: 0 auto;
}

.dashboard-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 40px;

    box-shadow: var(--shadow);
}

.dashboard-card h1 {
    font-size: 34px;

    line-height: 1.15;

    margin-bottom: 10px;
}

.dashboard-card p {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 25px;
}

.logout-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: none;

    padding: 12px 20px;

    border-radius: 10px;

    background: var(--red);

    color: white;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.logout-button:hover {
    background: #cc4c55;

    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        margin-left: 20px;
        margin-right: 20px;

        padding: 40px;

        flex-direction: column;

        align-items: flex-start;
    }

    .hero-card {
        width: 100%;
        max-width: 400px;
    }

    .live-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .club-info-grid {
        grid-template-columns: 1fr;
    }

    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 280px;

        height: 280px;
    }

    .featured-news-content {
        padding: 30px;
    }

    .featured-news-content h2 {
        font-size: 27px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .header {
        padding: 0 20px;
    }

    .brand {
        margin-right: 0;
    }


    /* HAMBURGER BUTTON */

    .mobile-menu-button {
        display: flex;
    }


    /* MOBILE NAV */

    .main-nav {
        position: absolute;

        top: 76px;

        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        padding: 10px;

        background: white;

        border: 1px solid var(--border);

        border-radius: 16px;

        box-shadow: var(--shadow);

        z-index: 200;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        display: block;

        padding: 13px 14px;

        border-radius: 9px;

        font-size: 13px;

        color: var(--text);
    }

    .main-nav a:hover {
        background: #f2f4ff;

        color: var(--blue);
    }


    /* SETTINGS BUTTON */

    .settings-button {
        margin-left: 10px;
    }


    .hero {
        margin-top: 25px;

        padding: 30px 22px;

        border-radius: 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .today-match {
        grid-template-columns: 55px 1fr 20px;

        padding: 14px 12px;
    }

    .today-teams {
        gap: 6px;

        font-size: 11px;
    }

    .league-header {
        padding: 15px;
    }

    .cta-section {
        padding: 30px 22px;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer > span {
        margin-left: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 38px;
    }


    /* MATCH MOBILE */

    .match-page {
        padding: 25px 15px 60px;
    }

    .match-hero-card {
        padding: 20px 12px;
    }

    .match-main-teams {
        gap: 10px;
    }

    .match-main-team h2 {
        font-size: 14px;
    }

    .large-team-symbol {
        width: 55px;
        height: 55px;

        font-size: 20px;
    }

    .main-score {
        gap: 7px;
    }

    .main-score strong {
        font-size: 30px;
    }

    .main-score > span {
        font-size: 18px;
    }

    .main-score small {
        top: 38px;
    }

    .match-summary,
    .detail-section {
        padding: 20px;
    }

    .match-event {
        grid-template-columns: 35px 1fr 30px 80px;

        gap: 7px;
    }

    .player-stats-card {
        overflow-x: auto;
    }

    .player-stat-header,
    .player-stat-row {
        min-width: 600px;
    }


    /* NEWS MOBILE */

    .news-page {
        padding: 35px 15px 60px;
    }

    .news-intro {
        margin-bottom: 25px;
    }

    .news-intro h1 {
        font-size: 38px;
    }

    .news-intro p {
        font-size: 14px;
    }

    .news-category-scroll {
        gap: 7px;
    }

    .news-category {
        padding: 9px 12px;

        font-size: 11px;
    }

    .featured-news {
        margin-bottom: 45px;
    }

    .featured-news-card {
        border-radius: 18px;
    }

    .featured-news-image {
        min-height: 210px;

        height: 210px;
    }

    .featured-news-content {
        padding: 22px;
    }

    .featured-news-content h2 {
        font-size: 24px;
    }

    .featured-news-content p {
        font-size: 13px;
    }

    .news-section-heading {
        align-items: flex-start;

        margin-bottom: 20px;
    }

    .news-section-heading h2 {
        font-size: 27px;
    }

    .news-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .news-card {
        border-radius: 18px;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-content {
        padding: 18px;
    }

    .news-card-content h3 {
        font-size: 17px;
    }

    .news-card-content p {
        font-size: 12px;
    }

    .no-more-news {
        margin-top: 45px;
    }


    /* UPCOMING MOBILE */

    .upcoming-section {
        margin-top: 55px;
    }

    .upcoming-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .upcoming-card {
        padding: 18px;

        border-radius: 18px;
    }

    .upcoming-card-top {
        margin-bottom: 17px;
    }

    .upcoming-teams {
        padding: 20px 0;

        gap: 7px;
    }

    .upcoming-teams span {
        font-size: 12px;
    }


    /* AUTH MOBILE */

    .auth-page {
        min-height: calc(100vh - 76px);

        padding: 35px 15px;
    }

    .auth-card {
        padding: 28px 22px;

        border-radius: 20px;
    }

    .auth-header {
        margin-bottom: 25px;
    }

    .auth-logo {
        margin-bottom: 20px;

        font-size: 20px;
    }

    .auth-header h1 {
        font-size: 27px;
    }

    .auth-header p {
        font-size: 13px;
    }

    .auth-card .form-group input {
        height: 47px;
    }


    /* DASHBOARD MOBILE */

    .dashboard-page {
        padding: 35px 15px 60px;
    }

    .dashboard-card {
        padding: 28px 22px;

        border-radius: 20px;
    }

    .dashboard-card h1 {
        font-size: 28px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .news-intro h1 {
        font-size: 34px;
    }

    .featured-news-image {
        height: 185px;
    }

    .featured-news-content h2 {
        font-size: 22px;
    }

    .news-card-image {
        height: 180px;
    }

    .auth-card {
        padding: 25px 18px;
    }

    .auth-header h1 {
        font-size: 25px;
    }

}