/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com)
 * Copyright (c) 2013-2026 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * https://opensource.org
 
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
	outline: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: var(--webenginecolor27);
    border: 1px solid var(--webenginecolor16);
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: var(--webenginecolor1);
}

.btn-primary {
    color: var(--webenginecolor9);
    background-color: var(--webenginecolor8);
	border-color: var(--webenginecolor10);
    transition: all .1s ease-in;
	border-radius: 3px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: var(--webenginecolor12) !important;
    background-color: var(--webenginecolor11) !important;
	border-color: var(--webenginecolor13) !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* Smooth fade-out pentru background.webp */
body {
	background: 
		linear-gradient(to bottom, rgba(0, 0, 0, 0) 550px, #000000 1050px),
		url('../img/background.webp') no-repeat top center #000000 !important;
}

@media only screen and (min-width: 2000px) {
	body {
		background: 
			linear-gradient(to bottom, rgba(0, 0, 0, 0) 650px, #000000 1200px),
			url('../img/background.webp') no-repeat top center #000000 !important;
	}
}

/* Cursoare personalizate Mu Online (ordine inversată) */
html, body {
	cursor: url('../img/hand.cur'), auto !important;
}

a, button, input[type="submit"], input[type="button"], .btn, label, select, body:active {
	cursor: url('../img/pointer.cur'), pointer !important;
}

/* Accelerare hardware GPU pentru scroll 100% fluid */
html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

/* === EFECTE VIZUALE MYTHIC-MU 97K === */
.webengine-mu-logo {
    display: inline-block;
    -webkit-animation: mythicLogoFloat 4s ease-in-out infinite;
    animation: mythicLogoFloat 4s ease-in-out infinite;
    will-change: transform;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.webengine-mu-logo:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-filter: drop-shadow(0 0 20px rgba(255, 115, 0, 0.9));
    filter: drop-shadow(0 0 20px rgba(255, 115, 0, 0.9));
}

@-webkit-keyframes mythicLogoFloat {
    0%, 100% { -webkit-transform: translateY(0px); -webkit-filter: drop-shadow(0 0 8px rgba(204, 32, 32, 0.4)); }
    50% { -webkit-transform: translateY(-6px); -webkit-filter: drop-shadow(0 0 18px rgba(255, 95, 0, 0.8)); }
}

@keyframes mythicLogoFloat {
    0%, 100% { transform: translateY(0px); filter: drop-shadow(0 0 8px rgba(204, 32, 32, 0.4)); }
    50% { transform: translateY(-6px); filter: drop-shadow(0 0 18px rgba(255, 95, 0, 0.8)); }
}

#navbar ul li a:hover {
    color: #e6a04a !important;
    text-shadow: 0 0 10px rgba(230, 160, 74, 0.8);
}

.home-news-block-article {
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-news-block-article:hover {
    background: rgba(204, 32, 32, 0.12);
    transform: translateX(5px);
}

/* Linie roșie-aurie luminoasă la hover pe meniul de sus */
#navbar ul li a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff3333, #e6a04a, #ff3333, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px #ff3333;
}

#navbar ul li a:hover::after {
    width: 75%;
}

#navbar ul li a:hover {
    color: #e6a04a !important;
    text-shadow: 0 0 12px rgba(230, 160, 74, 0.85);
    transform: translateY(-2px);
}

/* Aparitie lina (slow fade-in) la schimbarea paginilor / modulelor */
#content {
    -webkit-animation: mythicFadeIn 0.75s ease-out;
    animation: mythicFadeIn 0.75s ease-out;
}

@-webkit-keyframes mythicFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes mythicFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efect de ridicare la hover pentru medalioanele din User CP */
.usercp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.usercp-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.usercp-card:hover img {
    transform: translateY(-8px) scale(1.06);
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.85)) brightness(1.12);
}

.usercp-card:hover span {
    color: #e6a04a !important;
    text-shadow: 0 0 8px rgba(230, 160, 74, 0.75);
}