/**
* Design By Eggda-Studio
**/
@import url("https://fonts.googleapis.com/css?family=Kanit:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=thai");
@import url("https://fonts.googleapis.com/css?family=Mitr:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=thai");
@import url("https://fonts.googleapis.com/css?family=Asap:400,700|Roboto");

body {
	font-family: "Kanit",sans-serif;
	margin:0;
	padding:0;
	overflow-x:hidden;
	cursor: url('../../images/point.cur'),auto;
}
a {
	cursor: url('../../images/link.cur'),auto;
}
ul{
	list-style-type:none;
}
a:link{
	text-decoration:none;
	outline:0 !important;
}
a:visited{
	text-decoration:none;
	outline:0 !important;
}
a:hover{
	text-decoration:none;
	outline:0 !important;
}
a:active{
	text-decoration:none;
	outline:0 !important;
}
/**
*  Particles JS
**/
#particles-js {
	position: absolute;
	width: 100%;
	height: 800px;
	top: 0px;
	background-image: url('');
	background-repeat: repeat;
	background-size: cover;
	background-position: 50% 50%;
	z-index: 2;
	pointer-events: none;
}
/**
* Header Box Wrapper
**/
.wrapper {
    width: 100%;
	min-width: 1200px;
    height: 1570px;
    background-image: url(../../images/bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.change {
	position:absolute;
	width:100%;
	min-width: 1200px;
	height:1570px;
	background-repeat:no-repeat;
	background-position:center top;
	background-image: url(../../images/bg.jpg);
	z-index:1;
	-webkit-animation: 3s change infinite linear;
	-moz-animation:  3s change infinite linear;
    -o-animation:  3s change infinite linear;
    -ms-animation: 3s change infinite linear;
	animation: 3s change infinite linear;
}
@-webkit-keyframes change {
	0% {opacity: 1;}
	25% {opacity: 0;}
	50% {opacity: 1;}
	75% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes change {
	0% {opacity: 1;}
	25% {opacity: 0;}
	50% {opacity: 1;}
	75% {opacity: 0;}
	100% {opacity: 1;}
}
.header_table {
    width: 1200px;
    position: relative;
    z-index: 2;
    margin: -112.5em auto;
}
.header_img {
    width: 1200px;
	height: 0;
    position: absolute;
    z-index: 3;
}
.header_img>div {
	position: absolute;
}
.header_logo {
	background: url(../../images/logo.png);
	width: 680px;
	height: 223px;
	position: absolute;
	z-index: 99;
     top: 9em;
    left: 21em;
	-webkit-animation: 3s logo infinite linear;
	-moz-animation:  3s logo infinite linear;
	animation: 3s logo infinite linear;
}
@-webkit-keyframes logo {
	0%{transform:scale(1)}
	20%{transform:scale(1.05)}
	30%{transform:scale(.93)}
	45%{transform:scale(1.04)}
	60%{transform:scale(1)}
}
@keyframes logo {
	0%{transform:scale(1)}
	20%{transform:scale(1.05)}
	30%{transform:scale(.93)}
	45%{transform:scale(1.04)}
	60%{transform:scale(1)}
}
.text_admin_talk {
	color: yellow;
	-weibkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
	font-size: 12px;
	padding-top: 1em;
	font-weight: 300;
	letter-spacing: 1px;
}
/**
* Notice List
 **/
.icon-notice {
	background:url('../../images/icon/news.png') no-repeat;
	margin-top: 5px;
	margin-left: 8px;
}
.icon-event {
	background: url('../../images/icon/event.png') no-repeat;
	margin-top: 5px;
	margin-left: 8px;
}
.icon-update {
	background: url('../../images/icon/update.png') no-repeat;
	margin-top: 5px;
	margin-left: 8px;
}
.notice-list ul li {
	padding: 0 0 7px 55px;
	border-bottom: 1px dashed #252525;
	font-family:'Prompt',sans-serif;
	font-size:12px;
	font-weight:400;
	color:#fff;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	transition: .3s all;
}
.notice-list ul li:hover {
	padding: 0 0 7px 65px;
	border-bottom: 1px dashed #252525;
	font-family:'Prompt',sans-serif;
	font-size:12px;
	font-weight:400;
	color:#37ffbf;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	transition: .3s all;
}
.notice-list ul li a {
	font-family:Tahoma;
	font-size:12px;
	color:#009a71;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	transition: .3s all;
}
.notice-list ul li a:hover {
	font-family:Tahoma;
	font-size:12px;
	color:#50fff5;
	text-decoration: none;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-ms-transition: .3s all;
	transition: .3s all;
}
.notice-list ul li p {
	float:right;
	color:#696969;
	font-family:Tahoma;
	font-size:11px;
	padding-right:2px;
	padding-top: 2px;
}
/**
* Allnews Event Box
**/
.allnews-row {
    margin-right: 20px;
    margin-left: 60px;
}
.allnews-col {
    position: relative;
    min-height: 1px;
    padding-right: 8px;
    padding-left: 8px;
    float: left;
    width: 33.33333333%;
}
.allnews-box {
	margin-top: 10px;
    width: 321px;
    height: 350px;
    position: relative;
    padding: 10px;
    margin-bottom: 1.5em;
    background-color: #141414;
    border: solid 1px #2a2a2a;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.allnews-box:hover {
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	-webkit-transform: translateY(-5px);
	transform: translateY(-5px);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
figure {
    margin: -10px 0 0 -10px;
}
figure {
	width: 320px;
    height: 200px;
	padding: 0;
	background: transparent;
	overflow: hidden;
	-webkit-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
}
.boximg-shine {
	margin-bottom: 5px;
}
.boximg-shine figure {
	position: relative;
}
.boximg-shine figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.boximg-shine figure:hover::before {
	-o-animation: shine .75s ease-in-out;
	-ms-animation: shine .75s ease-in-out;
	-moz-animation: shine .75s ease-in-out;
	-webkit-animation: shine .75s ease-in-out;
	animation: shine .75s ease-in-out;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}
.allnews-text-harder {
    font-size: 14px;
    font-weight: 300;
	letter-spacing:1px;
    color: #52dfff;
	padding: 5px;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '...';
}
.allnews-text {
	font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: #d2d2d2;
	padding: 5px;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '...';
}
.allnews-time {
	font-family: Tahoma;
	font-size:11px;
	color:#c3c3c3;
	padding: 5px;
}
.allnews-botton {
	padding: 5px;
}
.btn-view {
    color: #f9ff97;
    background-color: #1b1b1b;
    border-color: #353535;
    letter-spacing: 0.5px;
    font-weight: 200;
}
.btn-view:hover {
    color: #fff;
    background-color: #212121;
    border-color: #000000;
}
.btn-view:focus, .btn-view.focus {
    color: #fffa57;
    background-color: #292929;
    border-color: #000000;
    outline: 0 !important;
}
.btn-view:active, .btn-view.active {
    color: #fffa57;
    background-color: #292929;
    border-color: #000000;
}
.btn:active, .btn.active {
    background-image: none;
    outline: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.allnews-time span {
	font-family: Tahoma;
	float:right;
}
.status-event {
    display: inline;
    padding: .2em .8em .3em .8em;
    font-size: 85%;
    font-weight: 300;
    line-height: 1em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    vertical-align: baseline;
    -webkit-border-radius: 50em;
    border-radius: 50em;
    -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.bg-notice {
    background-color: #2495cc;
}
.bg-update {
    background-color: #65a72a;
}
.bg-event {
    background-color: #fd973f;
}
.bg-promotion {
    background-color: #ff6b6b;
}
/* Scrollbar */
body::-webkit-scrollbar { width:5px; height:5px; background-color:#fff;}
body::-webkit-scrollbar-track {background-color:#fff;}
body::-webkit-scrollbar-thumb {background: #eee;}

img, a { border: 0; }
#facebook_div {width:292px;height: 600px;overflow: hidden;}
#facebook_right {Bottom: 0%;z-index: 10005;border:5px solid #5a5a5a;background-color: #fff; width:300px; height:600px;position: fixed;right: -300px;}
#facebook_right img {position: absolute;top: 2px;left: -50px;}

@media(max-width:1170px){
body,html{
	width:1200px;
	}
}


.header_img {
    position: relative;
    width: 100%;
    height: 770px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_logo {
    width: 500px; /* ปรับขนาดโลโก้ได้ */
    height: 200px;
    background: url('../images/your-logo.html') no-repeat center center;
    background-size: contain;
    animation: floatLogo 3s ease-in-out infinite;
}

/* เอฟเฟกต์ลอยขึ้นลง */
@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.girl-left {
    position: absolute;
    left: 0;           /* ชิดซ้ายสุด */
    bottom: 0;         /* ชิดล่าง */
    height: 650px;     /* ปรับขนาดตามต้องการ */
    z-index: 2;
}

.center-wrapper{
    position: relative;
    width:100%;
    height:770px;
}

.main-logo{
    position:absolute;
    top: 100px;%;
    left:30%;
    transform:translate(-50%,-50%);
    width:500px;   /* ปรับขนาดตามต้องการ */
    animation: floatLogo 4s ease-in-out infinite;
}

/* ลอยเบา ๆ */
@keyframes floatLogo{
    0%{ transform:translate(-50%,-50%) translateY(0px);}
    50%{ transform:translate(-50%,-50%) translateY(-20px);}
    100%{ transform:translate(-50%,-50%) translateY(0px);}
}

/* ===== Top Menu Effects ===== */

.top-menu td{
    position:relative;
}

.menu-btn{
    position:relative;
    display:inline-block;
    transition:0.3s;
}

.menu-btn img{
    width:300px;
    height:110px;
    display:block;
}

/* ✨ แสงเรืองตลอด */
.menu-btn{
    animation:glowMenu 3s ease-in-out infinite;
}

@keyframes glowMenu{
    0%{ filter:drop-shadow(0 0 5px #ff0000);}
    50%{ filter:drop-shadow(0 0 20px #ff3c00);}
    100%{ filter:drop-shadow(0 0 5px #ff0000);}
}

@keyframes fireBorder{
    0%{ background-position:0%;}
    100%{ background-position:400%;}
}

/* ⚡ Hover สั่น */
.menu-btn:hover{
    animation:shake 0.2s infinite;
    transform:scale(1.05);
}

@keyframes shake{
    0%{ transform:translate(0,0);}
    25%{ transform:translate(2px,-2px);}
    50%{ transform:translate(-2px,2px);}
    75%{ transform:translate(2px,2px);}
    100%{ transform:translate(0,0);}
}

/* 💥 กดแล้วจม */
.menu-btn:active{
    transform:scale(0.95);
}

/* ===== NOTICE & UPDATE SECTION ===== */
.notice-section {
    padding: 40px 0 60px 0;
    margin-top: -200px;
    position: relative;
    z-index: 10;
}



.notice-title {
    font-size: 60px;
    font-weight: 900;
    text-align: center;
    color: #ffcc00;
    letter-spacing: 3px;
    margin: 0 auto 40px auto;
    text-transform: uppercase;
    text-shadow:
        0 0 10px #ffcc00,
        0 0 30px #ff6600,
        0 0 60px rgba(255,120,0,0.6);
}


.notice-menu {
    margin-bottom: 50px;
}

.notice-menu a {
    display: inline-block;
    background: linear-gradient(180deg,#ff8c00,#b34700);
    padding: 12px 30px;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    margin: 5px;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.notice-menu a:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #ff9900,
                0 0 30px #ff6600;
}

.notice-card {
    background: rgba(30,30,30,0.9);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    margin-bottom: 30px;
}

.notice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #ff9900;
}

.notice-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.notice-content {
    padding: 20px;
    color: #fff;
}

.notice-tag {
    display: inline-block;
    margin-top: 10px;
    background: #ff6600;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.notice-wrapper::before {
    content: "";
    display: block;
    width: 300px;
    height: 3px;
    margin: 0 auto 40px auto;
    background: linear-gradient(to right, transparent, #ff6600, transparent);
    box-shadow: 0 0 20px #ff3300;
}
.notice-card {
    background: linear-gradient(145deg, #1a1a1a, #000);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,0,0,0.2);
}

.notice-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 0 40px rgba(255,0,0,0.6);
    border: 1px solid rgba(255,0,0,0.6);
}

.notice-card img {
    transition: 0.4s;
}

.notice-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.notice-content {
    padding: 25px;
    color: #fff;
}

.notice-content h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.notice-tag {
    display: inline-block;
    background: linear-gradient(180deg,#ff0000,#660000);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    margin-top: 15px;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}
.notice-card {
    border-radius: 20px;
    border: 1px solid rgba(255,0,0,0.2);
}

.notice-card:hover {
    box-shadow: 0 0 40px rgba(255,0,0,0.7);
    border: 1px solid rgba(255,0,0,0.6);
}
.notice-card img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
/* ===== SHAKE EFFECT ===== */

.notice-card:hover {
    animation: subtleShake 0.4s infinite;
}

.notice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,0,0,0);
    pointer-events: none;
    transition: 0.3s;
}

.notice-card:hover::after {
    animation: redFlash 0.3s ease;
}

@keyframes redFlash {
    0% { background: rgba(255,0,0,0.6); }
    100% { background: rgba(255,0,0,0); }
}
.energy-line {
    opacity: 0;
}

.notice-card:hover .energy-line {
    opacity: 1;
    animation: energyBlast 0.6s ease forwards;
}

@keyframes energyBlast {
    0% { transform: translateX(-100%); opacity:1; }
    100% { transform: translateX(100%); opacity:0; }
}
html, body {
    margin: 0;
    padding: 0;
    background: #000;
}
