    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box
    }

    body {
        font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
        overflow-x: hidden
    }

    ::-webkit-scrollbar {
        width: 5px;
        height: 5px
    }

    ::-webkit-scrollbar-track {
        background: transparent
    }

    ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px
    }

    .dark ::-webkit-scrollbar-thumb {
        background: #334155
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(.95)
        }

        to {
            opacity: 1;
            transform: scale(1)
        }
    }

    @keyframes pulse-live {

        0%,
        100% {
            opacity: 1;
            transform: scale(1)
        }

        50% {
            opacity: .4;
            transform: scale(1.5)
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes glow {

        0%,
        100% {
            box-shadow: 0 0 5px rgba(13, 110, 253, .3)
        }

        50% {
            box-shadow: 0 0 20px rgba(13, 110, 253, .6)
        }
    }

    .animate-fadeInUp {
        animation: fadeInUp .4s cubic-bezier(.22, 1, .36, 1) forwards
    }

    .animate-fadeIn {
        animation: fadeIn .3s ease forwards
    }

    .animate-scaleIn {
        animation: scaleIn .3s ease forwards
    }

    .animate-slideDown {
        animation: slideDown .25s ease forwards
    }

    .animate-glow {
        animation: glow 2s ease-in-out infinite
    }

    .stagger-1 {
        animation-delay: .05s
    }

    .stagger-2 {
        animation-delay: .1s
    }

    .stagger-3 {
        animation-delay: .15s
    }

    .stagger-4 {
        animation-delay: .2s
    }

    .stagger-5 {
        animation-delay: .25s
    }

    .live-pulse {
        animation: pulse-live 2s infinite
    }

    .gradient-brand {
        background: linear-gradient(135deg, #0d6efd 0%, #8b5cf6 50%, #06b6d4 100%)
    }

    .gradient-fire {
        background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #f59e0b 100%)
    }

    .gradient-ocean {
        background: linear-gradient(135deg, #06b6d4 0%, #0d6efd 50%, #8b5cf6 100%)
    }

    .gradient-forest {
        background: linear-gradient(135deg, #059669 0%, #10b981 50%, #84cc16 100%)
    }

    .gradient-sunset {
        background: linear-gradient(135deg, #ec4899 0%, #f97316 100%)
    }

    .gradient-text {
        background: linear-gradient(135deg, #0d6efd, #8b5cf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text
    }

    .sidebar-link {
        transition: all .2s ease;
        position: relative
    }

    .sidebar-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, #0d6efd, #8b5cf6);
        border-radius: 0 6px 6px 0;
        transition: height .2s ease
    }

    .sidebar-link:hover::before,
    .sidebar-link.active::before {
        height: 65%
    }

    .sidebar-link.active {
        background: linear-gradient(90deg, rgba(13, 110, 253, .08), transparent)
    }

    .dark .sidebar-link.active {
        background: linear-gradient(90deg, rgba(13, 110, 253, .15), transparent)
    }

    .card-hover {
        transition: all .3s ease
    }

    .card-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .12)
    }

    .dark .card-hover:hover {
        box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4)
    }

    .notification-dot {
        position: absolute;
        top: -3px;
        right: -3px;
        width: 18px;
        height: 18px;
        background: linear-gradient(135deg, #ef4444, #f97316);
        border-radius: 50%;
        font-size: 9px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        border: 2px solid white
    }

    .dark .notification-dot {
        border-color: #151a2b
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        backdrop-filter: blur(4px);
        z-index: 40;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease
    }

    .overlay.active {
        opacity: 1;
        pointer-events: auto
    }

    .sidebar-nav::-webkit-scrollbar {
        width: 3px
    }

    .team-logo {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

    .score-display {
        font-variant-numeric: tabular-nums;
        letter-spacing: -.02em
    }

    .live-match-card {
        transition: all .25s ease;
        border-left: 3px solid transparent
    }

    .live-match-card:hover {
        background: rgba(13, 110, 253, .03)
    }

    .dark .live-match-card:hover {
        background: rgba(13, 110, 253, .08)
    }

    .live-match-card.is-live {
        border-left-color: #ef4444
    }

    .live-match-card.is-ft {
        border-left-color: #10b981
    }

    .live-match-card.is-upcoming {
        border-left-color: #8b5cf6
    }

    .live-match-card.is-ht {
        border-left-color: #f59e0b
    }

    /* Grid View Layout Transformation */
    .grid-view-active .league-matches-wrapper {
        display: grid !important;
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 12px !important;
    }

    @media (min-width: 640px) {
        .grid-view-active .league-matches-wrapper {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
    }

    @media (min-width: 1280px) {
        .grid-view-active .league-matches-wrapper {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }
    }

    .grid-view-active .match-item {
        border-radius: 16px !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        padding: 16px !important;
        background: rgba(248, 250, 252, 0.6) !important;
    }

    .dark .grid-view-active .match-item {
        border-color: rgba(42, 48, 66, 0.8) !important;
        background: rgba(23, 28, 42, 0.6) !important;
    }

    @media(max-width:640px) {

        .notification-panel,
        .messenger-panel,
        .profile-panel {
            position: fixed !important;
            left: 12px !important;
            right: 12px !important;
            max-width: calc(100vw - 24px) !important;
            width: auto !important
        }

        .notification-panel {
            top: 64px !important
        }

        .messenger-panel {
            top: 64px !important
        }

        .profile-panel {
            top: 56px !important;
            right: 12px !important;
            left: auto !important
        }
    }

    .search-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .65);
        backdrop-filter: blur(12px);
        z-index: 200;
        display: none;
        align-items: flex-start;
        justify-content: center;
        padding-top: 8vh
    }

    .search-overlay.active {
        display: flex
    }

    .dark .apexcharts-text {
        fill: #94a3b8 !important
    }

    .dark .apexcharts-gridline {
        stroke: #2a3042 !important
    }

    .dark .apexcharts-tooltip {
        background: #1a1f2e !important;
        border-color: #2a3042 !important;
        color: #e2e8f0 !important
    }

    .date-btn {
        transition: all .2s ease
    }

    .date-btn.active {
        background: #0d6efd !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 4px 12px rgba(13, 110, 253, .3)
    }

    .status-tab-btn {
        transition: all .2s ease
    }

    .status-tab-btn.active {
        background: #0d6efd !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(13, 110, 253, .3)
    }