@font-face {
    font-family: 'Fontin';
    src: url('/fonts/Fontin-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
	/* backgrounds */
	--primary: rgb(30,33,40);
	--secondary: rgb(25,28,33);
	--third: #ddd;
	--border: rgb(19,20,23);

	/* text */
	--font-color: rgb(155,162,177);

	/* Links / anchors */
	--anchor:#b39062;
	--anchor-hover:#e79424;

	/* buttons or alert boxes with different colors */
	--bg-danger: #3c0e0e;
	--color-danger: #9e5858;
	--border-danger: #350505;

	--bg-warning: #905c00;
	--color-warning: #39280a;
	--border-warning: #322001;

	--bg-info: #005d90;
	--color-info: #00263e;
	--border-info: #022530;

	--bg-success: #009039;
	--color-success: #003f0c;
	--border-success: #00380c;

	--bg-default: rgb(15,17,20);
	--color-default: #968452;
	--border-default: #000;
}

body {
	font-family: 'arial', sans-serif;
	color:var(--font-color);
}


body, ul { margin: 0; padding: 0; }
li { list-style: none; }
a { text-decoration: none;color:var(--anchor); }
a:hover {color:var(--anchor-hover);}
a:hover, button:hover, input[type="submit"]:hover { cursor: pointer; }
* {-webkit-transition-duration: 0.2s;-moz-transition-duration: 0.2s;-o-transition-duration: 0.2s;transition-duration: 0.2s;}
*:hover {-webkit-transition-duration: 0s;-moz-transition-duration: 0s;-o-transition-duration: 0s;transition-duration: 0s;}

nav .container > div > ul > li > ul {
	position: absolute;
	border: 2px solid;
	border-top:none !important;
	border-color: var(--border);
	width: 200px;
}

nav { border: 10px solid var(--primary); }
nav .container { padding-left: 10px;
				 }
nav .container > div > ul > li,
.modIcon:hover > i:nth-child(2) { display: inline-block; }

nav .container > div > ul > li > a { padding: 20px; }
nav .container > div > ul > li:hover > ul,
nav .container > div > ul > li > a,
nav .container > div > ul > li > ul > li > a { display: block; z-index: 1; }
nav .container > div > ul > li > ul > li > a { padding: 10px 20px; }
nav .container, .preventCollapse, .ellipsis { overflow: hidden; }

.topPane { margin-bottom: 10px; }
.leftPane { width: 70%; }
.rightPane { width: 29%; }
.searchForm { width: 200px; }
.body { padding: 10px 0px; }
table { width: 100%; }
td { padding: 10px 5px; }
.header { color: #d1a233; }
.feedContainer { margin:2rem 0; }
.pull-left { float:left; }
.pull-right { float:right; }
.well, .header { width: auto; }
.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }

.banner {
    background: url("../rosha_images/rosha_banner.png");
    height: 300px;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(255, 215, 120, 0.5);
    animation: bannerPulse 5s infinite;
    border: 1px solid transparent;
	margin-top: 30px;
	margin-bottom: 30px;
    border-image: linear-gradient(145deg, #4b3a20, #845446, #3a2d1a) 1;
    
    box-shadow:
        0 0 4px rgba(191, 150, 106, 0.4),
        inset 0 0 15px rgba(0, 0, 0, 0.4);

    animation: subtleGlow 4s infinite alternate;
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}
@keyframes subtleGlow {
    0% {
        box-shadow:
            0 0 4px rgba(191, 158, 106, 0.536),
            inset 0 0 15px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow:
            0 0 20px rgba(168, 114, 47, 0.7),
            inset 0 0 25px rgba(0, 0, 0, 0.5);
    }
}



.searchForm input {
    width: 100%;
    height: 25px;
    border: 1px solid var(--border);
    color: var(--font-color);
    font-size: 1em;
}

#countDownTimer {
	line-height: 2.3;
	padding: 0px 10px;
	color: #5390a8;
}

.modIcon > i:nth-child(2),
.modIcon:hover > i:nth-child(1),
/*.loginContainer, */
nav .container > div > ul > li > ul {
	display: none;
}
/*
.loginForm {
    display: flex;
    flex-wrap: wrap;
}

.loginForm button:hover {
	background: #0000004d;
}
.loginForm button {
    width: 100%;
    margin-top: 10px;
    background: rgb(15,17,20);
    color: var(--font-color);
    height: 40px;
    border: 1px solid var(--border);
    font-size: 1em;
}

.loginForm input {
	width: 100%;
	height: 30px;
	border: none;
	color: #fff;
	font-size: 1em;
	border-bottom: 1px solid var(--border);
}
 */
.main {
	width: 1220px; /*w idth: 1415px; */
	margin: 2rem auto;
	position: relative;
	z-index: 1;
}

.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: 5px;
	border: 1px solid var(--third);
	margin: 0 auto;
	margin-bottom: 15px;
	text-align: center;
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
	border-color: var(--border-default);
}
.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
	border-color: var(--border-info);
}
.alert-success {
    background: var(--bg-success);
    color: var(--color-success);
    border-color: var(--border-success);
}
.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
	border-color: var(--border-warning);
}
.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
	border-color: var(--border-danger);
}
.alert-collapse {display:inline-block;}
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }


nav .container > div > ul > li > ul > li > a:hover,
.searchForm input, #countDownTimer, .loginForm input,
nav, footer, table, .header, .feedContainer {
	background: var(--primary);
}
.loginForm .well {
	width: 100%;
}

body, nav .container,
nav .container > div > ul > li > ul,
.leftPane, .rightPane, .topPane,
tr:nth-child(2n+1) {
	/* background: var(--secondary); */ 
    background:#00000000;
}

footer, .feedContainer,
nav .container, .topPane {
	border-bottom: 2px solid var(--border)
}

table, .header, .well, .smedia a {
	padding: 10px;
}

.searchForm input,
.loginForm input,
.alert-box {
	padding: 5px;
}

/* Znote AAC */
.leftPane img {
	max-width: 100%;
}
/* adding button style to select */
select {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}
input {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}
#loginContainer li {
	text-align: right;
}

ul.linkbuttons {
	margin-top: 8px;
	padding: 0 8px;
}
ul.linkbuttons li {
	display: inline-block;
	border: 1px solid #d1a233;
	width: calc(50% - 10px);
	float: left;
	margin-bottom: 16px;
	text-align: center;
}
ul.linkbuttons li:nth-child(odd) {
	margin-right: 16px;
}
ul.linkbuttons li a {
	padding: 5px 0;
	display: inline-block;
	width: 100%;
	text-align: center;
}
ul.linkbuttons:after {
	content: '';
	display: block;
	clear: both;
}
.widget,
.widget .body,
.search_widget,
.search_widget .body {
	padding-bottom: 0;
}
.widget center {
	margin: auto;
}
.widget h3 {
	margin-bottom: 0;
}
.search_widget form {
	margin: auto;
}
.search_widget input {
	width: 50%;
	float: left;
}
.search_widget label {
	padding: 9px;
	float: left;
}
.search_widget form:after {
	display: block;
	content: '';
	clear: both;
}
div.relative {
	position: relative;
}
.search_widget #name_suggestion {
	position: absolute;
	width: 280px;
	left: -290px;
	display: none;
}
.search_widget #name_suggestion.show {
	display: block;
}
.search_widget .sname {
	text-align: right;
}
.search_widget .sname a {
	display: inline-block;
	background-color: black;
	padding: 10px 20px;
	border-bottom: 1px solid rgb(30,33,40);
}
.page_credits .feedContainer .pull-left.leftPane {
	box-sizing: border-box;
	padding-left: 8px;
	padding-right: 8px;
}

.page_characterprofile #characterProfileTable thead th:first-of-type {
	position: relative;
	width: 28%;
}
.page_characterprofile #characterProfileTable thead th:last-of-type {
	text-align: left;
	padding-left: 16px;
}
.page_characterprofile .outfit {
	position: absolute;
	top: 0;
	left: 0;
}
.page_characterprofile .flag {
	position: absolute;
	top: 16px;
	right: 16px;
}
.postHolder iframe {
	display: block;
	margin: auto;
}
body {
	background: url("../rosha_images/bg/bg.png") no-repeat center top;
    background-color: #0f0f11; /* ciemne tło fantasy */

    background-size: cover;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
	height: 100vh;

}

/* Przyciski menu */
.rosha-center {
    width: 1220px;
    height: 79px; /* dopasuj do wysokości obrazka */
    margin: 0 auto;
    background: url("../rosha_images/rosha_menu.png") no-repeat center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	z-index: 10;

}

.rosha-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    /* gap: 30px; */
}

.rosha-nav > li {
    position: relative;
	margin-top: -5px;
	margin-right: 5px;
}
.rosha-nav > li:last-child {
    margin-right: 0;
}

/* wyjątek: divider – bez marginesu */
.rosha-nav > .rosha-divider {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.rosha-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px; 
    height: 65px;  
    color: #e1b986;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 5px black;
    transition: filter 0.2s ease;
    border: none;
    font-family: 'Fontin', serif;
    font-size: 19px;
    padding: 0;
}

.rosha-nav > li > a:hover {
    filter: brightness(120%);
}

.rosha-nav > li:hover > ul {
    display: block;
}

.rosha-nav li {
    position: relative;
}
.rosha-nav li:hover ul {
    display: block;
}

/**/
.rosha-nav li ul {
    display: none;
    position: absolute;
    top: 103%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;

    /* Płynne, głębokie tło fantasy */
    background: linear-gradient(to right,
        rgba(31, 6, 2, 0.85) 0%,
        rgba(100, 30, 10, 0.92) 50%,
        rgba(31, 6, 2, 0.8) 100%);
    backdrop-filter: blur(2px); /* rozmycie tła */
    -webkit-backdrop-filter: blur(3px); /* Safari support */
    box-shadow: 0 0 12px rgba(255, 180, 90, 0.1);
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 100;
    text-align: center;

    transition: all 0.3s ease-in-out;
}

.rosha-nav li ul li {
    width: 200px;
    height: 40px;
    line-height: 30px;
}

/* Lista rozwijana */
.rosha-nav li ul li a {
    display: block;
    color: #e1b986; /* złoty fantasy */
    font-family: 'Fontin', serif;
    font-size: 17px;
    padding: 5px 0;
    text-decoration: none;
    text-shadow: 0 0 3px black;
    transition: color 0.2s ease;
}

.rosha-nav li ul li a:hover {
    color: #fff5d1;
    background: rgba(255, 255, 255, 0.05);
}

.rosha-dropdown {
    padding-top: 30px;   /* wysokość dekoru */
    padding-bottom: 30px;
    position: relative;
    overflow: visible;
}

.rosha-dropdown-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("../rosha_images/decor_up2.png") no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: 200;
}

/* Dół dekoru */
.rosha-dropdown-bot {
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("../rosha_images/decor_down.png") no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: 200;
}

/* Góra */
.rosha-dropdown-top::before {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    background: url("../rosha_images/decor_up2.png") no-repeat center;
    background-size: contain;
    background-color: transparent;
}

/* Dół */
.rosha-dropdown-bot::before {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    background: url("../rosha_images/decor_down.png") no-repeat center;
    background-size: contain;
    background-color: transparent;
}

.rosha-nav > li.sep {
    color: #c9ab8bae;
    font-size: 30px;
    font-family: 'Fontin', serif;
    padding: 0 12px;
    line-height: 65px;
    pointer-events: none;
	position: relative;
    top: -2px;
}

.rosha-nav > li:hover > .rosha-dropdown,
.rosha-nav > li > .rosha-dropdown:hover {
    display: block;
}
.rosha-nav li ul.rosha-dropdown {
    top: 100%;
    margin-top: -1px; 
}
.rosha-nav > li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 10px; 
    width: 100%;
    background: transparent;
    z-index: 99;
}

.rosha-padding {
	padding: 25px;
}

/* NEWS */
.newsBox {
    background-color: #060606bf; /* Ciemne tło */
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    padding: 1rem 1.5rem;
    margin: 0;
    color: #ccc;
    position: relative;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    font-family: 'Verdana', sans-serif;
}

.newsBox .newsHeader {
    font-size: 1.1rem;
    font-weight: bold;
    color: #f2d4ad; /* złoty tytuł */
    margin-bottom: 0.5rem;
}

.newsBox .newsDate {
    font-size: 0.8rem;
    font-style: italic;
    color: #999;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.newsContent {
 color: #99876b; /* złoty tytuł */
}

.newsBox .newsContent {
    margin-top: 1rem;
    line-height: 1.5;
}

.newsBox .newsContent a {
    color: #9ecfff;
    text-decoration: underline;
}

.rosha-latestnews {
    width: 70%;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.rosha-latestnews .newsBox:not(:last-child) {
  margin-bottom: 12px;
}

.latestnews-bg {
    background:#000000b6;

    box-shadow: 0 0 5px rgba(255, 215, 120, 0.5);
    border: 1px solid transparent;

	margin-top: 35px;
	margin-bottom: 30px;
    border-image: linear-gradient(145deg, #4b3a20, #4b3a20, #4b3a20) 1;
    
    box-shadow:
        0 0 4px rgba(191, 150, 106, 0.4),
        inset 0 0 15px rgba(0, 0, 0, 0.4);

   
    margin: 1.5rem 0;

    overflow: hidden;
  /* width: auto; */
    width: 1220px;

}

.social-footer {
    background: #000000b6;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    padding: 2rem 0;
    font-family: 'Fontin', serif;
    font-size: 14px;
    color: var(--font-color);
    margin-top: 2rem;
    text-align: center;
}

.social-footer h3 {
    color: #c9ab8b;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px black;
}

.social-footer .social-icons {
    margin-bottom: 1.5rem;
}

.social-footer .social-icons a {
    font-size: 2rem;
    margin: 0 15px;
    color: #c9ab8b;
    transition: all 0.3s ease;
    text-shadow: 0 0 4px black;
}

.social-footer .social-icons a:hover {
    color: #fff5d1;
    transform: scale(1.1);
}

.social-footer .social-logo img {
    max-height: 120px;
    filter: drop-shadow(0 0 8px rgba(255, 200, 100, 0.2));
    transition: transform 0.3s ease;
}

.social-footer .social-logo img:hover {
    transform: scale(1.05);
}


















/* Prawy panel Rosha po zalogowaniu (prawy panel) */
#rosha_menu_right_panel_main {
   position: relative;
	width: 330px;
	padding: 30px 5px 320px;
	background: url('../rosha_images/panels/r_panel_bg.png') no-repeat top center;
	background-size: 100% auto;
	color: #dddddd00;
  padding: 55px 5px 320px;
	font-family: 'Georgia', serif;
	float: right; /* zamiast absolute */
	margin: 25px 12px -25px 14px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}


#rosha_menu_right_panel_main::before {
	content: '';
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: 33px;
	background: url('../rosha_images/panels/bar_button_mid.png') no-repeat center;
	background-size: contain;
}

#rosha_menu_right_panel_main::after {
	content: 'Account';
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	font-weight: bold;
	color: #f3eacb;
	font-family: 'Cinzel', serif;
	text-shadow: 1px 1px 2px black;
}














/* Panel logowania Rosha (prawy panel) */
#rosha_menu_right_panel {
  position: relative;
	width: 280px;
	padding: 55px 31px 0px;
	background: url('../rosha_images/panels/panel_bar.png') no-repeat top center;
	background-size: 100% auto;
	color: #dddddd00;
	font-family: 'Georgia', serif;
	float: right; /* zamiast absolute */
	margin: 8px 12px 20px 0px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Dekoracyjny banner LOGIN */
#rosha_menu_right_panel::before {
	content: '';
	position: absolute;
	top: 9px;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: 33px;
	background: url('../rosha_images/panels/bar_button_mid.png') no-repeat center;
	background-size: contain;
}

/* Tekst LOGIN na dekoracji */
#rosha_menu_right_panel::after {
	content: 'Login';
	position: absolute;
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	font-weight: bold;
	color: #f3eacb;
	font-family: 'Cinzel', serif;
	text-shadow: 1px 1px 2px black;
}

/* Formularz */
#rosha_menu_right_panel .loginForm {
	display: flex;
	flex-direction: column;
}

/* Pola tekstowe */
#rosha_menu_right_panel [type="text"],
#rosha_menu_right_panel [type="password"] {
	width: 100%;
    height: 70px;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 7px;
	background: url('/layout/rosha_images/inputs/login_input.png') no-repeat center center;
    background-size: cover; 
	color: #fff;

     /* dodane aby wycentrować tekst */
    text-align: center;              /* <-- tekst poziomo na środku */
    line-height: 70px;              /* <-- tekst pionowo na środku (gdy 1 linia) */
    font-size: 18px;                /* (opcjonalnie) większa czytelność */
    border: none;                   /* (opcjonalnie) ukrycie ramki */
    outline: none;                  /* (opcjonalnie) ukrycie niebieskiej obwódki */
    background-color: transparent;  /* przezroczyste tło (jeśli chcesz tylko grafikę) */
    font-family: Georgia, serif;
}

/* Graficzny przycisk LOGIN */
.submitButtonImgCreateChar {
    width: 555px;
	height: 110px;
	background: url('../rosha_images/buttons/create_char_btn.png') no-repeat center;
	background-size: contain;
	border: none;
	cursor: pointer;
	margin: 0 auto 10px auto;
	display: flex;              /* Zmieniamy na flex, by wycentrować tekst */
	align-items: center;
	justify-content: center;
	color: #f5e7e0;                /* Kolor tekstu */
	font-size: 37px;
	font-family: 'Georgia', serif;
	text-shadow: 1px 1px 2px black;  /* opcjonalnie: cień dla klimatu fantasy */
	transition: filter 0.3s ease;
	background-color: transparent;  /* ważne, by nie nadpisało tła */
}

.submitButtonImgCreateChar:hover {
	filter: brightness(1.2);
}

/* Graficzny przycisk LOGIN */
.submitButtonImg {
    width: 240px;
	height: 60px;
	background: url('../rosha_images/buttons/login_btn.png') no-repeat center;
	background-size: contain;
	border: none;
	cursor: pointer;
	margin: 0 auto 10px auto;
	display: flex;              /* Zmieniamy na flex, by wycentrować tekst */
	align-items: center;
	justify-content: center;
	color: #f5e7e0;                /* Kolor tekstu */
	font-size: 1.8em;
	font-family: 'Georgia', serif;
	text-shadow: 1px 1px 2px black;  /* opcjonalnie: cień dla klimatu fantasy */
	transition: filter 0.3s ease;
	background-color: transparent;  /* ważne, by nie nadpisało tła */
}

.submitButtonImg:hover {
	filter: brightness(1.2);
}

/* Linki i teksty */
#rosha_menu_right_panel h3,
#rosha_menu_right_panel p,
#rosha_menu_right_panel a {
	color: #c9b484;
	text-shadow: 1px 1px 1px #000;
	text-align: center;
}

#rosha_menu_right_panel a:hover {
	color: #edeceb;
}

.register-heading {
    font-family: 'Times New Roman', serif;
    color: #b58731;
    background: url('../rosha_images/panels/reg_banner.png') no-repeat center center;
    background-size: contain;
    padding: 2.5rem 6rem; /* więcej miejsca na tło */
    display: inline-block;
    margin-top: 0px;
    font-size: 50px;
}
.register-heading-wrapper {
    text-align: center; /* Wyśrodkowanie zawartości */
    margin-top: 10px;

}/* INPUTY formularza rejestracji */
.register-form input[type="text"],
.register-form input[type="password"],
.register-form select {
    width: 476px;
    height: 78px;
    background: url('/layout/rosha_images/inputs/reg_btn.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    font-size: 18px;
    font-family: Georgia, serif;

    text-align: center;
    line-height: 70px;

    border: none;
    outline: none;
    background-color: transparent;

    display: block;
    margin: 0 auto 10px auto; /* <-- wyśrodkowanie + margines dolny */
}

input[type=range] {
  width: 100%;
  margin-top: 5px;
}

#sliderLabel {
  display: inline-block;
  width: 40px;
  margin-left: 10px;
  color: #ffd700;
  font-weight: bold;
}


#captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.captcha-box {
  width: 100px;
  height: 50px;
  background: linear-gradient(to right, #2d2d2d, #1a1a1a);
  border: 2px solid #444;
  border-radius: 8px;
  color: #ffd700;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  cursor: grab;
  transition: all 0.2s ease;
  user-select: none;
}

#dropBox.drag-over {
  border-color: #ffd700;
  box-shadow: 0 0 10px #ffd700;
  background: linear-gradient(to right, #3d3d3d, #222);
}

#dropBox.success {
  border-color: limegreen;
  background: linear-gradient(to right, #0f0, #080);
  color: white;
}

.captcha-label {
  display: block;
  text-align: center;
  font-weight: bold;
  margin-bottom: 8px;
  color: #f1f0ec;
  font-family: 'Cinzel', serif;
}



.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.popup-box {
	background: #1b0e05;
	border: 2px solid #a36b3d;
	box-shadow: 0 0 20px #000;
	padding: 30px 40px;
	text-align: center;
	border-radius: 10px;
	max-width: 400px;
	color: #f0e0c6;
	font-family: 'Cinzel', serif;
}

.popup-box h2 {
	font-size: 24px;
	color: #ffdd99;
	margin-bottom: 10px;
}

.popup-box p {
	font-size: 16px;
	margin-bottom: 20px;
}

.popup-box button {
	padding: 10px 20px;
	background: linear-gradient(to right, #7b1e0e, #400000);
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	text-shadow: 1px 1px 2px black;
}

.popup-box button:hover {
	background: linear-gradient(to right, #9b2a15, #5a0000);
}
.cookie-banner-fantasy {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #1b0e05, #100a04);
  color: #f2e6c8;
  font-family: 'Cinzel', serif;
  z-index: 9999;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.8);
  padding: 10px 0;
}

.cookie-banner-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  margin: 0;
  font-size: 14px;
  flex: 1 1 70%;
}

.cookie-banner-content a {
  color: #d9a450;
  text-decoration: underline;
}

.cookie-banner-content a:hover {
  color: #ffcc88;
}

.cookie-accept-btn {
  background: linear-gradient(to right, #8b1e0c, #3c0d06);
  color: #fff2d6;
  border: 1px solid #5a1e0e;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  text-shadow: 1px 1px 1px black;
  box-shadow: inset 0 0 4px #aa3e1a;
  transition: all 0.2s ease-in-out;
}

.cookie-accept-btn:hover {
  background: linear-gradient(to right, #a52b16, #501008);
  box-shadow: 0 0 6px #ff9933;
}


.error-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 2, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-popup-content {
  background: radial-gradient(#1e0e0a, #000);
  border: 2px solid #9b5528;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px #000000cc;
  color: #f7e6d0;
  font-family: 'Georgia', serif;
}

.error-popup-content h2 {
  margin-bottom: 20px;
  color: #e0a96d;
}

.error-popup-content ul {
  text-align: left;
  padding-left: 0;
  list-style: none;
}

.error-popup-content ul li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.error-popup-content ul li::before {
  content: "✖";
  color: #a33;
  position: absolute;
  left: 0;
}

.error-popup-btn {
  background: linear-gradient(to bottom, #7b1b10, #a02918);
  color: #fff;
  border: none;
  padding: 10px 30px;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
  transition: background 0.3s;
}

.error-popup-btn:hover {
  background: #8c2418;
}

.hidden {
  display: none;
}


.rosha-warning-box {
  max-width: 600px;
  margin: 80px auto;
  background: rgba(15, 15, 15, 0.95);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15), inset 0 0 10px #000;
}

.rosha-warning-title {
  color: #ffd700;
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #000;
}

.rosha-warning-text {
  color: #ccc;
  font-size: 18px;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  text-shadow: 0 0 2px #000;
}

.rosha-downloads-sep {
  width: 100%;
  display: block;
  margin: 20px auto;
}


.rosha-section-header {
  color: #e1b986;
  font-family: 'Cinzel', serif;
  font-size: 35px;
  text-align: center;
  margin: -26px 0 40px 0;
  text-shadow: 0 0 5px #000, 0 0 15px #111;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}



.rosha-crossplatform-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid #333;
  text-align: center;
  color: #ddd;
}

.rosha-crossplatform-header {
  font-size: 28px;
  color: #ffd700;
  text-shadow: 0 0 6px #000;
  margin-bottom: 10px;
}

.rosha-crossplatform-subtitle {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 40px;
}

.rosha-platform-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.rosha-platform-card {
  background: #111;
  border: 1px solid #444;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 0 15px #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rosha-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #ffd70088;
}

.rosha-platform-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.rosha-platform-card h3 {
  font-size: 20px;
  color: #f7d774;
  margin-bottom: 10px;
}

.rosha-platform-card p {
  font-size: 14px;
  color: #ccc;
}

.coming-soon {
  opacity: 0.5;
  position: relative;
}

.rosha-coming-soon-tag {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
}


.rosha-feature-section {
  padding: 40px 0;
}

.rosha-feature-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px;
  gap: 40px;
}

.rosha-feature-block.reverse {
  flex-direction: row-reverse;
}

.rosha-feature-text {
  flex: 1;
  color: #dcdcdc;
  font-family: 'Georgia', serif;
  font-size: 16px;
}

.rosha-feature-text h2 {
  font-size: 28px;
  color: #cb6238e8;
  margin-bottom: 15px;
}

.rosha-feature-image {
  flex: 1;
  text-align: center;
}

.rosha-feature-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px #000;
}

.rosha-downloads-sep {
  display: block;
  margin: 40px auto;
  width: 80%;
}

.rosha-top-title {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 25px;
    color: #c4b49a;
    margin-bottom: 22px;
    margin-top: -16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.rosha-top5-wrapper {
    max-width: 400px;
    margin: 0 auto 30px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    scale: 1.2;
}

.rosha-top5-table {
    width: 120%;
    border-collapse: collapse;
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: #e6ded0;
    background: transparent;
}

.rosha-top5-table th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font-weight: normal;
    color: #8e8e8e;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.rosha-top5-table td {
    padding-left: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #d0c4b0;
}

.rosha-top5-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rosha-top5-table a {
    color: #c4a96b;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    padding-left: 0px; /* przesuwa tekst w prawo */
}

.rosha-top5-table a:hover {
    color: #e0b76f;
    text-shadow: 0 0 6px rgba(255, 204, 102, 0.4);
}

.rosha-top5-table td:first-child {
    width: 10%;
    white-space: nowrap;
    padding-right: 8px; 
}

#rosha_menu_right_panel_top_players {
  position: relative;
	width: 280px;
	padding: 55px 31px 53px;
	background: url('../rosha_images/panels/panel_bar.png') no-repeat top center;
	background-size: 100% auto;
	color: #dddddd00;
	font-family: 'Georgia', serif;
	float: right; 
	margin: 8px 12px 20px 0px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

#rosha_menu_right_panel_top_players::before {
	content: '';
	position: absolute;
	top: 9px;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: 33px;
	background: url('../rosha_images/panels/bar_button_mid.png') no-repeat center;
	background-size: contain;
}

#rosha_menu_right_panel_top_players::after {
	content: 'Top players';
	position: absolute;
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	font-weight: bold;
	color: #f3eacb;
	font-family: 'Cinzel', serif;
	text-shadow: 1px 1px 2px black;
}

#rosha_menu_right_panel_discord {
  position: relative;
	width: 280px;
	padding: 55px 31px 53px;
	background: url('../rosha_images/panels/panel_bar.png') no-repeat top center;
	background-size: 100% auto;
	color: #dddddd00;
	font-family: 'Georgia', serif;
	float: right; /* zamiast absolute */
	margin: -28px 12px 20px 0px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

#rosha_menu_right_panel_discord::before {
	content: '';
	position: absolute;
	top: 9px;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: 33px;
	background: url('../rosha_images/panels/bar_button_mid.png') no-repeat center;
	background-size: contain;
}

#rosha_menu_right_panel_discord::after {
	content: 'Discord';
	position: absolute;
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	font-weight: bold;
	color: #f3eacb;
	font-family: 'Cinzel', serif;
	text-shadow: 1px 1px 2px black;
}



