/* --------------------------
   GLOBAL
---------------------------*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container für Logo + Buttons */
.container {
    text-align: center;
    animation: fadeIn 1.2s ease;
}

/* --------------------------
   LOGO BOX
---------------------------*/
.logo-box {
    width: 700px;
    height: 700px;
    border: 2px solid #ffffff30;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box img {
    max-width: 90%;
    max-height: 90%;
    opacity: 0.9;
}

/* --------------------------
   BUTTONS
---------------------------*/
.button-row {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    color: #fff;
    background: #0078ff;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    border: 2px solid #0078ff;
    transition: 0.25s;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
}

/* --------------------------
   IMPRESSUM BUTTON
---------------------------*/
.impressum-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 25px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #ffffff40;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s;
}

.impressum-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* --------------------------
   ANIMATION
---------------------------*/
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0px); }
}

/* =============================
        TOPBAR
============================= */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(20, 20, 20, 0.9);
    border-bottom: 2px solid #ffffff15;
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    z-index: 999;
}

.topbar-left {
    display: flex;
    align-items: center;
}
.topbar-logo {
    height: 36px;
    margin-right: 12px;
}
.game-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.topbar-right .nav-btn {
    margin-left: 20px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #ffffff30;
    border-radius: 6px;
    transition: 0.2s;
}
.topbar-right .nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.logout {
    border-color: #ff4444;
}

/* =============================
        DASHBOARD
============================= */
.dashboard-container {
    padding-top: 90px; /* Platz für Topbar */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profilbereich */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

/* Profilbild */
.profile-pic img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #ffffff30;
    backdrop-filter: blur(6px);
}

/* Info-Boxen */
.info-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.info-box {
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ffffff30;
    backdrop-filter: blur(4px);
}

.info-label {
    display: block;
    font-size: 13px;
    opacity: 0.7;
}
.info-value {
    font-size: 18px;
    font-weight: 600;
}

/* Username */
.username-box {
    margin-top: 12px;
    background: rgba(255,255,255,0.05);
    padding: 8px 20px;
    border: 1px solid #ffffff30;
    border-radius: 6px;
    display: inline-block;
}

/* Content-Bereich */
.content-box {
    width: 70%;
    min-height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #ffffff20;
    backdrop-filter: blur(6px);
}
.profile-edit-container {
    width: 500px;
    margin: 80px auto;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ffffff20;
    backdrop-filter: blur(6px);
}

.profile-edit-container h1 {
    text-align: center;
}

.success-box {
    background: rgba(0,200,0,0.2);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #00cc00;
}
.shop-card {
    width: 350px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #ffffff22;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
    color: #fff;
}

.shop-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 6px;
}

.shop-card h3 {
    margin-bottom: 10px;
}

.shop-card .desc {
    font-size: 0.9rem;
    opacity: 0.85;
}

.shop-card .info {
    margin-top: 15px;
    font-size: 0.95rem;
}

.buy-button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #2ecc71;
    border: none;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.buy-button:hover {
    background: #27ae60;
}
.dashboard-button {
    display: inline-block;
    padding: 12px 20px;
    background: #2ecc71;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.2s;
}

.dashboard-button:hover {
    background: #27ae60;
}
.item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    border: 1px solid #ffffff22;
    cursor: grab;
    margin-bottom: 8px;
    transition: 0.2s;
}

.item:hover {
    background: rgba(255,255,255,0.18);
}

.rolling-image {
    width: 80px;            /* feste Breite */
    height: 50px;           /* feste Höhe */
    object-fit: contain;    /* Bild behält sein Seitenverhältnis */
    border-radius: 4px;
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;         /* verhindert, dass Bild gestreckt wird */
}


.item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Dashboard Wrapper */
.dashboard-wrapper {
    display: flex;
    gap: 40px;
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
}

/* Profilbereich links */
.profile-panel {
    width: 280px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #ffffff22;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.profile-pic img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff55;
    margin-bottom: 15px;
}

.username-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.info-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid #ffffff22;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: left;
}

.info-label {
    font-weight: bold;
    display: block;
    opacity: .8;
}

.info-value {
    font-size: 16px;
}

/* Rechter Bereich */
.content-panel {
    flex: 1;
}

/* Grid für Content-Karten */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Boxen */
.content-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid #ffffff22;
    padding: 20px;
    border-radius: 10px;
}

.dashboard-button {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    color: white;
    transition: 0.25s;
}

.dashboard-button:hover {
    background: #2980b9;
}

