@font-face {
	font-family: 'Avenir';
	src: url("../fonts/AvenirNext-Regular/AvenirNext-Regular.eot");
	src: local('☺'), url("../fonts/AvenirNext-Regular/AvenirNext-Regular.woff") format("woff"), url("../fonts/AvenirNext-Regular/AvenirNext-Regular.ttf") format("truetype"), url("../fonts/AvenirNext-Regular/AvenirNext-Regulard41d.eot?#iefix")format("embedded-opentype");
	font-weight: 400;
}

@font-face {
	font-family: 'Avenir';
	src: url("../fonts/AvenirNext-DemiBold/AvenirNext-DemiBold.eot");
	src: local('☺'), url("../fonts/AvenirNext-DemiBold/AvenirNext-DemiBold.woff") format("woff"), url("../fonts/AvenirNext-DemiBold/AvenirNext-DemiBold.ttf") format("truetype"), url("../fonts/AvenirNext-DemiBold/AvenirNext-DemiBoldd41d.eot?#iefix")format("embedded-opentype");
	font-weight: 700;
}

.logo1 {
    height: 200px;
    width: 200px;
    position: absolute;
    top: 46%;
    left: 20%;
    transform: translate(-50%, -50%);
}

@font-face {
	font-family: 'Avenir';
	src: url("../fonts/AvenirNext-Bold/AvenirNext-Bold.eot");
	src: local('☺'), url("../fonts/AvenirNext-Bold/AvenirNext-Bold.woff") format("woff"), url("../fonts/AvenirNext-Bold/AvenirNext-Bold.ttf") format("truetype"), url("../fonts/AvenirNext-Bold/AvenirNext-Boldd41d.eot?#iefix")format("embedded-opentype");
	font-weight: 800;
}

@font-face {
	font-family: 'RussoOne';
	src: url("../fonts/Russo_One/Russo_One.eot");
	src: local('☺'), url("../fonts/Russo_One/Russo_One.woff") format("woff"), url("../fonts/Russo_One/Russo_One.ttf") format("truetype"), url("../fonts/Russo_One/Russo_Oned41d.eot?#iefix")format("embedded-opentype");
	font-weight: normal;
}

/* CSS Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: separate;
	border-spacing: 3px;
}

/* End of CSS Reset */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	height: 100%;
	width: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}

.menu {
	text-align: center;
	padding: 10px 0;
	background-color: rgba(13, 11, 14, 0.8);
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px;
}

.menu a {
	display: inline-block;
	font-family: 'RussoOne';
	color: #ffdc87;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0 25px;
	height: 60px;
	line-height: 60px;
	position: relative;
	transition: all 0.3s ease;
	letter-spacing: 1px;
}

body {
	font-size: 18px;
	line-height: 1.5;
	font-family: 'Avenir', sans-serif, 'Arial';
	font-weight: 400;
	color: #ffedc2;
	background: #0d0b0e;
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	width: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: all 0.3s ease;
	overflow-x: hidden;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	height: 54px;
	padding: 0 18px;
	color: #fff;
	font-size: 16px;
	font-family: 'Avenir', sans-serif, 'Arial';
	font-weight: 400;
	transition: all 0.3s ease;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: #ff5400;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 84, 0, 0.4);
	outline: none;
}

.forrank {
	background: url('../images/bg-forum.png') center center no-repeat;
}

.forrank .forum, .forrank .rank {
	width: 615px;
	text-align: center;
	vertical-align: top;
	display: inline-block;
}

.modal-content {
	position: relative;
	background: rgba(21, 17, 26, 0.95);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	outline: 0;
	-webkit-box-shadow: 0 15px 25px rgba(0, 0, 0, .7);
	box-shadow: 0 15px 25px rgba(0, 0, 0, .7);
	padding: 40px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

input[type="submit"], input[type="button"], button {
	border: none;
	background: linear-gradient(to right, #ffdc87, #ff5400);
	cursor: pointer;
	padding: 12px 24px;
	outline: none;
	border-radius: 4px;
	color: #0d0b0e;
	font-family: 'RussoOne', sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
	transform: translateY(-2px);
	background: linear-gradient(to right, #ffdc87, #ff7000);
}

/* Online status in menu */
.online-status {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    height: 32px;
    line-height: 1;
    vertical-align: middle;
}

.online-status i {
    color: #fff;
    margin-right: 6px;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.online-count {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

/* Hover effect */
.online-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #6e85f7 0%, #8a4dff 100%);
}

/* Hover effect */
.online-status:hover {
    background: rgba(13, 202, 240, 0.2);
    transform: translateY(-1px);
}

/* Media Queries */

/* Мобільні пристрої */
@media only screen and (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .menu a {
        padding: 0 10px;
        font-size: 14px;
        height: 45px;
        line-height: 45px;
        width: 100%;
        text-align: center;
    }
    
    .register a {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .logo img {
        max-width: 100%;
    }
    
    .server-status-container {
        flex-direction: column;
        align-items: center;
    }
    
    .server-status {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .news-container {
        display: block;
    }
    
    .news-item {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .form {
        width: 100%;
        float: none;
        margin: 5% auto;
    }
    
    header {
        padding-top: 20px;
    }
    
    .header-right {
        padding: 0 10px;
    }
}

/* Планшети */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 750px;
    }
    
    .register a {
        width: auto;
        max-width: 450px;
    }
}

/* Десктопи */
@media (min-width:992px) {
    .container {
        width: 970px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

@media (min-width:768px) {
	.modal-dialog {
		width: 600px;
		margin: 30px auto
	}
	.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
	}
	.modal-sm {
		width: 300px
	}
}

@media (min-width:992px) {
	.modal-lg {
		width: 900px
	}
}

.close {
	float: right;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
	text-shadow: 0 1px 0 #fff;
	filter: alpha(opacity=20);
	opacity: .2
}

.close:focus, .close:hover {
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	filter: alpha(opacity=50);
	opacity: .5
}

button.close {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	padding: 0;
	cursor: pointer;
	background: 0 0;
	border: 0
}

.form {
    width: 55%;
    float: right;
    margin-top: 16%;
    margin-left: auto;
    margin-right: 22%;
}

.info {
	margin-top: 30px;
	font-size: 30px;
	font-weight: 400;
	text-shadow: 2px 1px 3px #000;
}
.info .message {
	display: inline-block;
	width: 100%;
	line-height: 1.4;
	overflow: hidden;
	padding: 20px;
	background: url(../images/sep.png) center right no-repeat;
	background-size: contain;
	border-radius: 5px;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out
}

.info a {
	display: inline-block;
	font-size: 30px;
	text-decoration: none;
	text-transform: uppercase;
	color: #fbb527;
	font-weight: 800;
	text-shadow: 2px 1px 3px #000;
}

.info a:after {
	display: block;
	content: "";
	height: 2px;
	width: 200px;
	background-color: #fbb527;
	transition: width .3s ease-in-out;
}

.info a:focus:after, .info a:hover:after {
	width: 0%;
	background-color: #ebd7a9;
}

.info .message:last-child {
	background: 0 0
}
.info .message:hover {
	background: url(../images/sep.png) center right no-repeat rgba(230, 169, 68, .1);
	background-size: contain
}
.info .message:last-child:hover {
	background: rgba(230, 169, 68, .1)
}

.info .message a {
	display: block;
	white-space: nowrap;
	font-size: 18px;
	color: #e6a944
}
.info .message a:hover {
	color: #fff
}

/* Стилі для контейнера статусів серверів */
.server-status-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.server-status {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 250px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.server-status h3 {
    margin-top: 0;
    font-size: 1.25em;
    color: #ffdc87;
    margin-bottom: 15px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}
.online {
    color: #4CAF50;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
.offline {
    color: #f44336;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
}
/* Стилі для заголовка */
.container h2 {
    text-align: center;
    margin-top: 40px;
    color: #ffdc87;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Стилі для повідомлень */
.alert {
    padding: 15px;
    background-color: rgba(244, 67, 54, 0.2);
    color: white;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #f44336;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Стилі для секції новин */
.news-section {
    padding: 30px 0;
    margin: 20px 0;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.news-item {
    width: calc(33.33% - 20px);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #ff5400;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffdc87;
}

.news-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-read-more {
    display: inline-block;
    color: #ff5400;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

.news-read-more:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5400;
    transition: width 0.3s ease;
}

.news-read-more:hover:after {
    width: 100%;
}

/* Стилі для сторінки новини детально */
.single-news {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    max-width: 900px;
}

.single-news-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-news-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.single-news-date {
    color: #ff5400;
    font-size: 16px;
}

.single-news-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* Стилі для панелі керування */
.cockpit-section {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin: 20px 0;
}

.cockpit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cockpit-title {
    font-size: 28px;
    margin: 0;
}

.cockpit-actions {
    display: flex;
    gap: 15px;
}

.cockpit-btn {
    background: linear-gradient(to right, #ffdc87, #ff5400);
    color: #0d0b0e;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cockpit-btn:hover {
    background: linear-gradient(to right, #ffdc87, #ff7200);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cockpit-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.cockpit-table th {
    text-align: left;
    padding: 15px;
    color: #ffdc87;
    font-weight: bold;
}

.cockpit-table td {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
}

.cockpit-table tr td:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.cockpit-table tr td:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.cockpit-form-group {
    margin-bottom: 20px;
}

.cockpit-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.cockpit-form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 12px 15px;
    color: #fff;
    transition: all 0.3s ease;
}

.cockpit-form-control:focus {
    border-color: #ff5400;
    box-shadow: 0 0 0 2px rgba(255, 84, 0, 0.25);
    outline: none;
}

.cockpit-form-control-textarea {
    min-height: 150px;
    resize: vertical;
}

.cockpit-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}
