/* ===================================================
   SHMAHM PROFIL - ARENA DARK + NEON GREEN
   =================================================== */

:root {
    --bg-main: #08090c;
    --bg-card: #12151e;
    --bg-surface: #0d0f14;
    --bg-input: #0b0d13;
    --border-subtle: #222736;
    --neon: #00ff66;
    --neon-soft: rgba(0, 255, 102, 0.12);
    --neon-glow: rgba(0, 255, 102, 0.35);
    --text-main: #f1f1f1;
    --text-muted: #727b93;
    --text-nav: #a0a5b5;
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.profil-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.08), transparent 55%),
        var(--bg-main);
}

/* Header */
.profil-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.btn-back {
    text-decoration: none;
    background-color: var(--bg-card);
    color: var(--text-nav);
    border: 1px solid var(--border-subtle);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-back:hover {
    color: #ffffff;
    border-color: rgba(0, 255, 102, 0.45);
    background-color: rgba(0, 255, 102, 0.06);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
}

.neon-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}

/* Main Layout */
.profil-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.profile-card,
.guest-card {
    width: 100%;
    max-width: 560px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* Nicht-Angemeldet-Ansicht */
.guest-card {
    text-align: center;
    padding: 36px 28px;
}

.guest-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background-color: var(--neon-soft);
    border: 1px solid rgba(0, 255, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.guest-card h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.guest-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 420px;
    margin: 0 auto 24px;
}

.guest-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Profil Kopfbereich */
.profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
}

.avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--neon-soft);
    border: 1px solid var(--neon);
    box-shadow: 0 0 18px rgba(0, 255, 102, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.profile-headline h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 6px;
    word-break: break-word;
}

.account-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--neon);
    background-color: var(--neon-soft);
    border: 1px solid rgba(0, 255, 102, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Datenzeilen */
.data-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.data-row:hover {
    border-color: rgba(0, 255, 102, 0.35);
}

.data-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.data-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.data-hint {
    font-size: 0.9rem;
    color: var(--text-nav);
}

.secret-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    word-break: break-all;
}

.data-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary {
    text-decoration: none;
    background-color: var(--neon);
    color: #08090c;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 18px var(--neon-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    text-decoration: none;
    background-color: var(--bg-input);
    color: var(--text-nav);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    color: #ffffff;
    border-color: var(--text-muted);
}

.btn-ghost {
    background-color: var(--bg-card);
    color: var(--text-nav);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(0, 255, 102, 0.45);
}

.btn-action {
    background-color: var(--neon-soft);
    color: var(--neon);
    border: 1px solid rgba(0, 255, 102, 0.4);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover:not(:disabled) {
    background-color: var(--neon);
    color: #08090c;
}

/* Footer / Logout */
.profile-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

.btn-logout {
    background-color: var(--danger-soft);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background-color: var(--danger);
    color: #ffffff;
}

/* Mobile */
@media (max-width: 540px) {
    .data-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .data-controls {
        width: 100%;
    }

    .btn-ghost,
    .btn-action {
        flex: 1;
        text-align: center;
    }

    .btn-logout {
        width: 100%;
    }
}