:root {
    --primary: #0ff;       /* Primary neon color */
    --secondary: #f0f;     /* Secondary neon color */
    --tertiary: #0f0;      /* Tertiary neon color */
    --dark-bg: #0a0a0f;    /* Dark background */
    --darker-bg: #050508;  /* Darker background */
    --card-bg: #12121a;    /* Card background */
    --text: #e0e0e0;       /* Main text color */
    --text-dim: #888;      /* Dimmed text color */
    --border: #222;        /* Border color */
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neon effects */
.text-neon-primary {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.text-neon-secondary {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.text-neon-success {
    color: var(--tertiary);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.border-neon {
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Custom card styles to match original */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Logo styling */
.logo {
    font-weight: 700;
    font-size: 1.8em;
    position: relative;
}

.logo::before {
    content: '<';
    color: var(--secondary);
    margin-right: 2px;
    opacity: 0.8;
}

.logo::after {
    content: '/>';
    color: var(--secondary);
    margin-left: 2px;
    opacity: 0.8;
}

/* Custom navbar styling */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(0);
}

/* Custom dropdown styling */
.dropdown-menu {
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dropdown-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
}

/* Search styling */
.form-control {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(30, 30, 40, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    color: var(--text);
}

/* Ad spaces */
.ad-banner {
    text-align: center;
    margin: 20px auto;
    padding: 15px;
    border: 1px dashed rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(10, 10, 15, 0.5);
    color: var(--text-dim);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ad-banner::before {
    content: 'AD';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

.ad-banner:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Server status badges */
.server-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    text-align: center;
}

.server-status.online {
    background: rgba(0, 255, 0, 0.1);
    color: var(--tertiary);
}

.server-status.offline {
    background: rgba(255, 0, 0, 0.1);
    color: #f55;
}

/* Table styling */
.table {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}

.table td {
    border-bottom: 1px solid var(--border);
}

.table tr:hover td {
    background: rgba(0, 255, 255, 0.05);
}

/* Button styling */
.btn-outline-neon {
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    color: var(--primary);
}

/* Vote button */
.vote-btn {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.3);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8em;
}

.vote-btn:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

/* Star rating */
.star {
    color: #fc0;
    font-size: 1.2em;
    margin: 0 2px;
}

/* Footer styling */
footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
    100% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
}

/* Section titles */
.section-title {
    position: relative;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 10px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(10, 10, 15, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}