* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #00b4d8;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --border: rgba(0, 255, 136, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--primary);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.nav-links a.active {
    color: var(--primary);
}

.user-badge {
    background: rgba(0, 255, 136, 0.2) !important;
    border: 1px solid var(--primary);
}

.btn-login {
    background: var(--primary) !important;
    color: #000 !important;
    font-weight: bold;
}

.btn-login:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.05);
}

.btn-logout {
    background: #ff4444 !important;
    color: #fff !important;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 1s;
}

/* Glitch Effect */
.glitch {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 180, 216, 0.5); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Server Status Box */
.server-status-box {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.6); }
}

.server-ip-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.server-ip-box i {
    color: var(--primary);
    font-size: 1.5rem;
}

.server-ip {
    font-family: monospace;
    font-size: 1.3rem;
    color: var(--primary);
    flex: 1;
}

.btn-copy-ip {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-copy-ip:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.player-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.server-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: var(--primary);
}

.status-dot.offline {
    background: #ff4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

.btn-glow {
    animation: btnGlow 2s infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.8); }
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(20px); }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-darker);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* Server Section */
.server-section {
    padding: 5rem 0;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.server-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.server-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.server-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.server-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.server-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.server-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.server-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.server-info i {
    color: var(--primary);
}

.btn-server {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-server:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-box p {
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: #000;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-rank {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.member-rank.owner {
    background: #ff4444;
    color: #fff;
}

.member-rank.admin {
    background: #ff8800;
    color: #fff;
}

.member-rank.mod {
    background: #00b4d8;
    color: #fff;
}

.member-rank.support {
    background: var(--primary);
    color: #000;
}

.team-member p {
    color: var(--text-muted);
}

/* Vote Section */
.vote-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vote-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.vote-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.vote-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.vote-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.vote-card p {
    color: var(--text-muted);
}

/* News Section */
.news-section {
    padding: 5rem 0;
}

.news-grid {
    display: grid;
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    display: flex;
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.news-date {
    background: var(--primary);
    color: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.news-date .day {
    font-size: 2.5rem;
    font-weight: bold;
}

.news-date .month {
    font-size: 1rem;
}

.news-content {
    padding: 2rem;
    flex: 1;
}

.news-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.news-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Discord Section */
.discord-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.discord-box {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.discord-box i {
    font-size: 5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.discord-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.discord-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn-discord {
    background: #fff;
    color: #5865F2;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-discord:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        min-width: 100%;
    }
}

/* =========================================
   LOGIN & REGISTER PAGE STYLES
   ========================================= */
.auth-container {
    max-width: 900px;
    margin: 120px auto 50px;
    padding: 2rem;
}

.auth-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.auth-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.auth-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.auth-card h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-card input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.auth-card input::placeholder {
    color: var(--text-muted);
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.alert.error {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.alert.success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Responsive für Login auf Handy */
@media (max-width: 768px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
    .auth-container {
        margin-top: 100px;
    }
}

/* =========================================
   USER PROFILE STYLES
   ========================================= */
.profile-container {
    max-width: 1000px;
    margin: 120px auto 50px;
    padding: 0 20px;
}

.profile-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.profile-skin img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    image-rendering: pixelated; /* Wichtig für Minecraft Skins! */
}

.profile-info h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.join-date {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.rank-badge {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}

.rank-badge.admin {
    background: #ff4444;
    color: #fff;
}

.rank-badge.user {
    background: var(--primary);
    color: #000;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
}

.profile-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.profile-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--text-muted);
}

.info-row strong {
    color: var(--text);
}

.profile-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-card input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
}

.profile-card input:focus {
    outline: none;
    border-color: var(--primary);
}

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */
.admin-container {
    max-width: 1200px;
    margin: 120px auto 50px;
    padding: 0 20px;
}

.admin-container h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    overflow-x: auto;
}

.admin-table-wrapper h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-table th {
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background: rgba(0, 255, 136, 0.05);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-action.admin-toggle:hover {
    background: #00b4d8;
    border-color: #00b4d8;
}

.btn-action.delete:hover {
    background: #ff4444;
    border-color: #ff4444;
}

.admin-link {
    color: #ff4444 !important;
    font-weight: bold;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Server Control Panel Styles */
.server-control-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.server-control-panel h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.status-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.status-dot.green { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.status-dot.red { background: #ff4444; box-shadow: 0 0 10px #ff4444; }

.control-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-ctrl {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-ctrl:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-ctrl.start { background: #00ff88; color: #000; }
.btn-ctrl.start:hover:not(:disabled) { background: #00cc6a; transform: translateY(-2px); }

.btn-ctrl.stop { background: #ff4444; }
.btn-ctrl.stop:hover:not(:disabled) { background: #cc0000; transform: translateY(-2px); }

.btn-ctrl.restart { background: #00b4d8; }
.btn-ctrl.restart:hover:not(:disabled) { background: #0096b7; transform: translateY(-2px); }

/* Multi-Server Control Panel */
.all-servers-box {
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.all-servers-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.single-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.server-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.server-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-box.small {
    padding: 0.8rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.control-btns.small {
    justify-content: center;
}

.btn-ctrl.small {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.btn-ctrl.small i {
    font-size: 1rem;
}

.status-dot.yellow {
    background: #ffa500;
    box-shadow: 0 0 10px #ffa500;
}