* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff !important;
    line-height: 0.8 !important;
}

select option {
    color: #FFF;
}
.container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto;
}

.card {
    width: 100%;
    max-width: 300px;
    padding: 20px 20px 0px 20px;
    border-radius: 15px;
    background: linear-gradient(145deg, #23232f, #2e2e3e);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    text-align: center;
    color: #e0e0e0;
    background-color: #33334d;
    margin-bottom: 18px;
    letter-spacing: 1px;
    padding: 7px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header h1:hover {
    background-color: #2A2A40;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

button {
    padding: 9px 14px;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #ffcc66;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: bold;
}

button:hover {
    background-color: #1559ed;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.gold-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gold-skill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gold-skill label {
    font-size: 14px;
    width: 140px;
    margin-top: 8px;
}

.gold-skill select {
    flex-grow: 1;
    padding: 7px;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    background: #33334d;
    color: #fff;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.result {
    margin-top: 18px;
    font-size: 16px;
    color: #e0e0e0;
}

.result span {
    font-weight: bold;
    font-size: 16px;
}
.gold-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.gold-option label {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-top: 7px;
}

.gold-option input {
    padding: 7px;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    background: #33334d;
    color: #fff;
    text-align: center;
    text-indent: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    width: 80px;
}
.section-header h2 {
    font-size: 16px;
    color: rgb(102, 102, 102);
    text-align: center;
}
.gold-group-header {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 0 10px;
}

.header-empty {
    grid-column: 1;
}

.header-now, .header-after {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.header-now {
    grid-column: 2;
    text-indent: -50px;
}

.header-after {
    grid-column: 3;
}

.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-title {
    font-size: 20px;
    font-weight: bold;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #33334d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 10px;
    border-radius: 10px;
    z-index: 1;
    width: 250px;
}

.dropdown-menu li {
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown-menu li:hover {
    background-color: #44445d;
}

.legendary {
    color: #ffcc66;
}

.epic {
    color: #a377d1;
}

.elite {
    color: #0099FF;
}

.advanced {
    color: #339933;
}

.btn-legendary {
    background-color: #ffcc66;
    color: #333;
}

.btn-legendary:hover {
    background-color: #E6B85C;
    color: #222;
}

.btn-epic {
    background-color: #a377d1;
    color: #fff;
}

.btn-epic:hover {
    background-color: #8f60c3;
    color: #e0e0e0;
}

.btn-elite {
    background-color: #0099FF;
    color: #fff;
}

.btn-elite:hover {
    background-color: #007ACC;
    color: #d8f1ff;
}

.btn-advanced {
    background-color: #339933;
    color: #fff;
}

.btn-advanced:hover {
    background-color: #2A802A;
    color: #dfffdf;
}

.text-legendary {
    color: #ffcc66;
}

.text-epic {
    color: #a377d1;
}

.text-elite {
    color: #0099FF;
}

.text-advanced {
    color: #339933;
}

.result p {
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.text-legendary {
    color: #ffcc66;
}

.text-epic {
    color: #a377d1;
}

.text-elite {
    color: #0099FF;
}

.text-advanced {
    color: #339933;
}
.highlighted-title.legendary {
    color: #ffcc66;
}

.highlighted-title.epic {
    color: #a377d1;
}

.highlighted-title.elite {
    color: #0099FF;
}

.highlighted-title.advanced {
    color: #339933;
}

.commander-title {
    color: rgb(224, 224, 224);
}