﻿@font-face {
    font-family: 'Title';
    src: url(../fonts/KartTitle.ttf);
}

@font-face {
    font-family: 'Header';
    src: url(../fonts/KartHeader.ttf);
}

@font-face {
    font-family: 'SubHeader';
    src: url(../fonts/KartSubHeader.ttf);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: url(fonts/LBPPBVACKGO.png);
    background-size: 130rem;
    background-attachment: fixed;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #ffffff;
    line-height: 1.4;
}

a {
    color: #adff6a;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.navbar {
    background: #222;
    background: linear-gradient(to bottom, #333 0%, #111 100%);
    border-bottom: 3px solid #555;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 25px;
}

.navbar-brand {
    font-size: 1rem;
    color: #eee;
    letter-spacing: 0.5px;
}

.navbar-links {
    display: flex;
    height: 100%;
}

    .navbar-links a {
        padding: 0 15px;
        color: #bbb;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

        .navbar-links a:hover {
            color: #fff;
            background: #444;
            text-decoration: none;
        }

.main-content {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: #69C91C;
    background: radial-gradient(at left center, #69C91C, #38375fd2);
    border: 3px solid #9fe65a;
    corner-shape: squircle;
    border-radius: 4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: white;
}

.main-content h1 {
    font-family: Title;
    color: white;
}

h1 {
    font-size: 1.6rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.controls-row {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    background: none;
    padding: 10px;
    border: 0px solid #ddd;
    border-radius: 4px;
}

.controls-row button{
    padding: 10px 25px;
}

.pagination-bar span{
    font-family: SubHeader;
    font-size: larger !important;
}

button {
    cursor: pointer;
    padding: 5px 12px;
    background: #6266af;
    border-radius: 2rem;
    corner-shape: squircle;
    border-style: none;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    font-family: Title;
}

    button:hover:not(:disabled) {
        background: #ffd000;
        border-color: #999;
    }

    button:disabled {
        background-color: #ffd000;
        /* background: #444;
        background: linear-gradient(to bottom, #555 0%, #222 100%); */
        color: #fff;
        border-radius: 0px;
        box-shadow: 0px 1px 1px #00000067
        /* border-color: #000;
        text-shadow: 0 -1px 0 #000;
        box-shadow: none; */
    }

input[type="search"], select {
    padding: 10px 40px;
    border-style: none;
    border-radius: 2rem;
    corner-shape: squircle;
    background: #ffffff;
    font-size: 12px;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.track-card {
    transition: all 0.1s ease;
    corner-shape: squircle;
    border-color: #9fe65a;
    background-color: #2b2b51;
    border-style: none;
    padding: 10px;
    display: flex;
    gap: 15px;
    border-radius: 3rem;

}


.main-content p {
    font-family: SubHeader;
    font-size: 1.2rem;
}

.main-content h2 {
    font-family: Title;
    font-size: 1.3rem;
}

.main-content span{
    font-size: 1rem;
}

.track-name a {
    color: white;
    font-family: 'Title';
    font-size: larger;
}

    .track-card:hover {
        transition: all 0.1s ease;
        border-color: #00000000;
        border-radius: 0rem;
        background: #ffc400;
        box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.3);
    }

.track-preview {
    width: 90px;
    height: 90px;
    background: #ffffff00;
    border: 1px solid #bbbbbb00;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 2px;
}

    .track-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.track-name {
    font-size: 1.1rem;
    font-weight: 700;
    
    color: #ffffff;
    margin-bottom: 2px;
}

.track-stats {
    font-size: 0.6rem;
    color: #ffffff;
    text-transform: uppercase;
    font-family: Title;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
    border-radius: 2rem;
    corner-shape: squircle;
}

.tag-badge {
    background: #00aff4;
    background: linear-gradient(186deg, rgb(0, 155, 244) 24%, rgb(0, 147, 232) 69%);
    border-radius: 2rem;
    corner-shape: squircle;
    padding: 2px 8px;
    font-size: 0.9rem !important;
    color: #ffffff;
    font-family: SubHeader;
}

.tag-teampick {
    background: #ffebf2;
    border-color: #ff85af;
    color: #d61a5e;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(214, 26, 94, 0.1);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

th {
    background: #eee;
    background: linear-gradient(to bottom, #f9f9f9 0%, #e2e2e2 100%);
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
    font-weight: 700;
    color: #444;
}

td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    max-width: 400px;
}

.stat-value {
    color: #d61a5e;
    font-weight: 700;
    font-family: "Segoe UI Mono", "Consolas", monospace;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #00000000;
  color: white;
  text-align: center;
  height: 10px;
  padding: 15px 0;
  font-size: 8px;
}

.LeaderTable{
    max-width: 100%;
    overflow-x: hidden;
}


@media (max-width: 600px) {
    .LeaderTable{
        max-width: 100%;
        overflow-x: scroll;
    }

    .navbar {
        background: #222;
        background: linear-gradient(to bottom, #333 0%, #111 100%);
        border-bottom: 3px solid #555;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .navbar-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 10px;
        display: flex;
        align-items: center;
        gap: 0.1rem;
        height: 50px;
    }

    .navbar-brand {
    font-size: 0.5rem;
    color: #eee;
    letter-spacing: 0.5px;
    }

    table {
        width: 500px;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        overflow: hidden;
    }

    input[type="search"], select {
        padding: 3px 3px;
        width: 50%;
        background-color: #0077cc;
        border: 1px solid #ccc;
        border-radius: 3px;
        background: #fff;
        font-size: 12px;
    }

    .navbar-links {
        display: flex;
        height: 100%;
    }

    .navbar-links a {
        padding: 0 10px;
        color: #bbb;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

        .navbar-links a:hover {
            color: #fff;
            background: #444;
            text-decoration: none;
        }

}