html, body {
    height: 100%;
    margin: 0 auto;
    font-family: "DynaPuff", system-ui;
    background: #121212; 
    color: #eee; 
    width: 90%;
    max-width: 1400px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

.content {
    flex: 1;    
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.row {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-xl-4, .col-md-12 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-width: 280px;
}

.col-xl-4 ul li,
.col-md-12 ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

h2 { 
    margin-top: 40px;
    font-size: 1.8rem;
}

ul { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
}

li { 
    background: #1e1e1e; 
    padding: 10px; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    width: 100%;
    max-width: 280px;
}

img { 
    width: 50px; 
    height: 50px;
    min-width: 50px;
    margin-right: 10px; 
    border-radius: 4px; 
}

.game-info { 
    display: flex; 
    flex-direction: column;
    overflow: hidden;
}

.game-name { 
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playtime { 
    font-size: 0.9em; 
    color: #aaa; 
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.avatarimg {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.avatarname {
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.profile-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

form {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.textinput {
    background-color: #585858;
    border: 1px solid #aaa;
    border-radius: 20px;
    color: #eee;
    padding: 8px 15px;
    min-width: 200px;
}

.submit {
    color: #eee;
    background-color: #585858;
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit:hover {
    background-color: #6a6a6a;
}

footer {
    text-align: center; 
    font-size: 0.9rem; 
    color: #666;
    padding: 20px;
    margin-top: 40px;
}

/* Tablet/Mobile - alle Spalten untereinander */
@media (max-width: 1200px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .col-xl-4, .col-md-12 {
        width: 100%;
        min-width: auto;
        flex: none;
    }
    
    .title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    li {
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    html, body {
        width: 95%;
        height: auto;
    }
    
    body {
        min-height: auto;
    }
    
    .content {
        margin-top: 30px;
    }
    
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .col-xl-4, .col-md-12 {
        width: 100%;
        min-width: auto;
        flex: none;
    }
    
    .title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }
    
    ul {
        gap: 12px;
    }
    
    li {
        max-width: 100%;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
        padding: 15px;
    }
    
    img {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .game-name {
        font-size: 1rem;
    }
    
    .playtime {
        font-size: 0.95em;
    }
    
    .avatarimg {
        width: 120px;
        height: 120px;
    }
    
    form {
        flex-direction: column;
        gap: 15px;
    }
    
    .textinput {
        width: 100%;
        max-width: 300px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .avatarimg {
        width: 100px;
        height: 100px;
    }
    
    img {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    li {
        padding: 14px;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
    }
    
    .game-name {
        font-size: 0.95rem;
    }
    
    .playtime {
        font-size: 0.85rem;
    }
}