/**
 * Rule the words! KKuTu Online
 * Copyright (C) 2017 JJoriping(op@jjo.kr)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#holder{
	width: 200px;
	text-align: center;
	text-shadow: 0px 0px 4px #333;
	font-weight: bold;
}
#logo{
	margin-top: -20px;
}
#kkutu-bulletin{
	border: 0px;
	margin-bottom: 5px;
}

#menu-bar a{
	display: block;
	float: left;
	padding: 10px 5px;
	border-radius: 5px;
	margin: 0px 3px;
	width: 120px;
	font-size: 15px;
	text-align: center;
	box-shadow: 0px 1px 1px #333;
}
/* =========================
   게임 접속 버튼 리모델링
========================= */

#game-start{

	float:left;

	width:315px;
	height:78px;

	border:none;

	border-radius:24px;

	font-size:24px;
	font-weight:900;

	color:white;

	cursor:pointer;

	background:
	linear-gradient(
		135deg,
		#8effcb,
		#00d97b
	);

	box-shadow:
	0 10px 35px rgba(0,255,136,.35);

	position:relative;

	overflow:hidden;

	transition:
	transform .35s cubic-bezier(.17,.89,.32,1.49),
	box-shadow .35s,
	filter .35s;
}

/* 버튼 빛 */

#game-start::before{

	content:"";

	position:absolute;

	inset:0;

	background:
	linear-gradient(
		120deg,
		transparent,
		rgba(255,255,255,.25),
		transparent
	);

	transform:
	translateX(-120%);

	transition:1s;
}

#game-start:hover{

	transform:
	translateY(-6px)
	scale(1.03);

	filter:brightness(1.08);

	box-shadow:
	0 18px 45px rgba(0,255,136,.55);
}

#game-start:hover::before{

	transform:
	translateX(120%);
}

#game-start:active{

	transform:
	scale(.97);
}

/* =========================
   서버 목록 리모델링
========================= */

.server-list-box{

	float:right;

	width:360px;

	padding:16px;

	border-radius:28px;

	background:
	linear-gradient(
		135deg,
		rgba(255,255,255,.12),
		rgba(255,255,255,.04)
	);

	backdrop-filter:blur(18px);

	box-shadow:
	0 15px 40px rgba(0,0,0,.25);

	border:
	1px solid rgba(255,255,255,.08);

	position:relative;

	overflow:hidden;
}

/* 반짝이는 효과 */

.server-list-box::before{

	content:"";

	position:absolute;

	inset:0;

	background:
	linear-gradient(
		120deg,
		transparent,
		rgba(255,255,255,.08),
		transparent
	);

	transform:
	translateX(-120%);

	animation:
	ServerShine 6s linear infinite;
}

/* 제목 */

.server-list-title{

	position:relative;

	padding:14px;

	margin-bottom:14px;

	border-radius:18px;

	text-align:center;

	font-size:20px;
	font-weight:900;

	background:
	rgba(255,255,255,.08);

	text-shadow:
	0 0 10px rgba(255,255,255,.35);

	box-shadow:
	0 5px 18px rgba(0,0,0,.15);
}

/* 새로고침 */

#server-refresh{

	margin-left:8px;

	cursor:pointer;

	display:inline-block;

	transition:
	transform .45s,
	filter .35s;
}

#server-refresh:hover{

	transform:
	rotate(180deg)
	scale(1.15);

	filter:
	drop-shadow(0 0 6px white);
}

/* 서버 */

.server{

	float:left;

	width:100%;
	height:56px;

	margin-bottom:10px;

	padding:0 14px;

	display:flex;
	align-items:center;

	border-radius:18px;

	background:
	rgba(255,255,255,.06);

	cursor:pointer;

	transition:
	transform .3s cubic-bezier(.17,.89,.32,1.49),
	background .3s,
	box-shadow .3s;

	position:relative;

	overflow:hidden;
}

.server:last-child{
	margin-bottom:0;
}

/* hover */

.server:hover{

	transform:
	scale(1.02)
	translateX(5px);

	background:
	rgba(255,255,255,.12);

	box-shadow:
	0 10px 24px rgba(0,0,0,.18);
}

/* 서버 상태 */

.server-status{

	width:14px;
	height:14px;

	border-radius:50%;

	margin-right:12px;

	box-shadow:
	0 0 12px currentColor;
}

.ss-o{
	background:#45ff8d;
}

.ss-p{
	background:#ffe45f;
}

.ss-q{
	background:#ff6666;
}

.ss-x{
	background:#888;
}

/* 서버 이름 */

.server-name{

	width:70px;

	font-size:14px;
	font-weight:900;
}

/* 게이지 */

.server-people{

	position:relative;

	width:180px;
	height:16px;

	margin:0 10px;

	border-radius:999px;

	background:
	rgba(255,255,255,.08);

	overflow:hidden;
}

/* 기존 이미지 제거 후 CSS 게이지 */

.server-people>.graph-bar{

	height:100%;

	border-radius:999px;

	background:
	linear-gradient(
		90deg,
		#98ffd8,
		#00d97b
	);

	box-shadow:
	0 0 12px rgba(0,255,136,.35);

	transition:
	width .35s ease;
}

/* 인원 */

.server-people>label{

	position:absolute;

	left:0;
	top:0;

	width:100%;
	height:100%;

	text-align:center;

	line-height:16px;

	font-size:10px;
	font-weight:bold;

	text-shadow:
	0 0 4px rgba(0,0,0,.55);
}

/* 입장 */

.server-enter{

	width:52px;

	text-align:right;

	font-size:13px;
	font-weight:900;
}

/* =========================
   애니메이션
========================= */

@keyframes ServerShine{

	from{
		transform:translateX(-120%);
	}

	to{
		transform:translateX(120%);
	}
}