/* ==============================
   CONTENEDOR GENERAL
============================== */
.popup-inicio {
	position: relative;              /* 🔧 FIX CLAVE */
	margin: 40px auto 20px;
	display: flex;
	justify-content: center;
	gap: 120px;
	z-index: 20;
	pointer-events: auto;
}

/* ==============================
   BASE POPUP
============================== */
.popup-contenido {
	min-width: 320px;
	max-width: 360px;
	background: rgba(0, 0, 0, 0.78);
	border-radius: 12px;
	padding: 18px;
	color: #fff;
	box-shadow: 0 0 20px rgba(0,0,0,0.85);
	font-family: 'Cinzel', serif;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	animation: popupIn 0.6s ease-out;
	position: relative;
}

/* Hover general */
.popup-contenido:hover {
	transform: perspective(800px) scale(1.05);
}

/* ==============================
   TITULOS VIEJO OESTE ASESINO
============================== */
.popup-contenido h2 {
	margin: 0 0 14px;
	font-size: 28px;
	text-align: center;
	letter-spacing: 2.5px;
	font-family: 'Sancreek', cursive;
	text-transform: uppercase;
	color: #e8d6b0;
	text-shadow:
		4px 4px 0 #000,
		0 0 12px rgba(0,0,0,0.9),
		0 0 22px rgba(120, 0, 0, 0.8);
}

/* ==============================
   BODY HORIZONTAL
============================== */
.popup-body {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

/* ==============================
   AVATAR
============================== */
.popup-avatar img {
	width: 100px;
	height: auto;
	display: block;
	border-radius: 6px;
	border: 2px solid rgba(255,255,255,0.25);
	box-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* ==============================
   INFO DERECHA
============================== */
.popup-info {
	text-align: left;
}

.popup-player-name {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 6px;
}

.popup-player-info {
	font-size: 14px;
	line-height: 1.4;
}

/* ==============================
   BOTON
============================== */
.popup-btn {
	display: block;
	margin: 0 auto;
	padding: 8px 18px;
	border-radius: 6px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	transition: background 0.25s ease, transform 0.25s ease;
}

.popup-btn:hover {
	transform: scale(1.05);
}

/* ==============================
   🔥 TOP PK
============================== */
.popup-top-pk {
	background: linear-gradient(135deg, #5a1f1f, #2a1010);
	border: 2px solid rgba(255, 80, 80, 0.55);
	transform: perspective(800px) rotateY(-2deg);
	animation: glowRed 2.5s infinite;
	filter: saturate(1.2);
}

.popup-top-pk h2 {
	color: #ffb0b0;
	text-shadow:
		4px 4px 0 #2a0000,
		0 0 18px rgba(255, 60, 60, 0.9),
		0 0 28px rgba(120, 0, 0, 0.8);
}

.popup-top-pk .popup-player-name {
	color: #ffb3b3;
}

.popup-top-pk .popup-player-info {
	color: #ffd6d6;
}

.popup-top-pk .popup-btn {
	background: #a83232;
	color: #fff;
}

.popup-top-pk .popup-btn:hover {
	background: #ff5a5a;
}

/* ==============================
   💜 EL MÁS VICIO
============================== */
.popup-vicio {
	background: linear-gradient(135deg, #411f5a, #241F28);
	border: 2px solid rgba(180, 120, 255, 0.55);
	transform: perspective(800px) rotateY(2deg);
	animation: glowPurple 3s infinite;
}

.popup-vicio h2 {
	color: #e6d4ff;
	text-shadow:
		3px 3px 0 #1a0828,
		0 0 15px rgba(180,120,255,0.7);
}

.popup-vicio .popup-player-name {
	color: #ffd700;
}

.popup-vicio .popup-player-info {
	color: #fff1b8;
}

.popup-vicio .popup-btn {
	background: #7d3ccf;
	color: #fff;
}

.popup-vicio .popup-btn:hover {
	background: #b47cff;
}

/* ==============================
   RESPONSIVE (CLAVE)
============================== */
@media (max-width: 992px) {
	.popup-inicio {
		flex-direction: column;
		gap: 40px;
		align-items: center;
	}

	.popup-contenido {
		width: 92%;
		max-width: 360px;
		transform: none !important;
	}
}

/* ==============================
   ANIMACIONES
============================== */
@keyframes popupIn {
	from {
		opacity: 0;
		transform: translateY(-20px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes glowRed {
	0%   { box-shadow: 0 0 18px rgba(255,70,70,0.3); }
	50%  { box-shadow: 0 0 36px rgba(255,70,70,0.75); }
	100% { box-shadow: 0 0 18px rgba(255,70,70,0.3); }
}

@keyframes glowPurple {
	0%   { box-shadow: 0 0 18px rgba(180,120,255,0.3); }
	50%  { box-shadow: 0 0 36px rgba(180,120,255,0.75); }
	100% { box-shadow: 0 0 18px rgba(180,120,255,0.3); }
}






/* CASTLE SIEGE BANNER */
.castle-siege-banner {
    width: 1040px;
    background: #000 url("../img/castle_siege_banner_bg.jpg") no-repeat center
        center;
    background-size: cover;
    margin: 0px auto;
    padding: 20px;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    overflow: auto;
    font-family: "Fredoka One", cursive;
    color: #74beff;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    -khtml-border-radius: 5px 5px 0px 0px;
    text-shadow: 1px 1px 3px #000000;
}
.castle-siege-banner img {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
}
.castle-siege-banner .guild_owner,
.castle-siege-banner .guild_owner a {
    color: #ffffff;
    font-size: 45px;
}
.castle-siege-banner .guild_master,
.castle-siege-banner .guild_master a {
    color: #ffffff;
    font-size: 45px;
}
.castle-siege-banner .guild_countdown {
    color: #ffffff;
    font-size: 45px;
}
.castle-siege-banner .guild_countdown span {
    color: #ffcc00;
    font-size: 24px;
}

.admincp-button {
    position: absolute;
    top: 10px;
    right: 10px;
}

.page-title {
    padding-top: 28px;
    border-bottom: 1px solid #9dbdc8;
}

.page-title span {
    color: #ff5e00;
    font-size: 22px;
    font-family: "Times New Roman";
    padding-bottom: 20px;
}

/* NEWS MODULE */
.panel-news {
    margin-bottom: 30px;
    color: #333;
    border: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -moz-box-shadow: 0 0 10px #e3e3e3;
    -webkit-box-shadow: 0 0 10px #e3e3e3;
    box-shadow: 0 0 10px #e3e3e3;
}
.panel-news .panel-heading {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #ffefef;
}
.panel-news .panel-title {
    color: #c04e4e;
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
    font-weight: bold;
}
.panel-news .panel-footer {
    border-top: 1px solid #e7e7e7;
    background: #fff;
    font-style: italic;
    font-size: 11px;
    height: 40px;
    color: #777;
}

/* RANKINGS MODULE */
.rankings-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    -moz-box-shadow: 0 0 5px #e3e3e3;
    -webkit-box-shadow: 0 0 5px #e3e3e3;
    box-shadow: 0 0 5px #e3e3e3;
}

.rankings-class-image {
    width: 30px;
    height: auto;
    -moz-box-shadow: 0 0 5px #666;
    -webkit-box-shadow: 0 0 5px #666;
    box-shadow: 0 0 5px #666;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.rankings-table tr td {
    border-bottom: 1px solid #e3e3e3;
    padding: 10px;
    font-size: 18px;
    vertical-align: middle !important;
    text-align: center;
}
.rankings-table-place {
    color: #666;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}
.rankings-table tr:first-child td {
    color: #fff;
    background-color: #2ba4c3;
    border-bottom: 3px solid #2ba4c3;
}
.rankings-update-time {
    text-align: right;
    font-size: 11px;
    color: #ccc;
    padding: 10px 0px;
}
.rankings_menu {
    width: 100%;
    overflow: auto;
    text-align: center;
    margin-bottom: 10px;
}
.rankings_menu span {
    width: 100%;
    display: inline-block;
    padding: 10px 0px;
    color: #ccc;
    font-size: 24px;
}
.rankings_menu a {
    display: inline-block;
    width: 150px;
    border: 1px solid #e3e3e3;
    text-align: center;
    padding: 2px 0px;
    margin: 2px;
    background: #f1f1f1;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #ccc;
}
.rankings_menu a.active {
    color: #2ba4c3;
    border-color: #2ba4c3;
}
.rankings_guild_logo tr td {
    border: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
}
.rankings-gens-img {
    width: auto !important;
    height: 30px !important;
    border: 0 !important;
    -moz-box-shadow: 0 0 0px #000 !important;
    -webkit-box-shadow: 0 0 0px #000 !important;
    box-shadow: 0 0 0px #000 !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
    width: 100%;
    background: #f1f1f1;
    border: 1px solid #e3e3e3;
}
.myaccount-table tr td:first-child {
    color: #666;
    font-weight: bold;
}
.myaccount-table tr td {
    border-bottom: 1px solid #e3e3e3;
    padding: 15px !important;
}
.myaccount-table tr:last-child td {
    border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    -moz-box-shadow: 0 0 5px #e3e3e3;
    -webkit-box-shadow: 0 0 5px #e3e3e3;
    box-shadow: 0 0 5px #e3e3e3;
}

.general-table-ui tr:first-child td {
    color: #fff;
    background-color: #2ba4c3;
    border-bottom: 3px solid #2ba4c3;
}
.general-table-ui tr td {
    padding: 10px;
    font-size: 18px;
    vertical-align: middle !important;
    text-align: center;
}

.general-table-ui tr:nth-child(2n + 2) td {
    background: #fafafa;
}
.general-table-ui tr td {
    text-align: center;
    border-top: 1px solid #dee2e6;
}
.general-table-ui img {
    width: 50px;
    height: auto;
    -moz-box-shadow: 0 0 5px #666;
    -webkit-box-shadow: 0 0 5px #666;
    box-shadow: 0 0 5px #666;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
    color: #aa0000;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 40px;
}
.tos_list li p {
    color: #444;
    text-align: justify;
    text-justify: inter-word;
    text-transform: none;
    padding-right: 35px;
    font-size: 14px;
    font-weight: normal;
}

/* PAYPAL */
.paypal-gateway-container {
    width: 100%;
    background: #1a2133;
    border: 1px solid #2e374f;
}

.paypal-gateway-logo {
    width: 100%;
    height: 68px;
    background: #fff9ec url("../img/paypal-logo-200-68.png") no-repeat top
        center;
    margin-bottom: 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.paypal-gateway-content {
    margin: 10px;
    background: #fef2da;
    border: 2px solid #f79433;
    padding: 10px;
    overflow: auto;
}

.paypal-gateway-conversion-rate {
    margin: 0px auto;
    text-align: center;
    color: #000;
    font-size: 18px;
    padding: 10px 0px;
}

.paypal-gateway-form {
    width: 100%;
    margin: 0px auto;
    text-align: center;
}

.paypal-gateway-form div {
    display: inline-block;
    padding: 0px 10px;
    color: #000;
    font-size: 18px;
}

.paypal-gateway-form input[type="text"] {
    width: 40px;
}

.paypal-gateway-continue {
    margin: 0px auto;
    text-align: center;
}

.paypal-gateway-continue input[type="submit"] {
    background: url("../img/paypal-submit.jpg") no-repeat;
    width: 200px;
    height: 40px;
    border: 0px;
}

/* CASTLE SIEGE CSS */
.csinfo_container {
    background: url("../img/castle_siege.jpg") no-repeat top right;
    background-size: cover;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #333;
    -moz-box-shadow: 0 0 10px #555;
    -webkit-box-shadow: 0 0 10px #555;
    box-shadow: 0 0 10px #555;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
}
.csinfo_content {
    width: 100%;
    height: 180px;
    margin: 10px 0px 0px 10px;
    display: inline-block;
}
.csinfo_glogo {
    float: left;
    width: 30%;
    height: 180px;
    text-align: center;
}
.csinfo_ginfo {
    float: left;
    width: 70%;
    padding: 0px 10px;
}

.csinfo_ginfo table {
    table-layout: fixed;
    width: 400px;
}
.csinfo_ginfo table tr td {
    padding: 3px 0px;
    font-size: 20px;
    color: #fff;
}
.csinfo_ginfo table tr td:first-child {
    color: #9a7e46;
}

.csinfo_glist {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
.csinfo_glist li {
    float: left;
    width: 30%;
    padding: 8px 10px;
}
.csinfo_glist li:hover {
    background: #0d0c0b;
}

.module-requirements {
    font-size: 12px;
    margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
    background: #f1f1f1;
    border: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -moz-box-shadow: 0 0 10px #e3e3e3;
    -webkit-box-shadow: 0 0 10px #e3e3e3;
    box-shadow: 0 0 10px #e3e3e3;
}

.panel-sidebar > .panel-heading {
    background: #fff;
    color: #ff0000;
    font-family: "PT Sans", sans-serif;
    border: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border-bottom: 3px solid #ff0000;
}

.panel-usercp {
    background: url("../img/usercp_bg.jpg") no-repeat top center;
}

.panel-usercp ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.panel-usercp ul li {
    display: table;
    width: 100%;
    vertical-align: middle;
    line-height: 30px;
}

.panel-usercp ul li a {
    color: #444 !important;
    font-weight: bold;
}
.panel-usercp ul li a:active,
.panel-usercp ul li a:hover {
    color: #ff0000 !important;
}

.panel-usercp ul li img {
    position: relative;
    top: -2px;
    padding-right: 10px;
}

.sidebar-banner {
    margin: 20px 0px;
    border: 0px;
}

.sidebar-banner img {
    -moz-box-shadow: 0 0 10px #e3e3e3;
    -webkit-box-shadow: 0 0 10px #e3e3e3;
    box-shadow: 0 0 10px #e3e3e3;
    border: 0px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
}

/* GENERAL PANEL STYLING */
.panel-general {
    margin-bottom: 30px;
    background: #f1f1f1;
    border: 1px solid #e3e3e3;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #333;
}

.panel-body .panel-title {
    color: #666;
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 20px !important;
    font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
    margin-bottom: 30px;
    background: #f1f1f1;
    border: 1px solid #e3e3e3;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #333;
}
.panel-addstats .character-avatar img {
    width: 100px;
    height: auto;
    -moz-box-shadow: 0 0 5px #666;
    -webkit-box-shadow: 0 0 5px #666;
    box-shadow: 0 0 5px #666;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.panel-addstats .character-name {
    color: #666;
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
    border-bottom: 1px solid #e3e3e3;
    padding: 20px 0px;
    margin-bottom: 20px !important;
    font-weight: bold;
}

/* DOWNLOADS */
.panel-downloads {
    margin-bottom: 30px;
    background: #f1f1f1;
    border: 1px solid #e3e3e3;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #333;
}
.download-description {
    font-size: 11px;
    position: relative;
    top: -7px;
    color: #777;
}

.online-status-indicator {
    margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered {
    color: #777 !important;
}
.webengine-powered:active,
.webengine-powered:hover {
    color: #ff3214 !important;
}
