/* Container หลัก */
.wrapper {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
/* 1. ฉากหลังสีทึบดาร์ค */
.background-dark {
position: absolute;
width: 100%;
height: 100%;
background: radial-gradient(circle, #1f2833 0%, #0b0c10 100%);
z-index: 1;
}
/* 2. เลเยอร์กลุ่มควันเคลื่อนไหว (Fog Animation) */
.smoke-layer {
position: absolute;
width: 200%;
height: 100%;
background: url('https://transparenttextures.com'),
rgba(0, 0, 0, 0.2); /* สามารถเปลี่ยนเป็นไฟล์ PNG ควันโปร่งแสงได้ */
opacity: 0.4;
z-index: 2;
pointer-events: none;
animation: drift 25s linear infinite;
}
@keyframes drift {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
/* 3. ภาพตัวละครชุดขาว (ครึ่งตัว) */
.character-container {
position: absolute;
bottom: 0;
width: auto;
height: 85vh;
z-index: 3;
display: flex;
justify-content: center;
}
.char-img {
height: 100%;
object-fit: contain;
/* ใส่เงาให้ตัวละครดูกลมกลืนกับความมืด */
filter: drop-shadow(0px 0px 20px rgba(255,255,255,0.1));
}
/* 4. เมนูและเนื้อหาเว็บ */
.content-overlay {
position: relative;
z-index: 4;
text-align: center;
color: #ffffff;
text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.logo {
font-size: 3rem;
letter-spacing: 5px;
text-transform: uppercase;
color: #fff;
margin-bottom: 30px;
}
.enter-btn {
padding: 15px 40px;
font-size: 1.2rem;
background: transparent;
color: #fff;
border: 2px solid #fff;
cursor: pointer;
transition: all 0.4s ease;
text-transform: uppercase;
letter-spacing: 2px;
}
.enter-btn:hover {
background: #fff;
color: #0b0c10;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
</style>
</head>
<body>
<div class="wrapper">
<!-- ฉากหลังดาร์ค --