@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: radial-gradient(circle at 20% 20%, #0f1126, #05060f 70%);
    color: white;
    text-align: center;
}

/* HEADER */
.title {
    font-size: 3rem;
    margin-bottom: 0;
    background: linear-gradient(90deg, #00c3ff, #7f00ff);
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle {
    opacity: .7;
    margin-top: 0;
}

/* SEARCH CARD */
.search-card {
    margin: 35px auto;
    width: 420px;
    background: rgba(255,255,255,0.06);
    padding: 25px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.25);
}

input {
    width: 80%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1rem;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.15);
    color: white;
}

button {
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #00c3ff, #7f00ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

button:hover {
    opacity: .8;
}

.error {
    color: #ff4242;
    margin-top: 10px;
}

/* UUID / Username Helper */
.helper {
    width: 80%;
    max-width: 750px;
    margin: 25px auto;
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 18px;
    backdrop-filter: blur(18px);
    box-shadow: 0 0 40px rgba(127, 0, 255, 0.3);
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.helper button {
    margin-top: 10px;
    background: linear-gradient(90deg, #7f00ff, #00c3ff);
}

/* PROFILE */
.profile {
    width: 85%;
    max-width: 800px;
    margin: auto;
    margin-top: 30px;
    text-align: left;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    box-shadow: 0 0 20px #00c3ff90;
}

.uuid {
    opacity: .65;
}

/* METER */
.meter-card {
    margin-top: 20px;
}

.meter-bg {
    width: 100%;
    height: 25px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    transition: width 1.2s ease;
    background: linear-gradient(90deg, #ff3b3b, #ffd900, #48ff00);
    box-shadow: 0 0 12px #48ff00aa;
}

/* PUNISHMENTS */
#punishmentList .item {
    background: rgba(255,255,255,0.06);
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 8px;
    border-left: 5px solid #7f00ff;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
