/**
 * Default Template Layout CSS - Based on 3-column test template structure
 * Cyan/Blue theme with dark background
 */

/* Body and Background */
body {
    width: 100%;
    background-color: #0a0603 !important;
    color: #d9c48f !important;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Wrapper - Main Container */
.wrapper {
    width: 1400px !important;
    margin: 0 auto !important;
    position: relative !important;
}

/* Flex utilities */
.flex-center {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Top Panel - Navigation */
.top-panel {
    height: auto !important;
    background: transparent !important;
    width: 100% !important;
    position: absolute !important;
    top: 200px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
    padding: 20px 0 !important;
}

.top-panel .top-panel-container {
    width: 1400px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 32px !important;
    justify-content: center !important;
}

.menu li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.menu li a {
    display: block !important;
    text-transform: uppercase !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    width: 145px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 50%, #1a1f2e 100%) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    color: #5f4f3f !important;
    text-shadow: 0 0 10px rgba(95, 79, 63, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.menu li a:hover {
    background: linear-gradient(135deg, #2a3444 0%, #1a2332 50%, #2a3444 100%) !important;
    border: 2px solid rgba(95, 79, 63, 0.4) !important;
    color: #5f4f3f !important;
    text-shadow: 0 0 15px rgba(95, 79, 63, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 6px 25px rgba(95, 79, 63, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Header */
.header {
    height: 300px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
}

.logo {
    width: 100% !important;
    text-align: center !important;
    top: 110px !important;
    position: absolute !important;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)) !important;
}

/* Container - 3 Column Layout */
.container {
    min-height: 1050px !important;
    display: flex !important;
    position: relative !important;
    gap: 20px !important;
    margin-top: 280px !important;
}

.container:before {
    content: "" !important;
    background: url(images/left-container-icon.png) no-repeat !important;
    left: -35px !important;
    top: -34px !important;
    width: 74px !important;
    height: 73px !important;
    position: absolute !important;
    z-index: 1 !important;
}

.container:after {
    content: "" !important;
    background: url(images/right-container-icon.png) no-repeat !important;
    right: -35px !important;
    top: -34px !important;
    width: 74px !important;
    height: 73px !important;
    position: absolute !important;
}

/* Left Sidebar */
.left-sidebar {
    width: 285px !important;
    background: url(images/sidebar-bg.jpg) !important;
    margin-bottom: 110px !important;
    position: relative !important;
}

.left-sidebar:after {
    content: "" !important;
    background: url(images/left-sidebar-icon.png) no-repeat !important;
    left: -4px !important;
    bottom: -4px !important;
    width: 25px !important;
    height: 25px !important;
    position: absolute !important;
}

.download-block {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 191, 234, 0.2) 100%) !important;
    height: 90px !important;
    box-shadow: 0px 5px 20px -2px rgba(0, 212, 255, 0.3) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

.download-block a {
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    font-size: 11px !important;
    color: #00bfea !important;
    line-height: 1.5 !important;
    padding: 23px 0px 23px 90px !important;
}

.download-block a span {
    display: block !important;
    color: #00d4ff !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

.p-block {
    padding: 20px 20px 30px 20px !important;
}

.login-block {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(5, 6, 16, 0.95) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 212, 255, 0.15) !important;
}

.login-block .login-block-title {
    margin-bottom: 20px !important;
}

.login-block .login-block-title span {
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    color: #00d4ff !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

.login-block .login-block-title a {
    color: #00bfea !important;
}

.login-block input {
    background: rgba(18, 12, 26, 0.8) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: #c0d0e0 !important;
    background-repeat: no-repeat !important;
    background-position: left !important;
    height: 32px !important;
    padding: 0px 10px 0px 50px !important;
    width: calc(100% - 60px) !important;
    border-radius: 4px !important;
}

.login-block input:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
    outline: none !important;
}

.login-block .checkbox-block {
    margin-bottom: 20px !important;
}

.login-block .login-button {
    margin-bottom: 10px !important;
}

.login-block .login-button button,
.login-block .green-button {
    background: linear-gradient(135deg, #00d4ff 0%, #00bfea 100%) !important;
    color: #0a0e1a !important;
    border: 1px solid #00d4ff !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.login-block .login-button button:hover,
.login-block .green-button:hover {
    background: linear-gradient(135deg, #00bfea 0%, #0099cc 100%) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6) !important;
}

.login-in input {
    background-image: url(images/login-icon.png) !important;
}

.password-in input {
    background-image: url(images/password-icon.png) !important;
}

/* Sidebar Title */
.sidebar-title {
    color: #00bfea !important;
    line-height: 1.6 !important;
    padding-bottom: 10px !important;
}

.sidebar-title span {
    display: block !important;
    font-size: 14px !important;
    color: #00d4ff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

.sidebar-title .top-title-img {
    background: url(images/top-player-title-bg.png) no-repeat !important;
    width: 43px !important;
    height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0px 0px 14px 0px rgba(0, 212, 255, 0.5) !important;
}

.sidebar-title .forum-img {
    background: url(images/forum-title-bg.png) no-repeat !important;
    width: 43px !important;
    height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0px 0px 14px 0px rgba(0, 212, 255, 0.5) !important;
}

/* Top Players */
.top-player {
    padding: 10px 0px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
}

.top-player .number {
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: #00bfea !important;
    font-weight: bold !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    text-align: center !important;
}

.top-player .number.first {
    color: #00d4ff !important;
    border: 1px solid #00d4ff !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

.top-player .nickname {
    width: 135px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 1px 0px !important;
    color: #00d4ff !important;
}

/* Top Players Block */
.top-players-block {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(5, 6, 16, 0.9) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 212, 255, 0.2) !important;
    margin-bottom: 20px !important;
}

.players {
    color: #c0d0e0 !important;
}

.players-block {
    padding: 5px 0 0 15px !important;
}

.players-block table {
    width: 100% !important;
}

.players-block table th {
    color: #00d4ff !important;
    text-align: center !important;
    padding: 5px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3) !important;
}

.players-block table td {
    color: #c0d0e0 !important;
    text-align: center !important;
    padding: 5px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
}

.players-block table tr:hover {
    background: rgba(0, 212, 255, 0.1) !important;
}

/* Content - Middle Column */
.content {
    width: 790px !important;
    padding: 30px 20px 40px 20px !important;
    position: relative !important;
    background: linear-gradient(135deg, rgba(9, 13, 21, 0.95) 0%, rgba(5, 6, 16, 0.95) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 8px !important;
    line-height: 1.4 !important;
}

.content:before {
    content: "" !important;
    background: url(images/top-content-icon.png) no-repeat !important;
    left: 50% !important;
    margin-left: -70px !important;
    top: -41px !important;
    width: 143px !important;
    height: 74px !important;
    position: absolute !important;
    z-index: 11 !important;
}

.content:after {
    content: "" !important;
    background: url(images/bottom-content-icon.png) no-repeat !important;
    left: -30px !important;
    bottom: -12px !important;
    width: 690px !important;
    height: 40px !important;
    position: absolute !important;
}

/* Slider */
.slider {
    overflow: hidden !important;
    position: relative !important;
    width: 630px !important;
    height: 214px !important;
    margin: -30px -20px 20px -20px !important;
    z-index: 10 !important;
    border: 2px solid rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2) !important;
}

.slider .slides {
    position: relative !important;
    transition: 1s !important;
}

.slider .slides .active .slider-text {
    transition: all 2s ease !important;
    bottom: 20px !important;
}

.slider .slides .slide {
    float: left !important;
    display: block !important;
    position: relative !important;
}

.slider .slides .slide:after {
    content: "" !important;
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    box-shadow: inset 0px 0px 40px 20px rgba(0, 0, 0, 0.6) !important;
}

.slider .slides .slide .slider-text {
    position: absolute !important;
    bottom: -200px !important;
    left: 0px !important;
    padding: 8px 30px !important;
    width: calc(100% - 60px) !important;
    color: #e0f0ff !important;
    line-height: 1.3 !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8) !important;
    text-align: center !important;
    z-index: 4 !important;
}

.slider .slides .slide h1 {
    margin-bottom: 1px !important;
    color: #00d4ff !important;
    font-size: 36px !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8) !important;
}

.slider .slides .slide img {
    width: 630px !important;
    max-width: 630px !important;
    height: 214px !important;
}

.slider .next {
    position: absolute !important;
    background: url(images/arrow-right.png) no-repeat !important;
    height: 30px !important;
    width: 30px !important;
    right: 20px !important;
    top: 95px !important;
    z-index: 12 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transition: all 0.7s ease !important;
}

.slider .prev {
    position: absolute !important;
    background: url(images/arrow-left.png) no-repeat !important;
    height: 30px !important;
    width: 30px !important;
    left: 20px !important;
    top: 95px !important;
    z-index: 12 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transition: all 0.7s ease !important;
}

.slider:hover .next,
.slider:hover .prev {
    opacity: 1 !important;
}

/* Tabs */
.tabs {
    padding: 20px 20px !important;
    box-shadow: 0px 25px 30px -5px rgba(0, 0, 0, 0.2) !important;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.8) 0%, rgba(5, 6, 16, 0.8) 100%) !important;
    margin: 0px -20px 20px -20px !important;
    border-top: 1px solid rgba(0, 212, 255, 0.3) !important;
}

/* Carousel */
.carousel {
    position: relative !important;
    width: 510px !important;
    padding: 0px 40px !important;
}

.arrow {
    position: absolute !important;
    top: 85px !important;
    padding: 0 !important;
    height: 30px !important;
    width: 30px !important;
    display: block !important;
    cursor: pointer !important;
}

.arrow.prev {
    left: 0px !important;
    background: url(images/nav-left.png) no-repeat !important;
}

.arrow.next {
    right: 0px !important;
    background: url(images/nav-right.png) no-repeat !important;
}

/* Right Sidebar */
.right-sidebar {
    width: 285px !important;
    background: url(images/sidebar-bg.jpg) !important;
    margin-bottom: 110px !important;
    position: relative !important;
}

.right-sidebar:after {
    content: "" !important;
    background: url(images/right-sidebar-icon.png) no-repeat !important;
    right: -4px !important;
    bottom: -4px !important;
    width: 25px !important;
    height: 25px !important;
    position: absolute !important;
}

/* Server Block */
.server-block {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(5, 6, 16, 0.9) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 212, 255, 0.2) !important;
    margin-bottom: 20px !important;
}

.servers {
    padding: 20px !important;
}

.server {
    margin-bottom: 15px !important;
}

.server.online .server-x {
    color: #22c55e !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5) !important;
}

.server.off .server-x {
    color: #ef4444 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
}

.server-info {
    margin-top: 10px !important;
}

.server-name {
    color: #c0d0e0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.server-name span {
    display: block !important;
}

.server-name b {
    color: #00d4ff !important;
}

.server-description a {
    color: #00bfea !important;
}

/* Forum Block */
.forum-block {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(5, 6, 16, 0.9) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 212, 255, 0.2) !important;
    margin-bottom: 20px !important;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(5, 6, 16, 0.8) 0%, rgba(10, 14, 26, 0.95) 100%) !important;
    border-top: 2px solid rgba(0, 212, 255, 0.3) !important;
    padding: 60px 0 22px 0 !important;
}

.footer-info {
    text-align: center !important;
}

.copyright {
    color: #c0d0e0 !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
}

.f-menu {
    margin-top: 15px !important;
}

.f-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.f-menu li {
    display: inline-block !important;
    margin: 0 10px !important;
}

.f-menu a {
    color: #00bfea !important;
    font-size: 11px !important;
}

.f-menu a:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5) !important;
}

/* Buttons */
button,
.button {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #00d4ff 0%, #00bfea 100%) !important;
    border: none !important;
    color: #0a0e1a !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 10px 20px !important;
    display: inline-block !important;
    font-weight: 600 !important;
}

button:hover,
.button:hover {
    background: linear-gradient(135deg, #00bfea 0%, #0099cc 100%) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6) !important;
}

.button-small {
    padding: 4px 12px !important;
}

/* Light Background */
.light {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.9) 0%, rgba(5, 6, 16, 0.9) 100%) !important;
    box-shadow: 0px 12px 30px -5px rgba(0, 0, 0, 0.3), 0px -12px 30px -5px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .wrapper {
        width: 100% !important;
        padding: 0 20px !important;
    }

    .container {
        flex-direction: column !important;
    }

    .left-sidebar,
    .right-sidebar,
    .content {
        width: 100% !important;
    }
}

/* Guides Full-Width Layout (no sidebars) */
.guides-fullwidth {
    justify-content: center !important;
}

.guides-fullwidth .content {
    width: 1360px !important;
    max-width: 100% !important;
}

.guides-fullwidth .content:before,
.guides-fullwidth .content:after {
    display: none !important;
}
