/* FONT ------------------------------------------------------- */
@font-face {
    font-family: 'BYekan';
    src: url('../fonts/BYekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* RESET ------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'BYekan', sans-serif;
}

body {
    background: #020617;
    color: #e5e7eb;
    line-height: 1.6;
}

/* PAGE CONTAINER -------------------------------------------- */
.page {
    max-width: 1200px;
    margin: 35px auto;
    padding: 22px;
    background: #0f172a;
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(0,0,0,.9);
}

/* PAGE HEADER ------------------------------------------------ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.page-header h1 {
    font-size: 22px;
    color: #7dd3fc;
}

.page-header small {
    font-size: 12px;
    color: #94a3b8;
}

/* NAVIGATION ------------------------------------------------- */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 20px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 8px;
}

.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.admin-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.admin-tab:hover {
    background: rgba(255,255,255,.5);
    border-color: transparent;
    color: #0d66cc;
    box-shadow: none;
    transform: none;
}

.admin-tab:hover::before {
    opacity: 0;
}

.admin-tab.active {
    background: linear-gradient(135deg, #0d66cc, #1e7ce8);
    border-color: transparent;
    color: #ffffff;
    box-shadow: none;
    font-weight: 600;
}

.admin-tab .tab-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-tab:hover .tab-icon {
    transform: scale(1.15) rotate(5deg);
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: .95;
}

/* BUTTONS ---------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    background: radial-gradient(circle at top, #38bdf8, #0ea5e9);
    color: #020617;
    box-shadow: 0 8px 20px rgba(8,47,73,.8);
    transition: .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(8,47,73,1);
}

.btn-secondary {
    background: linear-gradient(135deg, #0d66cc, #1e7ce8);
    color: #ffffff;
    border: none;
    box-shadow: none;
    font-weight: 600;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0a4fa5, #1564cc);
}

.btn-danger {
    background: #ef4444;
    color: #f9fafb;
}

/* FORMS ------------------------------------------------------ */
label {
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid #4b5563;
    background: #020617;
    color: #e5e7eb;
    font-size: 13px;
    margin-bottom: 12px;
}

textarea {
    min-height: 90px;
}

/* TABLES ----------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
}

th, td {
    padding: 7px 8px;
    border-bottom: 1px solid #1f2937;
    text-align: right;
}

th {
    background: #020617;
    color: #93c5fd;
}

/* CARDS ------------------------------------------------------ */
.card {
    background: #020617;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #1f2937;
    box-shadow: 0 10px 24px rgba(0,0,0,.7);
    margin-bottom: 16px;
}

/* FLEX UTILS ------------------------------------------------- */
.flex {
    display: flex;
    gap: 16px;
}

.flex-2 > * {
    flex: 1;
}

/* ALERTS ----------------------------------------------------- */
.notice {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.notice-info {
    background: rgba(59,130,246,.15);
    border: 1px solid rgba(59,130,246,.4);
}

.notice-error {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.5);
}

/* LINKS ------------------------------------------------------ */
a {
    color: #93c5fd;
}

a:hover {
    text-decoration: underline;
}

/* TOPBAR ----------------------------------------------------- */
.topbar {
    width: 100%;
    background: linear-gradient(135deg, rgba(2,6,23,.95), rgba(15,23,42,.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(56,189,248,.15);
    box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.site-logo-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.2);
    border-radius: 12px;
    animation: logoFloat 3s ease-in-out infinite;
}

.site-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(56,189,248,.2));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.site-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-name {
    font-size: 15px;
    font-weight: bold;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-subtitle {
    font-size: 11px;
    color: #94a3b8;
    font-weight: normal;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-title {
    font-size: 15px;
    color: #7dd3fc;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

.user-info .username {
    font-size: 12px;
    color: #e5e7eb;
    font-weight: 500;
}

.user-info .role {
    font-size: 10px;
    color: #7dd3fc;
    opacity: .8;
}

.topbar-user span.role {
    opacity: .8;
    margin-right: 4px;
    font-size: 11px;
}

.btn-small {
    padding: 4px 10px;
    font-size: 11px;
}

/* PUBLIC PAGES ----------------------------------------------- */
.public-header {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.navbar-logo svg {
    width: 32px;
    height: 32px;
    animation: logoFloat 3s ease-in-out infinite;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navbar-brand-title {
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-subtitle {
    font-size: 11px;
    color: #7dd3fc;
    font-weight: normal;
}

.navbar-nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.navbar-nav a {
    padding: 10px 24px;
    border-radius: 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all .25s ease;
    position: relative;
    background: #f5f5f5;
    border: none;
}

.navbar-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background .25s ease;
}

.navbar-nav a:hover {
    color: #fff;
    background: #0d66cc;
}

.navbar-nav a:hover::before {
    background: transparent;
}

.navbar-nav a.active {
    color: #fff;
    background: #0d66cc;
    font-weight: 600;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* SLIDER ----------------------------------------------------- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(2,6,23,.9), rgba(15,23,42,.9));
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 40px;
    gap: 40px;
}

.slide-image {
    flex: 1;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    flex: 1;
}

.slide-title {
    font-size: 32px;
    font-weight: bold;
    color: #f0f9ff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.slide-desc {
    font-size: 14px;
    color: #cbd5f5;
    line-height: 1.8;
    margin-bottom: 20px;
}

.slide-date {
    font-size: 11px;
    color: #7dd3fc;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: all .3s ease;
}

.dot.active {
    background: #38bdf8;
    width: 28px;
    border-radius: 5px;
}

.slider-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(56,189,248,.2);
    border: 1px solid rgba(56,189,248,.4);
    color: #7dd3fc;
    cursor: pointer;
    font-size: 12px;
    transition: all .3s ease;
}

.slider-btn:hover {
    background: rgba(56,189,248,.4);
    border-color: rgba(56,189,248,.6);
}

/* STATS GRID ----------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(56,189,248,.1), rgba(14,165,233,.05));
    border: 1px solid rgba(56,189,248,.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all .3s ease;
}

.stat-card:hover {
    border-color: rgba(56,189,248,.5);
    box-shadow: 0 8px 24px rgba(56,189,248,.15);
    transform: translateY(-4px);
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: #cbd5f5;
}

/* MATCH LIST ----------------------------------------------------- */
.match-card {
    background: rgba(15,23,42,.5);
    border: 1px solid rgba(56,189,248,.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .3s ease;
}

.match-card:hover {
    border-color: rgba(56,189,248,.4);
    box-shadow: 0 8px 24px rgba(56,189,248,.1);
    transform: translateX(4px);
}

.team-box {
    flex: 1;
    text-align: center;
}

.team-name {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
    margin-bottom: 4px;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(56,189,248,.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.team-logo img {
    max-width: 35px;
    max-height: 35px;
}

.vs-score {
    flex: 0.5;
    text-align: center;
    font-size: 12px;
    color: #7dd3fc;
}

.vs-score-value {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
    margin: 0 4px;
}

/* SCOREBOARD ------------------------------------------------- */
.scoreboard-container {
    background: linear-gradient(135deg, rgba(2,6,23,.98), rgba(15,23,42,.95));
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,.8);
    margin: 20px auto;
    max-width: 1400px;
}

.scoreboard-header {
    text-align: center;
    margin-bottom: 30px;
    color: #7dd3fc;
    font-size: 18px;
    font-weight: bold;
}

.scoreboard-match {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.scoreboard-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scoreboard-team-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56,189,248,.1);
    border: 2px solid rgba(56,189,248,.3);
    box-shadow: 0 10px 30px rgba(56,189,248,.1);
}

.scoreboard-team-logo img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.scoreboard-team-name {
    font-size: 24px;
    font-weight: bold;
    color: #f0f9ff;
    text-align: center;
    line-height: 1.3;
}

.scoreboard-center {
    text-align: center;
}

.scoreboard-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.score-value {
    font-size: 120px;
    font-weight: bold;
    color: #38bdf8;
    text-shadow: 0 0 20px rgba(56,189,248,.3);
    line-height: 1;
    min-width: 140px;
}

.score-separator {
    font-size: 60px;
    color: #7dd3fc;
    opacity: .6;
}

.scoreboard-time {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(56,189,248,.15);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
}

.time-label {
    font-size: 11px;
    color: #7dd3fc;
    margin-bottom: 4px;
}

.time-value {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
    font-family: monospace;
}

.scoreboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.2);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.stat-box-label {
    font-size: 10px;
    color: #7dd3fc;
    margin-bottom: 4px;
}

.stat-box-value {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
}

.scoreboard-fouls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(56,189,248,.2);
}

.foul-item {
    text-align: center;
}

.foul-label {
    font-size: 11px;
    color: #cbd5f5;
    margin-bottom: 8px;
}

.foul-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.foul-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #f97316;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #f97316;
}

.foul-dot.active {
    background: #f97316;
    color: #fff;
}

.timeout-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.timeout-dot {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #22c55e;
    background: transparent;
}

.timeout-dot.active {
    background: #22c55e;
}

@media (max-width: 900px) {
    .scoreboard-match {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .score-value {
        font-size: 80px;
        min-width: 100px;
    }
    
    .score-separator {
        font-size: 40px;
    }
}

/* ============================================================
   RESPONSIVE DESIGN FOR MOBILE & TABLET
   ============================================================ */

/* Tablet (768px and down) */
@media (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .page {
        max-width: 100%;
        margin: 10px;
        padding: 12px;
        border-radius: 8px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-header h1 {
        font-size: 18px;
    }
    
    .container {
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
    }
    
    .main-layout {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    table {
        font-size: 12px;
        width: 100%;
        overflow-x: auto;
    }
    
    table th, table td {
        padding: 8px 4px !important;
    }
    
    .admin-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .admin-tab {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        width: 100%;
        padding: 10px;
    }
    
    .clock-widget {
        position: fixed;
        top: 8px !important;
        left: 8px !important;
        z-index: 1000;
        font-size: 10px !important;
        padding: 6px 10px !important;
        gap: 6px !important;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clock-widget .time {
        font-size: 10px !important;
    }
    
    .clock-widget .date {
        font-size: 9px !important;
        border-left: none !important;
        border-top: 1px solid rgba(56, 189, 248, 0.3);
        padding-left: 0 !important;
        padding-top: 6px !important;
    }
    
    .navbar {
        padding: 10px 5px !important;
    }
    
    .navbar a {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    
    .scoreboard {
        padding: 15px 10px !important;
    }
    
    .match-display {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .team-section {
        padding: 15px 10px !important;
    }
    
    .team-logo {
        width: 60px !important;
        height: 60px !important;
    }
    
    .team-logo img {
        max-height: 60px !important;
    }
    
    .team-name {
        font-size: 16px !important;
    }
    
    .score-box {
        font-size: 44px !important;
    }
    
    .match-time {
        font-size: 32px !important;
    }
    
    .match-half {
        font-size: 14px !important;
    }
    
    .stats-section {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 15px 10px !important;
        margin-top: 15px !important;
    }
    
    .stat-item {
        padding: 10px !important;
        border-radius: 6px !important;
    }
    
    .stat-label {
        font-size: 10px !important;
    }
    
    .stat-value {
        font-size: 20px !important;
    }
    
    .fouls-detail {
        max-height: 80px !important;
        font-size: 11px !important;
    }
    
    .standings-table {
        width: 100%;
        overflow-x: auto;
    }
    
    .standings-table table {
        min-width: 100%;
        font-size: 11px;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 6px 4px !important;
    }
    
    .card {
        margin-bottom: 10px !important;
        padding: 12px !important;
    }
    
    .card-title {
        font-size: 14px !important;
    }
    
    .slider {
        height: 200px !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .news-item {
        padding: 12px !important;
    }
    
    .news-item-title {
        font-size: 14px !important;
    }
    
    .news-item-date {
        font-size: 11px !important;
    }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding: 0;
        margin: 0;
    }
    
    .page {
        max-width: 100%;
        margin: 5px;
        padding: 8px;
        border-radius: 6px;
    }
    
    .page-header h1 {
        font-size: 16px;
    }
    
    .container {
        max-width: 100% !important;
        padding: 5px !important;
        margin: 0 !important;
    }
    
    .main-layout {
        grid-template-columns: 1fr !important;
    }
    
    table {
        font-size: 11px;
        display: block;
        overflow-x: auto;
    }
    
    table thead {
        font-size: 10px;
    }
    
    table th, table td {
        padding: 6px 3px !important;
    }
    
    .admin-tab {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        min-height: 40px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 14px;
        padding: 8px;
    }
    
    .form-group label {
        font-size: 12px !important;
    }
    
    .clock-widget {
        top: 5px !important;
        left: 5px !important;
        font-size: 9px !important;
        padding: 5px 8px !important;
    }
    
    .navbar {
        flex-wrap: wrap;
        padding: 8px 3px !important;
    }
    
    .navbar a {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
    
    .scoreboard {
        padding: 10px 5px !important;
    }
    
    .scoreboard-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .scoreboard-header-left h2 {
        font-size: 16px !important;
    }
    
    .scoreboard-header-left p {
        font-size: 11px !important;
    }
    
    .match-display {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .team-section {
        padding: 10px 5px !important;
    }
    
    .team-logo {
        width: 50px !important;
        height: 50px !important;
    }
    
    .team-logo img {
        max-height: 50px !important;
    }
    
    .team-name {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    .score-box {
        font-size: 36px !important;
    }
    
    .match-time {
        font-size: 28px !important;
    }
    
    .match-half {
        font-size: 12px !important;
    }
    
    .stats-section {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px 5px !important;
        margin-top: 10px !important;
    }
    
    .stat-item {
        padding: 8px !important;
    }
    
    .stat-label {
        font-size: 9px !important;
    }
    
    .stat-value {
        font-size: 18px !important;
    }
    
    .fouls-detail {
        max-height: 60px !important;
        font-size: 10px !important;
    }
    
    .foul-player {
        padding: 3px !important;
    }
    
    .standings-table {
        width: 100%;
    }
    
    .standings-table table {
        font-size: 10px;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 5px 2px !important;
        font-size: 10px;
    }
    
    .card {
        margin-bottom: 8px !important;
        padding: 10px !important;
    }
    
    .card-title {
        font-size: 13px !important;
    }
    
    .card-content {
        font-size: 11px !important;
    }
    
    .slider {
        height: 150px !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .news-item {
        padding: 10px !important;
    }
    
    .news-item-title {
        font-size: 13px !important;
    }
    
    .news-item-date {
        font-size: 10px !important;
    }
    
    .news-item-desc {
        font-size: 11px !important;
    }
}

/* Extra small devices (360px and down) */
@media (max-width: 360px) {
    html {
        font-size: 12px;
    }
    
    .page-header h1 {
        font-size: 14px;
    }
    
    .scoreboard-header-left h2 {
        font-size: 14px !important;
    }
    
    .score-box {
        font-size: 32px !important;
    }
    
    .match-time {
        font-size: 24px !important;
    }
    
    .stat-value {
        font-size: 16px !important;
    }
}


