.qr-code-container {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: 400px;
}

.qr-code {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.qr-instruction {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.game-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.game-link {
    width: 70%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #007acc;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #007acc;
    text-align: center;
}

.copy-link-btn {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background: #007acc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.copy-link-btn:hover {
    background: #005f99;
    transform: scale(1.05);
}

.copy-feedback {
    font-size: 14px;
    color: #28a745;
    margin-top: 10px;
    display: none; /* Standaard verborgen */
}

.copy-feedback.hidden {
    display: none;
}

.copy-feedback.visible {
    display: block;
}
.open-game {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.open-game:hover {
    background: #218838;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .qr-code-container {
        padding: 15px;
        margin: 15px auto;
        max-width: 90%; /* Zorg dat de container bijna de hele breedte inneemt */
    }

    .qr-instruction {
        font-size: 14px; /* Iets kleinere tekst op mobiel */
        margin-bottom: 15px;
    }

    .game-link-container {
        flex-direction: column; /* Stapel de input en de knop onder elkaar */
        gap: 5px;
    }

    .game-link {
        width: 100%; /* Laat de input de volledige breedte innemen */
        font-size: 12px; /* Iets kleinere tekst */
    }

    .copy-link-btn {
        width: 100%; /* Knop dezelfde breedte als de input */
        font-size: 14px;
    }

    .copy-feedback {
        font-size: 12px; /* Kleinere feedbacktekst */
    }

    .open-game {
        width: 100%; /* Volledige breedte op mobiel */
        font-size: 14px; /* Iets kleinere tekst */
        padding: 10px 15px; /* Compactere knop */
    }
}

@media (max-width: 480px) {
    .qr-code-container {
        padding: 10px;
        margin: 10px auto;
    }

    .qr-instruction {
        font-size: 12px; /* Nog iets kleiner voor kleine schermen */
    }

    .game-link {
        padding: 8px; /* Compactere input */
        font-size: 12px;
    }

    .copy-link-btn {
        font-size: 12px; /* Kleinere knoptekst */
        padding: 8px;
    }

    .open-game {
        font-size: 12px;
        padding: 8px 12px;
    }
}
