
/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 18px;
  list-style: none;
  background-color: transparent;
  border-radius: 4px;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #cccccc;
  content: "/\00a0";
}
.breadcrumb > .active {
  color: #808080;
}

#videoBG {
    position:fixed;
    z-index: -1;
}
@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width:100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    #videoBG { 
        width:auto;
        height: 100%;
    }
}
@media (max-width: 767px) {
    #videoBG {
        display: none;
    }
    body {
        background: url('poster.jpg');
        background-size: cover;
    }
}

* {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}

body, html {
	height: 100%;
	
}

/*---------------------------------------------*/
a {
	
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
  color: #57b846;
}

/*---------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
	margin: 0px;
}

p {
	
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
}

ul, li {
	margin: 0px;
	list-style-type: none;
}


/*---------------------------------------------*/
input {
	outline: none;
	border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }

textarea:focus::-webkit-input-placeholder { color:transparent; }
textarea:focus:-moz-placeholder { color:transparent; }
textarea:focus::-moz-placeholder { color:transparent; }
textarea:focus:-ms-input-placeholder { color:transparent; }

input::-webkit-input-placeholder { color: #999999; }
input:-moz-placeholder { color: #999999; }
input::-moz-placeholder { color: #999999; }
input:-ms-input-placeholder { color: #999999; }

textarea::-webkit-input-placeholder { color: #999999; }
textarea:-moz-placeholder { color: #999999; }
textarea::-moz-placeholder { color: #999999; }
textarea:-ms-input-placeholder { color: #999999; }

/*---------------------------------------------*/
button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  
  font-size: 16px;
  line-height: 1.5;
  color: #999999;
}

.txt2 {
  
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
}


/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;  
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  /* เพิ่มแสงเรืองรองจางๆ ด้านหลังฉาก เพื่อความมีมิติ */
  background: radial-gradient(circle at center, rgba(0, 120, 255, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.wrap-login100 {
  width: auto;
  /* ใช้พื้นหลังสีน้ำเงินเข้มโปร่งแสง (Glassmorphism) หรือปรับทึบตามชอบ */
  background: rgba(11, 19, 43, 0.85);
  border: 1px solid rgba(0, 198, 255, 0.4); /* ขอบเรืองแสงสีฟ้าอ่อน */
  border-radius: 16px; /* ปรับมุมให้โค้งมนดูทันสมัยและพรีเมียมขึ้น */
  overflow: hidden;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 90px 40px 90px;
  
  /* เงาเรืองแสงสีฟ้ารอบกล่อง */
  box-shadow: 0 0 30px rgba(0, 114, 255, 0.3), inset 0 0 15px rgba(0, 198, 255, 0.1);
  backdrop-filter: blur(10px); /* เอฟเฟกต์เบลอฉากหลังกระจก */
}

/* ปรับแต่งข้อความภายในให้เข้ากับโทนสีเข้ม (ถ้าตัวหนังสือเดิมเป็นสีดำ อาจจะต้องปรับสีตัวอักษรในไฟล์ HTML หรือเพิ่ม Color ที่นี่) */
.wrap-login100 span, .wrap-login100 font, .wrap-login100 label {
  color: #e0f2fe !important; /* เปลี่ยนข้อความทั่วไปให้เป็นสีฟ้าสว่าง/ขาว เพื่อให้อ่านง่ายบนพื้นหลังมืด */
}

/*------------------------------------------------------------------
[ Image / Graphic Section ]*/
.login100-pic {
  width: 380px;
  display: flex;
  align-items: center;
}

.login100-pic img {
  max-width: 100%;
  filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.3)); /* เพิ่มแสงเรืองที่รูปภาพเล็กน้อย */
}

/*------------------------------------------------------------------
[  ]*/
.login100-form {
  width: 300px;
}

.login100-form-title {
  
  font-size: 24px;
  color: #333333;
  line-height: 1.2;
  text-align: center;

  width: 100%;
  display: block;
  padding-bottom: 54px;
}


/*---------------------------------------------*/
.wrap-input100 {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 10px;
}

.input100 {
  
  font-size: 15px;
  line-height: 1.5;
  color: #666666;

  display: block;
  width: 100%;
  background: #e6e6e6;
  height: 50px;
  border-radius: 25px;
  padding: 0 30px 0 68px;
}


/*------------------------------------------------------------------
[ Focus ]*/
.focus-input100 {
  display: block;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 0px 0px;
  color: rgba(87,184,70, 0.8);
}

.input100:focus + .focus-input100 {
  -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
  animation: anim-shadow 0.5s ease-in-out forwards;
}

@-webkit-keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

.symbol-input100 {
  font-size: 15px;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 35px;
  pointer-events: none;
  color: #666666;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus + .focus-input100 + .symbol-input100 {
  color: #57b846;
  padding-left: 28px;
}


.login100-form-btn {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;

  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;
  transition: all 0.3s ease;
}

.login100-form-btn:hover {
  background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
  box-shadow: 0 6px 20px rgba(0, 198, 255, 0.7);
  transform: translateY(-2px);
}



/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 992px) {
  .wrap-login100 {
    padding: 100px 90px 33px 85px;
  }

  .login100-pic {
    width: 35%;
  }

  .login100-form {
    width: 50%;
  }
  
  .login100-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wrap-login100 {
    padding: 100px 80px 33px 80px;
  }

  .login100-pic {
    display: none;
  }

  .login100-form {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 100px 15px 33px 15px;
  }
}


/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: white;
  border: 1px solid #c80000;
  border-radius: 13px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 8px;
  pointer-events: none;

  
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  color: #c80000;
  font-size: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 13px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.thumb {
	float:center; /* must be floated for same cross browser position of larger image */
	position:relative;
}
.thumb img { 
	border:1px solid #000;
	vertical-align:bottom;
}
.thumb:hover {
	border:0; /* IE6 needs this to show large image */
	z-index:1;
}
.thumb span { 
	position:absolute;
	visibility:hidden;
}
.thumb:hover span { 
	visibility:visible;
	position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
}


/* จัดวางกล่องการ์ดให้อยู่ในรูปแบบ Grid เรียงหน้ากระดาน */
.topup-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

/* ดีไซน์ตัวการ์ดแต่ละใบ */
.topup-card {
    background: rgba(16, 30, 60, 0.9);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 12px;
    width: calc(33.333% - 12px); /* เรียง 3 ใบต่อแถวในจอคอมพิวเตอร์ */
    min-width: 180px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* เอฟเฟกต์เมื่อเอาเมาส์ชี้การ์ด */
.topup-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 198, 255, 0.8);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

/* การ์ดแพ็กเกจใหญ่พิเศษ (500 และ 1,000) ให้เด่นขึ้นเล็กน้อย */
.topup-card.popular {
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(25, 35, 65, 0.95);
}

/* ป้ายบอกจำนวนเงินด้านบนการ์ด */
.card-badge {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: rgba(0, 114, 255, 0.4);
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 198, 255, 0.4);
}

.card-badge.highlight {
    background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
    border: 1px solid #ffd700;
    color: #fff;
}

/* รายละเอียดข้างใน (แต้มและของแถม) */
.card-body-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coin-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: #e0f2fe;
}

.coin-row img {
    width: 24px;
    height: 24px;
}

.bonus-box {
    font-size: 13px;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px;
    border-radius: 6px;
    line-height: 1.4;
}

/* Responsive สำหรับจอมือถือหรือจอเล็ก ให้เรียงแถวละ 1-2 ใบ */
@media (max-width: 768px) {
    .topup-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .topup-card {
        width: 100%;
    }
}


/* เอฟเฟกต์ตัวหนังสือเรืองแสงสีฟ้าแฟนตาซี */
.fantasy-glow-text {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 198, 255, 0.8), 0 0 20px rgba(0, 114, 255, 0.6);
    font-weight: bold;
}

/* เอฟเฟกต์สำหรับข้อความเตือนพิเศษ (เช่น คำเตือนเรื่องล็อกเอาท์) เป็นโทนฟ้าอมเขียวเรืองแสงเด่นชัด */
.fantasy-warning-text {
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
    font-weight: bold;
}