@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #0d1117;
    color: #e6edf3;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;
}

.nav-links a:hover {
    color: #58a6ff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo span {
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.info-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}


/* CONTAINER */

.container {
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* TITLE */

h1 {
    text-align: center;
    color: #58a6ff;
    margin-bottom: 40px;
    font-weight: 700;
}


.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 25px auto;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.line-break {
    display: block;
}


/* ERROR */

.error {
    background: #2d0d0d;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

/* =========================
    DROPZONE
========================= */

#uploadForm {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

input[type="file"] {
    display: none;
}

.dropzone {
    width: 600px;       
    height: 160px;
    border: 2px dashed #30363d;
    border-radius: 16px;
    background: #161b22;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: 0.2s ease;
}

.dropzone:hover {
    border-color: #58a6ff;
    background: #1c2128;
    transform: translateY(-2px);
}

.drop-title {
    font-size: 18px;
    font-weight: 600;
    color: #f0f6fc;
}

.drop-sub {
    font-size: 13px;
    color: #8b949e;
    margin-top: 6px;
}

/* BUTTON */

button {
    background: #238636;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

button:hover {
    background: #2ea043;
}

/* CARD */

.card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 25px;
}

/* PLAYER */

.player-name {
    font-size: 30px;
    font-weight: 700;
    color: #f0f6fc;
}

.steamid {
    color: #aab4c0;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 20px;
}

.steamid a {
    color: #f0f6fc;
    text-decoration: none;
}

.steamid a:hover {
    color: #58a6ff;
}

/* SECTION */

.section {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #c9d1d9;
}

/* GRID */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.box {
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 14px;
    border-radius: 12px;
}

/* CODE */

.code {
    margin-top: 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 14px;
    border-radius: 12px;
    font-family: Consolas;
    color: #58a6ff;
    word-break: break-all;
}

.crosshair {
    color: #58a6ff;
}


.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 24px;
}

.close:hover {
    color: #58a6ff;
}
