* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #050816;
    color: white;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0,255,255,0.15), transparent 35%),
        radial-gradient(circle at bottom right, rgba(255,0,255,0.15), transparent 35%);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(10,10,20,0.45);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #7de2ff;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #68e1ff, #8b5cf6);
    color: black;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: white;
    backdrop-filter: blur(20px);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 82px;
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-text h1 span {
    color: #68e1ff;
    text-shadow: 0 0 25px rgba(104,225,255,0.6);
}

.hero-text p {
    color: #b8c0d9;
    font-size: 19px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 40px;
}

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    margin-bottom: 35px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 12px #00ff88;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.glass-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    padding: 28px;
    width: 300px;
    border-radius: 32px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
}

.glass-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

.instance {
    background: rgba(255,255,255,0.04);
    border-radius: 22px;
    padding: 16px;
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.instance small {
    color: #8ea0c5;
}

.features {
    padding: 80px 40px 120px;
}

.features-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 34px;
    padding: 35px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 22px;
    background: linear-gradient(135deg, #68e1ff, #8b5cf6);
    margin-bottom: 25px;
}

.feature-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.feature-card p {
    color: #aab3cc;
    line-height: 1.6;
}

footer {
    padding: 40px;
    text-align: center;
    color: #8ea0c5;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

@media(max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 60px;
    }

    .glass-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 25px;
        width: 100%;
    }
}

@media(max-width: 700px) {
    .navbar {
        padding: 18px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding: 180px 20px 80px;
    }

    .hero-text h1 {
        font-size: 46px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-buttons {
        width: 100%;
        flex-direction: column;
    }
}

/* Index.php */
html { scroll-behavior: smooth; }
.feature-card h2 { font-size: 1.1rem; margin-bottom: 5px; }
.feature-card p { font-size: 1.5rem; font-weight: 700; }
.instance-badge { padding: 4px 8px; border-radius: 4px; background: rgba(0,200,83,0.2); color: #00c853; font-weight: bold; }
.charts-container { max-width: 1100px; margin: 30px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; }
.chart-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 20px; border-radius: 12px; }
.chart-box h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.2rem; color: #fff; font-weight: 600; }
.chart-wrapper { position: relative; height: 300px; width: 100%; }

.leaderboard-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.leaderboard-item:last-child { border-bottom: none; }
.rank-medal { font-size: 1.2rem; margin-right: 10px; }

/* Ranking.php */
.ranking-container {
    max-width: 900px;
    margin: 140px auto 60px; 
    padding: 0 20px;
}

.search-box {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto 40px auto;
    padding: 14px 20px;
    border-radius: 18px; 
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-box:focus {
    outline: none;
    border-color: #68e1ff;
    box-shadow: 0 0 15px rgba(104,225,255,0.2);
    background: rgba(255,255,255,0.08);
}
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin: 40px auto;
    max-width: 600px;
}

.podium > a {
    display: flex;
    text-decoration: none;
}

.podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
    padding: 15px;
    width: 140px;
    text-align: center;
}

.podium > a:nth-child(1) {
    order: 2;
}

.podium > a:nth-child(2) {
    order: 1;
}

.podium > a:nth-child(3) {
    order: 3;
}

.podium > a:nth-child(1) .podium-slot {
    height: 180px;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
    z-index: 2;
}

.podium > a:nth-child(2) .podium-slot {
    height: 140px;
    background: rgba(192, 192, 192, 0.1);
    border-color: rgba(192, 192, 192, 0.5);
}

.podium > a:nth-child(3) .podium-slot {
    height: 120px;
    background: rgba(205, 127, 50, 0.1);
    border-color: rgba(205, 127, 50, 0.5);
}

.podium-rank {
    font-size: 32px;
    margin-bottom: 10px;
}

.podium-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    word-break: break-word;
}

.podium-time {
    font-size: 12px;
    color: #ccc;
}

@media screen and (max-width: 600px) {
    .podium {
        gap: 5px;
    }
    .podium-slot {
        width: 100px;
        padding: 10px;
    }
}

.table-box {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    overflow-x: auto; 
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 18px 24px;
    text-align: left;
}

th {
    background: rgba(0,0,0,0.3);
    color: #8ea0c5;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

td {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #e0e0e0;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255,255,255,0.04);
}

.rank-highlight {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .podium-slot {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        order: 0 !important; 
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        text-align: left;
    }

    .podium-rank {
        font-size: 32px;
        margin-bottom: 0;
    }

    .podium-name {
        flex-grow: 1;
        margin-left: 20px;
        font-size: 16px;
    }
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.filter-container select, .filter-container input {
    width: 100%; 
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 14px;
    box-sizing: border-box; 
}

/* Login.php */

.login-body {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #0d0e12;
}

.login-body::before,
.login-body::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}

.login-body::before {
    background: rgba(0, 176, 255, 0.15);
    top: -10%;
    left: -10%;
}

.login-body::after {
    background: rgba(88, 101, 242, 0.15);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

.login-container {
    background: rgba(20, 22, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.login-container h1 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a0a5b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 35px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    color: #a0a5b5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00b0ff;
    background: rgba(0, 176, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 176, 255, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00b0ff 0%, #5865F2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 176, 255, 0.5);
    background: linear-gradient(135deg, #00c3ff 0%, #6874ff 100%);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 176, 255, 0.3);
}

.error-msg {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: #6c7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #fff;
}
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #6c7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before, 
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.divider::before { margin-right: 15px; }
.divider::after { margin-left: 15px; }

.btn-vrc {
    width: 100%;
    padding: 15px;
    background: rgba(0, 176, 255, 0.1);
    color: #00b0ff;
    border: 1px solid rgba(0, 176, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.btn-vrc:hover {
    background: #00b0ff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 176, 255, 0.4);
}

.btn-vrc:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 176, 255, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 600;
    color: #a0a5b5;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff4757;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.status-dot.online {
    background-color: #2ed573; 
}

.top-notice {
    max-width: 420px;
    width: 100%;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-align: center;
    color: #a0a5b5;
    font-size: 15px;
    line-height: 1.6;
}

.top-notice strong {
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Dashboard.php */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 140px 20px 40px 20px; 
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #a0a5b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-header p {
    color: #a0a5b5;
    font-size: 16px;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: rgba(20, 22, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 176, 255, 0.3);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.dashboard-card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #fff;
}

.dashboard-card p {
    color: #a0a5b5;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.card-btn {
    display: inline-block;
    padding: 12px 15px;
    background: rgba(0, 176, 255, 0.1);
    color: #00b0ff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(0, 176, 255, 0.2);
    transition: all 0.2s ease;
}

.card-btn:hover {
    background: #00b0ff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.4);
}


/* Settings.php */

.success-box {
    color: #2ed573;
    margin-bottom: 25px;
    padding: 12px 18px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    border-radius: 8px;
    font-weight: 600;
}

.error-box {
    color: #ff4757;
    margin-bottom: 25px;
    padding: 12px 18px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 8px;
    font-weight: 600;
}

.settings-card {
    background: #14161e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.settings-card-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Alertbox.php */

.success-box, .error-box, .warning-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: slideInDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.box-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.success-box {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.15) 0%, rgba(46, 213, 115, 0.05) 100%);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}
.success-box strong { color: #32ff86; }

.error-box {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(255, 71, 87, 0.05) 100%);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}
.error-box strong { color: #ff6b81; }

.warning-box {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0.05) 100%);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: #ffcc00;
}
.warning-box strong { color: #ffeaa7; }

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Instanzen Manager.php */
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a0a5b5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 15px;
    transition: background 0.2s;
}

.data-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a5b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}
select.form-control option {
    background-color: #14161e;
    color: #fff;
}

.action-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kick-btn {
    background: rgba(255, 159, 67, 0.15);
    border: 1px solid rgba(255, 159, 67, 0.4);
    color: #ff9f43;
}

.kick-btn:hover {
    background: rgba(255, 159, 67, 0.3);
    border-color: #ff9f43;
    color: #fff;
}

.ban-btn {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.4);
    color: #ff4757;
}

.ban-btn:hover {
    background: rgba(255, 71, 87, 0.3);
    border-color: #ff4757;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

/* Profil.php */
   
   
.profile-container { 
    max-width: 900px; 
    margin: 40px auto; 
    padding: 20px; 
}

.profile-header {
    display: flex; 
    align-items: center; 
    gap: 20px;
    background: rgba(255, 255, 255, 0.05); 
    padding: 30px;
    border-radius: 15px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px; 
    height: 100px; 
    border-radius: 50%;
    background: #333; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 40px; 
    border: 3px solid #00b0ff;
}

.profile-info h1 { 
    margin: 0 0 5px 0; 
    font-size: 28px; 
    color: #fff; 
}

.status-badge {
    display: inline-block; 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: bold;
}

.status-online { 
    background: rgba(0, 200, 83, 0.2); 
    color: #00c853; 
    border: 1px solid #00c853; 
}

.status-offline { 
    background: rgba(255, 255, 255, 0.1); 
    color: #888; 
    border: 1px solid #555; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px; 
}

.stat-card {
    background: rgba(255, 255, 255, 0.05); 
    padding: 20px; 
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    text-align: center;
}

.stat-card h3 { 
    margin: 0 0 10px 0; 
    color: #888; 
    font-size: 14px; 
}

.stat-card p { 
    margin: 0; 
    color: #fff; 
    font-size: 20px; 
    font-weight: bold; 
}

.highlight-text {
    color: #00b0ff !important;
}

.content-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 20px; 
}

.content-box {
    background: rgba(255, 255, 255, 0.05); 
    padding: 25px; 
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-box h2 { 
    margin-top: 0; 
    color: #00b0ff; 
    font-size: 20px; 
    margin-bottom: 15px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 10px; 
}

.bio-placeholder {
    color: #bbb; 
    line-height: 1.6;
}

.achievement-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    padding: 8px 12px; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 14px; 
    margin: 5px;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.1); 
    color: #ffd700; 
    border: 1px solid #ffd700;
}

.badge-locked {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa; 
    border: 1px solid #aaa; 
}

.error-header {
    justify-content: center; 
    flex-direction: column; 
    text-align: center;
}

.error-title {
    color: #ff5252 !important;
}

.back-link {
    color: #00b0ff; 
    text-decoration: none; 
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; }
}

.profile-header {
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 15px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-banner {
    width: 100%;
    height: 150px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-header-content {
    display: flex; 
    align-items: flex-end; 
    gap: 20px;
    padding: 0 30px 25px 30px;
    margin-top: -50px; 
}

.profile-avatar {
    width: 100px; 
    height: 100px; 
    border-radius: 50%;
    background: #1a1a1a; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 40px; 
    border: 4px solid #1a1a1a; 
    box-shadow: 0 0 0 2px #00b0ff;
    position: relative;
    z-index: 2;
}

.profile-info {
    position: relative;
    z-index: 2;
    padding-bottom: 5px;
}

.profile-info h1 { 
    margin: 0 0 5px 0; 
    font-size: 28px; 
    color: #fff; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

@media screen and (max-width: 768px) {
    .profile-header-content { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }
    .profile-info { padding-bottom: 0; }
}

.edit-form-container {
    max-width: 600px; margin: 40px auto; background: rgba(255, 255, 255, 0.05);
    padding: 30px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #bbb; }
.form-group textarea, .form-group input[type="file"] {
    width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; padding: 15px; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 15px; box-sizing: border-box; transition: border-color 0.2s;
}
.form-group textarea { height: 150px; resize: vertical; }
.form-group textarea:focus, .form-group input[type="file"]:focus { outline: none; border-color: #00b0ff; }
.save-btn {
    display: inline-block; width: 100%; padding: 12px; background: #00b0ff; color: #fff;
    border: none; border-radius: 8px; font-weight: bold; font-size: 16px; cursor: pointer;
}
.save-btn:hover { background: #0091d5; }
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; }
.alert.success { background: rgba(0, 200, 83, 0.2); color: #00c853; border: 1px solid #00c853; }
.alert.error { background: rgba(255, 82, 82, 0.2); color: #ff6b6b; border: 1px solid #ff6b6b; }

.current-avatar {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 2px solid #00b0ff; margin-bottom: 10px; display: block;
}

body { font-family: 'Inter', sans-serif; background-color: #121212; color: #fff; margin: 0; }
.navbar { padding: 20px; background: rgba(0,0,0,0.2); display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 600; color: #fff; font-size: 1.2em; }

.player-list-container { 
    max-width: 800px; 
    margin: 100px auto 50px auto; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 12px; 
    padding: 20px; 
}

.player-item { padding: 10px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: space-between; align-items: center; }
.status-dot-online { width: 10px; height: 10px; background-color: #00c853; border-radius: 50%; display: inline-block; margin-right: 10px; }
.nav-buttons { display: flex; gap: 10px; align-items: center; }
.btn { padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,0.1); color: #fff; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 9999;
}
.menu-toggle .bar {
    width: 30px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media screen and (max-width: 950px) {
    .navbar {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #1a1a1a; 
        padding: 20px 0;
        box-shadow: 0 15px 25px rgba(0,0,0,0.8);
        z-index: 1000;
        gap: 15px !important;
        border-bottom: 2px solid #333;
    }
    
    .nav-buttons.active {
        display: flex !important; 
    }
    
    .nav-buttons .btn {
        width: 90% !important; 
        margin: 0 auto;
    }
}

.edit-form-container {
    max-width: 600px; margin: 40px auto; background: rgba(255, 255, 255, 0.05);
    padding: 30px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #bbb; }
.form-group textarea, .form-group input[type="file"] {
    width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; padding: 15px; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 15px; box-sizing: border-box; transition: border-color 0.2s;
}
.form-group textarea { height: 150px; resize: vertical; }
.form-group textarea:focus, .form-group input[type="file"]:focus { outline: none; border-color: #00b0ff; }
.save-btn {
    display: inline-block; width: 100%; padding: 12px; background: #00b0ff; color: #fff;
    border: none; border-radius: 8px; font-weight: bold; font-size: 16px; cursor: pointer;
}
.save-btn:hover { background: #0091d5; }
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; }
.alert.success { background: rgba(0, 200, 83, 0.2); color: #00c853; border: 1px solid #00c853; }
.alert.error { background: rgba(255, 82, 82, 0.2); color: #ff6b6b; border: 1px solid #ff6b6b; }

.current-avatar {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 2px solid #00b0ff; margin-bottom: 10px; display: block;
}

:root {
    --bg-0:#07060e;
    --bg-1:#0b0a16;
    --ink:#eef1fb;
    --muted:#99a2c2;
    --cyan:#4fd6ff;
    --violet:#9b6cff;
    --magenta:#ff52cf;
    --gold:#ffd166;
    --green:#33e08a;
    --red:#ff5a6e;
    --line:rgba(255,255,255,0.09);
    --line-strong:rgba(255,255,255,0.16);
    --glass:rgba(255,255,255,0.045);
    --glass-2:rgba(255,255,255,0.07);
    --radius:18px;
    --radius-lg:26px;
    --shadow:0 24px 60px -20px rgba(0,0,0,0.7);
    --glow-cyan:0 0 0 1px rgba(79,214,255,.35), 0 12px 40px -12px rgba(79,214,255,.45);
}

html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
    background-color: var(--bg-0) !important;
    color: var(--ink);
    letter-spacing:.1px;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body::before {
    content:"";
    position:fixed;
    inset:-20% -10% -10% -10%;
    z-index:-2;
    background:
        radial-gradient(40% 55% at 12% 8%, rgba(79,214,255,.16), transparent 60%),
        radial-gradient(45% 55% at 88% 6%, rgba(155,108,255,.18), transparent 60%),
        radial-gradient(60% 60% at 50% 110%, rgba(255,82,207,.10), transparent 60%);
    filter:saturate(1.05);
    animation:lnl-drift 26s ease-in-out infinite alternate;
}
body::after {
    content:"";
    position:fixed;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background-image:radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:3px 3px;
    opacity:.5;
    mix-blend-mode:overlay;
}
@keyframes lnl-drift {
    0%   { transform:translate3d(0,0,0) scale(1); }
    100% { transform:translate3d(0,-2.5%,0) scale(1.06); }
}

::selection { background:rgba(79,214,255,.3); color:#fff; }

::-webkit-scrollbar { width:11px; height:11px; }
::-webkit-scrollbar-track { background:rgba(255,255,255,.02); }
::-webkit-scrollbar-thumb {
    background:linear-gradient(180deg, rgba(79,214,255,.5), rgba(155,108,255,.5));
    border-radius:20px; border:2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { background:linear-gradient(180deg, var(--cyan), var(--violet)); }

.navbar {
    padding:16px 50px;
    background:linear-gradient(180deg, rgba(8,7,16,.82), rgba(8,7,16,.5)) !important;
    backdrop-filter:blur(20px) saturate(1.2);
    -webkit-backdrop-filter:blur(20px) saturate(1.2);
    border-bottom:1px solid var(--line);
    box-shadow:0 1px 0 rgba(255,255,255,.04), 0 18px 40px -30px rgba(0,0,0,.9);
}
.logo {
    font-weight:900;
    letter-spacing:-.4px;
    background:linear-gradient(92deg, #fff 10%, var(--cyan) 55%, var(--violet) 100%);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    filter:drop-shadow(0 2px 14px rgba(79,214,255,.25));
}
.btn { letter-spacing:.1px; transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.navbar .nav-buttons .btn:hover { transform:translateY(-2px); box-shadow:0 12px 26px -12px rgba(79,214,255,.5); border-color:var(--line-strong); }

.hero-text h1 { letter-spacing:-2px; }
.hero-text h1 span {
    background:linear-gradient(92deg, var(--cyan), var(--violet));
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
    text-shadow:none;
    filter:drop-shadow(0 0 30px rgba(79,214,255,.45));
}
.status-box { background:var(--glass); border:1px solid var(--line); }
.hero-image img { border-radius:var(--radius-lg); border:1px solid var(--line); box-shadow:var(--shadow); }
.glass-card {
    border-radius:var(--radius-lg);
    background:linear-gradient(160deg, var(--glass-2), var(--glass));
    border:1px solid var(--line-strong);
    box-shadow:var(--shadow);
}

.feature-card, .dashboard-card, .settings-card, .chart-box, .content-box,
.stat-card, .table-box, .player-list-container, .edit-form-container,
.profile-header, .login-container, .role-container, .instance {
    position:relative;
    background:linear-gradient(165deg, var(--glass-2), rgba(255,255,255,.02)) !important;
    border:1px solid var(--line) !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}
.feature-card, .dashboard-card, .settings-card, .chart-box, .content-box,
.table-box, .player-list-container, .edit-form-container, .login-container, .role-container {
    border-radius:var(--radius-lg) !important;
}
.feature-card::after, .dashboard-card::after, .chart-box::after, .settings-card::after,
.content-box::after, .login-container::after {
    content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    background:linear-gradient(180deg, rgba(255,255,255,.06), transparent 35%);
    -webkit-mask:linear-gradient(#000,#000); opacity:.6;
}
.feature-card:hover, .dashboard-card:hover {
    transform:translateY(-6px);
    border-color:rgba(79,214,255,.35) !important;
    box-shadow:0 28px 60px -26px rgba(79,214,255,.4);
}
.feature-card p { color:var(--ink); }
.dashboard-header h1, .login-container h1, .dashboard-card h3 { letter-spacing:-.5px; }

.btn-submit, .save-btn {
    background:linear-gradient(120deg, var(--cyan), var(--violet)) !important;
    box-shadow:0 12px 30px -10px rgba(79,214,255,.5) !important;
    letter-spacing:.3px;
}
.btn-submit:hover, .save-btn:hover {
    filter:brightness(1.07);
    box-shadow:0 16px 38px -10px rgba(155,108,255,.6) !important;
    transform:translateY(-2px);
}
.card-btn:hover { background:linear-gradient(120deg, var(--cyan), var(--violet)); color:#06121a; box-shadow:0 10px 24px -10px rgba(79,214,255,.6); }
.form-control:focus, .search-box:focus, .filter-container select:focus, .filter-container input:focus {
    outline:none;
    border-color:var(--cyan) !important;
    box-shadow:0 0 0 4px rgba(79,214,255,.16) !important;
    background:rgba(79,214,255,.05) !important;
}

.table-box, .data-table { border-radius:var(--radius-lg); overflow:hidden; }
th, .data-table th { color:var(--muted); letter-spacing:1px; }
tr:hover td, .data-table tbody tr:hover td { background:rgba(79,214,255,.06); }
.rank-highlight, .podium-name { color:var(--cyan) !important; }

.podium-slot { border-radius:16px 16px 0 0; background:var(--glass) !important; border-color:var(--line) !important; }
.podium > a:nth-child(1) .podium-slot { background:linear-gradient(180deg, rgba(255,209,102,.18), rgba(255,209,102,.04)) !important; border-color:rgba(255,209,102,.5) !important; box-shadow:0 -10px 40px -16px rgba(255,209,102,.5); }

.status-online { background:rgba(51,224,138,.16); color:var(--green); border:1px solid rgba(51,224,138,.5); }
.status-dot.online, .status-dot-online { box-shadow:0 0 12px rgba(51,224,138,.8); }

.profile-avatar { box-shadow:0 0 0 2px var(--cyan), 0 10px 30px -10px rgba(79,214,255,.5); }
.content-box h2, .stat-card p { color:var(--cyan); }

.team-container { max-width:1200px; margin:120px auto 60px; padding:0 22px; }
.global-section-wrapper { margin-bottom:14px; }
.worlds-layout-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(330px, 1fr));
    gap:30px;
    align-items:start;
}
.world-column {
    background:linear-gradient(165deg, var(--glass-2), rgba(255,255,255,.02));
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:18px 18px 26px;
    backdrop-filter:blur(14px);
}
.world-banner {
    position:relative;
    height:140px;
    border-radius:18px;
    background-size:cover;
    background-position:center;
    overflow:hidden;
    margin-bottom:22px;
    border:1px solid var(--line);
}
.world-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 30%, rgba(7,6,14,.85)); }
.world-banner-overlay { position:absolute; inset:auto 0 0 0; padding:16px 18px; z-index:2; }
.world-banner-overlay h2 { margin:0; font-size:1.25rem; font-weight:800; text-shadow:0 2px 10px rgba(0,0,0,.8); }

.team-section { margin-bottom:26px; }
.team-section-title {
    font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:2.5px;
    color:var(--muted); margin:0 0 14px;
    display:flex; align-items:center; gap:12px;
}
.team-section-title::after { content:""; flex:1; height:1px; background:linear-gradient(90deg, var(--line-strong), transparent); }

.team-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:14px; }
.centered-grid { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

.team-card {
    display:flex; flex-direction:column; align-items:center; gap:10px;
    padding:20px 14px;
    width:100%;
    min-width:140px;
    border-radius:18px;
    text-decoration:none;
    color:var(--ink);
    background:linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    border:1px solid var(--line);
    transition:transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease;
}
.centered-grid .team-card { width:170px; flex:0 0 auto; }
.team-card:hover { transform:translateY(-5px); border-color:rgba(79,214,255,.4); box-shadow:0 20px 40px -22px rgba(79,214,255,.5); }
.team-avatar {
    width:74px; height:74px; border-radius:50%; object-fit:cover;
    background:#15131f; display:flex; align-items:center; justify-content:center;
    font-size:30px; border:2px solid var(--line-strong);
}
.team-avatar.online-border { border-color:var(--green); box-shadow:0 0 0 3px rgba(51,224,138,.18), 0 0 18px -2px rgba(51,224,138,.5); }
.team-name { font-weight:700; font-size:.98rem; text-align:center; word-break:break-word; }

.location-header h2 { letter-spacing:-.3px; }

:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

@media (max-width:700px) {
    .navbar { padding:14px 18px; }
    .worlds-layout-grid { grid-template-columns:1fr; }
}
