/* Renaissance Dark Theme Styles */

/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 1;
}

body.renaissance {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

body.renaissance .page {
    position: relative;
    z-index: 1;
}

body.renaissance::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(20, 15, 30, 0.4) 100%);
    z-index: -1;
}

/* Top Settings Menu */
.top-settings-menu {
    background-color: rgba(75, 45, 95, 0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(150, 100, 200, 0.3);
    position: relative;
    z-index: 100;
    backdrop-filter: blur(2px);
}

.top-settings-menu .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.settings-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.social-icon {
    display: inline-block;
    margin: 0 3px;
}

.social-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icon:hover img {
    opacity: 1;
}

.lang-icon {
    display: inline-block;
    margin: 0 2px;
}

.lang-icon img {
    width: 20px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.6) 0%, rgba(50, 30, 60, 0.6) 100%);
    padding: 30px 0;
    border-bottom: 2px solid rgba(150, 100, 200, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 10;
    backdrop-filter: blur(3px);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(150,100,200,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(150,100,200,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 400px;
}

.logo {
    margin-bottom: 15px;
}

.logo img {
    height: 200px;
    filter: drop-shadow(0 0 20px rgba(150, 100, 200, 0.5));
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.server-status {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.total-online-text {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.total-online-text .green {
    color: #4ade80;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.8), 0 0 20px rgba(74, 222, 128, 0.5), 0 0 30px rgba(74, 222, 128, 0.3);
}

/* Navigation */
.navbar-top-menu {
    background: rgba(20, 15, 30, 0.7);
    border-bottom: 1px solid rgba(150, 100, 200, 0.3);
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(3px);
}

.navbar-default {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.navbar {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-radius: 0 !important;
}

.navbar-top-menu .main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.navbar-top-menu .main-menu li {
    margin: 0;
}

.navbar-top-menu .main-menu li a {
    color: #e0e0e0;
    padding: 15px 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: block;
}

.navbar-top-menu .main-menu li a:hover,
.navbar-top-menu .main-menu li a.current {
    color: #dbc28a;
    background-color: rgba(150, 100, 200, 0.2);
    border-bottom-color: #dbc28a;
}

.menu-item-underline {
    display: block;
    height: 2px;
    background: transparent;
    margin-top: 5px;
}

.navbar-top-menu .main-menu li a.current .menu-item-underline {
    background: #dbc28a;
}

/* Roadmap Link Special Styling - Green Highlighted */
.navbar-top-menu .main-menu li a.roadmap-link {
    color: #4ade80 !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.navbar-top-menu .main-menu li a.roadmap-link:hover,
.navbar-top-menu .main-menu li a.roadmap-link.current {
    color: #4ade80 !important;
    background-color: rgba(74, 222, 128, 0.2) !important;
    border-bottom-color: #4ade80 !important;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.8);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.navbar-top-menu .main-menu li a.roadmap-link.current .menu-item-underline,
.navbar-top-menu .main-menu li a.roadmap-link:hover .menu-item-underline {
    background: #4ade80 !important;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

/* Panels */
.panel {
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.panel-default {
    background-color: rgba(30, 25, 40, 0.5);
    border-color: rgba(150, 100, 200, 0.3);
}

.panel-heading {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.6) 0%, rgba(50, 30, 60, 0.6) 100%);
    border-bottom: 1px solid rgba(150, 100, 200, 0.4);
    color: #e0e0e0;
    padding: 12px 15px;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

.panel-body {
    background-color: rgba(20, 15, 30, 0.3);
    color: #e0e0e0;
    padding: 25px;
}

.panel-success {
    background-color: rgba(30, 80, 50, 0.6);
    border-color: rgba(100, 200, 150, 0.5);
}

.panel-success .panel-heading {
    background: linear-gradient(135deg, rgba(30, 100, 60, 0.7) 0%, rgba(20, 80, 50, 0.7) 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* Events Container */
.events-container {
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.events-header {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.6) 0%, rgba(50, 30, 60, 0.6) 100%);
    border-bottom: 1px solid rgba(150, 100, 200, 0.4);
    color: #e0e0e0;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    backdrop-filter: blur(3px);
}

#events-list {
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}

.event-item {
    background-color: rgba(20, 15, 30, 0.4);
    border: 1px solid rgba(150, 100, 200, 0.2);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.event-item:hover {
    background-color: rgba(30, 25, 40, 0.6);
    border-color: rgba(150, 100, 200, 0.5);
    transform: translateX(5px);
}

.event-name-line {
    color: #dbc28a;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
}

.event-timer-line {
    color: #b0b0b0;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Staff Container */
.staff-container {
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.staff-header {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.6) 0%, rgba(50, 30, 60, 0.6) 100%);
    border-bottom: 1px solid rgba(150, 100, 200, 0.4);
    color: #e0e0e0;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    backdrop-filter: blur(3px);
}

.staff-content {
    padding: 15px;
}

.staff-member {
    margin-bottom: 15px;
}

.staff-role {
    font-size: 0.9em;
}

.staff-name {
    font-size: 0.95em;
}

.staff-commands {
    font-size: 0.85em;
}
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-timer-line span:last-child {
    color: #4ade80;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Staff Container */
.staff-container {
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.staff-header {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.6) 0%, rgba(50, 30, 60, 0.6) 100%);
    border-bottom: 1px solid rgba(150, 100, 200, 0.4);
    color: #e0e0e0;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    backdrop-filter: blur(3px);
}

.staff-content {
    padding: 15px;
}

.staff-member {
    margin-bottom: 15px;
}

.staff-role {
    font-size: 0.9em;
}

.staff-name {
    font-size: 0.95em;
}

.staff-commands {
    font-size: 0.85em;
}

/* News Content */
.news_content {
    color: #e0e0e0;
    padding: 30px 0;
}

.news_content .panel-body {
    background-color: rgba(20, 15, 30, 0.4);
    padding: 30px;
}

.news_item {
    margin-bottom: 30px;
}

.news_item h4 {
    color: #dbc28a;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.news_time {
    color: #b0b0b0;
    font-size: 13px;
    margin-bottom: 20px;
}

.news_content hr {
    border-color: rgba(150, 100, 200, 0.4);
    margin: 40px 0;
    border-top: 1px solid rgba(150, 100, 200, 0.4);
    border-bottom: none;
    border-left: none;
    border-right: none;
}

/* Remove all white borders */
hr {
    border-color: rgba(150, 100, 200, 0.3) !important;
    border-top-color: rgba(150, 100, 200, 0.3) !important;
    border-bottom: none !important;
    background: none !important;
}

.page-h1 {
    color: #dbc28a;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.page-content {
    padding: 30px !important;
}

.page-content h1 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(150, 100, 200, 0.3);
}

.news_content .panel {
    margin-bottom: 30px;
}

.news_content .panel-body {
    padding: 30px !important;
}

/* Forms */
.form-control {
    background-color: rgba(20, 15, 30, 0.6);
    border: 1px solid rgba(150, 100, 200, 0.3);
    color: #e0e0e0;
    border-radius: 4px;
    backdrop-filter: blur(3px);
}

.form-control:focus {
    background-color: rgba(30, 25, 40, 0.7);
    border-color: rgba(150, 100, 200, 0.6);
    color: #e0e0e0;
    box-shadow: 0 0 10px rgba(150, 100, 200, 0.3);
}

.form-control::placeholder {
    color: #888;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.9) 0%, rgba(50, 30, 60, 0.9) 100%);
    border: 1px solid rgba(150, 100, 200, 0.5);
    color: #e0e0e0;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(95, 65, 115, 0.9) 0%, rgba(70, 50, 80, 0.9) 100%);
    border-color: rgba(150, 100, 200, 0.7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(150, 100, 200, 0.4);
}

/* Tables */
.table {
    color: #e0e0e0;
    background-color: transparent;
}

.table > thead > tr > th {
    background-color: rgba(75, 45, 95, 0.4);
    border-color: rgba(150, 100, 200, 0.3);
    color: #dbc28a;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

.table > tbody > tr > td {
    border-color: rgba(150, 100, 200, 0.2);
    background-color: rgba(20, 15, 30, 0.2);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(30, 25, 40, 0.2);
}

/* Links */
a {
    color: #dbc28a;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

.registration-link a {
    color: #b0b0b0;
    font-size: 12px;
}

.registration-link a:hover {
    color: #dbc28a;
}

/* Vote Section */
.voteforus {
    margin-top: 15px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 15, 30, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(150, 100, 200, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 100, 200, 0.7);
}

/* Dropdown Menus */
.dropdown-menu {
    background-color: rgba(30, 25, 40, 0.7);
    border: 1px solid rgba(150, 100, 200, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    padding: 5px 0;
    backdrop-filter: blur(5px);
}

.dropdown-menu > li > a {
    color: #e0e0e0;
    padding: 8px 20px;
    transition: all 0.3s;
}

.dropdown-menu > li > a:hover {
    background-color: rgba(150, 100, 200, 0.3);
    color: #dbc28a;
}

/* Pagination */
.pagination {
    margin: 20px 0;
}

.pagination > li > a,
.pagination > li > span {
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    color: #e0e0e0;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s;
    backdrop-filter: blur(3px);
}

.pagination > li > a:hover {
    background-color: rgba(150, 100, 200, 0.4);
    border-color: rgba(150, 100, 200, 0.6);
    color: #dbc28a;
}

.pagination > .active > a,
.pagination > .active > span {
    background: linear-gradient(135deg, rgba(75, 45, 95, 0.7) 0%, rgba(50, 30, 60, 0.7) 100%);
    border-color: rgba(150, 100, 200, 0.6);
    color: #dbc28a;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

/* Vote Buttons */
.voteforus .btn,
.voteforus a {
    display: block;
    margin: 8px 0;
    padding: 10px;
    background-color: rgba(30, 25, 40, 0.5);
    border: 1px solid rgba(150, 100, 200, 0.3);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(3px);
}

.voteforus .btn:hover,
.voteforus a:hover {
    background-color: rgba(150, 100, 200, 0.3);
    border-color: rgba(150, 100, 200, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(150, 100, 200, 0.3);
}

.voteforus img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Short Online Table */
.short-online {
    margin-top: 15px;
}

.short-online table {
    width: 100%;
}

.short-online .tbl-header {
    background-color: rgba(75, 45, 95, 0.5);
}

.short-online .tbl-header th {
    color: #dbc28a;
    font-weight: 600;
    padding: 8px;
}

.short-online td {
    color: #e0e0e0;
    padding: 6px 8px;
}

/* Server Option Panel */
.server-option {
    color: #e0e0e0;
    padding: 10px;
    border-bottom: 1px solid rgba(150, 100, 200, 0.2);
}

.server-option:last-child {
    border-bottom: none;
}

.server-option span:first-child {
    color: #dbc28a;
    font-weight: 600;
}

.server-option span:last-child {
    color: #4ade80;
    font-weight: 600;
}

/* Text Colors */
.green {
    color: #4ade80 !important;
}

/* Content Area */
.content {
    background-color: transparent;
    padding: 30px 0;
}

.content .panel {
    margin-bottom: 30px;
}

.news_page {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Left and Right Columns */
.left_column .panel,
.right_column .panel {
    margin-bottom: 20px;
}

.left_column .panel-body {
    background-color: rgba(20, 15, 30, 0.4);
}

/* Form Signin Styling */
.form-signin {
    background-color: transparent;
}

.form-signin .form-control {
    margin-bottom: 10px;
}

.form-signin .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* Vote Section Header */
h4.text-center {
    color: #dbc28a;
    font-weight: 600;
    margin: 15px 0;
    text-transform: uppercase;
    font-size: 14px;
}

/* HR Styling */
hr {
    border-color: rgba(150, 100, 200, 0.3);
    margin: 15px 0;
}

/* Announcement Panel */
.announcement.centered {
    text-align: center;
}

.announcement .panel-heading {
    font-size: 18px;
    padding: 15px;
    font-weight: 700;
}

.announcement.panel-success {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .page.container, .top-menu.container, .header .container {
        width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .logo img {
        height: 150px;
    }
    
    .server_status {
        margin-top: 15px;
    }
    
    .navbar-top-menu .main-menu {
        flex-direction: column;
    }
    
    .navbar-top-menu .main-menu li a {
        border-bottom: 1px solid rgba(150, 100, 200, 0.2);
    }
}

