* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

.clear-fix::after {
    content: "";
    display: table;
    clear: both;
}

body {
    background-color: #000;
}

.main-container {
    min-width: 1500px;
    height: 2666px;
    margin: 0 auto;
    background: url(../../images/simulator/index.jpg) no-repeat top center;
    position: relative;
}

.header {
    padding-left: 55px;
    padding-top: 12px;
    margin-bottom: 540px;
}

.header-p {
    color: #1d1776;
    font-size: 15px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 80px;
    /* font-family: 'MyTTFFont', Arial, sans-serif; */
}

/* Titles */
.header-titles {
    width: 1420px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
}

.title-box {
    font-family: 'MyTTFFont', Arial, sans-serif;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
    width: 391px;
    height: 60px;
    background: url(../../images/simulator/title-bg.png) no-repeat center center;
    background-size: contain;
    padding-left: 27px;
    line-height: 60px;
    font-size: 24px;
    color: #fff;
    letter-spacing: 2px;
}

/* Compare panels */
.compare-section {
    width: 1420px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.side-col {
    width: 700px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ml-20 {
    margin-left: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 14px 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.tab-btn {
    width: 88px;
    height: 33px;
    border: none;
    background: url(../../images/simulator/btn-bg.png) no-repeat center center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: transform 0.1s;
}

.tab-btn:active {
    transform: scale(0.95);
}

.tab-btn.active {
    background: url(../../images/simulator/btn-bg-active.png) no-repeat center center;
    background-size: 100% 100%;
}

.career-bonus {
    /* margin-bottom: 30px; */
    border-radius: 8px;
}

.cb-title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
}

.bonus-text {
    font-size: 18px;
    color: #1a1a1a;
    padding-left: 20px;
}

.attr-block {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 8px;
}

.attr-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.attr-inputs {
    display: flex;
    gap: 15px;
}

.attr-inputs.level-2 {
    justify-content: space-between;
    gap: 0;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-w {
    padding: 18px 5px !important;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 98px;
}

.level-2 .input-group {
    width: 200px;
}

.input-group label {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.pl-25 {
    padding-left: 25px;
}

.input-group input {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 16px;
    color: #333;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
    border-color: #f16149;
    /* Matching game red accent */
}

/* Check result section */
.result-title-wrap {
    margin: 30px auto 20px auto;
    text-align: center;
}

.result-title {
    display: inline-block;
    font-family: 'MyTTFFont', Arial, sans-serif;
    width: 440px;
    height: 60px;
    background: url(../../images/simulator/title-bg2.png) no-repeat center center;
    background-size: contain;
    line-height: 60px;
    font-size: 26px;
    color: #fff;
    letter-spacing: 2px;
}

.career-card {
    min-height: 214px;
}

.calc-results-section {
    width: 1420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.res-item {
    background: #eeedff;
    border: 1px solid #e1eaf0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.res-label {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.font-black {
    color: #444444 !important;
}

.res-val {
    font-size: 46px;
    font-weight: bold;
    color: #27c24c;
    /* Emerald green like in the image */
    margin-bottom: 12px;
}

.res-desc {
    font-size: 14px;
    color: #1a1a1a;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0 15px;
}

.action-btn {
    background: linear-gradient(180deg, #ff5e5e 0%, #f03a3a 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    padding: 0 15px;
    height: 33px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(200, 40, 40, 0.3);
    transition: transform 0.1s;
    border: 1px solid #b21212;
}

.action-btn:active {
    transform: scale(0.96);
}

.action-btn img {
    height: 18px;
}

/* System Description Section */
.system-section {
    width: 1420px;
    margin: 0 auto 0px auto;
}

.sys-title {
    font-family: 'MyTTFFont', Arial, sans-serif;
    width: 391px;
    height: 60px;
    background: url(../../images/simulator/title-bg.png) no-repeat left center;
    background-size: contain;
    padding-left: 27px;
    line-height: 60px;
    font-size: 24px;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    top: 0px;
    left: 0px;
}

.sys-content {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.sys-col {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sys-row {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.6;
}

.sys-label {
    font-weight: bold;
    color: #1a1a1a;
    flex-shrink: 0;
}

.sys-col.left .sys-label {
    width: 90px;
}

.sys-col.right .sys-label {
    /* width: 0px; */
}

.sys-text {
    color: #444;
}