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

body {
font-family: 'Montserrat', sans-serif;
background: url('/style/img/background.png') center center / cover no-repeat;
position: relative;
opacity: 0;
animation: fadeInBody 0.5s ease-in forwards;
}

@keyframes fadeInBody {
to {
    opacity: 1;
}
}

body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
z-index: 0;
}

body>* {
position: relative;
z-index: 1;
}

.header {
width: 100%;
max-width: 1600px;
margin: 0 auto;
padding: 0 20px;
}

.container {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
height: 80px;
gap: 30px;
}

.logo img {
height: 50px;
}


.nav ul {
display: flex;
gap: 40px;
margin: 0;
padding: 0;
list-style: none;
}

.nav a {
font-size: 14px;
font-weight: 400;
text-decoration: none;
color: rgba(239, 239, 239, 1);
position: relative;
transition: color 0.3s ease;
}

.nav a::after {
content: "";
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: #3389DD;
transition: width 0.3s ease;
}

.nav a:hover {
color: #3389DD;
}

.nav a:hover::after {
width: 100%;
}

.header-buttons {
display: flex;
gap: 12px;
}

.btn {
display: flex;
align-items: center;
justify-content: center;
width: 144px;
height: 44px;
border-radius: 8px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-dark {
background: rgba(0, 0, 0, 0.75);
color: #fff;
}

.btn-blue {
background: rgba(51, 137, 221, 1);
color: #fff;
}

.btn:hover {
transform: translateY(-2px);
opacity: 0.9;
}

.welcome {
display: flex;
justify-content: center;
align-items: center;
min-height: calc(100vh - 80px);
text-align: center;
}

.welcome-content h1 {
font-size: 100px;
font-weight: 800;
color: rgba(239, 239, 239, 1);
margin-bottom: 20px;
}

.welcome-content p {
max-width: 1000px;
font-size: 32px;
font-weight: 400;
color: rgba(239, 239, 239, 1);
margin: 0 auto 40px auto;
line-height: 1.4;
}

.welcome-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 250px;
height: 75px;
border-radius: 8px;
background: rgba(51, 137, 221, 1);
color: rgba(239, 239, 239, 1);
font-size: 24px;
font-weight: 400;
text-decoration: none;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.welcome-btn:hover {
transform: translateY(-3px);
opacity: 0.9;
}

.how-to-play {
text-align: center;
padding: 80px 20px;
color: rgba(239, 239, 239, 1);
}

.how-to-play h2 {
font-size: 72px;
font-weight: 800;
margin-bottom: 60px;
}

.steps {
display: flex;
justify-content: center;
gap: 100px;
flex-wrap: wrap;
}

.step {
max-width: 300px;
text-align: center;
}

.step img {
width: 94px;
height: 94px;
margin-bottom: 20px;
}

.step h3 {
font-size: 36px;
font-weight: 800;
margin-bottom: 12px;
}

.step p {
font-size: 16px;
font-weight: 600;
line-height: 1.4;
}

.how-btn {
display: inline-flex;
justify-content: center;
align-items: center;
width: 335px;
height: 100px;
border-radius: 8px;
background: rgba(51, 137, 221, 1);
font-size: 36px;
font-weight: 600;
color: rgba(239, 239, 239, 1);
text-decoration: none;
margin-top: 60px;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.how-btn:hover {
transform: translateY(-3px);
opacity: 0.9;
}

.footer {
color: rgba(239, 239, 239, 1);
padding: 0;
}

.footer-container {
width: 1280px;
height: 90px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}

.footer-left {
display: flex;
align-items: center;
gap: 10px;
}

.footer-left img {
height: 40px;
}

.footer-left span {
font-size: 14px;
font-weight: 400;
}

.footer-center {
display: flex;
gap: 30px;
transition: color 0.3s ease, transform 0.2s ease;
}

.footer-center a:hover {
color: rgba(51, 137, 221, 1);
transform: translateY(-2px);
}

.footer-center a {
text-decoration: none;
font-size: 14px;
font-weight: 400;
color: rgba(239, 239, 239, 1);
}

.footer-right {
display: flex;
gap: 12px;
}

.footer-right img {
width: 24px;
height: 24px;
}

.footer-right a img {
width: 24px;
height: 24px;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-right a:hover img {
transform: translateY(-3px) scale(1.1);
opacity: 0.8;
}






#donate-pay {
display: flex;
justify-content: center;
align-items: center;
min-height: calc(100vh - 80px);
text-align: center;
}

.donate-container {
width: 550px;
height: 500px;
background: rgba(41, 38, 38, 0.35);
border-radius: 16px;
padding: 50px 50px;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}

.donate-container h2 {
font-size: 50px;
font-weight: 700;
color: rgba(255, 255, 255, 1);
}

.donate-field {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
gap: 10px;
}

.donate-field label {
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
}

.donate-field input {
width: 430px;
height: 50px;
border-radius: 6px;
background: rgba(0, 0, 0, 1);
opacity: 0.5;
border: none;
padding: 0 15px;
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
}

.donate-field input::placeholder {
color: rgba(255, 255, 255, 0.5);
}

.donate-btn {
display: inline-flex;
justify-content: center;
align-items: center;
width: 335px;
height: 50px;
border-radius: 8px;
background: rgba(51, 137, 221, 1);
font-size: 24px;
font-weight: 600;
color: rgba(255, 255, 255, 1);
text-decoration: none;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.donate-btn:hover {
transform: translateY(-2px);
opacity: 0.9;
}

.donate-help {
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
text-decoration: none;
display: inline-block;
}





#login-section {
display: flex;
justify-content: center;
align-items: center;
min-height: calc(100vh - 80px);
text-align: center;
}

.login-container {
width: 550px;
height: 500px;
background: rgba(41, 38, 38, 0.35);
border-radius: 16px;
padding: 50px 50px;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}

.login-container h2 {
font-size: 50px;
font-weight: 700;
color: rgba(255, 255, 255, 1);
}

.login-field {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
gap: 10px;
}

.login-field label {
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
}

.login-field input {
width: 430px;
height: 50px;
border-radius: 6px;
background: rgba(0, 0, 0, 1);
opacity: 0.5;
border: none;
padding: 0 15px;
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
}

.login-field input::placeholder {
color: rgba(255, 255, 255, 0.5);
}

.login-btn {
display: inline-flex;
justify-content: center;
align-items: center;
width: 335px;
height: 50px;
border-radius: 8px;
background: rgba(51, 137, 221, 1);
font-size: 24px;
font-weight: 600;
color: rgba(255, 255, 255, 1);
text-decoration: none;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-btn:hover {
transform: translateY(-2px);
opacity: 0.9;
}

.login-help {
font-size: 14px;
font-weight: 400;
color: rgba(255, 255, 255, 1);
text-decoration: none;
display: inline-block;
}





#profile-character {
display: flex;
justify-content: center;
padding: 60px 20px;
}

.profile-container {
width: 1300px;
min-height: 750px;
background: rgba(41, 38, 38, 0.35);
border-radius: 16px;
padding: 40px;
display: flex;
flex-direction: column;
gap: 40px;
color: rgba(255, 255, 255, 1);
}

.profile-header h2 {
font-size: 64px;
font-weight: 700;
margin-bottom: 30px;
}

.profile-tabs {
display: flex;
gap: 30px;
}

.profile-tabs .tab {
font-size: 24px;
font-weight: 700;
opacity: 0.5;
text-decoration: none;
color: rgba(255, 255, 255, 1);
cursor: pointer;
transition: opacity 0.3s ease, transform 0.2s ease;
}

.profile-tabs .tab.active {
opacity: 1;
}

.profile-tabs .tab:hover {
opacity: 1;
transform: translateY(-2px);
}

.profile-main {
display: flex;
width: 100%;
height: 243px;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 16px;
background: rgba(41, 38, 38, 0.35);
position: relative;
}

.profile-main-left {
flex: 0 0 250px;
display: flex;
justify-content: center;
align-items: center;
}

.avatar {
width: 150px;
height: 150px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.15);
}

.profile-main-right {
flex: 1;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 10px;
}

.nickname {
font-size: 36px;
font-weight: 700;
}

.job {
font-size: 16px;
font-weight: 400;
opacity: 0.5;
margin-bottom: 20px;
}

.stats {
display: flex;
gap: 20px;
margin-bottom: 20px;
}

.stat span {
display: block;
font-size: 14px;
opacity: 0.5;
margin-bottom: 5px;
}

.health-bar {
width: 193px;
height: 14px;
border-radius: 16px;
background: rgba(255, 0, 0, 1);
}

.hunger-bar {
width: 94px;
height: 14px;
border-radius: 16px;
background: rgba(255, 126, 0, 1);
}

.level {
position: absolute;
top: 10px;
right: 20px;
font-size: 16px;
font-weight: 700;
}

.profile-bottom {
display: flex;
gap: 30px;
}

.inventory,
.transport {
flex: 1;
height: 288px;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 16px;
padding: 20px 50px;
display: flex;
flex-direction: column;
gap: 20px;
background: rgba(41, 38, 38, 0.35);
}

.inventory h3,
.transport h3 {
font-size: 36px;
font-weight: 700;
margin-bottom: 10px;
}

.items {
display: flex;
gap: 15px;
}

.item {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}

.item-box {
width: 150px;
height: 150px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.15);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

.item-box img {
width: 100px;
height: 100px;
object-fit: contain;
}

.item p {
width: 150px;
font-size: 12px;
font-weight: 400;
text-align: center;
margin-top: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}





#profile-rating {
display: flex;
justify-content: center;
padding: 60px 20px;
color: rgba(255, 255, 255, 1);
}

.profile-container {
width: 1300px;
min-height: 750px;
background: rgba(41, 38, 38, 0.35);
border-radius: 16px;
padding: 40px;
display: flex;
flex-direction: column;
gap: 40px;
}

.profile-header h2 {
font-size: 64px;
font-weight: 700;
margin-bottom: 30px;
}

.rating-board h3 {
font-size: 36px;
font-weight: 700;
margin-bottom: 20px;
}

.rating-table {
display: flex;
flex-direction: column;
gap: 15px;
}

.rating-row {
display: grid;
grid-template-columns: 60px 1fr 200px 200px;
align-items: center;
background: rgba(255, 255, 255, 0.05);
padding: 10px 20px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
}

.rating-row .place {
background: rgba(51, 137, 221, 1);
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 8px;
color: #fff;
font-weight: 700;
}

.rating-row .player {
padding-left: 10px;
}

.rating-row .balance {
text-align: center;
}

.rating-row .server {
text-align: center;
}