@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --bg: #050508;
    --primary: #00f2ea;
    --purple: #7000ff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #1a0b2e, #050508);
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hintergrund Glow */
body::after {
    content: "";
    position: fixed;
    bottom: -10%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; color: var(--primary); }

.auth-trigger {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.auth-trigger:hover { background: white; color: black; }

.main-content {
    width: 90%;
    max-width: 900px;
    margin-top: 50px;
    padding-bottom: 100px;
}

/* Hero Box */
.welcome-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 50px;
}

.welcome-box h1 { font-size: 3.5rem; margin: 0; letter-spacing: -2px; }
.hero-subtitle { color: #a1a1aa; font-size: 1.1rem; margin-top: 10px; }

/* Badge */
.status-badge {
    display: inline-block;
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 15px;
    border: 1px solid var(--primary);
}

/* Beschreibungskasten */
.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.info-card h3 { margin-bottom: 10px; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.info-card p { line-height: 1.6; color: #d4d4d8; }

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.social-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-card i { font-size: 2rem; }
.social-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
}

/* Styling für den neuen Beschreibungskasten */
.description-container {
    width: 90%;
    max-width: 850px;
    margin: -20px auto 40px auto;
}

.glass-info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    text-align: left;
    line-height: 1.7;
}

.glass-info-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-info-box p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
}

.features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.features-preview span {
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.update-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: black;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 40px; /* Hier kannst du die Größe anpassen */
    width: auto;
    object-fit: contain;
}

/* Optional: Falls der Text neben dem Logo noch den Glow-Effekt haben soll */
.logo-container span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
}
/* Erzwingt, dass das Modal versteckt bleibt, bis es gebraucht wird */
.modal-overlay {
    display: none; /* WICHTIG */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999; /* Damit es über dem Text liegt */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a0a0f;
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 242, 234, 0.1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    opacity: 0.6;
}
.close-modal:hover { opacity: 1; }

/* Navbar Layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    width: 100%;
    max-width: 1400px;
}

/* Menü Styling */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    background: var(--glass);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.nav-menu a {
    text-decoration: none;
    color: #a1a1aa;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

/* Hover & Aktive Seite */
.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

/* Responsive Fix: Versteckt das Menü auf sehr kleinen Handys oder macht es scrollbar */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.8rem;
        padding: 10px 20px;
    }
}
/* Download Layout */
.download-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.download-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.dl-info { display: flex; align-items: center; gap: 20px; }
.dl-icon { font-size: 2.5rem; color: var(--primary); }
.dl-text h3 { margin: 0; font-size: 1.2rem; }
.dl-text p { color: #888; font-size: 0.9rem; margin-top: 5px; }

.status-up { color: #00ff88; font-weight: bold; }

.dl-btn {
    background: white;
    color: black;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* Changelog */
.changelog-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
}

.changelog-box h4 { margin-bottom: 15px; color: var(--primary); }
.changelog-box ul { list-style: none; padding: 0; }
.changelog-box li { margin-bottom: 10px; font-size: 0.9rem; color: #ccc; }
.version { color: var(--primary); font-weight: bold; margin-right: 10px; }

/* Shop Layout */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.shop-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    backdrop-filter: blur(15px);
}

/* Effekt für die mittlere/beliebte Karte */
.shop-card.featured {
    border: 1px solid var(--primary);
    transform: scale(1.05);
    background: rgba(0, 242, 234, 0.03);
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.1);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: black;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.card-header h3 { font-size: 1.5rem; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; }
.price span { font-size: 1rem; color: #888; font-weight: 400; }

.shop-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}

.shop-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-features li i { color: var(--primary); }
.shop-features li i.inactive { color: #555; opacity: 0.5; }

.shop-btn {
    display: block;
    text-decoration: none;
    color: white;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    transition: 0.3s;
}

.shop-btn.primary {
    background: var(--primary);
    color: black;
}

.shop-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Credits List Container */
.credits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Basis für eine Leiste */
.credit-bar {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.credit-bar:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rank-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    color: #888;
}

/* Rank-spezifische Farben */
.owner .rank-icon { color: #ffca28; } /* Gold für Owner */
.owner { border-left: 4px solid #ffca28; }

.code-rank .rank-icon { color: var(--primary); }
.code-rank { border-left: 4px solid var(--primary); }

.support-rank .rank-icon { color: #00ff88; }
.support-rank { border-left: 4px solid #00ff88; }

.text-group h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
}

.text-group .role {
    font-size: 0.8rem;
    margin: 0;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bar-social a {
    color: white;
    opacity: 0.5;
    transition: 0.3s;
}

.bar-social a:hover {
    opacity: 1;
    color: var(--primary);
}
.admin-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 40px auto;
}

.admin-card {
    background: var(--glass);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-card h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--primary);
}

.main-btn.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.main-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
}

select {
    background: #1a1a1a;
    color: white;
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 8px;
}

.download-grid-system {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* VIP Highlight für dynamische Karten */
.download-card.vip-border {
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.1);
}

.vip-badge {
    background: var(--primary);
    color: black;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 800;
    margin-bottom: 5px;
    display: inline-block;
}

.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0c 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.auth-logo {
    width: 80px;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.auth-header p {
    color: #aaa;
    margin-bottom: 30px;
}

.input-field {
    position: relative;
    margin-bottom: 20px;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.input-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-field input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.w-100 { width: 100%; }

.auth-footer {
    margin-top: 25px;
}

.auth-footer span {
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-link:hover { color: #fff; }

/* Der Haupt-Button im NX-Style */
.auth-form .main-btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    /* Der Verlauf von Türkis zu Pink wie in deinem Admin-Panel/Shop */
    background: linear-gradient(135deg, #00f2ea 0%, #ff00ea 100%);
    color: #000; /* Schwarzer Text für besseren Kontrast auf dem Verlauf */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-form .main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 234, 0.3);
}

.auth-form .main-btn:active {
    transform: translateY(-1px);
}

/* Fix für das "komische" Aussehen der Inputs */
.auth-card .input-field input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 10px;
    padding: 12px 15px 12px 45px;
}

/* Entfernt den hässlichen weißen Hintergrund, den Browser manchmal erzwingen */
input:-webkit-autofill {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Container für das Eingabefeld */
.auth-card .input-field {
    position: relative;
    margin-bottom: 15px; /* Etwas weniger Abstand zwischen den Feldern */
    width: 100%;
}

/* Das eigentliche Input-Feld */
.auth-card .input-field input {
    width: 100%;
    height: 45px; /* Feste, flachere Höhe */
    padding: 0 15px 0 45px; /* Padding links für das Icon lassen */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: white !important;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Wichtig, damit Padding die Box nicht vergrößert */
}

/* Icons in den Feldern zentrieren */
.auth-card .input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f2ea; /* Passend zum Button-Türkis */
    font-size: 1.1rem;
    pointer-events: none;
}

/* Fokus-Effekt */
.auth-card .input-field input:focus {
    border-color: #00f2ea !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
}

.account-info-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.account-info-box p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.account-info-box strong {
    color: #aaa;
    margin-right: 10px;
}
