@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* FONTY DO WYBORU */
.inter-regular {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-shadow: none;
}
.cinzel-regular {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-style: normal;
  text-shadow: none;
}

/* --- GLOBALNE STYLE --- */
body {
    background: url(images/bg.png) no-repeat center center fixed #0d0f12;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: 'Cinzel', serif;
    color: #d3d3d3;
    text-shadow: none;
}

a {
    text-decoration: none;
    color: #004294;
    transition: color 0.1s linear;
    text-shadow: none;
}
a:hover {
    color: #ff5a00;
    text-shadow: none;
}

ul, ol {
    margin: 0;
    padding: 0;
}
ul li, ol li {
    list-style-type: none;
    margin: 0 0 6px 0;
    line-height: 1.5em;
}
textarea {
    max-width: 530px !important;
}

/* FORMULARZE */
.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;
    text-shadow: none;
}
.form_settings input,
.form_settings textarea {
    padding: 5px;
    width: 299px;
    font: 100% arial;
    border: 1px solid #E5E5DB;
    background: #FFF;
    color: #47433F;
    border-radius: 7px;
}
.form_settings .submit {
    font: 100% arial;
    border: 0;
    width: 99px;
    margin: 0 0 0 212px;
    height: 33px;
    cursor: pointer;
    background: #3B3B3B;
    color: #FFF;
    border-radius: 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;
}

/* PRZERYWNIKI, TABELKI */
.separator {
    width: 100%;
    height: 0;
    border-top: 1px solid #D9D5CF;
    border-bottom: 1px solid #FFF;
    margin: 0 0 20px 0;
}

table {
    margin: 10px 0 5px 0;
    border-spacing: 1px;
    border-collapse: separate;
}
table tr th {
    background-color: #505050 !important;
    color: #FFF;
    padding: 7px 4px;
    text-align: left;
    text-shadow: none;
}
tr.yellow td {
    background: #505050;
    color: #FFF;
    padding: 7px 4px;
    text-align: left;
}
.TableContainer table {
    margin: 0 !important;
}
.TableContainer td {
    padding: 2px 3px !important;
}
table tr td img {
    max-width: 520px;
}

/* GŁÓWNE KONTEJNERY */
.container_main {
    width: 1170px;
    margin: 10px auto 0 auto;
}
.container_left {
    display: none;
}
.container_right {
    width: 246px;
    float: left;
    margin: 0;
}
.container_mid {
    min-height: 200px;
    width: 882px;
    float: left;
    margin: 0 15px;
    
}

/* BOXY LEWO/PRAWO/ŚRODEK */
.left_box, .right_box {
    width: 100%;
    position: relative;
    margin-bottom: 18px;
    display: inline-block;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

/* CENTER_BOX – ramki + tło */
.center_box {
    width: 100%;
    position: relative;
    margin-bottom: 18px;
    background: url(images/mid_mid3.png) repeat-y center top;
    color: #531e01;
}
.center_box .content_bg .content {
    width: 100%;
    margin: 0 auto;
    padding: 8px;
}

/* ROGI */
.corner_lt, .corner_rt, .corner_rb, .corner_lb {
    position: absolute;
    z-index: 9999;
    width: 64px; 
    height: 64px;
}

/* BOX PRAWY/LEWY */
.left_box .content,
.right_box .content {
    margin: 0;
    width: 100%;
    padding: 6px;
    background: url(images/widget_bg4.png) repeat-y;
}

/* TYTUŁ BOXA */
.left_box .title,
.right_box .title,
.center_box .title {
    background: url(images/border_top4.png) repeat-x center top;
    width: 100%;
    height: 45px;
    position: relative;
}
.title span {
    width: 100%;
    height: 45px;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.9) !important;
}
.title .title-like-menu {
    background-image: none !important;
}
.title img {
    position: absolute;
    left: 20px;
    top: 6px;
    z-index: 6;
}
.left_box ul li a:after {
    content: "";
    width: 100%;
    background: url(images/line.png) no-repeat center top;
    height: 0px;
    display: block;
    margin-left: -10px;
}
.rise-up-content {
    position: relative;
    z-index: 10;
}

.stream-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 1px 0 3px;
    box-sizing: border-box;
}

.stream-card__player {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #6c431f;
    background: #120c08;
    box-shadow:
        inset 0 0 0 1px rgba(255, 229, 184, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.28);
}

.stream-card__player--scaled {
    padding-top: 0;
    min-height: 165px;
}

.stream-card__frame,
.stream-card__fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stream-card__frame--scaled {
    transform-origin: top left;
}

.stream-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 11px;
    box-sizing: border-box;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(255, 225, 164, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(92, 58, 29, 0.98) 0%, rgba(58, 33, 18, 0.98) 52%, rgba(27, 14, 8, 1) 100%);
}

.stream-card__fallback-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.stream-card__fallback-title {
    font-family: "Cinzel", serif;
    font-size: 18px;
    line-height: 1.25;
    color: #f7ebd0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.75);
}

.stream-card__fallback-text {
    max-width: 180px;
    color: #f3e5c9;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.stream-card__button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 1px solid #8c5a2c;
    background:
        linear-gradient(180deg, rgba(235, 193, 125, 0.2) 0%, rgba(235, 193, 125, 0) 22%),
        linear-gradient(180deg, #b97f3f 0%, #9c632d 54%, #74411c 100%);
    color: #fff6e1;
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
    box-shadow:
        inset 0 1px 0 rgba(255, 236, 196, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.22);
}

.stream-card__button:hover {
    color: #fff7e5;
    background:
        linear-gradient(180deg, rgba(255, 220, 164, 0.22) 0%, rgba(255, 220, 164, 0) 22%),
        linear-gradient(180deg, #c98c49 0%, #a96b31 54%, #7d461e 100%);
}

/* MENU LEWE */
.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: 3px;
}

/* PRZYCISKI LOGOWANIA */
.inputtext {
    width: 158px;
    height: 33px;
    background: url(images/quicklogin_input.png);
    padding: 0 10px;
    margin: 0 0 4px 11px;
    border: 0 none;
    color: #9c7d54;
    font-size: 12px;
    text-shadow: none;
}
.loginbtn {
    width: 83px;
    height: 23px;
    background: url(images/login_btn.png) 0 -23px;
    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(images/register_btn.png) 0 -23px;
    margin: 0 0 4px 7px;
    border: 0 none;
}
.createbtn:hover {
    cursor: pointer;
    background-position: 0 0;
}

/* PRAWY BOX i LINKI */
.right_box {
    text-shadow: 0 1px 0 #000;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}
.right_box a {
    color: #ff9000;
    transition: color 0.1s linear;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.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 #1c1c1a;
    background: none transparent;
    color: #fff;
    padding: 4px 0;
}

/* LISTA W BOXACH */
ul.toplvl {
    list-style: none;
    margin: 0;
    padding: 0 5px;
}
ul.toplvl li {
    margin: 8px 0;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* .lvl */
.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;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9) !important;
}

.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);
}

/* STOPKA */
.footer_cnt {
    width: 1170px;
    float: left;
    margin: 20px 0 70px 0;
    text-shadow: none;
}

/* 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;
}
.slidesjs-pagination li a {
    background: rgba(255,255,255,0.3);
    display: block;
    width: 10px;
    height: 10px;
    float: left;
    text-indent: -999999999px;
    line-height: 99px;
    color: rgba(0,0,0,0.6);
    border-radius: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.slidesjs-pagination li a:hover {
    background: rgba(255,255,255,0.5);
}
.slidesjs-pagination li a.active {
    background: rgba(255,255,255,0.5);
}

/* GÓRNY PASEK */
.top-bar {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0,0,0,0.7);
    font-family: 'Cinzel', serif;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}
.top-bar a {
    color: #f66545;
}
.server-status-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100%;
}
.server-status, .players-online {
    font-size: 16px;
    text-shadow: none;
}
.about-server {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 24px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 231, 166, 0.95);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)) padding-box,
        linear-gradient(115deg, #6f4100 0%, #f4c758 20%, #fff7dc 38%, #f1b640 55%, #fff3c4 72%, #8d5205 100%);
    background-size: 100% 100%, 220% 100%;
    box-shadow:
        0 0 0 1px rgba(92, 49, 0, 0.35) inset,
        0 0 10px rgba(255, 211, 92, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.35);
    color: #3f1e00 !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: aboutServerGradientShift 3.2s linear infinite;
}
.about-server::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -35%;
    width: 42%;
    height: 170%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    animation: aboutServerShine 2.6s ease-in-out infinite;
    pointer-events: none;
}
.about-server:hover {
    color: #2f1400 !important;
    transform: translateY(-1px) scale(1.02);
    filter: saturate(1.08);
    box-shadow:
        0 0 0 1px rgba(92, 49, 0, 0.45) inset,
        0 0 14px rgba(255, 224, 120, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.4);
}

@keyframes aboutServerGradientShift {
    0% {
        background-position: 0 0, 0 50%;
    }
    100% {
        background-position: 0 0, 220% 50%;
    }
}

@keyframes aboutServerShine {
    0% {
        left: -40%;
        opacity: 0;
    }
    12% {
        opacity: 0.95;
    }
    45% {
        left: 115%;
        opacity: 0;
    }
    100% {
        left: 115%;
        opacity: 0;
    }
}

/* DISCORD STATUS */
.discord-status {
    display: flex;
    align-items: center;
}
.discord-status img {
    height: 20px;
}
.discord-status span {
    color: #00ff00;
    font-size: 16px;
}

/* KOLORY I TŁO */
.white {
    color: #EFEFEF;
}
.odd {
    background-color: #D4C0A1 !important;
    padding: 2px;
}
.even {
    background-color: #F1E0C6 !important;
    padding: 2px;
}
.vertical-menu a {
    background-color: #D4C0A1 !important;
}

/* NOWE MENU (BOOTSTRAP) */
.menu.container {
    width: 1170px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
.navbar-default {
    background: url(images/border_top4.png) repeat-x center top !important;
    border: none !important;
    border-radius: 0 !important;
    height: 85px;
    position: relative;
}
.navbar-default .navbar-nav > li > a {
    line-height: 85px !important;
    height: 85px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-weight: bold;
    color: rgb(218, 218, 218);
    transition: color 0.1s linear;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: transparent !important;
    color: #ccc !important;
}
.navbar-nav li.dropdown:hover > .dropdown-menu {
    display: block;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: transparent !important;
    color: #ccc !important;
}
.navbar-default .navbar-nav .dropdown-menu {
    position: relative;
    background: url(images/tło5.png) repeat-y !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
    min-width: 150px;
}
.navbar-default .navbar-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: url(images/bot_line.png) repeat-x center top;
}
.navbar-default .navbar-nav .dropdown-menu::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: url(images/bot_line.png) repeat-x center bottom;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links {
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a {
    color: #e7e7e7 !important;
    text-shadow: 1px 1px 0 #000;
    padding: 4px 8px !important;
    background: transparent !important;
    transition: all 0.1s linear;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a:hover {
    background-color: #444444;
    color: #ffffff !important;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a {
    font-size: 17px !important;
}
.navbar-form.navbar-right {
    margin-top: 25px !important;
    margin-bottom: 0 !important;
}
.btn-primary.btn-sm {
    background-color: #555;
    border-color: #444;
}
.btn-primary.btn-sm:hover {
    background-color: #666;
    border-color: #555;
}
.navbar-nav li.dropdown {
    position: relative;
}
.navbar-default .navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 85px;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li:not(:last-child) > a:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: url(images/line.png) no-repeat center top;
    margin-left: 0px;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li {
    margin: 0 !important;
    padding: 0 !important;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a {
    margin: 0 !important;
    padding: 4px 8px !important;
    line-height: normal !important;
    display: block;
}
.navbar-default .navbar-nav .dropdown-menu .inner-links > li:not(:last-child) > a:after {
    margin: 0 !important;
    padding: 0 !important;
}

/* STYL NUMERACJI W "TOP PLAYERS" */
.toplvl li .rankNumber {
    font-weight: bold;
    margin-left: 39px; 
    margin-right: 5px;
    color: #ffc600;
}

/* DODANE: Zamykanie boxa */
.border_bottom {
    background: url("images/bot_line.png") repeat-x center bottom;
    width: 100%;
    height: 4px;
}
.title-like-menu {
    font-family: "Cinzel", serif; 
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(218, 218, 218);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.9);
    font-size: 24px;        
    line-height: 45px; 
    text-align: center;     
}
.title-like-menu--with-icon {
    box-sizing: border-box;
    padding: 0 16px 0 54px;
}
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.language-switcher__link {
    display: inline-flex;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.language-switcher__link:hover,
.language-switcher__link.is-active {
    opacity: 1;
    transform: translateY(-1px);
}
.language-switcher__link.is-active img {
    box-shadow: 0 0 0 1px #f1e0c6, 0 0 6px rgba(241, 224, 198, 0.45);
}
.language-switcher img {
    margin-right: 0;
    display: block;
}

.navbar-default .navbar-nav > li > a {
    font-size: 18px;
}
/* Aktualizacja stylów dropdown menu */
.navbar-default .navbar-nav .dropdown-menu {
    background-color: #222222;
    border: none;
}

.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a {
    color: #ffd983 !important;
    text-shadow: 1px 1px 2px #000;
}

.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a:hover {
    background-color: #444444;
    color: #ffffff !important;
}

.navbar-default .navbar-nav .dropdown-menu .inner-links > li > a {
    font-size: 17px !important;
}

/* ========================================================= */
/* DODANE: kafelki potworów (widok nowej strony "creatures") */
.creatures-tiles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 30px auto;
    max-width: calc((128px * 4) + (50px * 3));
}

.creature-tile {
    position: relative;
    width: 128px;
    height: 128px;
    background: url("images/kafelek.png") no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
}

.creature-tile:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.creature-tile img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 64px;
    height: 64px;
}

.creature-tile .tile-text {
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    font-size: 14px;
}
.monsters-table th {
    text-align: center;
    padding: 0px 20px; /* 10px góra/dół, 20px lewo/prawo – dostosuj według potrzeb */
    }
}

/* LOGO */
.logo-container {
    padding: 120px 0 100px; /* odstęp od góry i dołu */
    width: 100%;
    max-width: 1170px;
    text-align: center;
    box-sizing: border-box;
}

.logo-container img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 512px;
    height: auto;
}

.logo-container {
    margin-top: 60px !important; /* odsunięcie od górnego paska */
    margin-bottom: 50px !important; /* odsunięcie od menu */
}
