body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    background-color: #f8f9fa;
    background-image: url('/public/img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
    color: gray;
    margin-bottom: 20px;
}

input,
button {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[readonly] {
    background-color: #e9ecef;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 20px auto;
    text-align: center;
    max-width: 350px;
}

.input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.input-container input,
.input-container button {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
}

.btongold,
.convert-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

.btongold {
    position: relative;
    font-size: 24px;
    line-height: 32px;
    border: none;
    background: transparent url('/public/img/button-gold.svg');
    background-size: 100% 100%;
    transform: skew(-7deg);
    color: white;
}

.outlined-text {
    color: white;
    text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
}

@font-face {
    font-family: 'GameFont';
    src: url('/public/img/game-ko.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body,
button,
input {
    font-family: 'GameFont', sans-serif;
}

.input-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.input-group input {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    font-size: 14px;
    background-color: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button.small-btn {
    padding: 5px 10px;
    font-size: 15px;
    cursor: pointer;
    width: auto;
    min-width: 50px;
    height: 100%;
    white-space: nowrap;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.loading-logo {
    width: 200px;
    height: auto;
    transition: all 0.6s ease;
}

.loading-title {
    margin-top: 20px;
    font-weight: bold;
    font-size: 35px;
    color: #000;
    text-align: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading-overlay.exit {
    opacity: 0;
}

.loading-overlay.exit .loading-logo,
.loading-overlay.exit .loading-title {
    transform: scale(0);
    opacity: 0;
}
