@import url('https://fonts.googleapis.com/css?family=Patua+One');

/* Pierwsza czcionka (ta główna) */
@font-face {
    font-family: 'OneTwoPunch BB';
    src: url('fonts/OneTwoPunchBB.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* DRUGA CZCIONKA (Dragon Ball dla napisu PABO) */
@font-face {
    font-family: 'Saiyan';
    src: url('fonts/Saiyan-Sans.woff') format('woff'); 
    font-weight: normal;
    font-style: normal;
}
/* ================== TŁO I BODY ================== */
body {
    /* Ustawiamy dominujący kolor tła, który płynnie połączy się z krajobrazem */
    background-color: #0b2405; 
    
    background-image: url('img/bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    
    /* PRZYWRÓCENIE ORYGINALNEGO ZACHOWANIA: tło znowu rusza się razem ze stroną */
    background-attachment: scroll; 
    
    /* Na szerokość wypełnia 100%, wysokość dopasowuje się naturalnie (jak na Twoim PC) */
    background-size: 100% auto;    
    
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #d3d3d3;
}

/* ================== RESZTA KODU ================== */
a {
	text-decoration: none;
	color: #004294;
	transition: color 0.1s linear;
}

a:hover {
	color: #ff5a00;
}

ul { 
  margin: 2px 0 0 0;
  padding: 0;
}

textarea {
  max-width: 530px !important;
}

ul li { 
  list-style-type: none;
  margin: 0 0 6px 0; 
  padding: 0 0 4px 5px;
  line-height: 1.5em;
}

ol { 
  margin: 8px 0 5px 5px;
}

ol li { 
  margin: 0 0 11px 0;
}

.form_settings { 
  margin: 15px 0 0 0;
}

.form_settings p { 
  padding: 0 0 4px 0;
}

.form_settings span { 
  float: left; 
  width: 200px; 
  text-align: left;
}
  
.form_settings input, .form_settings textarea { 
  padding: 5px; 
  width: 299px; 
  font: 100% arial; 
  border: 1px solid #E5E5DB; 
  background: #FFF; 
  color: #47433F;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;  
}
  
.form_settings .submit { 
  font: 100% arial; 
  border: 0; 
  width: 99px; 
  margin: 0 0 0 212px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  background: #3B3B3B; 
  color: #FFF;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;  
}

.form_settings textarea, .form_settings select { 
  font: 100% arial; 
  width: 299px;
}

.form_settings select { 
  width: 310px;
}

.form_settings .checkbox { 
  margin: 4px 0; 
  padding: 0; 
  width: 14px;
  border: 0;
  background: none;
}

.separator { 
  width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;
}

.footer_cnt {
    width: 1170px;
    height: 100px;
    margin: 20px auto 70px auto;
    clear: both;
    background: url('img/footer_border.png') no-repeat center center;
    background-size: contain; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer_text {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
} 

table { 
  margin: 10px 0 30px 0;
  width: 100%;
  border-spacing: 1px;
  border-collapse: separate;
}

table tr th { 
  background: #e3c207;
  color: red;
  padding: 7px 4px;
  text-align: center;
}

tr.yellow td {
  background: #d66f09;
  color: #FFF;
  padding: 7px 4px;
  text-align: center;
}

table tr td {   
  background: #fab905;
  color: #47433F;
}

table.stripped tr:nth-child(even) td {
  background-color: #ed8f02;
}

table.stripped tr:nth-child(odd) td {
  background-color: #ed8f02;
}

table.TableContent tr td , table.Table3 tr td {   
  background: #e6b505;
}

table.TableContent tr.LabelH td {   
  background: #fc9b05;
}

.TableContainer table { 
  margin: 0 !important;
}

.TableContainer td { 
  padding: 8px 5px !important;
}

table tr td img { 
  max-width: 520px;
}

input.hover:hover {
	cursor: pointer;
}

/* guild war */
tr.special:hover td {
   background: orange;
}

tr.special {
    cursor: pointer;
}

ul.war_list li {
   font-size:18px;
}

.container_main {
	width: 1170px;
	margin: 350px auto 0 auto;
}

.container_left, .container_right {
	width: 246px;
	float: left;
	margin: 0;
}

.container_mid {
	min-height: 200px;
	width: 648px;
	float: left;
	margin: 0 15px;
}

.left_box, .right_box, .center_box {
	width: 100%;
	background: url(img/border_left.png) repeat-y left top, url(img/border_right.png) repeat-y right top;
	position: relative;
	margin-bottom: 18px;
}

.corner_lt, .corner_rt, .corner_rb, .corner_lb {
	z-index: 5;
}

.corner_lt {
	position: absolute;
	width: 64px;
	height:64px;
	background: url(img/corners.png) no-repeat 0 0;
	left: -7px;
	top: -5px;
}

.corner_rt {
	position: absolute;
	width: 64px;
	height:64px;
	background: url(img/corners.png) no-repeat -64px 0;
	right: -7px;
	top: -5px;
}

.corner_rb {
	position: absolute;
	width: 64px;
	height:64px;
	background: url(img/corners.png) no-repeat -64px -64px;
	right: -7px;
	bottom: -5px;
}

.corner_lb {
	position: absolute;
	width: 64px;
	height:64px;
	background: url(img/corners.png) no-repeat 0 -64px;
	left: -7px;
	bottom: -5px;
}

.left_box .content, .right_box .content {
	margin: -1px 20px;
	width: 200px;
	padding: 3px 3px;
	background: url(img/widget_bg.png) repeat-y;
}

.center_box .content_bg {
	width: 608px;
	margin: -1px 20px;
	position: relative;
	background: url(img/mid_bot.png) no-repeat center bottom, url(img/mid_top.png) no-repeat center top, url(img/mid_mid.png) repeat-y center top;
	color: #531e01;
}

.center_box .content_bg .content {
	padding: 6px 8px;
}

.left_box .border_bottom, .right_box .border_bottom,  .center_box .border_bottom {
	background: url(img/border_bottom.png) repeat-x center bottom;
	width: 100%;
	display: block;
	height: 20px;
}

.left_box .title, .right_box .title,  .center_box .title {
	background: url(img/border_top.png) repeat-x center top;
	width: 100%;
	height: 45px;
	position: relative;
}

.rise-up-content {
	position: relative;
	z-index: 10;
}

.left_box ul li a:after {
	content: "";
	width: 100%;
	background: url(img/line.png) no-repeat center top;
	height: 2px;
	display: block;
	margin-left: -10px;
}

.title span {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-repeat: no-repeat;
    font-family: 'OneTwoPunch BB', cursive !important;
    font-style: normal !important; /* TO WYMUSZA CAŁKOWICIE PROSTĄ CZCIONKĘ */
    font-size: 34px !important;
    color: orange !important;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px #000;
    letter-spacing: 2px;
}

.title img {
	position: absolute;
	left: 20px;
	top: 6px;
	z-index: 6;
}

.left_box ul {
	list-style: none;
	padding: 0;
	margin: 0 0 0 8px;
}

.left_box ul li {
	padding: 1.5px 0 2px 0;
	margin: 0;
}

.left_box ul li a {
	display: block;
	color: #e7e7e7;
	text-shadow: 1px 1px 0 #000;
	transition: all 0.1s linear;
}

.left_box ul li a:hover {
	color: orange;
    padding-left: 0; 
    text-shadow: 0px 0px 5px rgba(255, 165, 0, 0.6);
}

.inputtext {
	width: 158px;
	height: 33px;
	background: url(img/quicklogin_input.png);
	padding: 0 10px;
	margin: 0 0 4px 11px;
	border: 0 none;
	color: #9c7d54;
	font-size: 12px;
	text-shadow: 1px 1px 0 #000;
}

.loginbtn {
	width: 83px;
	height: 23px;
	background: url(img/login_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 12px;
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
}

.loginbtn:hover {
	cursor: pointer;
	background-position: 0 0;
}

.createbtn {
	vertical-align: middle;
	display: inline-block;
	width: 83px;
	height: 23px;
	background: url(img/register_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 7px;
	border: 0 none;
}

.createbtn:hover {
	cursor: pointer;
	background-position: 0 0;
}

.download_client {
	display: block;
	width: 250px;
	height: 59px;
	background: url(img/download_btn.png) no-repeat 0 -59px;
	margin: 0 0 10px -2px;
}

.download_client:hover {
	background-position: 0 0;
}

.right_box {
	text-shadow: 0 1px 0 #000;
}

.right_box a {
	color: #ff9000;
	transition: color 0.1s linear;
}

.right_box a:hover {
	color: #ff4e00;
}

table.sinfotable {
	margin: 0 8px;
	font-size: 13px;
	width: 183px;
}

table.sinfotable td {
	border-bottom: 1px solid #4c4b46;
    border-top: 1px solid #c75108;
	background: none transparent;
	color: #fff;
	padding: 4px 0;
}

ul.toplvl {
	list-style: none;
	margin: 0 8px;
}

ul.toplvl li {
	padding: 1px 0;
	margin: 0;
}

.lvl {
    display: block;
    background: #cc7e0f;
    float: right;
    height: 15px;
    line-height: 14px;
    color: #fff;
    text-shadow: 0 0 5px #000;
    padding: 0px 5px;
    border-radius: 4px;
    box-shadow: 0 1px 0 #101010;
    border-top: 1px solid #ffc36d;
}

.acc_menu {
	width: 183px;
	margin: 0 8px;
}

.acc_menu a {
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
	padding: 3px 0;
	font-size: 12px;
	text-align: center;
	background: rgba(0,0,0,0.3);
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: 0 1px 3px rgba(255,255,255,0.2) inset, 0 -1px 3px rgba(0,0,0,0.5) inset;
	border-radius: 3px;
	color: #fff;
	transition: all 0.1s linear;
	margin: 1px 0;
}

.acc_menu a:hover {
	background: rgba(0,0,0,0.4);
}

/* SLIDER */
.slider {
	width: 207px;
    height: 100px;
    margin-left: -3px;
    margin-top: -3px;
    margin-bottom: -2px;
}

#slides {
	display: none;
	width: 207px;
	height: 100px;
	float: left;
	z-index: 90;
	overflow: initial !important;
	position: relative;
}

.slidesjs-pagination {
	z-index: 999;
	position: absolute;
	bottom: 5px;
	right: 5px;
}

ul.slidesjs-pagination {
	list-style: none;
	padding: 3px;
	border-radius: 5px;
	margin: 0;
	background: rgba(0,0,0,0.5);
}

.slidesjs-pagination li {
	float: left;
	margin: 0 3px;
	padding: 0;
}

.slidesjs-pagination li a {
	background: rgba(255,255,255,0.3);
	display: block;
	width: 10px;
	height: 10px;
	float: left;
	overflow: hidden;
	text-indent: -999999999px;
	line-height: 99px;
	color: rgba(0,0,0,0.6);
	border-radius: 15px;
}

.slidesjs-pagination li a:hover, .slidesjs-pagination li a.active {
	background: rgba(255,255,255,0.5);
}

.top-bar {
	position: fixed;
	z-index: 200;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: 'Patua One', cursive;
	height: 30px;
	line-height: 30px;
	background: rgba(0,0,0,0.3);
	color: #fff;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 1px 0 #000, 1px 0px 0 #000, -1px 0px 0 #000, -1px 0px 0 #000;
	font-weight: normal;
	font-size: 18px;
}

.top-bar a {
	color: #f66545;
}

.nav_bar_custom {
    position: fixed;
    top: 0px; 
    left: 50%;
    transform: translateX(-50%); 
    background: url('img/top_menu.png') no-repeat center center;
    background-size: 100% 100%; 
    width: 1170px;  
    height: 80px;   
    z-index: 150;
    display: flex;
    align-items: center; 
    justify-content: center;
}

.nav_container {
    width: 1100px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 100%;
    padding-bottom: 5px; 
}

.nav_menu {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.server_status {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4); 
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
}

.status_icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
}

.status_icon.online {
    background-color: #00ff00;
    animation: blink 2s infinite;
}

.status_icon.offline {
    background-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.status_text, .players_online {
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

.nav_item i {
    font-size: 22px;
    color: #ff9000; 
}

.nav_item span {
    font-size: 10px;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 1px #000;
}

.nav_item:hover {
    color: #ff5a00;
    transform: translateY(-3px); 
}

.nav_item:hover i {
    color: #fff;
}

.nav_icon_img {
    width: 39px;      
    height: 49px;     
    margin-bottom: 5px;
    object-fit: contain; 
    transition: transform 0.2s;
}

.nav_item:hover .nav_icon_img {
    transform: scale(1.1); 
    filter: brightness(1.2); 
}

.rise-up-content ul {
    padding: 0 !important;      
    margin: 0 !important;       
    list-style: none !important; 
    text-align: center !important; 
    width: 100%;
}

.rise-up-content ul li {
    list-style: none !important;
    margin-bottom: 10px;        
    text-align: center;
}

.menu_game_link {
    font-family: 'Patua One', cursive;
    font-size: 15px;
    color: #f0c956 !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #000;
    transition: 0.3s all ease;
    display: inline-block; 
    padding: 5px 10px;
    width: auto; 
}

.menu_game_link:hover {
    color: #ffffff !important;
    transform: scale(1.1); 
    text-shadow: 0px 0px 8px #ff5a00;
}

.nav_item img {
    display: block;
    height: auto;
    max-width: 150px; 
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.nav_item:hover img {
    transform: scale(1.05); 
    filter: brightness(1.2) drop-shadow(0 0 10px #ff9000); 
}

.champions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 30px; 
}

.champion-card {
    text-align: center;
    text-decoration: none; 
    transition: transform 0.2s;
    width: 155px;
}

.champion-card:hover {
    transform: scale(1.05);
}

.champion-card img {
    width: 150px;
    height: auto;
    border: 2px solid #f0c956;
    border-radius: 10px;
    display: block;
    margin-bottom: 5px;
}

.champion-card span {
    font-family: 'Patua One', cursive;
    color: #f0c956;
    text-shadow: 1px 1px 2px #000;
    display: block;
    font-size: 14px;
}

.CharacterList {
    background-color: #ff9f43 !important; 
    font-weight: bold;
    border-bottom: 1px solid #e17055; 
}

.CharacterList:hover {
    background-color: #ffb366 !important;
    cursor: pointer;
}

.CaptionInnerContainer {
    background-color: #ff9100 !important; 
    background-image: none !important;    
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box; 
    width: 100%;
    overflow: hidden; 
    white-space: nowrap; 
}

.CaptionInnerContainer .Text {
    color: #ffffff !important;           
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;      
    font-size: 14px;
}

.CaptionEdgeLeftTop, .CaptionEdgeRightTop, .CaptionEdgeLeftBottom, .CaptionEdgeRightBottom,
.CaptionBorderTop, .CaptionBorderBottom, .CaptionVerticalLeft, .CaptionVerticalRight {
    display: none !important; 
}

.InnerTableContainer {
    padding: 5px;
    box-sizing: border-box;
}

#highscoresTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #886a4d;
    border-radius: 10px; 
    overflow: hidden;
    background: #fdf1d5; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-top: 20px;
}

#highscoresTable th {
    background: linear-gradient(to bottom, #dec316 0%, #d68000 100%);
    color: white;
    padding: 12px;
    font-size: 16px;
    text-shadow: 1px 1px 2px #000;
    border-bottom: 2px solid #886a4d;
}

.table-header-row td {
    background-color: #dcaf83 !important;
    font-weight: bold;
    color: #52412f;
    border-bottom: 1px solid #886a4d;
    padding: 10px;
}

#highscoresTable tr:nth-child(even) {
    background-color: #f2e1b8;
}

#highscoresTable tr:hover {
    background-color: #ebd391; 
    transition: background 0.2s;
}

#highscoresTable td {
    padding: 8px;
    border-bottom: 1px solid rgba(136, 106, 77, 0.2);
    vertical-align: middle;
}

.outfit-container {
    position: relative; 
    width: 32px; 
    height: 32px; 
    margin: 0 auto;
}

.outfit-image {
    width: 64px; 
    height: 64px; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    background-repeat: no-repeat; 
    background-position: right bottom;
}

.pagination {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.inputbtn, .inputbtnpenel {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: url('tibia_img/sbutton2.gif') no-repeat center !important;
    background-color: transparent !important; 
    background-size: 100% 100% !important;
    display: block !important;
    width: 160px !important;
    height: 28px !important;
    line-height: 28px !important;
    color: #f0d4ba !important;
    text-shadow: 1px 1px 1px #000;
    font-weight: bold;
    font-size: 11px;
    text-decoration: none !important;
    text-align: center;
    margin: 6px auto !important;
    padding: 0 !important;
}

.inputbtn:active, .inputbtnpenel:active {
    outline: none !important;
    border: none !important;
}

.inputbtn:hover, .inputbtnpenel:hover {
    filter: brightness(1.2);
    color: #fff !important;
}

.items-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 10px; 
}

.item-card {
    text-align: center;
    text-decoration: none; 
    transition: transform 0.2s;
    width: 92px;
}

.item-card:hover {
    transform: scale(1.05);
}

.item-card img {
    width: 80px;
    height: auto;
    border: 2px solid #f0c956;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
}

.items-card span {
    font-family: 'Patua One', cursive;
    color: #f0c956;
    text-shadow: 1px 1px 2px #000;
    display: block;
    font-size: 14px;
}

.monsters-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 10px; 
}

.monsters-card {
    text-align: center;
    text-decoration: none; 
    transition: transform 0.2s;
    width: 92px;
}

.monsters-card:hover {
    transform: scale(1.05);
}

.monsters-card img {
    width: 100px;
    height: auto;
    border: 2px solid #f0c956;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
}

.monsters-card span {
    font-family: 'Patua One', cursive;
    color: #f0c956;
    text-shadow: 1px 1px 2px #000;
    display: block;
    font-size: 14px;
}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
@media (max-width: 1200px) {
    body {
        background-size: 1920px auto !important;
        /* Zmień 50% na np. 40% lub 60%, żeby przesuwać tło w lewo lub w prawo */
        background-position: 40% top !important; 
    }
}