.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e6f0ff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2.5em;
    color: #1a365d;
    margin-bottom: 15px;
}

.page-description {
    font-size: 1.2em;
    color: #4a5568;
    line-height: 1.6;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.game-box {
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 20px;
    margin: 0;
    border-radius: 0;
    background-color: #f9f9f9;
    box-shadow: none;
}

.section .title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.section .description {
    font-size: 1.15em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.section .button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #2b6cb0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.section .button:hover {
    background-color: #1a4d8a;
    transform: translateY(-2px);
}

/* Mysteriöser Button für Spiel 4 */
.button.mysterious {
    background-color: #666;
    color: #fff;
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.button.mysterious:hover {
    background-color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.button.mysterious::after {
    position: absolute;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* Facebook-ähnliche Ladeanimation für Spiel 4 */
.loading-container {
    width: 100%;
    padding: 10px 0;
}

.loading-bar {
    height: 20px;
    background-color: #e1e1e1;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.loading-bar::before {
    content: "";
    display: block;
    position: absolute;
    left: -200px;
    width: 200px;
    height: 100%;
    background-color: #c0c0c0;
    animation: loading-animation 2s linear infinite;
}

.loading-text {
    margin-top: 10px;
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Mehrere Ladebalken für Text-Skelett-Effekt */
.loading-line {
    height: 12px;
    background-color: #e1e1e1;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.loading-line::before {
    content: "";
    display: block;
    position: absolute;
    left: -200px;
    width: 200px;
    height: 100%;
    background-color: #c0c0c0;
    animation: loading-animation 2s linear infinite;
}

.loading-line.short {
    width: 60%;
}

.loading-line.medium {
    width: 80%;
}

.loading-line.full {
    width: 100%;
}

/* Spezieller Hintergrund für Spiel 4 */
.mysterious-box {
    background-color: #e0e0e0 !important;
}

@keyframes loading-animation {
    0% {
        left: -200px;
    }
    100% {
        left: 100%;
    }
}