/* Common styles for all stat items */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px clamp(20px, 5vw, 50px);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    border-radius: clamp(20px, 3vw, 43px);
    overflow: hidden;
    border: 0.5px solid;
    border-color: #000000;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.stat-details-row {
    display: flex;
    align-items: flex-end;
    gap: clamp(20px, 5vw, 60px);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.stat-icon-container {
    position: relative;
    width: clamp(60px, 10vw, 100px);
    height: clamp(57.6px, 9.6vw, 96px);
    border-radius: clamp(15px, 2vw, 30px);
    overflow: hidden;
}

.stat-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.stat-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; /* Reduced gap */
    position: relative;
    flex: 1;
    flex-grow: 1;
    min-width: 0; /* Added to allow shrinking */
}

.stat-name-level {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Added for right alignment */
    gap: 10px;
    padding: 10px 0px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.stat-name {
    font-family: "SUIT-Bold", Helvetica; /* Changed to SUIT-Bold */
    font-weight: 700;
    color: #000000;
    font-size: clamp(16px, 4vw, 24px); /* Responsive font size */
    letter-spacing: 0;
    line-height: normal;
    white-space: normal; /* Added to allow text wrapping */
}

.stat-level {
    /* Removed position: absolute; top: -1px; left: 0; */
    font-family: "Oswald-Regular", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: clamp(22px, 6vw, 40px);
    letter-spacing: 0;
    line-height: normal;
    white-space: normal; /* Added to allow text wrapping */
}

.stat-bar-outer {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 15px; /* Reduced thickness */
    border-radius: 23px;
    border: 1px solid;
    border-color: #000000;
    margin-top: -5px; /* Adjusted to move up */
}

.stat-bar-inner {
    height: 100%;
    background-color: #000000;
    border-radius: 23px;
}

.stat-divider {
    width: 100%;
    height: 1px;
    background-color: #000000;
    margin-top: 20px;
}

.stat-description {
    position: relative;
    align-self: stretch;
    font-family: "SUIT-Regular", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: clamp(14px, 3vw, 18px);
    letter-spacing: 0;
    line-height: normal;
    white-space: normal; /* Added to allow text wrapping */
}
