* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(-45deg, #0f0f0f, #1a1a1a, #121212, #1f1f1f);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* HEADER */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
}

header img {
    height: 40px;
}

/* MAIN LAYOUT */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
}

/* CARDS */
.cardsocial,
.card {
    height: 600px;
    width: 700px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.cardfooter {
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* PROFILBILD */
.rund {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px auto;
}

/* SOCIAL LISTE */
.social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    
}

.social-links li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #0387d3;
    color: black;
    transform: scale(1.1);
}

/* GAMES */
.game {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.game img {
    width: 120px;
    border-radius: 10px;
}

.game-info h3 {
    margin-bottom: 5px;
}

.game-info p {
    font-size: 14px;
    opacity: 0.8;
}

.game-info a {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.game-info a:hover {
    background: #0387d3;
    color: black;
}

/* ========================= */
/* 📱 MOBILE OPTIMIERUNG */
/* ========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .main-container {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
        align-items: center;
    }

    .cardsocial,
    .card {
        width: 100%;
        max-width: 500px;
        height: auto;              /* wichtig: kein abgeschnittener Inhalt */
        padding: 20px;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        text-align: center;
    }

    header img {
        height: 35px;
    }

    /* Social Liste sauber zentriert */
    .social-links {
        gap: 12px;
    }

    .social-links li {
        justify-content: center;
        gap: 12px;
    }

    .social-links span {
        font-size: 14px;
    }

    /* Games untereinander sauber */
    .game {
        flex-direction: column;
        align-items: center;
        text-align: center;
}}